[oe-commits] org.oe.dev cups: fix packaging error and add LEAD_SONAME (bug 2345)
Jake commit
openembedded-commits at lists.openembedded.org
Sun Jul 15 18:17:03 UTC 2007
cups: fix packaging error and add LEAD_SONAME (bug 2345)
Author: Jake
Branch: org.openembedded.dev
Revision: 1387039c3c15738450afefa2fce201e47d65b903
ViewMTN: http://monotone.openembedded.org/revision.psp?id=1387039c3c15738450afefa2fce201e47d65b903
Files:
1
packages/cups/cups_1.2.10.bb
Diffs:
#
# mt diff -ra1876e026123200204945205e505ba69554c5b25 -r1387039c3c15738450afefa2fce201e47d65b903
#
#
#
# patch "packages/cups/cups_1.2.10.bb"
# from [f35e4bd25f49222a16880ac6e7b5e18ab4b4f41a]
# to [01555f20ac2e318e45a508b2d1f6672b3a9e1f74]
#
============================================================
--- packages/cups/cups_1.2.10.bb f35e4bd25f49222a16880ac6e7b5e18ab4b4f41a
+++ packages/cups/cups_1.2.10.bb 01555f20ac2e318e45a508b2d1f6672b3a9e1f74
@@ -1,8 +1,8 @@ DEPENDS = "gnutls jpeg dbus dbus-glib li
DESCRIPTION = "An Internet printing system for Unix."
SECTION = "console/utils"
LICENSE = "GPL LGPL"
DEPENDS = "gnutls jpeg dbus dbus-glib libpng zlib install-native fakeroot-native"
-PR = "r0"
+PR = "r1"
SRC_URI = "ftp://ftp3.easysw.com/pub/cups/${PV}/cups-${PV}-source.tar.bz2 \
"
@@ -46,6 +46,9 @@ fakeroot do_install () {
fakeroot do_install () {
oe_runmake "DSTROOT=${D}" install
+
+ # This directory gets installed with perms 511, which makes packaging fail
+ chmod 0711 "${D}/${localstatedir}/run/cups/certs"
}
do_stage () {
@@ -56,6 +59,12 @@ do_stage () {
oe_libinstall -C filter -so libcupsimage ${STAGING_LIBDIR}
}
+python do_package_append() {
+ # Change permissions back the way they were, they probably had a reason...
+ workdir = bb.data.getVar('WORKDIR', d, 1)
+ os.system('chmod 0511 %s/install/cups/var/run/cups/certs' % workdir)
+}
+
FILES_${PN}-dbg += "${libdir}/cups/backend/.debug \
${libdir}/cups/cgi-bin/.debug \
${libdir}/cups/filter/.debug \
@@ -71,6 +80,4 @@ FILES_${PN} += "${datadir}/doc/cups/imag
${datadir}/icons/ \
"
+LEAD_SONAME = "libcups.so.*"
-
-
-
More information about the Openembedded-commits
mailing list