diff options
author | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2008-09-17 22:10:32 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2008-09-17 22:10:32 +0000 |
commit | 58b143101f0b6d2a3d486c9d3e5f33960930de09 (patch) | |
tree | 6a16bb0b55da446721b59f35ccc8af44f8407427 /packages | |
parent | 785f03cc21bf58582fe916261ce6b998a3534951 (diff) | |
parent | cd0ed778d5163abc5052c24f3eec60b79ae21945 (diff) |
merge of '156573f21daba762fc9410e3cbeb2c3e7fdebc21'
and '9defb4ea3b59c767618beab8ee9a5441c6ba4797'
Diffstat (limited to 'packages')
-rw-r--r-- | packages/libdmtx/.mtn2git_empty (renamed from packages/libpng/libpng-1.2.20/.mtn2git_empty) | 0 | ||||
-rw-r--r-- | packages/libdmtx/libdmtx_0.5.2.bb | 14 | ||||
-rw-r--r-- | packages/libpng/files/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/libpng/files/makefile_fix.patch (renamed from packages/libpng/libpng-1.2.20/makefile_fix.patch) | 0 | ||||
-rw-r--r-- | packages/libpng/libpng-native.inc (renamed from packages/libpng/libpng-native_1.2.8.bb) | 3 | ||||
-rw-r--r-- | packages/libpng/libpng-native_1.2.12.bb | 14 | ||||
-rw-r--r-- | packages/libpng/libpng-native_1.2.20.bb | 14 | ||||
-rw-r--r-- | packages/libpng/libpng-native_1.2.31.bb | 4 | ||||
-rw-r--r-- | packages/libpng/libpng.inc (renamed from packages/libpng/libpng_1.2.8.bb) | 32 | ||||
-rw-r--r-- | packages/libpng/libpng_1.2.12.bb | 41 | ||||
-rw-r--r-- | packages/libpng/libpng_1.2.20.bb | 43 | ||||
-rw-r--r-- | packages/libpng/libpng_1.2.31.bb | 14 | ||||
-rw-r--r-- | packages/xorg-xserver/xserver-kdrive-common.inc | 19 |
13 files changed, 53 insertions, 145 deletions
diff --git a/packages/libpng/libpng-1.2.20/.mtn2git_empty b/packages/libdmtx/.mtn2git_empty index e69de29bb2..e69de29bb2 100644 --- a/packages/libpng/libpng-1.2.20/.mtn2git_empty +++ b/packages/libdmtx/.mtn2git_empty diff --git a/packages/libdmtx/libdmtx_0.5.2.bb b/packages/libdmtx/libdmtx_0.5.2.bb new file mode 100644 index 0000000000..0ddcff2d23 --- /dev/null +++ b/packages/libdmtx/libdmtx_0.5.2.bb @@ -0,0 +1,14 @@ +DESCRIPTION = "libdmtx is for reading and writing Data Matrix barcodes" +HOMEPAGE = "http://www.libdmtx.org/" +LICENSE = "GPLv2" +AUTHOR = "Mike Laughton" +SECTION = "libs" +PRIORITY = "optional" + +PR = "r0" + +DEPENDS = "libpng tiff" + +SRC_URI = "${SOURCEFORGE_MIRROR}/libdmtx/libdmtx-${PV}.tar.gz" + +inherit autotools diff --git a/packages/libpng/files/.mtn2git_empty b/packages/libpng/files/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/libpng/files/.mtn2git_empty diff --git a/packages/libpng/libpng-1.2.20/makefile_fix.patch b/packages/libpng/files/makefile_fix.patch index 3fa8793add..3fa8793add 100644 --- a/packages/libpng/libpng-1.2.20/makefile_fix.patch +++ b/packages/libpng/files/makefile_fix.patch diff --git a/packages/libpng/libpng-native_1.2.8.bb b/packages/libpng/libpng-native.inc index 231b956678..641688a881 100644 --- a/packages/libpng/libpng-native_1.2.8.bb +++ b/packages/libpng/libpng-native.inc @@ -1,6 +1,5 @@ -require libpng_${PV}.bb inherit native -FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/libpng-${PV}" + DEPENDS = "zlib-native" INHIBIT_NATIVE_STAGE_INSTALL = "1" diff --git a/packages/libpng/libpng-native_1.2.12.bb b/packages/libpng/libpng-native_1.2.12.bb index 231b956678..52c92e9954 100644 --- a/packages/libpng/libpng-native_1.2.12.bb +++ b/packages/libpng/libpng-native_1.2.12.bb @@ -1,14 +1,4 @@ require libpng_${PV}.bb -inherit native -FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/libpng-${PV}" -DEPENDS = "zlib-native" - -INHIBIT_NATIVE_STAGE_INSTALL = "1" +require libpng-native.inc -do_stage_append() { - cp libpng.pc libpng12.pc - install -m 644 png.h ${STAGING_INCDIR}/png.h - install -m 644 pngconf.h ${STAGING_INCDIR}/pngconf.h - oe_libinstall -so libpng12 ${STAGING_LIBDIR}/ - ln -sf libpng12.so ${STAGING_LIBDIR}/libpng.so -} +FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/libpng-${PV}" diff --git a/packages/libpng/libpng-native_1.2.20.bb b/packages/libpng/libpng-native_1.2.20.bb index 231b956678..52c92e9954 100644 --- a/packages/libpng/libpng-native_1.2.20.bb +++ b/packages/libpng/libpng-native_1.2.20.bb @@ -1,14 +1,4 @@ require libpng_${PV}.bb -inherit native -FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/libpng-${PV}" -DEPENDS = "zlib-native" - -INHIBIT_NATIVE_STAGE_INSTALL = "1" +require libpng-native.inc -do_stage_append() { - cp libpng.pc libpng12.pc - install -m 644 png.h ${STAGING_INCDIR}/png.h - install -m 644 pngconf.h ${STAGING_INCDIR}/pngconf.h - oe_libinstall -so libpng12 ${STAGING_LIBDIR}/ - ln -sf libpng12.so ${STAGING_LIBDIR}/libpng.so -} +FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/libpng-${PV}" diff --git a/packages/libpng/libpng-native_1.2.31.bb b/packages/libpng/libpng-native_1.2.31.bb new file mode 100644 index 0000000000..52c92e9954 --- /dev/null +++ b/packages/libpng/libpng-native_1.2.31.bb @@ -0,0 +1,4 @@ +require libpng_${PV}.bb +require libpng-native.inc + +FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/libpng-${PV}" diff --git a/packages/libpng/libpng_1.2.8.bb b/packages/libpng/libpng.inc index cddc400375..30a34f2457 100644 --- a/packages/libpng/libpng_1.2.8.bb +++ b/packages/libpng/libpng.inc @@ -3,33 +3,12 @@ HOMEPAGE = "http://www.libpng.org/" LICENSE = "libpng" SECTION = "libs" PRIORITY = "required" - DEPENDS = "zlib" -PACKAGES =+ "${PN}12-dbg ${PN}12 ${PN}12-dev" - -FILES_${PN}12-dbg += "${libdir}/libpng12*.dbg" -FILES_${PN}12 = "${libdir}/libpng12.so.*" -FILES_${PN}12-dev = "${libdir}/libpng12.* ${includedir}/libpng12 ${libdir}/pkgconfig/libpng12.pc" -FILES_${PN} = "${libdir}/lib*.so.*" -FILES_${PN}-dev = "${includedir} ${libdir}/lib*.so ${libdir}/*.la \ - ${libdir}/*.a ${libdir}/pkgconfig \ - ${datadir}/aclocal ${bindir} ${sbindir}" - SRC_URI = "${SOURCEFORGE_MIRROR}/libpng/libpng-${PV}.tar.bz2" S = "${WORKDIR}/libpng-${PV}" -inherit pkgconfig binconfig - -EXTRA_OEMAKE_append = " ZLIBINC=${STAGING_INCDIR} ZLIBLIB=${STAGING_LIBDIR}" - -do_compile() { - sed < scripts/makefile.linux > makefile -e 's/^ZLIBINC.*//' -e 's/^ZLIBLIB.*//' - unset LDFLAGS - oe_runmake 'CC=${CC}' 'LD=${LD}' 'CFLAGS=${CFLAGS}' \ - 'ZLIBINC=${STAGING_INCDIR}' \ - 'ZLIBLIB=${STAGING_LIBDIR}' -} +inherit autotools pkgconfig binconfig do_stage() { cp libpng.pc libpng12.pc @@ -55,3 +34,12 @@ python do_package() { bb.build.exec_func('package_do_package', d) } +PACKAGES =+ "${PN}12-dbg ${PN}12 ${PN}12-dev" + +FILES_${PN}12-dbg += "${libdir}/libpng12*.dbg" +FILES_${PN}12 = "${libdir}/libpng12.so.*" +FILES_${PN}12-dev = "${libdir}/libpng12.* ${includedir}/libpng12 ${libdir}/pkgconfig/libpng12.pc" +FILES_${PN} = "${libdir}/lib*.so.*" +FILES_${PN}-dev = "${includedir} ${libdir}/lib*.so ${libdir}/*.la \ + ${libdir}/*.a ${libdir}/pkgconfig \ + ${datadir}/aclocal ${bindir} ${sbindir}" diff --git a/packages/libpng/libpng_1.2.12.bb b/packages/libpng/libpng_1.2.12.bb index b05bc84856..ac0fd43379 100644 --- a/packages/libpng/libpng_1.2.12.bb +++ b/packages/libpng/libpng_1.2.12.bb @@ -1,26 +1,8 @@ -DESCRIPTION = "PNG Library" -HOMEPAGE = "http://www.libpng.org/" -LICENSE = "libpng" -SECTION = "libs" -PRIORITY = "required" -PR = "r5" - -DEPENDS = "zlib" - -PACKAGES =+ "${PN}12-dbg ${PN}12 ${PN}12-dev" +require libpng.inc -FILES_${PN}12-dbg += "${libdir}/libpng12*.dbg" -FILES_${PN}12 = "${libdir}/libpng12.so.*" -FILES_${PN}12-dev = "${libdir}/libpng12.* ${includedir}/libpng12 ${libdir}/pkgconfig/libpng12.pc" -FILES_${PN} = "${libdir}/lib*.so.*" -FILES_${PN}-dev = "${includedir} ${libdir}/lib*.so ${libdir}/*.la \ - ${libdir}/*.a ${libdir}/pkgconfig \ - ${datadir}/aclocal ${bindir} ${sbindir}" - -SRC_URI = "${SOURCEFORGE_MIRROR}/libpng/libpng-${PV}.tar.bz2" -S = "${WORKDIR}/libpng-${PV}" +PR = "r5" -inherit autotools binconfig pkgconfig +SRC_URI += "file://makefile_fix.patch;patch=1" do_stage() { cp libpng.pc libpng12.pc @@ -30,20 +12,3 @@ do_stage() { oe_libinstall -so libpng12 ${STAGING_LIBDIR}/ ln -sf libpng12.so ${STAGING_LIBDIR}/libpng.so } - -do_install() { - install -d ${D}${bindir} ${D}${mandir} \ - ${D}${libdir} ${D}${includedir} - unset LDFLAGS - oe_runmake 'prefix=${prefix}' 'DESTDIR=${D}' \ - 'DB=${D}${bindir}' 'DI=${D}${includedir}' \ - 'DL=${D}${libdir}' 'DM=${D}${mandir}' \ - install -} - -python do_package() { - if bb.data.getVar('DEBIAN_NAMES', d, 1): - bb.data.setVar('PKG_${PN}', 'libpng12', d) - bb.build.exec_func('package_do_package', d) -} - diff --git a/packages/libpng/libpng_1.2.20.bb b/packages/libpng/libpng_1.2.20.bb index 41bd6ec3f7..aee9ff14ec 100644 --- a/packages/libpng/libpng_1.2.20.bb +++ b/packages/libpng/libpng_1.2.20.bb @@ -1,16 +1,8 @@ -DESCRIPTION = "PNG Library" -HOMEPAGE = "http://www.libpng.org/" -LICENSE = "libpng" -SECTION = "libs" -DEPENDS = "zlib" -PRIORITY = "required" -PR = "r6" +require libpng.inc -SRC_URI = "${SOURCEFORGE_MIRROR}/libpng/libpng-${PV}.tar.bz2 \ - file://makefile_fix.patch;patch=1" -S = "${WORKDIR}/libpng-${PV}" +PR = "r6" -inherit autotools binconfig pkgconfig +SRC_URI += "file://makefile_fix.patch;patch=1" do_stage() { cp libpng.pc libpng12.pc @@ -20,32 +12,3 @@ do_stage() { oe_libinstall -so libpng12 ${STAGING_LIBDIR}/ ln -sf libpng12.so ${STAGING_LIBDIR}/libpng.so } - -do_install() { - install -d ${D}${bindir} - install -d ${D}${mandir} - install -d ${D}${libdir} - install -d ${D}${includedir} - unset LDFLAGS - oe_runmake 'prefix=${prefix}' 'DESTDIR=${D}' \ - 'DB=${D}${bindir}' 'DI=${D}${includedir}' \ - 'DL=${D}${libdir}' 'DM=${D}${mandir}' \ - install -} - -python do_package() { - if bb.data.getVar('DEBIAN_NAMES', d, 1): - bb.data.setVar('PKG_${PN}', 'libpng12', d) - bb.build.exec_func('package_do_package', d) -} - -PACKAGES =+ "${PN}12-dbg ${PN}12 ${PN}12-dev" - -FILES_${PN}12-dbg += "${libdir}/libpng12*.dbg" -FILES_${PN}12 = "${libdir}/libpng12.so.*" -FILES_${PN}12-dev = "${libdir}/libpng12.* ${includedir}/libpng12 ${libdir}/pkgconfig/libpng12.pc" -FILES_${PN} = "${libdir}/lib*.so.*" -FILES_${PN}-dev = "${includedir} ${libdir}/lib*.so ${libdir}/*.la \ - ${libdir}/*.a ${libdir}/pkgconfig \ - ${datadir}/aclocal ${bindir} ${sbindir}" - diff --git a/packages/libpng/libpng_1.2.31.bb b/packages/libpng/libpng_1.2.31.bb new file mode 100644 index 0000000000..aee9ff14ec --- /dev/null +++ b/packages/libpng/libpng_1.2.31.bb @@ -0,0 +1,14 @@ +require libpng.inc + +PR = "r6" + +SRC_URI += "file://makefile_fix.patch;patch=1" + +do_stage() { + cp libpng.pc libpng12.pc + install -m 644 png.h ${STAGING_INCDIR}/png.h + install -m 644 pngconf.h ${STAGING_INCDIR}/pngconf.h + oe_libinstall -so libpng ${STAGING_LIBDIR}/ + oe_libinstall -so libpng12 ${STAGING_LIBDIR}/ + ln -sf libpng12.so ${STAGING_LIBDIR}/libpng.so +} diff --git a/packages/xorg-xserver/xserver-kdrive-common.inc b/packages/xorg-xserver/xserver-kdrive-common.inc index 3db7db4b74..dadfbbb5e7 100644 --- a/packages/xorg-xserver/xserver-kdrive-common.inc +++ b/packages/xorg-xserver/xserver-kdrive-common.inc @@ -69,25 +69,6 @@ FILES_xserver-kdrive-smi = "${bindir}/Xsmi" FILES_xserver-kdrive-vesa = "${bindir}/Xvesa" FILES_xserver-kdrive-via = "${bindir}/Xvia" -RDEPENDS_xserver-kdrive-fbdev = "${PN}" -RDEPENDS_xserver-kdrive-fake = "${PN}" -RDEPENDS_xserver-kdrive-xephyr = "${PN}" -RDEPENDS_xserver-kdrive-epson = "${PN}" -RDEPENDS_xserver-kdrive-sdl = "${PN}" -RDEPENDS_xserver-kdrive-w100 = "${PN}" -RDEPENDS_xserver-kdrive-ati = "${PN}" -RDEPENDS_xserver-kdrive-chips = "${PN}" -RDEPENDS_xserver-kdrive-i810 = "${PN}" -RDEPENDS_xserver-kdrive-mach64 = "${PN}" -RDEPENDS_xserver-kdrive-mga = "${PN}" -RDEPENDS_xserver-kdrive-neomagic = "${PN}" -RDEPENDS_xserver-kdrive-nvidia = "${PN}" -RDEPENDS_xserver-kdrive-pm2 = "${PN}" -RDEPENDS_xserver-kdrive-r128 = "${PN}" -RDEPENDS_xserver-kdrive-smi = "${PN}" -RDEPENDS_xserver-kdrive-vesa = "${PN}" -RDEPENDS_xserver-kdrive-via = "${PN}" - SRC_URI ?= "${XORG_MIRROR}/individual/xserver/xorg-server-${PV}.tar.bz2 \ ${KDRIVE_COMMON_PATCHES}" KDRIVE_COMMON_PATCHES = " \ |