All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] svn commit: trunk/buildroot/package/directfb
@ 2007-02-02 12:41 jacmet at uclibc.org
  0 siblings, 0 replies; 29+ messages in thread
From: jacmet at uclibc.org @ 2007-02-02 12:41 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2007-02-02 04:41:16 -0800 (Fri, 02 Feb 2007)
New Revision: 17722

Log:
0.9.25.1 release moved to Old. Reported by Jack Robinson

Modified:
   trunk/buildroot/package/directfb/directfb.mk


Changeset:
Modified: trunk/buildroot/package/directfb/directfb.mk
===================================================================
--- trunk/buildroot/package/directfb/directfb.mk	2007-02-02 12:32:27 UTC (rev 17721)
+++ trunk/buildroot/package/directfb/directfb.mk	2007-02-02 12:41:16 UTC (rev 17722)
@@ -5,7 +5,7 @@
 #############################################################
 DIRECTFB_VERSION:=0.9.25.1
 DIRECTFB_SOURCE:=DirectFB-$(DIRECTFB_VERSION).tar.gz
-DIRECTFB_SITE:=http://www.directfb.org/downloads/Core
+DIRECTFB_SITE:=http://www.directfb.org/downloads/Old
 DIRECTFB_CAT:=$(ZCAT)
 DIRECTFB_DIR:=$(BUILD_DIR)/DirectFB-$(DIRECTFB_VERSION)
 

^ permalink raw reply	[flat|nested] 29+ messages in thread

* [Buildroot] svn commit: trunk/buildroot/package/directfb
@ 2007-06-26  6:24 aldot at uclibc.org
  0 siblings, 0 replies; 29+ messages in thread
From: aldot at uclibc.org @ 2007-06-26  6:24 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-06-25 23:24:37 -0700 (Mon, 25 Jun 2007)
New Revision: 18936

Log:
- force DirectFB to detect PAGE_SIZE via sysconf (Ivan Kuten)


Modified:
   trunk/buildroot/package/directfb/directfb.mk


Changeset:
Modified: trunk/buildroot/package/directfb/directfb.mk
===================================================================
--- trunk/buildroot/package/directfb/directfb.mk	2007-06-25 22:55:34 UTC (rev 18935)
+++ trunk/buildroot/package/directfb/directfb.mk	2007-06-26 06:24:37 UTC (rev 18936)
@@ -26,6 +26,7 @@
 	LDFLAGS="$(TARGET_LDFLAGS)" \
 	ac_cv_header_linux_wm97xx_h=no \
 	ac_cv_header_linux_sisfb_h=no \
+	ac_cv_header_asm_page_h=no \
 	./configure \
 		--target=$(GNU_TARGET_NAME) \
 		--host=$(GNU_TARGET_NAME) \

^ permalink raw reply	[flat|nested] 29+ messages in thread

* [Buildroot] svn commit: trunk/buildroot/package/directfb
@ 2007-08-11 21:53 ulf at uclibc.org
  0 siblings, 0 replies; 29+ messages in thread
From: ulf at uclibc.org @ 2007-08-11 21:53 UTC (permalink / raw)
  To: buildroot

Author: ulf
Date: 2007-08-11 14:53:18 -0700 (Sat, 11 Aug 2007)
New Revision: 19440

Log:
Use /usr/lib instead of /lib for directfb

Modified:
   trunk/buildroot/package/directfb/directfb.mk


Changeset:
Modified: trunk/buildroot/package/directfb/directfb.mk
===================================================================
--- trunk/buildroot/package/directfb/directfb.mk	2007-08-11 21:47:51 UTC (rev 19439)
+++ trunk/buildroot/package/directfb/directfb.mk	2007-08-11 21:53:18 UTC (rev 19440)
@@ -60,8 +60,8 @@
 	touch $(DIRECTFB_DIR)/.compiled
 
 $(STAGING_DIR)/usr/lib/libdirectfb.so: $(DIRECTFB_DIR)/.compiled
-	$(MAKE) DESTDIR=$(STAGING_DIR) -C $(DIRECTFB_DIR) install
-	touch -c $(STAGING_DIR)/lib/libdirectfb.so
+	$(MAKE) DESTDIR=$(STAGING_DIR)/usr -C $(DIRECTFB_DIR) install
+	touch -c $@
 
 $(TARGET_DIR)/usr/lib/libdirectfb.so: $(STAGING_DIR)/usr/lib/libdirectfb.so
 	cp -dpf $(STAGING_DIR)/usr/lib/libdirect* $(STAGING_DIR)/usr/lib/libfusion* $(TARGET_DIR)/usr/lib/

^ permalink raw reply	[flat|nested] 29+ messages in thread

* [Buildroot] svn commit: trunk/buildroot/package/directfb
@ 2007-08-12 14:40 ulf at uclibc.org
  0 siblings, 0 replies; 29+ messages in thread
From: ulf at uclibc.org @ 2007-08-12 14:40 UTC (permalink / raw)
  To: buildroot

Author: ulf
Date: 2007-08-12 07:40:16 -0700 (Sun, 12 Aug 2007)
New Revision: 19463

Log:
Make DirectFB buildable by removing sysfs, enabling sdl

Modified:
   trunk/buildroot/package/directfb/directfb.mk


Changeset:
Modified: trunk/buildroot/package/directfb/directfb.mk
===================================================================
--- trunk/buildroot/package/directfb/directfb.mk	2007-08-12 14:13:39 UTC (rev 19462)
+++ trunk/buildroot/package/directfb/directfb.mk	2007-08-12 14:40:16 UTC (rev 19463)
@@ -43,20 +43,21 @@
 		--mandir=/usr/man \
 		--infodir=/usr/info \
 		--with-gfxdrivers=cle266,unichrome \
+		--enable-shared \
 		--enable-jpeg \
 		--enable-png \
 		--enable-linux-input \
 		--enable-zlib \
 		--enable-freetype \
-		--enable-sysfs \
-		--disable-sdl \
+		--disable-sysfs \
+		--enable-sdl \
 		--disable-video4linux \
 		--disable-video4linux2 \
 		--disable-fusion );
 	touch $(DIRECTFB_DIR)/.configured
 
 $(DIRECTFB_DIR)/.compiled: $(DIRECTFB_DIR)/.configured
-	$(MAKE) -C $(DIRECTFB_DIR)
+	$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(DIRECTFB_DIR)
 	touch $(DIRECTFB_DIR)/.compiled
 
 $(STAGING_DIR)/usr/lib/libdirectfb.so: $(DIRECTFB_DIR)/.compiled

^ permalink raw reply	[flat|nested] 29+ messages in thread

* [Buildroot] svn commit: trunk/buildroot/package/directfb
@ 2007-08-12 18:21 ulf at uclibc.org
  0 siblings, 0 replies; 29+ messages in thread
From: ulf at uclibc.org @ 2007-08-12 18:21 UTC (permalink / raw)
  To: buildroot

Author: ulf
Date: 2007-08-12 11:21:27 -0700 (Sun, 12 Aug 2007)
New Revision: 19466

Log:
Bump version of DirectFB to 1.0.0 and add dependency on TSLIB

Modified:
   trunk/buildroot/package/directfb/Config.in
   trunk/buildroot/package/directfb/directfb.mk


Changeset:
Modified: trunk/buildroot/package/directfb/Config.in
===================================================================
--- trunk/buildroot/package/directfb/Config.in	2007-08-12 18:19:45 UTC (rev 19465)
+++ trunk/buildroot/package/directfb/Config.in	2007-08-12 18:21:27 UTC (rev 19466)
@@ -6,6 +6,16 @@
 	select BR2_PACKAGE_LIBPNG
 	select BR2_PACKAGE_LIBSYSFS
 	select BR2_PACKAGE_FREETYPE
+	select BR2_PACKAGE_TSLIB
 	help
+	  http://www.directfb.org/
 
-	http://www.directfb.org/
+
+config BR2_PACKAGE_DIRECTFB_MULTI
+	bool "directfb multi application"
+	default n
+	depends on BR2_PACKAGE_DIRECTFB
+	select BR2_PACKAGE_LINUX_FUSION
+	help
+	  Enable use of multiple concurrent DirectFB applications
+	  http://www.directfb.org/

Modified: trunk/buildroot/package/directfb/directfb.mk
===================================================================
--- trunk/buildroot/package/directfb/directfb.mk	2007-08-12 18:19:45 UTC (rev 19465)
+++ trunk/buildroot/package/directfb/directfb.mk	2007-08-12 18:21:27 UTC (rev 19466)
@@ -3,12 +3,20 @@
 # directfb
 #
 #############################################################
-DIRECTFB_VERSION:=0.9.25.1
+#DIRECTFB_VERSION:=0.9.25.1
+#DIRECTFB_SITE:=http://www.directfb.org/downloads/Old
+DIRECTFB_VERSION:=1.0.0
+DIRECTFB_SITE:=http://www.directfb.org/downloads/Core
 DIRECTFB_SOURCE:=DirectFB-$(DIRECTFB_VERSION).tar.gz
-DIRECTFB_SITE:=http://www.directfb.org/downloads/Old
 DIRECTFB_CAT:=$(ZCAT)
 DIRECTFB_DIR:=$(BUILD_DIR)/DirectFB-$(DIRECTFB_VERSION)
 
+ifeq ($(BR2_PACKAGE_DIRECTFB_MULTI),y)
+DIRECTFB_MULTI:=--enable-multi
+else
+DIRECTFB_MULTI:=
+endif
+
 $(DL_DIR)/$(DIRECTFB_SOURCE):
 	$(WGET) -P $(DL_DIR) $(DIRECTFB_SITE)/$(DIRECTFB_SOURCE)
 
@@ -32,32 +40,35 @@
 		--build=$(GNU_HOST_NAME) \
 		--prefix=/usr \
 		--exec-prefix=/usr \
-		--bindir=/usr/bin \
-		--sbindir=/usr/sbin \
+		--bindir=/bin \
+		--sbindir=/sbin \
 		--libdir=/lib \
-		--libexecdir=/usr/lib \
+		--libexecdir=/lib \
 		--sysconfdir=/etc \
-		--datadir=/usr/share \
+		--datadir=/share \
 		--localstatedir=/var \
-		--includedir=/usr/include \
-		--mandir=/usr/man \
-		--infodir=/usr/info \
+		--includedir=/include \
+		--mandir=/man \
+		--infodir=/info \
 		--with-gfxdrivers=cle266,unichrome \
 		--enable-shared \
+		$(DIRECTFB_MULTI) \
 		--enable-jpeg \
 		--enable-png \
 		--enable-linux-input \
 		--enable-zlib \
 		--enable-freetype \
 		--disable-sysfs \
-		--enable-sdl \
+		--disable-sdl \
 		--disable-video4linux \
 		--disable-video4linux2 \
-		--disable-fusion );
+		--enable-fusion );
 	touch $(DIRECTFB_DIR)/.configured
 
 $(DIRECTFB_DIR)/.compiled: $(DIRECTFB_DIR)/.configured
-	$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(DIRECTFB_DIR)
+	$(MAKE) PATH=$(STAGING_DIR)/usr/lib:$(PATH) \
+		$(TARGET_CONFIGURE_OPTS) \
+		-C $(DIRECTFB_DIR)
 	touch $(DIRECTFB_DIR)/.compiled
 
 $(STAGING_DIR)/usr/lib/libdirectfb.so: $(DIRECTFB_DIR)/.compiled
@@ -72,7 +83,7 @@
 		$(TARGET_DIR)/usr/lib/libdirect.so \
 		$(TARGET_DIR)/usr/lib/libfusion.so
 
-directfb: uclibc jpeg libpng freetype libsysfs $(TARGET_DIR)/usr/lib/libdirectfb.so
+directfb: uclibc jpeg libpng freetype libsysfs tslib $(TARGET_DIR)/usr/lib/libdirectfb.so
 
 directfb-clean:
 	$(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(DIRECTFB_DIR) uninstall

^ permalink raw reply	[flat|nested] 29+ messages in thread

* [Buildroot] svn commit: trunk/buildroot/package/directfb
@ 2007-08-12 23:30 ulf at uclibc.org
  0 siblings, 0 replies; 29+ messages in thread
From: ulf at uclibc.org @ 2007-08-12 23:30 UTC (permalink / raw)
  To: buildroot

Author: ulf
Date: 2007-08-12 16:30:06 -0700 (Sun, 12 Aug 2007)
New Revision: 19474

Log:
fix DirectFB *.la path's

Modified:
   trunk/buildroot/package/directfb/directfb.mk


Changeset:
Modified: trunk/buildroot/package/directfb/directfb.mk
===================================================================
--- trunk/buildroot/package/directfb/directfb.mk	2007-08-12 23:28:48 UTC (rev 19473)
+++ trunk/buildroot/package/directfb/directfb.mk	2007-08-12 23:30:06 UTC (rev 19474)
@@ -73,6 +73,18 @@
 
 $(STAGING_DIR)/usr/lib/libdirectfb.so: $(DIRECTFB_DIR)/.compiled
 	$(MAKE) DESTDIR=$(STAGING_DIR)/usr -C $(DIRECTFB_DIR) install
+	$(SED) "s,^libdir=.*,libdir=\'$(STAGING_DIR)/usr/lib\',g" \
+		$(STAGING_DIR)/usr/lib/libdirectfb.la
+	$(SED) "s,/lib/libfusion.la,$(STAGING_DIR)/usr/lib/libfusion.la,g" \
+		$(STAGING_DIR)/usr/lib/libdirectfb.la
+	$(SED) "s,/lib/libdirect.la,$(STAGING_DIR)/usr/lib/libdirect.la,g" \
+		$(STAGING_DIR)/usr/lib/libdirectfb.la
+	$(SED) "s,^libdir=.*,libdir=\'$(STAGING_DIR)/usr/lib\',g" \
+		$(STAGING_DIR)/usr/lib/libdirect.la
+	$(SED) "s,^libdir=.*,libdir=\'$(STAGING_DIR)/usr/lib\',g" \
+		$(STAGING_DIR)/usr/lib/libfusion.la
+	$(SED) "s,/lib/libdirect.la,$(STAGING_DIR)/usr/lib/libdirect.la,g" \
+		$(STAGING_DIR)/usr/lib/libfusion.la
 	touch -c $@
 
 $(TARGET_DIR)/usr/lib/libdirectfb.so: $(STAGING_DIR)/usr/lib/libdirectfb.so

^ permalink raw reply	[flat|nested] 29+ messages in thread

* [Buildroot] svn commit: trunk/buildroot/package/directfb
@ 2007-08-13  6:14 ulf at uclibc.org
  0 siblings, 0 replies; 29+ messages in thread
From: ulf at uclibc.org @ 2007-08-13  6:14 UTC (permalink / raw)
  To: buildroot

Author: ulf
Date: 2007-08-12 23:14:15 -0700 (Sun, 12 Aug 2007)
New Revision: 19482

Log:
Add dependency to linux-fusion, if DirectFB is built with multi

Modified:
   trunk/buildroot/package/directfb/directfb.mk


Changeset:
Modified: trunk/buildroot/package/directfb/directfb.mk
===================================================================
--- trunk/buildroot/package/directfb/directfb.mk	2007-08-13 00:12:49 UTC (rev 19481)
+++ trunk/buildroot/package/directfb/directfb.mk	2007-08-13 06:14:15 UTC (rev 19482)
@@ -13,8 +13,10 @@
 
 ifeq ($(BR2_PACKAGE_DIRECTFB_MULTI),y)
 DIRECTFB_MULTI:=--enable-multi
+DIRECTFB_FUSION:=linux-fusion
 else
 DIRECTFB_MULTI:=
+DIRECTFB_FUSION:=
 endif
 
 $(DL_DIR)/$(DIRECTFB_SOURCE):
@@ -95,7 +97,8 @@
 		$(TARGET_DIR)/usr/lib/libdirect.so \
 		$(TARGET_DIR)/usr/lib/libfusion.so
 
-directfb: uclibc jpeg libpng freetype libsysfs tslib $(TARGET_DIR)/usr/lib/libdirectfb.so
+directfb: uclibc jpeg libpng freetype libsysfs tslib $(DIRECTFB_FUSION) \
+		$(TARGET_DIR)/usr/lib/libdirectfb.so
 
 directfb-clean:
 	$(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(DIRECTFB_DIR) uninstall

^ permalink raw reply	[flat|nested] 29+ messages in thread

* [Buildroot] svn commit: trunk/buildroot/package/directfb
@ 2007-09-05  6:49 ulf at uclibc.org
  0 siblings, 0 replies; 29+ messages in thread
From: ulf at uclibc.org @ 2007-09-05  6:49 UTC (permalink / raw)
  To: buildroot

Author: ulf
Date: 2007-09-04 23:49:57 -0700 (Tue, 04 Sep 2007)
New Revision: 19787

Log:
Bump DirectFB version, and enable/disable X11

Modified:
   trunk/buildroot/package/directfb/directfb.mk


Changeset:
Modified: trunk/buildroot/package/directfb/directfb.mk
===================================================================
--- trunk/buildroot/package/directfb/directfb.mk	2007-09-05 06:48:38 UTC (rev 19786)
+++ trunk/buildroot/package/directfb/directfb.mk	2007-09-05 06:49:57 UTC (rev 19787)
@@ -5,7 +5,7 @@
 #############################################################
 #DIRECTFB_VERSION:=0.9.25.1
 #DIRECTFB_SITE:=http://www.directfb.org/downloads/Old
-DIRECTFB_VERSION:=1.0.0
+DIRECTFB_VERSION:=1.0.1
 DIRECTFB_SITE:=http://www.directfb.org/downloads/Core
 DIRECTFB_SOURCE:=DirectFB-$(DIRECTFB_VERSION).tar.gz
 DIRECTFB_CAT:=$(ZCAT)
@@ -18,6 +18,11 @@
 DIRECTFB_MULTI:=
 DIRECTFB_FUSION:=
 endif
+ifeq ($(BR2_PACKAGE_XSERVER_none),y)
+DIRECTFB_X:= --disable-x11
+else
+DIRECTFB_X:= --enable-x11
+endif
 
 $(DL_DIR)/$(DIRECTFB_SOURCE):
 	$(WGET) -P $(DL_DIR) $(DIRECTFB_SITE)/$(DIRECTFB_SOURCE)
@@ -55,6 +60,7 @@
 		--with-gfxdrivers=cle266,unichrome \
 		--enable-shared \
 		$(DIRECTFB_MULTI) \
+		$(DIRECTFB_X) \
 		--enable-jpeg \
 		--enable-png \
 		--enable-linux-input \

^ permalink raw reply	[flat|nested] 29+ messages in thread

* [Buildroot] svn commit: trunk/buildroot/package/directfb
@ 2007-09-12  5:20 ulf at uclibc.org
  0 siblings, 0 replies; 29+ messages in thread
From: ulf at uclibc.org @ 2007-09-12  5:20 UTC (permalink / raw)
  To: buildroot

Author: ulf
Date: 2007-09-11 22:20:26 -0700 (Tue, 11 Sep 2007)
New Revision: 19824

Log:
Remove whitespace

Modified:
   trunk/buildroot/package/directfb/directfb.mk


Changeset:
Modified: trunk/buildroot/package/directfb/directfb.mk
===================================================================
--- trunk/buildroot/package/directfb/directfb.mk	2007-09-12 04:58:33 UTC (rev 19823)
+++ trunk/buildroot/package/directfb/directfb.mk	2007-09-12 05:20:26 UTC (rev 19824)
@@ -19,9 +19,9 @@
 DIRECTFB_FUSION:=
 endif
 ifeq ($(BR2_PACKAGE_XSERVER_none),y)
-DIRECTFB_X:= --disable-x11
+DIRECTFB_X:=--disable-x11
 else
-DIRECTFB_X:= --enable-x11
+DIRECTFB_X:=--enable-x11
 endif
 
 $(DL_DIR)/$(DIRECTFB_SOURCE):

^ permalink raw reply	[flat|nested] 29+ messages in thread

* [Buildroot] svn commit: trunk/buildroot/package/directfb
@ 2007-11-16 16:10 vanokuten at uclibc.org
  0 siblings, 0 replies; 29+ messages in thread
From: vanokuten at uclibc.org @ 2007-11-16 16:10 UTC (permalink / raw)
  To: buildroot

Author: vanokuten
Date: 2007-11-16 08:10:25 -0800 (Fri, 16 Nov 2007)
New Revision: 20441

Log:
fix 0001595 issue

Modified:
   trunk/buildroot/package/directfb/directfb.mk


Changeset:
Modified: trunk/buildroot/package/directfb/directfb.mk
===================================================================
--- trunk/buildroot/package/directfb/directfb.mk	2007-11-16 15:35:14 UTC (rev 20440)
+++ trunk/buildroot/package/directfb/directfb.mk	2007-11-16 16:10:25 UTC (rev 20441)
@@ -68,6 +68,7 @@
 		--enable-freetype \
 		--disable-sysfs \
 		--disable-sdl \
+		--disable-vnc \
 		--disable-video4linux \
 		--disable-video4linux2 \
 		--enable-fusion )

^ permalink raw reply	[flat|nested] 29+ messages in thread

* [Buildroot] svn commit: trunk/buildroot/package/directfb
@ 2008-04-01  6:51 jacmet at uclibc.org
  0 siblings, 0 replies; 29+ messages in thread
From: jacmet at uclibc.org @ 2008-04-01  6:51 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2008-03-31 23:51:59 -0700 (Mon, 31 Mar 2008)
New Revision: 21604

Log:
direct: don't fail clean target if directory doesn't exist

Patch by Hebbar.


Modified:
   trunk/buildroot/package/directfb/directfb.mk


Changeset:
Modified: trunk/buildroot/package/directfb/directfb.mk
===================================================================
--- trunk/buildroot/package/directfb/directfb.mk	2008-03-31 20:30:38 UTC (rev 21603)
+++ trunk/buildroot/package/directfb/directfb.mk	2008-04-01 06:51:59 UTC (rev 21604)
@@ -108,7 +108,7 @@
 		$(TARGET_DIR)/usr/lib/libdirectfb.so
 
 directfb-clean:
-	$(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(DIRECTFB_DIR) uninstall
+	-$(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(DIRECTFB_DIR) uninstall
 	-$(MAKE) -C $(DIRECTFB_DIR) clean
 
 directfb-dirclean:

^ permalink raw reply	[flat|nested] 29+ messages in thread

* [Buildroot] svn commit: trunk/buildroot/package/directfb
@ 2008-10-07 20:29 correa at uclibc.org
  2008-10-08 18:36 ` Peter Korsgaard
  2008-10-09  1:25 ` Ormund Williams
  0 siblings, 2 replies; 29+ messages in thread
From: correa at uclibc.org @ 2008-10-07 20:29 UTC (permalink / raw)
  To: buildroot

Author: correa
Date: 2008-10-07 13:29:27 -0700 (Tue, 07 Oct 2008)
New Revision: 23621

Log:
widen options to configure directfb, patch by Micha Nelissen <micha@neli.hopto.org>

Modified:
   trunk/buildroot/package/directfb/Config.in
   trunk/buildroot/package/directfb/directfb.mk


Changeset:
Modified: trunk/buildroot/package/directfb/Config.in
===================================================================
--- trunk/buildroot/package/directfb/Config.in	2008-10-07 17:08:27 UTC (rev 23620)
+++ trunk/buildroot/package/directfb/Config.in	2008-10-07 20:29:27 UTC (rev 23621)
@@ -1,15 +1,10 @@
 config BR2_PACKAGE_DIRECTFB
 	bool "directfb"
+	select BR2_PACKAGE_FREETYPE
 	select BR2_PACKAGE_ZLIB
-	select BR2_PACKAGE_JPEG
-	select BR2_PACKAGE_LIBPNG
-	select BR2_PACKAGE_LIBSYSFS
-	select BR2_PACKAGE_FREETYPE
-	select BR2_PACKAGE_TSLIB
 	help
 	  http://www.directfb.org/
 
-
 config BR2_PACKAGE_DIRECTFB_MULTI
 	bool "directfb multi application"
 	depends on BR2_PACKAGE_DIRECTFB
@@ -17,3 +12,72 @@
 	help
 	  Enable use of multiple concurrent DirectFB applications
 	  http://www.directfb.org/
+
+config BR2_PACKAGE_DIRECTFB_XSERVER
+        bool "build with X server backend"
+        default n
+        depends on BR2_PACKAGE_DIRECTFB
+
+config BR2_PACKAGE_DIRECTFB_UNIQUE
+        bool "enable unique window manager"
+        default n
+        depends on BR2_PACKAGE_DIRECTFB
+
+config BR2_PACKAGE_DIRECTFB_ATI128
+        bool "compile ati128 graphics driver"
+        default n
+        depends on BR2_PACKAGE_DIRECTFB
+
+config BR2_PACKAGE_DIRECTFB_CLE266
+        bool "compile cle266 graphics driver"
+        default y
+        depends on BR2_PACKAGE_DIRECTFB
+
+config BR2_PACKAGE_DIRECTFB_MATROX
+        bool "compile matrox graphics driver"
+        default n
+        depends on BR2_PACKAGE_DIRECTFB
+
+config BR2_PACKAGE_DIRECTFB_UNICHROME
+        bool "compile unichrome graphics driver"
+        default y
+        depends on BR2_PACKAGE_DIRECTFB
+
+config BR2_PACKAGE_DIRECTFB_KEYBOARD
+        bool "compile keyboard input driver"
+        default y
+        depends on BR2_PACKAGE_DIRECTFB
+
+config BR2_PACKAGE_DIRECTFB_PS2MOUSE
+        bool "compile PS2 mouse input driver"
+        default y
+        depends on BR2_PACKAGE_DIRECTFB
+
+config BR2_PACKAGE_DIRECTFB_SERIALMOUSE
+        bool "compile serial mouse input driver"
+        default y
+        depends on BR2_PACKAGE_DIRECTFB
+
+config BR2_PACKAGE_DIRECTFB_PNG
+        bool "enable PNG support"
+        default y
+        depends on BR2_PACKAGE_DIRECTFB
+	select BR2_PACKAGE_LIBPNG
+	select BR2_PACKAGE_ZLIB
+
+config BR2_PACKAGE_DIRECTFB_TSLIB
+        bool "enable touchscreen support"
+        default y
+        depends on BR2_PACKAGE_DIRECTFB
+	select BR2_PACKAGE_TSLIB
+
+config BR2_PACKAGE_DIRECTFB_GIF
+        bool "enable GIF support"
+        default y
+        depends on BR2_PACKAGE_DIRECTFB
+
+config BR2_PACKAGE_DIRECTFB_JPEG
+        bool "enable JPEG support"
+        default y
+        depends on BR2_PACKAGE_DIRECTFB
+	select BR2_PACKAGE_JPEG

Modified: trunk/buildroot/package/directfb/directfb.mk
===================================================================
--- trunk/buildroot/package/directfb/directfb.mk	2008-10-07 17:08:27 UTC (rev 23620)
+++ trunk/buildroot/package/directfb/directfb.mk	2008-10-07 20:29:27 UTC (rev 23621)
@@ -5,25 +5,103 @@
 #############################################################
 #DIRECTFB_VERSION:=0.9.25.1
 #DIRECTFB_SITE:=http://www.directfb.org/downloads/Old
-DIRECTFB_VERSION:=1.0.1
+DIRECTFB_MAJOR:=1.2
+DIRECTFB_VERSION:=1.2.6
 DIRECTFB_SITE:=http://www.directfb.org/downloads/Core
 DIRECTFB_SOURCE:=DirectFB-$(DIRECTFB_VERSION).tar.gz
 DIRECTFB_CAT:=$(ZCAT)
 DIRECTFB_DIR:=$(BUILD_DIR)/DirectFB-$(DIRECTFB_VERSION)
+DIRECTFB_STAGING:=directfb-$(DIRECTFB_MAJOR)-0
+DIRECTFB_BIN:=usr/lib/libdirectfb-$(DIRECTFB_MAJOR).so.0
+DIRECTFB_DEP:=zlib
 
 ifeq ($(BR2_PACKAGE_DIRECTFB_MULTI),y)
-DIRECTFB_MULTI:=--enable-multi
+DIRECTFB_MULTI:=--enable-multi --enable-fusion
 DIRECTFB_FUSION:=linux-fusion
 else
 DIRECTFB_MULTI:=
 DIRECTFB_FUSION:=
 endif
-ifeq ($(BR2_PACKAGE_XSERVER_none),y)
+ifeq ($(BR2_PACKAGE_XSERVER),y)
+DIRECTFB_X:=--enable-x11
+else
 DIRECTFB_X:=--disable-x11
+endif
+
+ifeq ($(BR2_PACKAGE_DIRECTFB_UNIQUE),y)
+DIRECTFB_UNIQUE:=--enable-unique
 else
-DIRECTFB_X:=--enable-x11
+DIRECTFB_UNIQUE:=--disable-unique
 endif
 
+DIRECTFB_GFX:=
+ifeq ($(BR2_PACKAGE_DIRECTFB_ATI128),y)
+DIRECTFB_GFX+= ati128
+endif
+ifeq ($(BR2_PACKAGE_DIRECTFB_CLE266),y)
+DIRECTFB_GFX+= cle266
+endif
+ifeq ($(BR2_PACKAGE_DIRECTFB_CYBER5K),y)
+DIRECTFB_GFX+= cyber5k
+endif
+ifeq ($(BR2_PACKAGE_DIRECTFB_MATROX),y)
+DIRECTFB_GFX+= matrox
+endif
+ifeq ($(BR2_PACKAGE_DIRECTFB_UNICHROME),y)
+DIRECTFB_GFX+= unichrome
+endif
+ifeq ($(DIRECTFB_GFX),)
+DIRECTFB_GFX:=none
+else
+comma:=,
+empty:=
+space:=$(empty) $(empty)
+DIRECTFB_GFX:=$(subst $(space),$(comma),$(strip $(DIRECTFB_GFX)))
+endif
+
+DIRECTFB_INPUT:=
+ifeq ($(BR2_PACKAGE_DIRECTFB_KEYBOARD),y)
+DIRECTFB_INPUT+= keyboard
+endif
+ifeq ($(BR2_PACKAGE_DIRECTFB_PS2MOUSE),y)
+DIRECTFB_INPUT+= ps2mouse
+endif
+ifeq ($(BR2_PACKAGE_DIRECTFB_SERIALMOUSE),y)
+DIRECTFB_INPUT+= serialmouse
+endif
+ifeq ($(BR2_PACKAGE_DIRECTFB_TSLIB),y)
+DIRECTFB_INPUT+= tslib
+DIRECTFB_DEP+= tslib
+endif
+ifeq ($(DIRECTFB_INPUT),)
+DIRECTFB_INPUT:=none
+else
+comma:=,
+empty:=
+space:=$(empty) $(empty)
+DIRECTFB_INPUT:=$(subst $(space),$(comma),$(strip $(DIRECTFB_INPUT)))
+endif
+
+ifeq ($(BR2_PACKAGE_DIRECTFB_GIF),y)
+DIRECTFB_GIF:=--enable-gif
+else
+DIRECTFB_GIF:=--disable-gif
+endif
+
+ifeq ($(BR2_PACKAGE_DIRECTFB_PNG),y)
+DIRECTFB_PNG:=--enable-png
+DIRECTFB_DEP+= libpng
+else
+DIRECTFB_PNG:=--disable-png
+endif
+
+ifeq ($(BR2_PACKAGE_DIRECTFB_JPEG),y)
+DIRECTFB_JPEG:=--enable-jpeg
+DIRECTFB_DEP+= jpeg
+else
+DIRECTFB_JPEG:=--disable-jpeg
+endif
+
 $(DL_DIR)/$(DIRECTFB_SOURCE):
 	$(WGET) -P $(DL_DIR) $(DIRECTFB_SITE)/$(DIRECTFB_SOURCE)
 
@@ -46,32 +124,27 @@
 		--host=$(GNU_TARGET_NAME) \
 		--build=$(GNU_HOST_NAME) \
 		--prefix=/usr \
-		--exec-prefix=/usr \
-		--bindir=/bin \
-		--sbindir=/sbin \
-		--libdir=/lib \
-		--libexecdir=/lib \
 		--sysconfdir=/etc \
-		--datadir=/share \
 		--localstatedir=/var \
-		--includedir=/include \
-		--mandir=/man \
-		--infodir=/info \
-		--with-gfxdrivers=cle266,unichrome \
+		--with-gfxdrivers=$(DIRECTFB_GFX) \
+		--with-inputdrivers=$(DIRECTFB_INPUT) \
+		--enable-static \
 		--enable-shared \
 		$(DIRECTFB_MULTI) \
 		$(DIRECTFB_X) \
-		--enable-jpeg \
-		--enable-png \
+		$(DIRECTFB_JPEG) \
+		$(DIRECTFB_PNG) \
+		$(DIRECTFB_GIF) \
+		$(DIRECTFB_UNIQUE) \
 		--enable-linux-input \
 		--enable-zlib \
 		--enable-freetype \
+		--enable-fbdev \
 		--disable-sysfs \
 		--disable-sdl \
 		--disable-vnc \
 		--disable-video4linux \
-		--disable-video4linux2 \
-		--enable-fusion )
+		--disable-video4linux2 )
 	touch $@
 
 $(DIRECTFB_DIR)/.compiled: $(DIRECTFB_DIR)/.configured
@@ -80,36 +153,39 @@
 		-C $(DIRECTFB_DIR)
 	touch $(DIRECTFB_DIR)/.compiled
 
-$(STAGING_DIR)/usr/lib/libdirectfb.so: $(DIRECTFB_DIR)/.compiled
-	$(MAKE) DESTDIR=$(STAGING_DIR)/usr -C $(DIRECTFB_DIR) install
-	$(SED) "s,^libdir=.*,libdir=\'$(STAGING_DIR)/usr/lib\',g" \
-		$(STAGING_DIR)/usr/lib/libdirectfb.la
-	$(SED) "s,/lib/libfusion.la,$(STAGING_DIR)/usr/lib/libfusion.la,g" \
-		$(STAGING_DIR)/usr/lib/libdirectfb.la
-	$(SED) "s,/lib/libdirect.la,$(STAGING_DIR)/usr/lib/libdirect.la,g" \
-		$(STAGING_DIR)/usr/lib/libdirectfb.la
-	$(SED) "s,^libdir=.*,libdir=\'$(STAGING_DIR)/usr/lib\',g" \
-		$(STAGING_DIR)/usr/lib/libdirect.la
-	$(SED) "s,^libdir=.*,libdir=\'$(STAGING_DIR)/usr/lib\',g" \
-		$(STAGING_DIR)/usr/lib/libfusion.la
-	$(SED) "s,/lib/libdirect.la,$(STAGING_DIR)/usr/lib/libdirect.la,g" \
-		$(STAGING_DIR)/usr/lib/libfusion.la
-	touch -c $@
+$(STAGING_DIR)/$(DIRECTFB_BIN): $(DIRECTFB_DIR)/.compiled
+	$(MAKE) DESTDIR=$(STAGING_DIR) -C $(DIRECTFB_DIR) install
+	$(SED) "s, /usr/lib, $(STAGING_DIR)/usr/lib,g" \
+		$(STAGING_DIR)/usr/lib/libdirect.la \
+		$(STAGING_DIR)/usr/lib/libdirectfb.la \
+		$(STAGING_DIR)/usr/lib/libfusion.la \
+		`find $(STAGING_DIR)/usr/lib/directfb-$(DIRECTFB_MAJOR)-0/ -name '*.la'`
+	$(SED) "s,^prefix=.*,prefix=\'$(STAGING_DIR)/usr\',g" \
+		$(STAGING_DIR)/usr/bin/*directfb-config
 
-$(TARGET_DIR)/usr/lib/libdirectfb.so: $(STAGING_DIR)/usr/lib/libdirectfb.so
-	cp -dpf $(STAGING_DIR)/usr/lib/libdirect* $(STAGING_DIR)/usr/lib/libfusion* $(TARGET_DIR)/usr/lib/
-	cp -rdpf $(STAGING_DIR)/usr/lib/directfb-* $(TARGET_DIR)/usr/lib/
-	-$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) \
-		$(TARGET_DIR)/usr/lib/libdirectfb.so \
-		$(TARGET_DIR)/usr/lib/libdirect.so \
-		$(TARGET_DIR)/usr/lib/libfusion.so
+$(TARGET_DIR)/$(DIRECTFB_BIN): $(STAGING_DIR)/$(DIRECTFB_BIN)
+	cd $(STAGING_DIR)/usr/lib/; find $(DIRECTFB_STAGING) -type f -name '*.so' \
+		| xargs -IREPL install -Dm644 REPL $(TARGET_DIR)/usr/lib/REPL
+	mkdir -p $(TARGET_DIR)/usr/lib/directfb-$(DIRECTFB_MAJOR)-0/gfxdrivers
+	cp -dpf $(STAGING_DIR)/usr/lib/libfusion*.so.* $(TARGET_DIR)/usr/lib/
+ifeq ($(BR2_PACKAGE_DIRECTFB_UNIQUE),y)
+	cp -dpf $(STAGING_DIR)/usr/lib/libuniquewm*.so.* $(TARGET_DIR)/usr/lib/
+endif
+	cp -dpf $(STAGING_DIR)/usr/lib/libdirect*.so.* $(TARGET_DIR)/usr/lib/
+	$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) \
+		$(TARGET_DIR)/usr/lib/libdirect*.so.* \
+		$(TARGET_DIR)/usr/lib/libfusion*.so.*
+ifeq ($(BR2_PACKAGE_DIRECTFB_UNIQUE),y)
+	$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) \
+		$(TARGET_DIR)/usr/lib/libuniquewm*.so.*
+endif
 
-directfb: uclibc jpeg libpng freetype libsysfs tslib $(DIRECTFB_FUSION) \
-		$(TARGET_DIR)/usr/lib/libdirectfb.so
+directfb: uclibc $(DIRECTFB_DEP) freetype $(DIRECTFB_FUSION) $(TARGET_DIR)/$(DIRECTFB_BIN)
 
 directfb-clean:
 	-$(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(DIRECTFB_DIR) uninstall
 	-$(MAKE) -C $(DIRECTFB_DIR) clean
+	rm -f $(DIRECTFB_DIR)/.configured $(DIRECTFB_DIR)/.compiled
 
 directfb-dirclean:
 	rm -rf $(DIRECTFB_DIR)

^ permalink raw reply	[flat|nested] 29+ messages in thread

* [Buildroot] svn commit: trunk/buildroot/package/directfb
  2008-10-07 20:29 correa at uclibc.org
@ 2008-10-08 18:36 ` Peter Korsgaard
  2008-10-09  5:06   ` Thiago A. Corrêa
  2008-10-09  1:25 ` Ormund Williams
  1 sibling, 1 reply; 29+ messages in thread
From: Peter Korsgaard @ 2008-10-08 18:36 UTC (permalink / raw)
  To: buildroot

>>>>> "correa" == correa  <correa@uclibc.org> writes:

 correa> Author: correa
 correa> Date: 2008-10-07 13:29:27 -0700 (Tue, 07 Oct 2008)
 correa> New Revision: 23621

 correa> Log:
 correa> widen options to configure directfb, patch by Micha Nelissen <micha@neli.hopto.org>

 correa> +
 correa> +config BR2_PACKAGE_DIRECTFB_XSERVER
 correa> +        bool "build with X server backend"

Doesn't this need to depend on the various X implementations
(E.G. BR2_PACKAGE_XORG || ..XORG7 || ..TINYX ?

 correa> +config BR2_PACKAGE_DIRECTFB_PNG
 correa> +        bool "enable PNG support"
 correa> +        default y
 correa> +        depends on BR2_PACKAGE_DIRECTFB
 correa> +	select BR2_PACKAGE_LIBPNG
 correa> +	select BR2_PACKAGE_ZLIB

Indentation seems wrong. Actually it's right here and wrong everywhere
else. Config.in uses tabs for indentation, not spaces (and help text
is tab+2 spaces).

 correa> +config BR2_PACKAGE_DIRECTFB_GIF
 correa> +        bool "enable GIF support"
 correa> +        default y
 correa> +        depends on BR2_PACKAGE_DIRECTFB

Is that built in, or do you need to select libgif or similar?

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 29+ messages in thread

* [Buildroot] svn commit: trunk/buildroot/package/directfb
  2008-10-07 20:29 correa at uclibc.org
  2008-10-08 18:36 ` Peter Korsgaard
@ 2008-10-09  1:25 ` Ormund Williams
  2008-10-09  5:21   ` Thiago A. Corrêa
  1 sibling, 1 reply; 29+ messages in thread
From: Ormund Williams @ 2008-10-09  1:25 UTC (permalink / raw)
  To: buildroot

On Tue, 2008-10-07 at 13:29 -0700, correa at uclibc.org wrote:
> Author: correa
> Date: 2008-10-07 13:29:27 -0700 (Tue, 07 Oct 2008)
> New Revision: 23621
> 
> Log:
> widen options to configure directfb, patch by Micha Nelissen <micha@neli.hopto.org>
> 
> Modified:
>    trunk/buildroot/package/directfb/Config.in
>    trunk/buildroot/package/directfb/directfb.mk
> 
> 
> Changeset:
> Modified: trunk/buildroot/package/directfb/Config.in
> ===================================================================
> --- trunk/buildroot/package/directfb/Config.in	2008-10-07 17:08:27 UTC (rev 23620)
> +++ trunk/buildroot/package/directfb/Config.in	2008-10-07 20:29:27 UTC (rev 23621)
> @@ -1,15 +1,10 @@
--snip--

I get the following error with this patch:

checking for directfb-csource... no
configure: error: Could not find a directfb-csource in your PATH
make: ***
[/home/ormund/buildroot/buildroot/build_i686/DirectFB-1.2.6/.configured]
Error 1


__
Ormund

^ permalink raw reply	[flat|nested] 29+ messages in thread

* [Buildroot] svn commit: trunk/buildroot/package/directfb
@ 2008-10-09  5:06 correa at uclibc.org
  2008-10-09  9:45 ` Peter Korsgaard
  0 siblings, 1 reply; 29+ messages in thread
From: correa at uclibc.org @ 2008-10-09  5:06 UTC (permalink / raw)
  To: buildroot

Author: correa
Date: 2008-10-08 22:06:42 -0700 (Wed, 08 Oct 2008)
New Revision: 23629

Log:
Fix dependencies in directfb config options

Modified:
   trunk/buildroot/package/directfb/Config.in


Changeset:
Modified: trunk/buildroot/package/directfb/Config.in
===================================================================
--- trunk/buildroot/package/directfb/Config.in	2008-10-08 23:22:11 UTC (rev 23628)
+++ trunk/buildroot/package/directfb/Config.in	2008-10-09 05:06:42 UTC (rev 23629)
@@ -17,6 +17,7 @@
         bool "build with X server backend"
         default n
         depends on BR2_PACKAGE_DIRECTFB
+	depends on BR2_PACKAGE_XSERVER_x11r7 || BR2_PACKAGE_XSERVER_tinyx
 
 config BR2_PACKAGE_DIRECTFB_UNIQUE
         bool "enable unique window manager"
@@ -63,7 +64,6 @@
         default y
         depends on BR2_PACKAGE_DIRECTFB
 	select BR2_PACKAGE_LIBPNG
-	select BR2_PACKAGE_ZLIB
 
 config BR2_PACKAGE_DIRECTFB_TSLIB
         bool "enable touchscreen support"
@@ -75,6 +75,7 @@
         bool "enable GIF support"
         default y
         depends on BR2_PACKAGE_DIRECTFB
+	select BR2_PACKAGE_LIBUNGIF
 
 config BR2_PACKAGE_DIRECTFB_JPEG
         bool "enable JPEG support"

^ permalink raw reply	[flat|nested] 29+ messages in thread

* [Buildroot] svn commit: trunk/buildroot/package/directfb
  2008-10-08 18:36 ` Peter Korsgaard
@ 2008-10-09  5:06   ` Thiago A. Corrêa
  2008-10-09  7:57     ` Bernhard Reutner-Fischer
  0 siblings, 1 reply; 29+ messages in thread
From: Thiago A. Corrêa @ 2008-10-09  5:06 UTC (permalink / raw)
  To: buildroot

Hi Peter,

>  correa> +
>  correa> +config BR2_PACKAGE_DIRECTFB_XSERVER
>  correa> +        bool "build with X server backend"
>
> Doesn't this need to depend on the various X implementations
> (E.G. BR2_PACKAGE_XORG || ..XORG7 || ..TINYX ?
>

I suppose it should, yes. Sorry, I didn't notice.
Btw, we really need a better check for X. something like the linux
kernel with BR2_HAS_X that is set on either X implementation.
XORG for instance is an empty folder in package/xorg. When/if that
changes, we need to revisit all packages, quite anoying.

>  correa> +config BR2_PACKAGE_DIRECTFB_PNG
>  correa> +        bool "enable PNG support"
>  correa> +        default y
>  correa> +        depends on BR2_PACKAGE_DIRECTFB
>  correa> +      select BR2_PACKAGE_LIBPNG
>  correa> +      select BR2_PACKAGE_ZLIB
>
> Indentation seems wrong. Actually it's right here and wrong everywhere
> else. Config.in uses tabs for indentation, not spaces (and help text
> is tab+2 spaces).
>

Unfortunally I can't see that using vi. Since it's not Python, I
honestly don't see the space/tab being relevant.

>  correa> +config BR2_PACKAGE_DIRECTFB_GIF
>  correa> +        bool "enable GIF support"
>  correa> +        default y
>  correa> +        depends on BR2_PACKAGE_DIRECTFB
>
> Is that built in, or do you need to select libgif or similar?
>

It seams to depend on libgif, so another select is missing. I was able
to catch the ZLIB select missing in the original patch and added it
myself, but I guess I didn't notice this one as I already had libgif
selected.

Fixes in -r23629

Kind Regards,
    Thiago A. Correa

^ permalink raw reply	[flat|nested] 29+ messages in thread

* [Buildroot] svn commit: trunk/buildroot/package/directfb
  2008-10-09  1:25 ` Ormund Williams
@ 2008-10-09  5:21   ` Thiago A. Corrêa
  2008-10-09 12:42     ` Ormund Williams
  0 siblings, 1 reply; 29+ messages in thread
From: Thiago A. Corrêa @ 2008-10-09  5:21 UTC (permalink / raw)
  To: buildroot

On Wed, Oct 8, 2008 at 10:25 PM, Ormund Williams <ormundw@panix.com> wrote:
> On Tue, 2008-10-07 at 13:29 -0700, correa at uclibc.org wrote:
>> Author: correa
>> Date: 2008-10-07 13:29:27 -0700 (Tue, 07 Oct 2008)
>> New Revision: 23621
>>
>> Log:
>> widen options to configure directfb, patch by Micha Nelissen <micha@neli.hopto.org>
>>
>> Modified:
>>    trunk/buildroot/package/directfb/Config.in
>>    trunk/buildroot/package/directfb/directfb.mk
>>
>>
>> Changeset:
>> Modified: trunk/buildroot/package/directfb/Config.in
>> ===================================================================
>> --- trunk/buildroot/package/directfb/Config.in        2008-10-07 17:08:27 UTC (rev 23620)
>> +++ trunk/buildroot/package/directfb/Config.in        2008-10-07 20:29:27 UTC (rev 23621)
>> @@ -1,15 +1,10 @@
> --snip--
>
> I get the following error with this patch:
>
> checking for directfb-csource... no
> configure: error: Could not find a directfb-csource in your PATH
> make: ***
> [/home/ormund/buildroot/buildroot/build_i686/DirectFB-1.2.6/.configured]
> Error 1
>

I have no idea what directfb-csource is.
This just works for me when compiling for AVR32.

I also don't have it on my search path either:
localhost directfb # which directfb-csource
which: no directfb-csource in
(/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.1.2:/usr/kde/4.0/sbin:/usr/kde/4.0/bin)

So It can't be coming from the host. Did it work at all before?
Perhaps it's one of the new options?

Kind Regards,
   Thiago A. Correa

^ permalink raw reply	[flat|nested] 29+ messages in thread

* [Buildroot] svn commit: trunk/buildroot/package/directfb
  2008-10-09  5:06   ` Thiago A. Corrêa
@ 2008-10-09  7:57     ` Bernhard Reutner-Fischer
  0 siblings, 0 replies; 29+ messages in thread
From: Bernhard Reutner-Fischer @ 2008-10-09  7:57 UTC (permalink / raw)
  To: buildroot

On Thu, Oct 09, 2008 at 02:06:58AM -0300, Thiago A. Corr?a wrote:
>Hi Peter,
>
>>  correa> +
>>  correa> +config BR2_PACKAGE_DIRECTFB_XSERVER
>>  correa> +        bool "build with X server backend"
>>
>> Doesn't this need to depend on the various X implementations
>> (E.G. BR2_PACKAGE_XORG || ..XORG7 || ..TINYX ?
>>
>
>I suppose it should, yes. Sorry, I didn't notice.
>Btw, we really need a better check for X. something like the linux
>kernel with BR2_HAS_X that is set on either X implementation.
>XORG for instance is an empty folder in package/xorg. When/if that
>changes, we need to revisit all packages, quite anoying.

That's the reason why we have BR2_PACKAGE_XSERVER_none; See
package/Config.in
>
>>  correa> +config BR2_PACKAGE_DIRECTFB_PNG
>>  correa> +        bool "enable PNG support"
>>  correa> +        default y
>>  correa> +        depends on BR2_PACKAGE_DIRECTFB
>>  correa> +      select BR2_PACKAGE_LIBPNG
>>  correa> +      select BR2_PACKAGE_ZLIB
>>
>> Indentation seems wrong. Actually it's right here and wrong everywhere
>> else. Config.in uses tabs for indentation, not spaces (and help text
>> is tab+2 spaces).
>>
>
>Unfortunally I can't see that using vi. Since it's not Python, I
>honestly don't see the space/tab being relevant.

It is relevant since it is the style that is perused in this project.
Try something like :match Error '\(^\s\(\s\s\)[^[:alnum:]]\|\s\+$\)'
you get the idea..
>
>>  correa> +config BR2_PACKAGE_DIRECTFB_GIF
>>  correa> +        bool "enable GIF support"

Can you please strip all "enable" and "compile" off those bools. They
are highly redundant.

TIA

^ permalink raw reply	[flat|nested] 29+ messages in thread

* [Buildroot] svn commit: trunk/buildroot/package/directfb
  2008-10-09  5:06 correa at uclibc.org
@ 2008-10-09  9:45 ` Peter Korsgaard
  0 siblings, 0 replies; 29+ messages in thread
From: Peter Korsgaard @ 2008-10-09  9:45 UTC (permalink / raw)
  To: buildroot

>>>>> "correa" == correa  <correa@uclibc.org> writes:

 correa> Author: correa
 correa> Date: 2008-10-08 22:06:42 -0700 (Wed, 08 Oct 2008)
 correa> New Revision: 23629

 correa> Log:
 correa> Fix dependencies in directfb config options

What about the dependencies in the Makefile to ensure those things are
built before directfb?

Will you also fix the white space issues in Config.in?

Thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 29+ messages in thread

* [Buildroot] svn commit: trunk/buildroot/package/directfb
  2008-10-09  5:21   ` Thiago A. Corrêa
@ 2008-10-09 12:42     ` Ormund Williams
  2008-10-09 12:51       ` Peter Korsgaard
  2008-10-11  4:19       ` Ormund Williams
  0 siblings, 2 replies; 29+ messages in thread
From: Ormund Williams @ 2008-10-09 12:42 UTC (permalink / raw)
  To: buildroot

On Thu, 2008-10-09 at 02:21 -0300, Thiago A. Corr?a wrote:
> I have no idea what directfb-csource is.
It's a utility for converting a PNG file to a c source file.  The source
code for it is in the DirectFB source itself.

> This just works for me when compiling for AVR32.
> 
> I also don't have it on my search path either:
> localhost directfb # which directfb-csource
> which: no directfb-csource in
> (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.1.2:/usr/kde/4.0/sbin:/usr/kde/4.0/bin)
> 
> So It can't be coming from the host. Did it work at all before?
> Perhaps it's one of the new options?
> 
I'm using a make file I hacked together based on one Peter Korsgaard
posted to the list some time ago.  Under this make file it's built and
has the target prefix attached, i686-linux-directfb-csource under
the ../staging_dir/usr/bin

This is puzzling.

Regards

__
Ormund

^ permalink raw reply	[flat|nested] 29+ messages in thread

* [Buildroot] svn commit: trunk/buildroot/package/directfb
  2008-10-09 12:42     ` Ormund Williams
@ 2008-10-09 12:51       ` Peter Korsgaard
  2008-10-09 13:11         ` Ormund Williams
  2008-10-11  4:19       ` Ormund Williams
  1 sibling, 1 reply; 29+ messages in thread
From: Peter Korsgaard @ 2008-10-09 12:51 UTC (permalink / raw)
  To: buildroot

>>>>> "Ormund" == Ormund Williams <ormundw@panix.com> writes:

Hi,

 Ormund> I'm using a make file I hacked together based on one Peter
 Ormund> Korsgaard posted to the list some time ago.  Under this make
 Ormund> file it's built and has the target prefix attached,
 Ormund> i686-linux-directfb-csource under the ../staging_dir/usr/bin

I did? I don't remember having ever used directfb - Could you refresh
my memory?

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 29+ messages in thread

* [Buildroot] svn commit: trunk/buildroot/package/directfb
  2008-10-09 12:51       ` Peter Korsgaard
@ 2008-10-09 13:11         ` Ormund Williams
  0 siblings, 0 replies; 29+ messages in thread
From: Ormund Williams @ 2008-10-09 13:11 UTC (permalink / raw)
  To: buildroot

On Thu, 2008-10-09 at 14:51 +0200, Peter Korsgaard wrote:
> >>>>> "Ormund" == Ormund Williams <ormundw@panix.com> writes:
> 
> Hi,
> 
>  Ormund> I'm using a make file I hacked together based on one Peter
>  Ormund> Korsgaard posted to the list some time ago.  Under this make
>  Ormund> file it's built and has the target prefix attached,
>  Ormund> i686-linux-directfb-csource under the ../staging_dir/usr/bin
> 
> I did? I don't remember having ever used directfb - Could you refresh
> my memory?
> 
Sorry, I meant Daniel Laird.

__
Ormund

^ permalink raw reply	[flat|nested] 29+ messages in thread

* [Buildroot] svn commit: trunk/buildroot/package/directfb
@ 2008-10-09 18:36 correa at uclibc.org
  0 siblings, 0 replies; 29+ messages in thread
From: correa at uclibc.org @ 2008-10-09 18:36 UTC (permalink / raw)
  To: buildroot

Author: correa
Date: 2008-10-09 11:36:18 -0700 (Thu, 09 Oct 2008)
New Revision: 23644

Log:
Fix whitespace damage

Modified:
   trunk/buildroot/package/directfb/Config.in


Changeset:
Modified: trunk/buildroot/package/directfb/Config.in
===================================================================
--- trunk/buildroot/package/directfb/Config.in	2008-10-09 16:29:44 UTC (rev 23643)
+++ trunk/buildroot/package/directfb/Config.in	2008-10-09 18:36:18 UTC (rev 23644)
@@ -14,71 +14,71 @@
 	  http://www.directfb.org/
 
 config BR2_PACKAGE_DIRECTFB_XSERVER
-        bool "build with X server backend"
-        default n
-        depends on BR2_PACKAGE_DIRECTFB
-	depends on BR2_PACKAGE_XSERVER_x11r7 || BR2_PACKAGE_XSERVER_tinyx
+	bool "build with X server backend"
+	default n
+	depends on BR2_PACKAGE_DIRECTFB
+	depends on !BR2_PACKAGE_XSERVER_none
 
 config BR2_PACKAGE_DIRECTFB_UNIQUE
-        bool "enable unique window manager"
-        default n
-        depends on BR2_PACKAGE_DIRECTFB
+	bool "enable unique window manager"
+	default n
+	depends on BR2_PACKAGE_DIRECTFB
 
 config BR2_PACKAGE_DIRECTFB_ATI128
-        bool "compile ati128 graphics driver"
-        default n
-        depends on BR2_PACKAGE_DIRECTFB
+	bool "compile ati128 graphics driver"
+	default n
+	depends on BR2_PACKAGE_DIRECTFB
 
 config BR2_PACKAGE_DIRECTFB_CLE266
-        bool "compile cle266 graphics driver"
-        default y
-        depends on BR2_PACKAGE_DIRECTFB
+	bool "compile cle266 graphics driver"
+	default y
+	depends on BR2_PACKAGE_DIRECTFB
 
 config BR2_PACKAGE_DIRECTFB_MATROX
-        bool "compile matrox graphics driver"
-        default n
-        depends on BR2_PACKAGE_DIRECTFB
+	bool "compile matrox graphics driver"
+	default n
+	depends on BR2_PACKAGE_DIRECTFB
 
 config BR2_PACKAGE_DIRECTFB_UNICHROME
-        bool "compile unichrome graphics driver"
-        default y
-        depends on BR2_PACKAGE_DIRECTFB
+	bool "compile unichrome graphics driver"
+	default y
+	depends on BR2_PACKAGE_DIRECTFB
 
 config BR2_PACKAGE_DIRECTFB_KEYBOARD
-        bool "compile keyboard input driver"
-        default y
-        depends on BR2_PACKAGE_DIRECTFB
+	bool "compile keyboard input driver"
+	default y
+	depends on BR2_PACKAGE_DIRECTFB
 
 config BR2_PACKAGE_DIRECTFB_PS2MOUSE
-        bool "compile PS2 mouse input driver"
-        default y
-        depends on BR2_PACKAGE_DIRECTFB
+	bool "compile PS2 mouse input driver"
+	default y
+	depends on BR2_PACKAGE_DIRECTFB
 
 config BR2_PACKAGE_DIRECTFB_SERIALMOUSE
-        bool "compile serial mouse input driver"
-        default y
-        depends on BR2_PACKAGE_DIRECTFB
+	bool "compile serial mouse input driver"
+	default y
+	depends on BR2_PACKAGE_DIRECTFB
 
 config BR2_PACKAGE_DIRECTFB_PNG
-        bool "enable PNG support"
-        default y
-        depends on BR2_PACKAGE_DIRECTFB
+	bool "enable PNG support"
+	default y
+	depends on BR2_PACKAGE_DIRECTFB
 	select BR2_PACKAGE_LIBPNG
 
 config BR2_PACKAGE_DIRECTFB_TSLIB
-        bool "enable touchscreen support"
-        default y
-        depends on BR2_PACKAGE_DIRECTFB
+	bool "enable touchscreen support"
+	default y
+	depends on BR2_PACKAGE_DIRECTFB
 	select BR2_PACKAGE_TSLIB
 
 config BR2_PACKAGE_DIRECTFB_GIF
-        bool "enable GIF support"
-        default y
-        depends on BR2_PACKAGE_DIRECTFB
+	bool "enable GIF support"
+	default y
+	depends on BR2_PACKAGE_DIRECTFB
 	select BR2_PACKAGE_LIBUNGIF
 
 config BR2_PACKAGE_DIRECTFB_JPEG
-        bool "enable JPEG support"
-        default y
-        depends on BR2_PACKAGE_DIRECTFB
+	bool "enable JPEG support"
+	default y
+	depends on BR2_PACKAGE_DIRECTFB
 	select BR2_PACKAGE_JPEG

^ permalink raw reply	[flat|nested] 29+ messages in thread

* [Buildroot] svn commit: trunk/buildroot/package/directfb
@ 2008-10-09 18:36 correa at uclibc.org
  0 siblings, 0 replies; 29+ messages in thread
From: correa at uclibc.org @ 2008-10-09 18:36 UTC (permalink / raw)
  To: buildroot

Author: correa
Date: 2008-10-09 11:36:36 -0700 (Thu, 09 Oct 2008)
New Revision: 23645

Log:
Fix dependency on libungif

Modified:
   trunk/buildroot/package/directfb/directfb.mk


Changeset:
Modified: trunk/buildroot/package/directfb/directfb.mk
===================================================================
--- trunk/buildroot/package/directfb/directfb.mk	2008-10-09 18:36:18 UTC (rev 23644)
+++ trunk/buildroot/package/directfb/directfb.mk	2008-10-09 18:36:36 UTC (rev 23645)
@@ -84,6 +84,7 @@
 
 ifeq ($(BR2_PACKAGE_DIRECTFB_GIF),y)
 DIRECTFB_GIF:=--enable-gif
+DIRECTFB_DEP+= libungif
 else
 DIRECTFB_GIF:=--disable-gif
 endif

^ permalink raw reply	[flat|nested] 29+ messages in thread

* [Buildroot] svn commit: trunk/buildroot/package/directfb
  2008-10-09 12:42     ` Ormund Williams
  2008-10-09 12:51       ` Peter Korsgaard
@ 2008-10-11  4:19       ` Ormund Williams
  1 sibling, 0 replies; 29+ messages in thread
From: Ormund Williams @ 2008-10-11  4:19 UTC (permalink / raw)
  To: buildroot

On Thu, 2008-10-09 at 08:42 -0400, Ormund Williams wrote:
> On Thu, 2008-10-09 at 02:21 -0300, Thiago A. Corr?a wrote:
> > I have no idea what directfb-csource is.
> It's a utility for converting a PNG file to a c source file.  The source
> code for it is in the DirectFB source itself.
> 
> > This just works for me when compiling for AVR32.
> > 
> > I also don't have it on my search path either:
> > localhost directfb # which directfb-csource
> > which: no directfb-csource in
> > (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.1.2:/usr/kde/4.0/sbin:/usr/kde/4.0/bin)
> > 
> > So It can't be coming from the host. Did it work at all before?
> > Perhaps it's one of the new options?
> > 
> I'm using a make file I hacked together based on one Peter Korsgaard
> posted to the list some time ago.  Under this make file it's built and
> has the target prefix attached, i686-linux-directfb-csource under
> the ../staging_dir/usr/bin
> 
> This is puzzling.
> 
Follow-up: This problem only occurs when UniQue window manager is
enabled.

Regards

__
Ormund

^ permalink raw reply	[flat|nested] 29+ messages in thread

* [Buildroot] svn commit: trunk/buildroot/package/directfb
@ 2009-01-11 20:35 ulf at uclibc.org
  0 siblings, 0 replies; 29+ messages in thread
From: ulf at uclibc.org @ 2009-01-11 20:35 UTC (permalink / raw)
  To: buildroot

Author: ulf
Date: 2009-01-11 20:35:34 +0000 (Sun, 11 Jan 2009)
New Revision: 24762

Log:
Change name form DIRECTFB_MAJOR to DIRECTFB_VERSION_MAJOR, make patches version dependent

Modified:
   trunk/buildroot/package/directfb/Config.in
   trunk/buildroot/package/directfb/directfb.mk


Changeset:
Modified: trunk/buildroot/package/directfb/Config.in
===================================================================
--- trunk/buildroot/package/directfb/Config.in	2009-01-11 20:24:24 UTC (rev 24761)
+++ trunk/buildroot/package/directfb/Config.in	2009-01-11 20:35:34 UTC (rev 24762)
@@ -21,24 +21,29 @@
 config BR2_PACKAGE_DIRECTFB_UNIQUE
 	bool "enable unique window manager"
 	depends on BR2_PACKAGE_DIRECTFB
+	depends on BR2_UNIMPLEMENTED
 
 config BR2_PACKAGE_DIRECTFB_ATI128
 	bool "compile ati128 graphics driver"
 	depends on BR2_PACKAGE_DIRECTFB
+	depends on BR2_i386 || BR2_x86_64
 
 config BR2_PACKAGE_DIRECTFB_CLE266
 	bool "compile cle266 graphics driver"
 	default y
 	depends on BR2_PACKAGE_DIRECTFB
+	depends on BR2_i386 || BR2_x86_64
 
 config BR2_PACKAGE_DIRECTFB_MATROX
 	bool "compile matrox graphics driver"
 	depends on BR2_PACKAGE_DIRECTFB
+	depends on BR2_i386 || BR2_x86_64
 
 config BR2_PACKAGE_DIRECTFB_UNICHROME
 	bool "compile unichrome graphics driver"
 	default y
 	depends on BR2_PACKAGE_DIRECTFB
+	depends on BR2_i386 || BR2_x86_64
 
 config BR2_PACKAGE_DIRECTFB_KEYBOARD
 	bool "compile keyboard input driver"
@@ -49,6 +54,7 @@
 	bool "compile PS2 mouse input driver"
 	default y
 	depends on BR2_PACKAGE_DIRECTFB
+	depends on BR2_i386 || BR2_x86_64
 
 config BR2_PACKAGE_DIRECTFB_SERIALMOUSE
 	bool "compile serial mouse input driver"

Modified: trunk/buildroot/package/directfb/directfb.mk
===================================================================
--- trunk/buildroot/package/directfb/directfb.mk	2009-01-11 20:24:24 UTC (rev 24761)
+++ trunk/buildroot/package/directfb/directfb.mk	2009-01-11 20:35:34 UTC (rev 24762)
@@ -5,14 +5,16 @@
 #############################################################
 #DIRECTFB_VERSION:=0.9.25.1
 #DIRECTFB_SITE:=http://www.directfb.org/downloads/Old
-DIRECTFB_MAJOR:=1.2
+DIRECTFB_VERSION_MAJOR:=1.2
 DIRECTFB_VERSION:=1.2.6
+#DIRECTFB_VERSION:=1.3.0	is a development version
+#DIRECTFB_VERSION_MAJOR:=1.3
 DIRECTFB_SITE:=http://www.directfb.org/downloads/Core
 DIRECTFB_SOURCE:=DirectFB-$(DIRECTFB_VERSION).tar.gz
 DIRECTFB_CAT:=$(ZCAT)
 DIRECTFB_DIR:=$(BUILD_DIR)/DirectFB-$(DIRECTFB_VERSION)
-DIRECTFB_STAGING:=directfb-$(DIRECTFB_MAJOR)-0
-DIRECTFB_BIN:=usr/lib/libdirectfb-$(DIRECTFB_MAJOR).so.0
+DIRECTFB_STAGING:=directfb-$(DIRECTFB_VERSION_MAJOR)-0
+DIRECTFB_BIN:=usr/lib/libdirectfb-$(DIRECTFB_VERSION_MAJOR).so.0
 DIRECTFB_DEP:=zlib
 
 ifeq ($(BR2_PACKAGE_DIRECTFB_MULTI),y)
@@ -110,7 +112,7 @@
 
 $(DIRECTFB_DIR)/.unpacked: $(DL_DIR)/$(DIRECTFB_SOURCE)
 	$(DIRECTFB_CAT) $(DL_DIR)/$(DIRECTFB_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
-	toolchain/patch-kernel.sh $(DIRECTFB_DIR) package/directfb/ directfb\*.patch
+	toolchain/patch-kernel.sh $(DIRECTFB_DIR) package/directfb/ DirectFB-$(DIRECTFB_VERSION)\*.patch
 	touch $@
 
 $(DIRECTFB_DIR)/.configured: $(DIRECTFB_DIR)/.unpacked
@@ -155,14 +157,14 @@
 		$(STAGING_DIR)/usr/lib/libdirect.la \
 		$(STAGING_DIR)/usr/lib/libdirectfb.la \
 		$(STAGING_DIR)/usr/lib/libfusion.la \
-		`find $(STAGING_DIR)/usr/lib/directfb-$(DIRECTFB_MAJOR)-0/ -name '*.la'`
+		`find $(STAGING_DIR)/usr/lib/directfb-$(DIRECTFB_VERSION_MAJOR)-0/ -name '*.la'`
 	$(SED) "s,^prefix=.*,prefix=\'$(STAGING_DIR)/usr\',g" \
 		$(STAGING_DIR)/usr/bin/*directfb-config
 
 $(TARGET_DIR)/$(DIRECTFB_BIN): $(STAGING_DIR)/$(DIRECTFB_BIN)
 	cd $(STAGING_DIR)/usr/lib/; find $(DIRECTFB_STAGING) -type f -name '*.so' \
 		| xargs -IREPL install -Dm644 REPL $(TARGET_DIR)/usr/lib/REPL
-	mkdir -p $(TARGET_DIR)/usr/lib/directfb-$(DIRECTFB_MAJOR)-0/gfxdrivers
+	mkdir -p $(TARGET_DIR)/usr/lib/directfb-$(DIRECTFB_VERSION_MAJOR)-0/gfxdrivers
 	cp -dpf $(STAGING_DIR)/usr/lib/libfusion*.so.* $(TARGET_DIR)/usr/lib/
 ifeq ($(BR2_PACKAGE_DIRECTFB_UNIQUE),y)
 	cp -dpf $(STAGING_DIR)/usr/lib/libuniquewm*.so.* $(TARGET_DIR)/usr/lib/
@@ -178,6 +180,8 @@
 
 directfb: uclibc $(DIRECTFB_DEP) freetype $(DIRECTFB_FUSION) $(TARGET_DIR)/$(DIRECTFB_BIN)
 
+directfb-unpacked: $(DIRECTFB_DIR)/.unpacked
+
 directfb-clean:
 	-$(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(DIRECTFB_DIR) uninstall
 	-$(MAKE) -C $(DIRECTFB_DIR) clean

^ permalink raw reply	[flat|nested] 29+ messages in thread

* [Buildroot] svn commit: trunk/buildroot/package/directfb
@ 2009-01-21 15:49 jacmet at uclibc.org
  0 siblings, 0 replies; 29+ messages in thread
From: jacmet at uclibc.org @ 2009-01-21 15:49 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2009-01-21 15:49:17 +0000 (Wed, 21 Jan 2009)
New Revision: 24940

Log:
directfb: tarball moved to Old/

Modified:
   trunk/buildroot/package/directfb/directfb.mk


Changeset:
Modified: trunk/buildroot/package/directfb/directfb.mk
===================================================================
--- trunk/buildroot/package/directfb/directfb.mk	2009-01-21 15:49:06 UTC (rev 24939)
+++ trunk/buildroot/package/directfb/directfb.mk	2009-01-21 15:49:17 UTC (rev 24940)
@@ -9,7 +9,7 @@
 DIRECTFB_VERSION:=1.2.6
 #DIRECTFB_VERSION:=1.3.0	is a development version
 #DIRECTFB_VERSION_MAJOR:=1.3
-DIRECTFB_SITE:=http://www.directfb.org/downloads/Core
+DIRECTFB_SITE:=http://www.directfb.org/downloads/Old
 DIRECTFB_SOURCE:=DirectFB-$(DIRECTFB_VERSION).tar.gz
 DIRECTFB_CAT:=$(ZCAT)
 DIRECTFB_DIR:=$(BUILD_DIR)/DirectFB-$(DIRECTFB_VERSION)

^ permalink raw reply	[flat|nested] 29+ messages in thread

* [Buildroot] svn commit: trunk/buildroot/package/directfb
@ 2009-01-21 19:20 jacmet at uclibc.org
  0 siblings, 0 replies; 29+ messages in thread
From: jacmet at uclibc.org @ 2009-01-21 19:20 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2009-01-21 19:20:08 +0000 (Wed, 21 Jan 2009)
New Revision: 24941

Log:
directfb: bump version and convert to Makefile.autotools.in format

Patch by Sven Neumann <s.neumann@phase-zero.de>

Modified:
   trunk/buildroot/package/directfb/directfb.mk


Changeset:
Modified: trunk/buildroot/package/directfb/directfb.mk
===================================================================
--- trunk/buildroot/package/directfb/directfb.mk	2009-01-21 15:49:17 UTC (rev 24940)
+++ trunk/buildroot/package/directfb/directfb.mk	2009-01-21 19:20:08 UTC (rev 24941)
@@ -3,19 +3,16 @@
 # directfb
 #
 #############################################################
-#DIRECTFB_VERSION:=0.9.25.1
-#DIRECTFB_SITE:=http://www.directfb.org/downloads/Old
 DIRECTFB_VERSION_MAJOR:=1.2
-DIRECTFB_VERSION:=1.2.6
+DIRECTFB_VERSION:=1.2.7
 #DIRECTFB_VERSION:=1.3.0	is a development version
 #DIRECTFB_VERSION_MAJOR:=1.3
-DIRECTFB_SITE:=http://www.directfb.org/downloads/Old
+DIRECTFB_SITE:=http://www.directfb.org/downloads/Core
 DIRECTFB_SOURCE:=DirectFB-$(DIRECTFB_VERSION).tar.gz
-DIRECTFB_CAT:=$(ZCAT)
-DIRECTFB_DIR:=$(BUILD_DIR)/DirectFB-$(DIRECTFB_VERSION)
-DIRECTFB_STAGING:=directfb-$(DIRECTFB_VERSION_MAJOR)-0
-DIRECTFB_BIN:=usr/lib/libdirectfb-$(DIRECTFB_VERSION_MAJOR).so.0
-DIRECTFB_DEP:=zlib
+DIRECTFB_AUTORECONF = NO
+DIRECTFB_LIBTOOL_PATCH = NO
+DIRECTFB_INSTALL_STAGING = YES
+DIRECTFB_INSTALL_TARGET = YES
 
 ifeq ($(BR2_PACKAGE_DIRECTFB_MULTI),y)
 DIRECTFB_MULTI:=--enable-multi --enable-fusion
@@ -105,96 +102,29 @@
 DIRECTFB_JPEG:=--disable-jpeg
 endif
 
-$(DL_DIR)/$(DIRECTFB_SOURCE):
-	$(call DOWNLOAD,$(DIRECTFB_SITE),$(DIRECTFB_SOURCE))
+DIRECTFB_CONF_OPT = \
+	--localstatedir=/var \
+	--with-gfxdrivers=$(DIRECTFB_GFX) \
+	--with-inputdrivers=$(DIRECTFB_INPUT) \
+	--enable-static \
+	--enable-shared \
+	--disable-explicit-deps \
+	$(DIRECTFB_MULTI) \
+	$(DIRECTFB_X) \
+	$(DIRECTFB_JPEG) \
+	$(DIRECTFB_PNG) \
+	$(DIRECTFB_GIF) \
+	$(DIRECTFB_UNIQUE) \
+	--enable-linux-input \
+	--enable-zlib \
+	--enable-freetype \
+	--enable-fbdev \
+	--disable-sysfs \
+	--disable-sdl \
+	--disable-vnc \
+	--disable-video4linux \
+	--disable-video4linux2
 
-directfb-source: $(DL_DIR)/$(DIRECTFB_SOURCE)
+DIRECTFB_DEPENDENCIES = uclibc $(DIRECTFB_DEP) freetype $(DIRECTFB_FUSION)
 
-$(DIRECTFB_DIR)/.unpacked: $(DL_DIR)/$(DIRECTFB_SOURCE)
-	$(DIRECTFB_CAT) $(DL_DIR)/$(DIRECTFB_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
-	toolchain/patch-kernel.sh $(DIRECTFB_DIR) package/directfb/ DirectFB-$(DIRECTFB_VERSION)\*.patch
-	touch $@
-
-$(DIRECTFB_DIR)/.configured: $(DIRECTFB_DIR)/.unpacked
-	(cd $(DIRECTFB_DIR); rm -f config.cache; \
-	ac_cv_header_linux_wm97xx_h=no \
-	ac_cv_header_linux_sisfb_h=no \
-	ac_cv_header_asm_page_h=no \
-	$(AUTO_CONFIGURE_TARGET) \
-		--prefix=/usr \
-		--sysconfdir=/etc \
-		--localstatedir=/var \
-		--with-gfxdrivers=$(DIRECTFB_GFX) \
-		--with-inputdrivers=$(DIRECTFB_INPUT) \
-		--enable-static \
-		--enable-shared \
-		$(DIRECTFB_MULTI) \
-		$(DIRECTFB_X) \
-		$(DIRECTFB_JPEG) \
-		$(DIRECTFB_PNG) \
-		$(DIRECTFB_GIF) \
-		$(DIRECTFB_UNIQUE) \
-		--enable-linux-input \
-		--enable-zlib \
-		--enable-freetype \
-		--enable-fbdev \
-		--disable-sysfs \
-		--disable-sdl \
-		--disable-vnc \
-		--disable-video4linux \
-		--disable-video4linux2 )
-	touch $@
-
-$(DIRECTFB_DIR)/.compiled: $(DIRECTFB_DIR)/.configured
-	$(MAKE) PATH=$(STAGING_DIR)/usr/lib:$(PATH) \
-		$(TARGET_CONFIGURE_OPTS) \
-		-C $(DIRECTFB_DIR)
-	touch $(DIRECTFB_DIR)/.compiled
-
-$(STAGING_DIR)/$(DIRECTFB_BIN): $(DIRECTFB_DIR)/.compiled
-	$(MAKE) DESTDIR=$(STAGING_DIR) -C $(DIRECTFB_DIR) install
-	$(SED) "s, /usr/lib, $(STAGING_DIR)/usr/lib,g" \
-		$(STAGING_DIR)/usr/lib/libdirect.la \
-		$(STAGING_DIR)/usr/lib/libdirectfb.la \
-		$(STAGING_DIR)/usr/lib/libfusion.la \
-		`find $(STAGING_DIR)/usr/lib/directfb-$(DIRECTFB_VERSION_MAJOR)-0/ -name '*.la'`
-	$(SED) "s,^prefix=.*,prefix=\'$(STAGING_DIR)/usr\',g" \
-		$(STAGING_DIR)/usr/bin/*directfb-config
-
-$(TARGET_DIR)/$(DIRECTFB_BIN): $(STAGING_DIR)/$(DIRECTFB_BIN)
-	cd $(STAGING_DIR)/usr/lib/; find $(DIRECTFB_STAGING) -type f -name '*.so' \
-		| xargs -IREPL install -Dm644 REPL $(TARGET_DIR)/usr/lib/REPL
-	mkdir -p $(TARGET_DIR)/usr/lib/directfb-$(DIRECTFB_VERSION_MAJOR)-0/gfxdrivers
-	cp -dpf $(STAGING_DIR)/usr/lib/libfusion*.so.* $(TARGET_DIR)/usr/lib/
-ifeq ($(BR2_PACKAGE_DIRECTFB_UNIQUE),y)
-	cp -dpf $(STAGING_DIR)/usr/lib/libuniquewm*.so.* $(TARGET_DIR)/usr/lib/
-endif
-	cp -dpf $(STAGING_DIR)/usr/lib/libdirect*.so.* $(TARGET_DIR)/usr/lib/
-	$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) \
-		$(TARGET_DIR)/usr/lib/libdirect*.so.* \
-		$(TARGET_DIR)/usr/lib/libfusion*.so.*
-ifeq ($(BR2_PACKAGE_DIRECTFB_UNIQUE),y)
-	$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) \
-		$(TARGET_DIR)/usr/lib/libuniquewm*.so.*
-endif
-
-directfb: uclibc $(DIRECTFB_DEP) freetype $(DIRECTFB_FUSION) $(TARGET_DIR)/$(DIRECTFB_BIN)
-
-directfb-unpacked: $(DIRECTFB_DIR)/.unpacked
-
-directfb-clean:
-	-$(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(DIRECTFB_DIR) uninstall
-	-$(MAKE) -C $(DIRECTFB_DIR) clean
-	rm -f $(DIRECTFB_DIR)/.configured $(DIRECTFB_DIR)/.compiled
-
-directfb-dirclean:
-	rm -rf $(DIRECTFB_DIR)
-
-#############################################################
-#
-# Toplevel Makefile options
-#
-#############################################################
-ifeq ($(BR2_PACKAGE_DIRECTFB),y)
-TARGETS+=directfb
-endif
+$(eval $(call AUTOTARGETS,package,directfb))

^ permalink raw reply	[flat|nested] 29+ messages in thread

* [Buildroot] svn commit: trunk/buildroot/package/directfb
@ 2009-01-21 19:20 jacmet at uclibc.org
  0 siblings, 0 replies; 29+ messages in thread
From: jacmet at uclibc.org @ 2009-01-21 19:20 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2009-01-21 19:20:13 +0000 (Wed, 21 Jan 2009)
New Revision: 24942

Log:
directfb: fix compilation error on ppc (linux/config.h is long gone)

Added:
   trunk/buildroot/package/directfb/directfb-1.2.7-ppc-compile-fix.patch


Changeset:
Added: trunk/buildroot/package/directfb/directfb-1.2.7-ppc-compile-fix.patch
===================================================================
--- trunk/buildroot/package/directfb/directfb-1.2.7-ppc-compile-fix.patch	                        (rev 0)
+++ trunk/buildroot/package/directfb/directfb-1.2.7-ppc-compile-fix.patch	2009-01-21 19:20:13 UTC (rev 24942)
@@ -0,0 +1,17 @@
+---
+ lib/direct/ppcasm_memcpy_cachable.S |    2 --
+ 1 file changed, 2 deletions(-)
+
+Index: DirectFB-1.2.7/lib/direct/ppcasm_memcpy_cachable.S
+===================================================================
+--- DirectFB-1.2.7.orig/lib/direct/ppcasm_memcpy_cachable.S
++++ DirectFB-1.2.7/lib/direct/ppcasm_memcpy_cachable.S
+@@ -34,8 +34,6 @@
+ 
+ #define __ASSEMBLY__
+ 
+-#include <linux/config.h>
+-
+ #if defined(CONFIG_8xx) || defined(CONFIG_403GCX)
+ #define L1_CACHE_LINE_SIZE       16
+ #define LG_L1_CACHE_LINE_SIZE     4 

^ permalink raw reply	[flat|nested] 29+ messages in thread

end of thread, other threads:[~2009-01-21 19:20 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-12 18:21 [Buildroot] svn commit: trunk/buildroot/package/directfb ulf at uclibc.org
  -- strict thread matches above, loose matches on Subject: below --
2009-01-21 19:20 jacmet at uclibc.org
2009-01-21 19:20 jacmet at uclibc.org
2009-01-21 15:49 jacmet at uclibc.org
2009-01-11 20:35 ulf at uclibc.org
2008-10-09 18:36 correa at uclibc.org
2008-10-09 18:36 correa at uclibc.org
2008-10-09  5:06 correa at uclibc.org
2008-10-09  9:45 ` Peter Korsgaard
2008-10-07 20:29 correa at uclibc.org
2008-10-08 18:36 ` Peter Korsgaard
2008-10-09  5:06   ` Thiago A. Corrêa
2008-10-09  7:57     ` Bernhard Reutner-Fischer
2008-10-09  1:25 ` Ormund Williams
2008-10-09  5:21   ` Thiago A. Corrêa
2008-10-09 12:42     ` Ormund Williams
2008-10-09 12:51       ` Peter Korsgaard
2008-10-09 13:11         ` Ormund Williams
2008-10-11  4:19       ` Ormund Williams
2008-04-01  6:51 jacmet at uclibc.org
2007-11-16 16:10 vanokuten at uclibc.org
2007-09-12  5:20 ulf at uclibc.org
2007-09-05  6:49 ulf at uclibc.org
2007-08-13  6:14 ulf at uclibc.org
2007-08-12 23:30 ulf at uclibc.org
2007-08-12 14:40 ulf at uclibc.org
2007-08-11 21:53 ulf at uclibc.org
2007-06-26  6:24 aldot at uclibc.org
2007-02-02 12:41 jacmet at uclibc.org

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.