[med-svn] r13 - in trunk/packages/treeviewx/trunk/debian: . patches

Charles Plessy charles-guest at costa.debian.org
Sun Apr 9 10:13:51 UTC 2006


Author: charles-guest
Date: 2006-04-09 10:13:51 +0000 (Sun, 09 Apr 2006)
New Revision: 13

Modified:
   trunk/packages/treeviewx/trunk/debian/README.Debian
   trunk/packages/treeviewx/trunk/debian/control
   trunk/packages/treeviewx/trunk/debian/copyright
   trunk/packages/treeviewx/trunk/debian/menu
   trunk/packages/treeviewx/trunk/debian/patches/00list
   trunk/packages/treeviewx/trunk/debian/rules
Log:
New version which is error-free with lintian and linda.


Modified: trunk/packages/treeviewx/trunk/debian/README.Debian
===================================================================
--- trunk/packages/treeviewx/trunk/debian/README.Debian	2006-03-27 15:55:41 UTC (rev 12)
+++ trunk/packages/treeviewx/trunk/debian/README.Debian	2006-04-09 10:13:51 UTC (rev 13)
@@ -1,6 +1,6 @@
 TreeView X for Debian
 ---------------------
 
-The source code was modified by wraping some character chains with wxT(), in order to build it with wxGTK 2.6. 
+The original source code was modified by wraping some character chains with wxT(), in order to build it with wxGTK 2.6. 
 
  -- Charles Plessy <charles-debian-nospam at plessy.org>, Sat, 11 Feb 2006 17:27:26 +0900

Modified: trunk/packages/treeviewx/trunk/debian/control
===================================================================
--- trunk/packages/treeviewx/trunk/debian/control	2006-03-27 15:55:41 UTC (rev 12)
+++ trunk/packages/treeviewx/trunk/debian/control	2006-04-09 10:13:51 UTC (rev 13)
@@ -8,7 +8,7 @@
 Package: treeviewx
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
-Description: Displays and prints phylogenetic trees.
+Description: Displays and prints phylogenetic trees
  TreeView X is an open source and multi-platform program to display
  phylogenetic trees. It can read and display NEXUS and Newick format tree files
  (such as those output by PAUP*, ClustalX, TREE-PUZZLE, and other programs). It

Modified: trunk/packages/treeviewx/trunk/debian/copyright
===================================================================
--- trunk/packages/treeviewx/trunk/debian/copyright	2006-03-27 15:55:41 UTC (rev 12)
+++ trunk/packages/treeviewx/trunk/debian/copyright	2006-04-09 10:13:51 UTC (rev 13)
@@ -1,10 +1,11 @@
-This package was debianized by Charles Plessy <charles-debian-nospam at plessy.org> on Sat, 11 Feb 2006 17:27:26 +0900.
+This package was debianized by Charles Plessy <charles-debian-nospam at plessy.org> on Sat, 11 Feb 2006.
 
-It was downloaded from http://darwin.zoology.gla.ac.uk/%7Erpage/treeviewx/download.html
+It was downloaded from http://darwin.zoology.gla.ac.uk/~rpage/treeviewx/download.html
 
-Copyright Holder: Rod Page <r.page at bio.gla.ac.uk>
+Copyright (C) 2001-2005 Roderic D. M. Page <r.page at bio.gla.ac.uk>
 
 You are free to distribute this software under the terms of
 the GNU General Public License.
+
 On Debian systems, the complete text of the GNU General Public
 License can be found in the file `/usr/share/common-licenses/GPL'

Modified: trunk/packages/treeviewx/trunk/debian/menu
===================================================================
--- trunk/packages/treeviewx/trunk/debian/menu	2006-03-27 15:55:41 UTC (rev 12)
+++ trunk/packages/treeviewx/trunk/debian/menu	2006-04-09 10:13:51 UTC (rev 13)
@@ -1,2 +1,8 @@
-?package(treeviewx):needs="X11" section="Apps/Sciences"\
-  title="TreeView X" command="/usr/bin/tv"
+?package(treeviewx):\
+	needs="X11"\
+	section="Apps/Science"\
+	title="TreeView X"\
+	command="/usr/bin/tv"\
+	icon="/usr/share/pixmaps/treeviewx.xpm" \
+	hints="Phylogeny"\
+	longtitle="TreeView X: a phylogenetic tree viewer which can do SVG export"

Modified: trunk/packages/treeviewx/trunk/debian/patches/00list
===================================================================
--- trunk/packages/treeviewx/trunk/debian/patches/00list	2006-03-27 15:55:41 UTC (rev 12)
+++ trunk/packages/treeviewx/trunk/debian/patches/00list	2006-04-09 10:13:51 UTC (rev 13)
@@ -1,3 +1,4 @@
 50_wxT_tv.cpp.dpatch
 51_wxT_tview.cpp.dpatch
 80_new-manpage_tv.sgml.dpatch
+81_desktop_file.dpatch

Modified: trunk/packages/treeviewx/trunk/debian/rules
===================================================================
--- trunk/packages/treeviewx/trunk/debian/rules	2006-03-27 15:55:41 UTC (rev 12)
+++ trunk/packages/treeviewx/trunk/debian/rules	2006-04-09 10:13:51 UTC (rev 13)
@@ -1,10 +1,13 @@
 #!/usr/bin/make -f
 # -*- makefile -*-
-# Sample debian/rules that uses debhelper.
+# Build rules for the Debian package treeviewx.
 # This file was originally written by Joey Hess and Craig Small.
 # As a special exception, when this file is copied by dh-make into a
 # dh-make output file, you may use that output file without restriction.
 # This special exception was added by Craig Small in version 0.37 of dh-make.
+# Modifications are a work of Charles Plessy during the year 2006, and
+# are hereby released as "public domain". They are mostly inspired from
+# the build rules from the sextractor package, maintained by Justin Pryzby.
 
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
@@ -15,7 +18,6 @@
 DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
 DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
 
-
 CFLAGS = -Wall -g
 
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
@@ -26,87 +28,60 @@
 
 config.status: patch configure
 	dh_testdir
-	# Add here commands to configure the package.
-	CFLAGS="$(CFLAGS) -Wl,-z,defs" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
+#	mkdir autoconf
+#	ln -sf /usr/share/misc/config.sub autoconf/config.sub
+#	ln -sf /usr/share/misc/config.guess autoconf/config.guess
+	CFLAGS="$(CFLAGS) -Wl,-z,defs" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man 
 
-patch: patch-stamp
-patch-stamp:
+patch: 
 	dpatch apply-all
-	dpatch cat-all --desc-only >patch-stamp
+	dpatch cat-all --desc-only > patch-stamp
 
 unpatch:
 	dpatch deapply-all
 	rm -rf patch-stamp debian/patched
 
-
-build: build-stamp
-
-build-stamp:  config.status
+build: config.status
 	dh_testdir
-
-	# Add here commands to compile the package.
 	$(MAKE)
-	docbook-to-man tv.sgml > tv.1
-
+	docbook-to-man tv.sgml > tv.1     # There is no original manpage.
+	install -m0644 bitmaps/treeview.xpm bitmaps/treeviewx.xpm 
 	touch build-stamp
 
 clean: clean-patched unpatch
+
 clean-patched:
 	dh_testdir
 	dh_testroot
 	rm -f build-stamp 
+	set -e; if [ -f Makefile ]; then $(MAKE) -i distclean; fi;
+#	dh_clean autoconf/config.sub autoconf/config.guess
+#	rmdir autoconf
 
-	# Add here commands to clean up after the build process.
-	-$(MAKE) distclean
-ifneq "$(wildcard /usr/share/misc/config.sub)" ""
-	cp -f /usr/share/misc/config.sub config.sub
-endif
-ifneq "$(wildcard /usr/share/misc/config.guess)" ""
-	cp -f /usr/share/misc/config.guess config.guess
-endif
-
-
-	dh_clean 
-
 install: build
 	dh_testdir
 	dh_testroot
 	dh_clean -k 
 	dh_installdirs
 
-	# Add here commands to install the package into debian/treeviewx.
 	$(MAKE) install DESTDIR=$(CURDIR)/debian/treeviewx
 
 
-# Build architecture-independent files here.
 binary-indep: build install
-# We have nothing to do by default.
 
-# Build architecture-dependent files here.
 binary-arch: build install
 	dh_testdir
 	dh_testroot
-	dh_installchangelogs ChangeLog
+	dh_installchangelogs # ChangeLog (empty for the moment)
 	dh_installdocs
-	dh_installexamples
-#	dh_install
+	dh_install
 	dh_installmenu
-#	dh_installdebconf	
-#	dh_installlogrotate
-#	dh_installemacsen
-#	dh_installpam
 #	dh_installmime
-#	dh_installinit
-#	dh_installcron
-#	dh_installinfo
 	dh_installman
-	dh_link
+	dh_desktop
 	dh_strip
 	dh_compress
 	dh_fixperms
-#	dh_perl
-#	dh_python
-#	dh_makeshlibs
 	dh_installdeb
 	dh_shlibdeps
 	dh_gencontrol




More information about the debian-med-commit mailing list