tags 533923 +sid squeeze
thanks

The package builds fine in lenny but fails in sid and squeeze.

A patch is attatched which fixes some issues. I don't think patch will remove files so you will probablly have to remove debian/patches: 03_libtool_update.diff (which is no longer used since the new debian/rules updates the libtool stuff at build time) manually. Unfortunately the build now fails with undefined reference errors.








Only in kslovar-0.2.7.new/debian/patches: 02_autotools_update.diff.level-1.log
Only in kslovar-0.2.7/debian/patches: 03_libtool_update.diff
Only in kslovar-0.2.7.new/debian/patches: 05_fix_desktop_entry.diff.level-1.log
diff -ur kslovar-0.2.7/debian/rules kslovar-0.2.7.new/debian/rules
--- kslovar-0.2.7/debian/rules	2009-06-22 15:04:41.000000000 +0000
+++ kslovar-0.2.7.new/debian/rules	2009-06-22 16:21:28.000000000 +0000
@@ -24,3 +24,56 @@
 	@@wget  -nv -T10 -t3 -O ../tarballs/$(UPFILENAME) $(URL)
 	@@echo Converting $(UPFILENAME) to $(FILENAME)
 	@@bzcat ../tarballs/$(UPFILENAME) | gzip -9 > ../tarballs/$(FILENAME)
+
+makebuilddir/kslovar::
+	#adjust some symlinks to point to files that actually exist
+	rm -f admin/config.sub
+	ln -s /usr/share/misc/config.sub admin/config.sub
+	rm -f admin/config.guess
+	ln -s /usr/share/misc/config.sub admin/config.guess
+	#regenerate the libtool stuff
+	libtoolize
+	#use the systems version of libtool.m4
+	[ -f admin/libtool.m4.in.bak ] || mv admin/libtool.m4.in admin/libtool.m4.in.bak
+	cp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+
+#for some reason theese files don't seem to get built automatically by the upstream build system when we use debians current autotools, as a workaround
+#build them manually
+configure/kslovar::
+	cd src/configuration && /usr/bin/kconfig_compiler ./kslovar.kcfg ./configuration.kcfgc
+	cd src/configuration/ui && /usr/share/qt3/bin/uic -L /usr/lib/kde3/plugins/designer -nounload ./ksappearancewdt.ui | /usr/bin/perl -pi -e "s,public QWizard,public KWizard,g; s,#include <qwizard.h>,#include <kwizard.h>,g" > ksappearancewdt.h ;
+	cd src/configuration/ui && /usr/share/qt3/bin/uic -L /usr/lib/kde3/plugins/designer -nounload ./ksbehaviourwdt.ui | /usr/bin/perl -pi -e "s,public QWizard,public KWizard,g; s,#include <qwizard.h>,#include <kwizard.h>,g" > ksbehaviourwdt.h ;
+	cd src/configuration/ui && /usr/share/qt3/bin/uic -L /usr/lib/kde3/plugins/designer -nounload ./kswizardwzt.ui | /usr/bin/perl -pi -e "s,public QWizard,public KWizard,g; s,#include <qwizard.h>,#include <kwizard.h>,g" > kswizardwzt.h ;
+	cd src/configuration && /usr/share/qt3/bin/moc ./ksappearance.h -o ksappearance.moc
+	cd src/configuration && /usr/share/qt3/bin/moc ./ksconfigdialog.h -o ksconfigdialog.moc
+	cd src/configuration && /usr/share/qt3/bin/moc ./kswizard.h -o kswizard.moc
+	cd src/handler && /usr/share/qt3/bin/moc ./ksxmlhandler.h -o ksxmlhandler.moc
+	cd src/misc/widget && /usr/share/qt3/bin/moc ./kslistview.h -o kslistview.moc
+	cd src/misc/widget && /usr/share/qt3/bin/moc ./kssearchline.h -o kssearchline.moc
+	cd src/misc/widget && /usr/share/qt3/bin/moc ./kslistviewsearchline.h -o kslistviewsearchline.moc
+	cd src/misc && /usr/share/qt3/bin/moc ./ksdata.h -o ksdata.moc
+	cd src/dialog/ui && /usr/share/qt3/bin/uic -L /usr/lib/kde3/plugins/designer -nounload ./ksphrasewdt.ui | /usr/bin/perl -pi -e "s,public QWizard,public KWizard,g; s,#include <qwizard.h>,#include <kwizard.h>,g" > ksphrasewdt.h ;
+	cd src/dialog/ui && /usr/share/qt3/bin/uic -L /usr/lib/kde3/plugins/designer -nounload ./ksdictionarywdt.ui | /usr/bin/perl -pi -e "s,public QWizard,public KWizard,g; s,#include <qwizard.h>,#include <kwizard.h>,g" > ksdictionarywdt.h ;
+	cd src/dialog/ui && /usr/share/qt3/bin/uic -L /usr/lib/kde3/plugins/designer -nounload ./kslanguagewdt.ui | /usr/bin/perl -pi -e "s,public QWizard,public KWizard,g; s,#include <qwizard.h>,#include <kwizard.h>,g" > kslanguagewdt.h ;
+	cd src/dialog/ui && /usr/share/qt3/bin/uic -L /usr/lib/kde3/plugins/designer -nounload ./ksconversionwdt.ui | /usr/bin/perl -pi -e "s,public QWizard,public KWizard,g; s,#include <qwizard.h>,#include <kwizard.h>,g" > ksconversionwdt.h ;	
+	cd src/dialog/ui && /usr/share/qt3/bin/uic -L /usr/lib/kde3/plugins/designer -nounload ./ksupgrademanagerwdt.ui | /usr/bin/perl -pi -e "s,public QWizard,public KWizard,g; s,#include <qwizard.h>,#include <kwizard.h>,g" > ksupgrademanagerwdt.h ;
+	cd src/dialog && /usr/share/qt3/bin/moc ./ksphrase.h -o ksphrase.moc
+	cd src/dialog && /usr/share/qt3/bin/moc ./ksdictionary.h -o ksdictionary.moc
+	cd src/dialog && /usr/share/qt3/bin/moc ./kslanguage.h -o kslanguage.moc
+	cd src/dialog && /usr/share/qt3/bin/moc ./ksconversion.h -o ksconversion.moc
+	cd src/dialog && /usr/share/qt3/bin/moc ./ksupgrademanager.h -o ksupgrademanager.moc
+	cd src/dialog && /usr/share/qt3/bin/moc ./kscharselect.h -o kscharselect.moc
+	cd src && /usr/share/qt3/bin/moc ./kslovar.h -o kslovar.moc
+
+#undo some changes we made above so we can build multiple times in a row
+clean::
+	rm -f admin/config.sub
+	ln -s /usr/share/libtool/config.sub admin/config.sub
+	rm -f admin/config.guess
+	ln -s /usr/share/libtool/config.guess admin/config.guess
+	rm -f admin/ltmain.sh
+	ln -s /usr/share/libtool/ltmain.sh admin/ltmain.sh
+	rm -f po/fr.gmo
+	[ ! -f admin/libtool.m4.in.bak ] || mv admin/libtool.m4.in.bak admin/libtool.m4.in
+
+
Only in kslovar-0.2.7.new/debian/: stamp-autotools-files
Only in kslovar-0.2.7.new/debian/: stamp-patch-debian=patches=02_autotools_update.diff
Only in kslovar-0.2.7.new/debian/: stamp-patch-debian=patches=05_fix_desktop_entry.diff
Only in kslovar-0.2.7.new/debian/: stamp-patched
_______________________________________________
pkg-kde-extras mailing list
pkg-kde-extras@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-kde-extras

Reply via email to