[oe-commits] org.oe.dev libsdl-qpe 1.2.9: Make sure OPIE package has distinct name from other libsdl packages.

pfalcon commit openembedded-commits at lists.openembedded.org
Sat Mar 17 13:25:07 UTC 2007


libsdl-qpe 1.2.9: Make sure OPIE package has distinct name from other libsdl packages.
* The fact that all libsdl variant packages have the same package name, is
a major issue we have, causing various issues with iser support.
* It is caused by Debian package renaming, which ignores real package names 
and names them instead based on formal rules of pressing package's files, which
has issue like this in general.
* So, disable Debian renaming, and let OPIE package be built with clearly 
distinguishable name, and add RPROVIDES to provide Debian-munged name, so it
will still will satisfy client package requirements.
* TODO:
1. Revisit again why it's so important to h ave Debian renaming.
2. Consider adding workaround for such situations, like intrduceing DEBIAN_SUFFIX
which will Debian-rename packages still, but will add suffic to keep them distinct.
3. RFC adopting libsdl provision scheme for all libsdl variants, i.e. select
common value for RPROVIDES, and make all package use it, while build each of them
with unique name.

Author: pfalcon at openembedded.org
Branch: org.openembedded.dev
Revision: 073563c6fb1aad528e3d0c4f974eea7a71e1ad87
ViewMTN: http://monotone.openembedded.org/revision.psp?id=073563c6fb1aad528e3d0c4f974eea7a71e1ad87
Files:
1
packages/libsdl/libsdl-qpe_1.2.9.bb
Diffs:

#
# mt diff -re6d5b26ad959f6d5fc230e744fb2023b1b22aef5 -r073563c6fb1aad528e3d0c4f974eea7a71e1ad87
#
# 
# 
# patch "packages/libsdl/libsdl-qpe_1.2.9.bb"
#  from [3a1c954c2812701b497fe67d9ab513546c1b3201]
#    to [57611f37122866fe160e881a0c5bd89026e610e5]
# 
============================================================
--- packages/libsdl/libsdl-qpe_1.2.9.bb	3a1c954c2812701b497fe67d9ab513546c1b3201
+++ packages/libsdl/libsdl-qpe_1.2.9.bb	57611f37122866fe160e881a0c5bd89026e610e5
@@ -1,12 +1,12 @@ PROVIDES = "virtual/libsdl"
 DESCRIPTION = "Simple DirectMedia Layer - QtE-based Palmtop Environments Edition"
 SECTION = "opie/libs"
 PRIORITY = "optional"
 DEPENDS = "virtual/libqpe1 libopie2"
 PROVIDES = "virtual/libsdl"
+RPROVIDES = "libsdl-1.2-0"
 LICENSE = "LGPL"
 
-# NOTE: make sure to keep PR in sync with libsdl-x11
-PR = "r0"
+PR = "r2"
 
 SRC_URI = "http://www.libsdl.org/release/SDL-${PV}.tar.gz \
            file://agawa-piro-mickey-1.2.9.patch;patch=1 \
@@ -32,6 +32,8 @@ FILES_${PN}-dev += "${bindir}/*config"
 
 FILES_${PN} = "${libdir}/lib*.so.*"
 FILES_${PN}-dev += "${bindir}/*config"
+DEBIAN_NOAUTONAME_${PN} = "1"
+DEBIAN_NOAUTONAME_${PN}-dbg = "1"
 
 do_compile_prepend() {
         rm -f ${S}/acinclude.m4






More information about the Openembedded-commits mailing list