Package: libpeas Version: 1.1.1-2 Severity: normal Tags: patch Vala itself now ships a vapi for libpeas.
I bumped into an issue where the debain vapi file overwrote the behavior of the vapi file of vala itself. See gnome bug <https://bugzilla.gnome.org/show_bug.cgi?id=660361> In this bug the vala binding maintainer Luca Bruno states the following: packages except the library and vala shouldn't ship foreign vapis. They should be kept internal to the application. That is, if libpeas decides to ship a vapi is ok, but not others. When now bugs in the libpeas bindings get fixed such will never show up on a debian system as the vapi file of the debian package will always win over the vapi file of the vala package. I'm gonna mark my other two bugs on this subject as invalid: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=642015 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=639625 Attached is a patch which removes the vapi file from the package altogether. *** /tmp/tmpw8dpDE -- System Information: Debian Release: wheezy/sid APT prefers oneiric-updates APT policy: (500, 'oneiric-updates'), (500, 'oneiric-security'), (500, 'oneiric') Architecture: i386 (i686) Kernel: Linux 3.0.0-12-generic (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
diff -Nru libpeas-1.1.1/debian/changelog libpeas-1.1.1/debian/changelog diff -Nru libpeas-1.1.1/debian/libpeas-dev.install libpeas-1.1.1/debian/libpeas-dev.install --- libpeas-1.1.1/debian/libpeas-dev.install 2011-07-12 14:46:49.000000000 +0200 +++ libpeas-1.1.1/debian/libpeas-dev.install 2011-09-28 19:58:36.000000000 +0200 @@ -3,4 +3,3 @@ usr/lib/pkgconfig usr/share/gir-1.0 usr/share/glade/catalogs -libpeas/*.vapi /usr/share/vala/vapi diff -Nru libpeas-1.1.1/debian/rules libpeas-1.1.1/debian/rules --- libpeas-1.1.1/debian/rules 2011-07-22 00:08:33.000000000 +0200 +++ libpeas-1.1.1/debian/rules 2011-09-28 19:59:00.000000000 +0200 @@ -15,10 +15,6 @@ DEB_DH_MAKESHLIBS_ARGS_libpeas-1.0-0 += -X/usr/lib/libpeas-1.0/ -common-post-build-arch:: - # build vapi interface from gir - cd libpeas; vapigen --library peas-1.0 Peas-1.0.gir - binary-post-install/libpeas-doc:: # remove compiled python and libtool .la files rm -f debian/libpeas-doc/usr/lib/peas-demo/plugins/*/*.pyo