python-pygtk2 2.10.3: fix debug packaging
authorKoen Kooi <koen@openembedded.org>
Sat, 19 May 2007 20:23:41 +0000 (20:23 +0000)
committerKoen Kooi <koen@openembedded.org>
Sat, 19 May 2007 20:23:41 +0000 (20:23 +0000)
packages/python/python-pygtk2_2.10.3.bb

index f7366af..a71765d 100644 (file)
@@ -5,7 +5,7 @@ DEPENDS = "gtk+ libglade python-pycairo python-pygobject"
 RDEPENDS = "python-shell"
 SRCNAME = "pygtk"
 LICENSE = "LGPL"
-PR = "ml2"
+PR = "ml3"
 
 SRC_URI = "ftp://ftp.gnome.org/pub/gnome/sources/pygtk/2.10/${SRCNAME}-${PV}.tar.bz2 \
            file://fix-gtkunixprint.patch;patch=1 \
@@ -21,6 +21,9 @@ do_configure_prepend() {
        install -m 0644 ${WORKDIR}/acinclude.m4 ${S}/
 }
 
+FILES_${PN}-dbg += "${libdir}/python2.4/site-packages/gtk-2.0/*/.debug"
+FILES_${PN}-dbg += "${libdir}/python2.4/site-packages/gtk-2.0/.debug"
+
 do_stage() {
        autotools_stage_includes
         sed -i s:/usr/share:${STAGING_DATADIR}: codegen/pygtk-codegen-2.0