[oe-commits] org.oe.dev gphoto2: update to 2.4.2 and fix libtool 2.x issues

koen commit oe at amethyst.openembedded.net
Mon Sep 1 18:36:59 UTC 2008


gphoto2: update to 2.4.2 and fix libtool 2.x issues

Author: koen at openembedded.org
Branch: org.openembedded.dev
Revision: ad0141aeee4fb5e50dcbd82475a3c57b8a969a72
ViewMTN: http://monotone.openembedded.org/revision/info/ad0141aeee4fb5e50dcbd82475a3c57b8a969a72
Files:
1
packages/libgphoto2/libgphoto2_2.1.4.bb
packages/gphoto2/libgphoto2_2.1.4.bb
packages/libgphoto2/libgphoto2_2.1.5.bb
packages/gphoto2/libgphoto2_2.1.5.bb
packages/libgphoto2/libgphoto2_2.1.6.bb
packages/gphoto2/libgphoto2_2.1.6.bb
packages/gphoto2/gphoto2_2.4.2.bb
packages/gphoto2/libgphoto2_2.4.2.bb
packages/gphoto2/gphoto2_2.4.0.bb
Diffs:

#
# mt diff -r4089021f0dcadc3d11c0e575a83334c0fc210f63 -rad0141aeee4fb5e50dcbd82475a3c57b8a969a72
#
#
#
# rename "packages/libgphoto2/libgphoto2_2.1.4.bb"
#     to "packages/gphoto2/libgphoto2_2.1.4.bb"
# 
# rename "packages/libgphoto2/libgphoto2_2.1.5.bb"
#     to "packages/gphoto2/libgphoto2_2.1.5.bb"
# 
# rename "packages/libgphoto2/libgphoto2_2.1.6.bb"
#     to "packages/gphoto2/libgphoto2_2.1.6.bb"
# 
# add_file "packages/gphoto2/gphoto2_2.4.2.bb"
#  content [f321626856381fc5cc1444eec358e78409e433d4]
# 
# add_file "packages/gphoto2/libgphoto2_2.4.2.bb"
#  content [528b89e98b39641ab1a7f5481c41aa48295f3334]
# 
# patch "packages/gphoto2/gphoto2_2.4.0.bb"
#  from [cd3e313d727b48a81b5b3d9736604d8e8c5f99a6]
#    to [f321626856381fc5cc1444eec358e78409e433d4]
#
============================================================
--- packages/gphoto2/gphoto2_2.4.2.bb	f321626856381fc5cc1444eec358e78409e433d4
+++ packages/gphoto2/gphoto2_2.4.2.bb	f321626856381fc5cc1444eec358e78409e433d4
@@ -0,0 +1,14 @@
+DESCRIPTION = "gphoto2 is a command-line utility to fetch pictures from digital cameras"
+SECTION = "console/utils"
+LICENSE = "GPL"
+DEPENDS = "libtool libgphoto2 popt"
+PR = "r0"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/gphoto/gphoto2-${PV}.tar.bz2"
+
+inherit autotools
+
+do_configure_append() {
+        find ${S} -name Makefile | xargs sed -i 's:/usr/include:${STAGING_INCDIR}:'
+}
+
============================================================
--- packages/gphoto2/libgphoto2_2.4.2.bb	528b89e98b39641ab1a7f5481c41aa48295f3334
+++ packages/gphoto2/libgphoto2_2.4.2.bb	528b89e98b39641ab1a7f5481c41aa48295f3334
@@ -0,0 +1,31 @@
+DESCRIPTION = "libgphoto2 allows you to access digital cameras"
+
+SECTION = "libs"
+LICENSE = "GPL"
+DEPENDS = "libtool jpeg libusb libexif"
+
+PR = "r0"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/gphoto/libgphoto2-${PV}.tar.bz2"
+
+inherit autotools pkgconfig lib_package
+
+OE_LT_RPATH_ALLOW=":${libdir}:"
+OE_LT_RPATH_ALLOW[export]="1"
+
+EXTRA_OECONF = " --with-drivers=all ac_cv_lib_ltdl_lt_dlcaller_register=yes"
+
+PACKAGES =+ "libgphotoport libgphoto2-camlibs"
+FILES_libgphoto2-camlibs = "${libdir}/libgphoto2*/*/*.so*"
+RDEPENDS_${PN} = "libgphoto2-camlibs"
+
+FILES_libgphotoport = "${libdir}/libgphoto2_port.so.*" 
+
+FILES_${PN} += "${libdir}/udev/*"
+FILES_${PN}-dbg += "${libdir}/*/*/.debug"
+
+do_stage() {
+        autotools_stage_all
+}
+
+
============================================================
--- packages/gphoto2/gphoto2_2.4.0.bb	cd3e313d727b48a81b5b3d9736604d8e8c5f99a6
+++ packages/gphoto2/gphoto2_2.4.0.bb	f321626856381fc5cc1444eec358e78409e433d4
@@ -1,7 +1,7 @@ LICENSE = "GPL"
 DESCRIPTION = "gphoto2 is a command-line utility to fetch pictures from digital cameras"
 SECTION = "console/utils"
 LICENSE = "GPL"
-DEPENDS = "libgphoto2 popt"
+DEPENDS = "libtool libgphoto2 popt"
 PR = "r0"
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/gphoto/gphoto2-${PV}.tar.bz2"






More information about the Openembedded-commits mailing list