]> git.openpandora.org Git - openembedded.git/commitdiff
libsdl-qpe 1.2.9: Make sure OPIE package has distinct name from other libsdl packages.
authorPaul Sokolovsky <pmiscml@gmail.com>
Sat, 17 Mar 2007 13:19:38 +0000 (13:19 +0000)
committerPaul Sokolovsky <pmiscml@gmail.com>
Sat, 17 Mar 2007 13:19:38 +0000 (13:19 +0000)
* 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.

packages/libsdl/libsdl-qpe_1.2.9.bb

index eaca6b88aa4c8a5b04ccb72f15952a151b68e267..99b94fbe4b08ccf8677509e8afaae6837f2f3cd7 100644 (file)
@@ -3,10 +3,10 @@ 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 @@ EXTRA_OECONF = "--disable-static --disable-debug --enable-cdrom --enable-threads
 
 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