[med-svn] r10457 - in trunk/packages/king/trunk/debian: . patches

Andreas Tille tille at alioth.debian.org
Fri Apr 20 09:59:03 UTC 2012


Author: tille
Date: 2012-04-20 09:59:03 +0000 (Fri, 20 Apr 2012)
New Revision: 10457

Added:
   trunk/packages/king/trunk/debian/README.source
   trunk/packages/king/trunk/debian/king-java-doc.javadoc
   trunk/packages/king/trunk/debian/king.docs
   trunk/packages/king/trunk/debian/king.jlibs
Modified:
   trunk/packages/king/trunk/debian/control
   trunk/packages/king/trunk/debian/get-orig-source
   trunk/packages/king/trunk/debian/patches/delete_mac_specific_file.patch
   trunk/packages/king/trunk/debian/patches/series
   trunk/packages/king/trunk/debian/rules
Log:
Create something which slowly starts looking like a package


Added: trunk/packages/king/trunk/debian/README.source
===================================================================
--- trunk/packages/king/trunk/debian/README.source	                        (rev 0)
+++ trunk/packages/king/trunk/debian/README.source	2012-04-20 09:59:03 UTC (rev 10457)
@@ -0,0 +1,10 @@
+KiNG for Debian
+---------------
+
+The default build target includes building a source tarball including
+Java docs for the API.  This is currently not builded.  Feel free to
+uncomment the according paragraph in debian/control and add the patch
+delete_mac_specific_file.patch to the debian/patches/series file in
+case you consider this a useful extension for this package.
+
+ -- Andreas Tille <tille at debian.org>  Wed, 18 Apr 2012 14:27:49 +0200

Modified: trunk/packages/king/trunk/debian/control
===================================================================
--- trunk/packages/king/trunk/debian/control	2012-04-20 09:26:46 UTC (rev 10456)
+++ trunk/packages/king/trunk/debian/control	2012-04-20 09:59:03 UTC (rev 10457)
@@ -12,7 +12,7 @@
 Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/king/
 
 Package: king
-Architecture: any
+Architecture: all
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Description: interactive system for three-dimensional vector graphics
  KiNG (Kinemage, Next Generation) is an interactive system for
@@ -26,3 +26,23 @@
  page as a Java applet or Java object to promote easy access to kinemages
  or coordinate files from a web browser.
 
+#  --> see README.source
+#Package: king-java-doc
+#Architecture: all
+#Depends: ${shlibs:Depends}, ${misc:Depends}
+#Description: interactive system for three-dimensional vector graphics (Java API docs)
+# KiNG (Kinemage, Next Generation) is an interactive system for
+# three-dimensional vector graphics. It supports a set of graphics
+# primitives that make it suitable for many types of graphs, plots, and
+# other illustrations; although its first use was to display
+# macromolecular structures for biophysical research. KiNG builds on Mage,
+# JavaMage, and the "kinemage" (kinetic image) concept to deliver a
+# full-featured Java application with a user-friendly interface and
+# integrated editing features. The KiNG jar file can be used within a web
+# page as a Java applet or Java object to promote easy access to kinemages
+# or coordinate files from a web browser.
+# .
+# This package provides the documentation of the Java API documentation
+# of KiNG and the components used by King.  It is dedicated at programmers
+# who want to program Java code using classes from KiNG.  The documentation
+# for plain usage of KiNG is part of the king package.

Modified: trunk/packages/king/trunk/debian/get-orig-source
===================================================================
--- trunk/packages/king/trunk/debian/get-orig-source	2012-04-20 09:26:46 UTC (rev 10456)
+++ trunk/packages/king/trunk/debian/get-orig-source	2012-04-20 09:59:03 UTC (rev 10457)
@@ -24,7 +24,12 @@
 find . -name "*.jar" -delete
 find . -name "*.class" -delete
 
-# Remove javadocs which are recreated in the build process anyway
+# Remove javadocs which could be easily recreated in the build
+# process using
+#  ant -buildfile king/build.xml dist-src
+# Please note that you need to activate the quilt patch
+#  debian/patches/delete_mac_specific_file.patch
+# in the series file to do so
 rm -rf javadocs
 
 # Remove useless dirs

Added: trunk/packages/king/trunk/debian/king-java-doc.javadoc
===================================================================
--- trunk/packages/king/trunk/debian/king-java-doc.javadoc	                        (rev 0)
+++ trunk/packages/king/trunk/debian/king-java-doc.javadoc	2012-04-20 09:59:03 UTC (rev 10457)
@@ -0,0 +1 @@
+king/dist/javadocs	usr/share/doc/king

Added: trunk/packages/king/trunk/debian/king.docs
===================================================================
--- trunk/packages/king/trunk/debian/king.docs	                        (rev 0)
+++ trunk/packages/king/trunk/debian/king.docs	2012-04-20 09:59:03 UTC (rev 10457)
@@ -0,0 +1,2 @@
+king/dist/king-2.20/doc/*.{html,pdf,txt}
+king/dist/king-2.20/README.html

Added: trunk/packages/king/trunk/debian/king.jlibs
===================================================================
--- trunk/packages/king/trunk/debian/king.jlibs	                        (rev 0)
+++ trunk/packages/king/trunk/debian/king.jlibs	2012-04-20 09:59:03 UTC (rev 10457)
@@ -0,0 +1 @@
+king/dist/king-2.20/king.jar

Modified: trunk/packages/king/trunk/debian/patches/delete_mac_specific_file.patch
===================================================================
--- trunk/packages/king/trunk/debian/patches/delete_mac_specific_file.patch	2012-04-20 09:26:46 UTC (rev 10456)
+++ trunk/packages/king/trunk/debian/patches/delete_mac_specific_file.patch	2012-04-20 09:59:03 UTC (rev 10457)
@@ -2,6 +2,13 @@
 Description: As advised in the comment below this file should
  be deleted on non Mac platforms.  If it is not deleted the
  documentation building process will fail.
+ .
+ This patch is *only* used when trying to build the default target
+ or which includes building dist-src or if you try:
+   ant -buildfile king/build.xml dist-src
+ So the patch is deactivated in the series file for the moment
+ but feel free to activate in case the javadoc should be builded
+ as well.
 
 --- king-2.20.110601.orig/king-2.20-src/src/king/MacDropTarget.java
 +++ /dev/null

Modified: trunk/packages/king/trunk/debian/patches/series
===================================================================
--- trunk/packages/king/trunk/debian/patches/series	2012-04-20 09:26:46 UTC (rev 10456)
+++ trunk/packages/king/trunk/debian/patches/series	2012-04-20 09:59:03 UTC (rev 10457)
@@ -1,2 +1 @@
 use_debian_packaged_jars.patch
-delete_mac_specific_file.patch

Modified: trunk/packages/king/trunk/debian/rules
===================================================================
--- trunk/packages/king/trunk/debian/rules	2012-04-20 09:26:46 UTC (rev 10456)
+++ trunk/packages/king/trunk/debian/rules	2012-04-20 09:59:03 UTC (rev 10457)
@@ -14,7 +14,8 @@
 	    cp -a $$component/resource/$$component/buildnum.props $$component/resource/$$component/buildnum.props.orig ; \
 	  fi ; \
 	done
-	ant -buildfile king/build.xml
+	mkdir -p lib
+	ant -buildfile king/build.xml dist-exe
 
 override_dh_auto_clean:
 	ant -buildfile king/build.xml clean
@@ -33,3 +34,4 @@
 	done
 
 	find . -name "*.class" -delete
+	rm -rf lib




More information about the debian-med-commit mailing list