Package: kdebindings Severity: wishlist Tags: patch Hello! If saw in the changelog that some time ago support for the Perl bindings was dropped - due to the immaturity of the code from what I gather. I have experimented with the bindings and they work fine for a basic use at least. I played around with the debian/* files and discovered that the bulk of the bits necessary to build the Perl bindings was still in place so I produced a patch (attached) which is not very intrusive at all. I am also attaching an example Perl script which allows you to display the name of the track currently being played by Amarok to tests the .debs produced by the patch. Hope you get round to taking a look at the patch! Cheers, Jeremy -- System Information: Debian Release: 3.1 APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.9 Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
diff -urN kdebindings-3.3.1.ORIG/debian/control kdebindings-3.3.1/debian/control --- kdebindings-3.3.1.ORIG/debian/control 2004-12-01 00:03:40.000000000 +0100 +++ kdebindings-3.3.1/debian/control 2004-12-01 01:17:10.000000000 +0100 @@ -156,6 +156,18 @@ . This package is part of the official KDE bindings module. +Package: libdcop-perl +Architecture: any +Section: perl +Depends: ${shlibs:Depends}, ${perl:Depends} +Description: DCOP bindings for Perl + This library contains Perl bindings for KDE's Desktop COmmunications Protocol + interface. DCOP is KDE's lightweight inter-process communcation and remote + procedure call mechanism, used for communicating with running KDE applications. + . + This package contains the files necessary to run and develop Perl programs + using the bindings. + Package: python-dcop Architecture: any Section: python diff -urN kdebindings-3.3.1.ORIG/debian/libdcop-perl.makeinput kdebindings-3.3.1/debian/libdcop-perl.makeinput --- kdebindings-3.3.1.ORIG/debian/libdcop-perl.makeinput 1970-01-01 01:00:00.000000000 +0100 +++ kdebindings-3.3.1/debian/libdcop-perl.makeinput 2004-12-01 01:17:30.000000000 +0100 @@ -0,0 +1,4 @@ +/usr/share/qt3/include +/usr/share/qt3/lib +/usr/include/kde +/usr/lib/kde3 diff -urN kdebindings-3.3.1.ORIG/debian/rules kdebindings-3.3.1/debian/rules --- kdebindings-3.3.1.ORIG/debian/rules 2004-12-01 00:03:40.000000000 +0100 +++ kdebindings-3.3.1/debian/rules 2004-12-01 01:19:33.000000000 +0100 @@ -10,6 +10,10 @@ DH_MAKESHLIBS_ARGS = -V -Nlibkde3-jni -Nlibqt0-ruby1.8 -Nlibkorundum0-ruby1.8 ; \ dh_makeshlibs -n -V -plibkde3-jni -plibqt0-ruby1.8 -plibkorundum0-ruby1.8 +ifndef PERL +PERL = /usr/bin/perl +endif + include debian/mipsen.mk include debian/common/vars.mk include debian/common/rules.mk @@ -20,6 +24,11 @@ cd $(objdir) && \ $(MAKE) -C dcopjava endif + + # DCOPPerl is not built along with the rest in $(objdir) and is installed separately + cd dcopperl && \ + $(PERL) Makefile.PL < $(CURDIR)/debian/libdcop-perl.makeinput && \ + $(MAKE) clean:: # if Makefile exists run distclean @@ -34,8 +43,6 @@ ifndef WITHOUT_JAVA cd $(objdir) && \ $(MAKE) -C dcopjava install DESTDIR=$(CURDIR)/debian/tmp - # DCOPPerl is disabled. - # $(MAKE) -C dcopperl pure_install PREFIX=$(CURDIR)/debian/tmp/usr # Fix up the Java packages so they conform to policy mkdir -p debian/tmp/usr/share/java @@ -49,6 +56,8 @@ mv debian/tmp/usr/lib/java/koala.jar debian/tmp/usr/share/java/koala-$(upstream_version).jar ln -s koala-$(upstream_version).jar debian/tmp/usr/share/java/koala.jar endif + # DCOPPerl is not built along with the rest in $(objdir) and is installed separately + $(MAKE) -C dcopperl pure_vendor_install PREFIX=$(CURDIR)/debian/tmp/usr # Provide a Makefile for the example cp $(objdir)/kjsembed/docs/embedding/simple-embed/Makefile kjsembed/docs/embedding/simple-embed
Attachment:
dcop-amarok.pl
Description: Perl program