[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#327462: patch to make the package buildable in unstable



Tags: patch


Hello,

I have took a look at the SVN source of icecc-icecream and fixed it to
make it compile in unstable.

All was made against this:

URL: svn://anonsvn.kde.org:443/home/kde/trunk/icecream
Repository UUID: 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Revision: 564192
Last Changed Rev: 563742


I haven't tested lintian, linda or piuparts.


I wonder if this is the first time there is a patch against wnpp :)

--
Regards,
EddyP
=============================================
"Imagination is more important than knowledge" A.Einstein
Index: debian/control
===================================================================
--- debian/control	(revision 564217)
+++ debian/control	(working copy)
@@ -3,8 +3,8 @@
 Priority: optional
 Maintainer: Andre Woebbeking <Woebbeking@web.de>
 Uploaders:
-Build-Depends: automake1.9, debhelper (>> 5.0.0), libtool
-Standards-Version: 3.6.1.0
+Build-Depends: automake1.9, debhelper (>> 5.0.0), libtool, docbook2x, sharutils, kdelibs-data
+Standards-Version: 3.7.2
 
 Package: icecc
 Architecture: any
@@ -20,6 +20,8 @@
  the same libraries or header files installed.
  .
  This package is part of the KDE Software Development Kit.
+ .
+  Homepage: http://en.opensuse.org/Icecream
 
 Package: libicecc-dev
 Architecture: any
@@ -34,3 +36,5 @@
  the same libraries or header files installed.
  .
  This package provides files which are necessary to build icecc-monitor.
+ .
+  Homepage: http://en.opensuse.org/Icecream
Index: debian/changelog
===================================================================
--- debian/changelog	(revision 564217)
+++ debian/changelog	(working copy)
@@ -1,3 +1,11 @@
+icecc (0.7.6-2) UNRELEASED; urgency=low
+
+  * add missing dependencies: docbook2x, sharutils
+  * added dependency on kdelibs-data because it contains kdex.dtd
+  * fixed location from which the package expects to get manpages' sources
+
+ -- Eddy PetriÅ?or <eddy.petrisor@gmail.com>  Wed, 19 Jul 2006 17:35:28 +0300
+
 icecc (0.7.6-1) unstable; urgency=low
 
   * New upstream version.
Index: debian/rules
===================================================================
--- debian/rules	(revision 564217)
+++ debian/rules	(working copy)
@@ -54,6 +54,12 @@
 	cd $(objdir) && \
 	 ../configure $(configkde)
 
+	# add the dtd
+	cp /usr/share/apps/ksgmltools2/customization/dtd/kdex.dtd doc/
+
+	# prepare terain for documantation building
+	mkdir -p debian/man/
+
 	touch configure-stamp
 
 #Architecture
@@ -67,8 +73,8 @@
 	$(MAKE)
 
 	# generate manpages
-	for i in debian/man/*.docbook; do \
-		docbook2x-man $$i; \
+	for i in doc/*.docbook; do \
+		cd debian/man && docbook2x-man ../../$$i && cd ../../; \
 	done
 
 	touch build-arch-stamp
@@ -106,6 +112,10 @@
 	# Remove build tree
 	rm -rf $(objdir)
 
+	# Remove documentation build place and build cruft
+	rm -fr debian/man
+	rm -fr doc/kdex.dtd 
+
 	# if Makefile exists run distclean
 	if test -f Makefile; then \
 		$(MAKE) distclean; \

Reply to: