Skip to contentSkip to conversation

org.oe.dev directfb : Update include file paths so that directfb-examples builds.

oe-commits Rodrigo Vivi 2 participants 2 messages Dec 4, 2007 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

I didn't understand why to change the includedir and internalincludedir of directfb...

The standard of directfb is includedir/directfb/ and changing it all others packages that depends on directfb will break...

Quoted 112 lines · sakoman commit

directfb : Update include file paths so that directfb-examples builds.

Author: [email protected]
Branch: org.openembedded.dev
Revision: b1610df18b4d8070f056d9621c7826cf30b62bca
ViewMTN: http://monotone.openembedded.org/revision/info/b1610df18b4d8070f056d9621c7826cf30b62bca
Files:
1
packages/directfb/files/fix-configure-include-path.patch packages/directfb/directfb-examples_1.0.0.bb
packages/directfb/directfb_1.1.0.bb
Diffs:

#

# mt diff -r5c78b2077c12b748ddbcb3eac965642d2d89c95c -rb1610df18b4d8070f056d9621c7826cf30b62bca
#
#
#
# add_file "packages/directfb/files/fix-configure-include-path.patch"
#  content [95a5712b69ed26362c0a8e8e8624e9b05fb506b2]
#
# patch "packages/directfb/directfb-examples_1.0.0.bb"
#  from [88c9cc59f32b02ec4cd0c0f876b204399b265bdf]
#    to [1905769a0ea0cc18c68ea7969adaa55fe65ad9aa]
#
# patch "packages/directfb/directfb_1.1.0.bb"
#  from [c9da95fb956d450af0c360a3364023c960f9d1af]
#    to [1af7bf22ffbfcbc869a08e6664c2dde2ff16c7d2]
#
============================================================
directfb/files/fix-configure-include-path.patch 95a5712b69ed26362c0a8e8e8624e9b05fb506b2 +13 -0
@@ -0,0 +1,13 @@
+--- DirectFB-1.1.0/configure.in-orig   2007-08-27 00:07:00.000000000 -0700
++++ DirectFB-1.1.0/configure.in        2007-11-26 12:05:52.000000000 -0800
+@@ -1380,8 +1380,8 @@
+
+ MODULEDIR=$libdir/$MODULEDIRNAME
+ DATADIR=$datadir/directfb-$VERSION
+-INCLUDEDIR=$includedir/directfb
+-INTERNALINCLUDEDIR=$includedir/directfb-internal
++INCLUDEDIR=$includedir/
++INTERNALINCLUDEDIR=$includedir/
+
+ SOPATH=$libdir/libdirectfb-$LT_RELEASE.so.$LT_CURRENT
+ AC_SUBST(SOPATH)

============================================================

directfb/directfb-examples_1.0.0.bb 1905769a0ea0cc18c68ea7969adaa55fe65ad9aa renamed from directfb/directfb-examples_1.0.0.bb 88c9cc59f32b02ec4cd0c0f876b204399b265bdf +4 -2
@@ -1,10 +1,12 @@ LICENSE = "GPL"
 DESCRIPTION = "DirectFB extra providers"
 DEPENDS = "directfb"
 SECTION = "libs"
 LICENSE = "GPL"
 
-SRC_URI = "http://www.directfb.org/downloads/Extras/DirectFB-extra-${PV}.tar.gz"
-S = "${WORKDIR}/DirectFB-extra-${PV}"
+SRC_URI = " \
+           http://www.directfb.org/downloads/Extras/DirectFB-examples-${PV}.tar.gz \
+          "
+S = "${WORKDIR}/DirectFB-examples-${PV}"
 
 inherit autotools
 

============================================================

directfb/directfb_1.1.0.bb 1af7bf22ffbfcbc869a08e6664c2dde2ff16c7d2 renamed from directfb/directfb_1.1.0.bb c9da95fb956d450af0c360a3364023c960f9d1af +12 -8
@@ -10,12 +10,15 @@ RV = "1.1-0"
 PR = "r1"
 RV = "1.1-0"
 
-SRC_URI = "http://www.directfb.org/download/DirectFB/DirectFB-${PV}.tar.gz \
-           file://fix-pkgconfig-cflags.patch;patch=1 \
-          file://fix-font-missing-char.patch;patch=1 \
-           file://getpagesize.patch;patch=1 \
-           file://fix-includes.patch;patch=1 \
-          file://mkdfiff.patch;patch=1"
+SRC_URI = " \
+    http://www.directfb.org/download/DirectFB/DirectFB-${PV}.tar.gz \
+    file://fix-configure-include-path.patch;patch=1 \
+    file://fix-pkgconfig-cflags.patch;patch=1 \
+    file://fix-font-missing-char.patch;patch=1 \
+    file://getpagesize.patch;patch=1 \
+    file://fix-includes.patch;patch=1 \
+    file://mkdfiff.patch;patch=1 \
+   "
 
 S = "${WORKDIR}/DirectFB-${PV}"
 
@@ -23,11 +26,12 @@ inherit autotools pkgconfig
 
 inherit autotools pkgconfig
 
-EXTRA_OECONF = "--with-gfxdrivers=none \
+EXTRA_OECONF = " \
+    --with-gfxdrivers=none \
                --enable-libmpeg3=no \
                --enable-freetype=yes \
                --enable-sdl=no \
-               --enable-vnc=no \
+               --enable-vnc=no \
                --disable-x11 \
                "
 

_______________________________________________
Openembedded-commits mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-commits

Signature · 4 lines
Rodrigo Vivi
INdT - Instituto Nokia de Tecnologia
Blog: http://blog.vivi.eng.br
GPG: 0x905BE242 @ wwwkeys.pgp.net
#2 lore raw

Do you have any specific examples of packages that depend on directfb and do not build anymore?

directfb-examples did not build until we committed the changes. We had looked at packages that listed directfb as a dependency, and none of them appeared to build anyway.

Philip

Quoted 123 lines · Rodrigo Vivi

I didn't understand why to change the includedir and internalincludedir of directfb...

The standard of directfb is includedir/directfb/ and changing it all others packages that depends on directfb will break...

Quoted 112 lines · sakoman commit

directfb : Update include file paths so that directfb-examples builds.

Author: [email protected]
Branch: org.openembedded.dev
Revision: b1610df18b4d8070f056d9621c7826cf30b62bca
ViewMTN: http://monotone.openembedded.org/revision/info/b1610df18b4d8070f056d9621c7826cf30b62bca
Files:
1
packages/directfb/files/fix-configure-include-path.patch packages/directfb/directfb-examples_1.0.0.bb
packages/directfb/directfb_1.1.0.bb
Diffs:

#

# mt diff -r5c78b2077c12b748ddbcb3eac965642d2d89c95c -rb1610df18b4d8070f056d9621c7826cf30b62bca
#
#
#
# add_file "packages/directfb/files/fix-configure-include-path.patch"
#  content [95a5712b69ed26362c0a8e8e8624e9b05fb506b2]
#
# patch "packages/directfb/directfb-examples_1.0.0.bb"
#  from [88c9cc59f32b02ec4cd0c0f876b204399b265bdf]
#    to [1905769a0ea0cc18c68ea7969adaa55fe65ad9aa]
#
# patch "packages/directfb/directfb_1.1.0.bb"
#  from [c9da95fb956d450af0c360a3364023c960f9d1af]
#    to [1af7bf22ffbfcbc869a08e6664c2dde2ff16c7d2]
#
============================================================
directfb/files/fix-configure-include-path.patch 95a5712b69ed26362c0a8e8e8624e9b05fb506b2 +13 -0
@@ -0,0 +1,13 @@
+--- DirectFB-1.1.0/configure.in-orig   2007-08-27 00:07:00.000000000 -0700
++++ DirectFB-1.1.0/configure.in        2007-11-26 12:05:52.000000000 -0800
+@@ -1380,8 +1380,8 @@
+
+ MODULEDIR=$libdir/$MODULEDIRNAME
+ DATADIR=$datadir/directfb-$VERSION
+-INCLUDEDIR=$includedir/directfb
+-INTERNALINCLUDEDIR=$includedir/directfb-internal
++INCLUDEDIR=$includedir/
++INTERNALINCLUDEDIR=$includedir/
+
+ SOPATH=$libdir/libdirectfb-$LT_RELEASE.so.$LT_CURRENT
+ AC_SUBST(SOPATH)

============================================================

directfb/directfb-examples_1.0.0.bb 1905769a0ea0cc18c68ea7969adaa55fe65ad9aa renamed from directfb/directfb-examples_1.0.0.bb 88c9cc59f32b02ec4cd0c0f876b204399b265bdf +4 -2
@@ -1,10 +1,12 @@ LICENSE = "GPL"
 DESCRIPTION = "DirectFB extra providers"
 DEPENDS = "directfb"
 SECTION = "libs"
 LICENSE = "GPL"
 
-SRC_URI = "http://www.directfb.org/downloads/Extras/DirectFB-extra-${PV}.tar.gz"
-S = "${WORKDIR}/DirectFB-extra-${PV}"
+SRC_URI = " \
+           http://www.directfb.org/downloads/Extras/DirectFB-examples-${PV}.tar.gz \
+          "
+S = "${WORKDIR}/DirectFB-examples-${PV}"
 
 inherit autotools
 

============================================================

directfb/directfb_1.1.0.bb 1af7bf22ffbfcbc869a08e6664c2dde2ff16c7d2 renamed from directfb/directfb_1.1.0.bb c9da95fb956d450af0c360a3364023c960f9d1af +12 -8
@@ -10,12 +10,15 @@ RV = "1.1-0"
 PR = "r1"
 RV = "1.1-0"
 
-SRC_URI = "http://www.directfb.org/download/DirectFB/DirectFB-${PV}.tar.gz \
-           file://fix-pkgconfig-cflags.patch;patch=1 \
-          file://fix-font-missing-char.patch;patch=1 \
-           file://getpagesize.patch;patch=1 \
-           file://fix-includes.patch;patch=1 \
-          file://mkdfiff.patch;patch=1"
+SRC_URI = " \
+    http://www.directfb.org/download/DirectFB/DirectFB-${PV}.tar.gz \
+    file://fix-configure-include-path.patch;patch=1 \
+    file://fix-pkgconfig-cflags.patch;patch=1 \
+    file://fix-font-missing-char.patch;patch=1 \
+    file://getpagesize.patch;patch=1 \
+    file://fix-includes.patch;patch=1 \
+    file://mkdfiff.patch;patch=1 \
+   "
 
 S = "${WORKDIR}/DirectFB-${PV}"
 
@@ -23,11 +26,12 @@ inherit autotools pkgconfig
 
 inherit autotools pkgconfig
 
-EXTRA_OECONF = "--with-gfxdrivers=none \
+EXTRA_OECONF = " \
+    --with-gfxdrivers=none \
                --enable-libmpeg3=no \
                --enable-freetype=yes \
                --enable-sdl=no \
-               --enable-vnc=no \
+               --enable-vnc=no \
                --disable-x11 \
                "
 

_______________________________________________
Openembedded-commits mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-commits