[med-svn] r837 - trunk/packages/treeviewx/trunk/debian

hanska-guest at alioth.debian.org hanska-guest at alioth.debian.org
Sun Nov 18 11:48:49 UTC 2007


Author: hanska-guest
Date: 2007-11-18 11:48:49 +0000 (Sun, 18 Nov 2007)
New Revision: 837

Added:
   trunk/packages/treeviewx/trunk/debian/mime-info.keys
   trunk/packages/treeviewx/trunk/debian/mime-info.mime
   trunk/packages/treeviewx/trunk/debian/treeviewx.mime
Modified:
   trunk/packages/treeviewx/trunk/debian/README.Debian
   trunk/packages/treeviewx/trunk/debian/changelog
   trunk/packages/treeviewx/trunk/debian/control
   trunk/packages/treeviewx/trunk/debian/rules
Log:
* Added support for MIME types (.phb is now associated to treeviewx)
  (still to be tested)

Modified: trunk/packages/treeviewx/trunk/debian/README.Debian
===================================================================
--- trunk/packages/treeviewx/trunk/debian/README.Debian	2007-11-18 11:07:16 UTC (rev 836)
+++ trunk/packages/treeviewx/trunk/debian/README.Debian	2007-11-18 11:48:49 UTC (rev 837)
@@ -1,6 +1,7 @@
 TreeView X for Debian
 ---------------------
 
-The original 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 wrapping 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/changelog
===================================================================
--- trunk/packages/treeviewx/trunk/debian/changelog	2007-11-18 11:07:16 UTC (rev 836)
+++ trunk/packages/treeviewx/trunk/debian/changelog	2007-11-18 11:48:49 UTC (rev 837)
@@ -1,10 +1,15 @@
 treeviewx (0.5.1-5) UNRELEASED; urgency=low
 
+  [ Charles Plessy ]
   * Debian Menu transition: Apps/Science becomes Applications/Science/Biology.
   * Moved the Homepage: field out from the package's description.
 
- -- Charles Plessy <charles-debian-nospam at plessy.org>  Fri, 21 Sep 2007 23:31:23 +0900
+  [ David Paleino ]
+  * Added support for MIME types (.phb is now associated to treeviewx)
+    (still to be tested)
 
+ -- David Paleino <d.paleino at gmail.com>  Sun, 18 Nov 2007 12:46:46 +0100
+
 treeviewx (0.5.1-4) unstable; urgency=low
 
   * Add Subversion repository URL to debian/control.

Modified: trunk/packages/treeviewx/trunk/debian/control
===================================================================
--- trunk/packages/treeviewx/trunk/debian/control	2007-11-18 11:07:16 UTC (rev 836)
+++ trunk/packages/treeviewx/trunk/debian/control	2007-11-18 11:48:49 UTC (rev 837)
@@ -2,11 +2,12 @@
 Section: science
 Priority: optional
 Maintainer: Debian-Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
-Uploaders: Charles Plessy <charles-debian-nospam at plessy.org>
-Build-Depends: debhelper (>= 5), autotools-dev, dpatch, xsltproc, docbook-xsl, docbook-xml, libwxgtk2.6-dev
+Uploaders: Charles Plessy <charles-debian-nospam at plessy.org>,
+ David Paleino <d.paleino at gmail.com>
+Build-Depends: debhelper (>= 5), autotools-dev, dpatch, libwxgtk2.6-dev
 Standards-Version: 3.7.2
-XS-Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/treeviewx/trunk/
-XS-Vcs-Svn: svn://svn.debian.org/svn/debian-med/trunk/packages/treeviewx
+Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/treeviewx/trunk/
+Vcs-Svn: svn://svn.debian.org/svn/debian-med/trunk/packages/treeviewx
 Homepage: http://darwin.zoology.gla.ac.uk/~rpage/treeviewx/
 
 Package: treeviewx

Added: trunk/packages/treeviewx/trunk/debian/mime-info.keys
===================================================================
--- trunk/packages/treeviewx/trunk/debian/mime-info.keys	                        (rev 0)
+++ trunk/packages/treeviewx/trunk/debian/mime-info.keys	2007-11-18 11:48:49 UTC (rev 837)
@@ -0,0 +1,2 @@
+application/x-clustalw-tree:
+    open=tv %f

Added: trunk/packages/treeviewx/trunk/debian/mime-info.mime
===================================================================
--- trunk/packages/treeviewx/trunk/debian/mime-info.mime	                        (rev 0)
+++ trunk/packages/treeviewx/trunk/debian/mime-info.mime	2007-11-18 11:48:49 UTC (rev 837)
@@ -0,0 +1,2 @@
+application/x-clustalw-tree
+    ext: phb

Modified: trunk/packages/treeviewx/trunk/debian/rules
===================================================================
--- trunk/packages/treeviewx/trunk/debian/rules	2007-11-18 11:07:16 UTC (rev 836)
+++ trunk/packages/treeviewx/trunk/debian/rules	2007-11-18 11:48:49 UTC (rev 837)
@@ -14,6 +14,9 @@
 DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
 DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
 
+XP=xsltproc -o debian/ -''-nonet
+DB2MAN=/usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl
+
 CFLAGS = -Wall -g
 
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
@@ -24,37 +27,42 @@
 
 include /usr/share/dpatch/dpatch.make
 
+tv.1: debian/tv.1.xml
+	$(XP) $(DB2MAN) $<
+
+manpages: tv.1
+
 config.status: patch configure
 	dh_testdir
 	CFLAGS="$(CFLAGS) -Wl,-z,defs" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man 
 
 build: config.status
+build-stamp:
 	dh_testdir
 	$(MAKE)
-	xsltproc -o debian/ -''-nonet /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl debian/tv.1.xml     # There is no original manpage.
 	install -m0644 bitmaps/treeview.xpm bitmaps/treeviewx.xpm 
-	touch build-stamp
+	touch $@
 
 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 debian/tv.1
+	[ ! -f Makefile ] || $(MAKE) -i distclean
+	dh_clean
 
 install: build
 	dh_testdir
 	dh_testroot
 	dh_clean -k 
-	dh_installdirs
+	dh_installdirs usr/share/mime-info/
 
 	$(MAKE) install DESTDIR=$(CURDIR)/debian/treeviewx
+	install -m 644 debian/mime-info.mime $(CURDIR)/debian/treeviewx/usr/share/mime-info/treeviewx.mime
+	install -m 644 debian/mime-info.keys $(CURDIR)/debian/treeviewx/usr/share/mime-info/treeviewx.keys
 
 
 binary-indep: build install
-
 binary-arch: build install
 	dh_testdir
 	dh_testroot
@@ -62,7 +70,7 @@
 	dh_installdocs
 	dh_install
 	dh_installmenu
-#	dh_installmime
+	dh_installmime
 	dh_installman		debian/tv.1
 	dh_installexamples 	debian/tree.phb
 	dh_desktop

Added: trunk/packages/treeviewx/trunk/debian/treeviewx.mime
===================================================================
--- trunk/packages/treeviewx/trunk/debian/treeviewx.mime	                        (rev 0)
+++ trunk/packages/treeviewx/trunk/debian/treeviewx.mime	2007-11-18 11:48:49 UTC (rev 837)
@@ -0,0 +1 @@
+application/x-clustalw-tree; /usr/bin/tv '%s'; description=ClustalW Phylogenetic Tree




More information about the debian-med-commit mailing list