[xmlgraphics-commons] 09/47: [xmlgraphics-common] Some updates, but xmlgraphics-common currently fails to build :-< ...
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Mon Oct 2 23:28:07 UTC 2017
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch master
in repository xmlgraphics-commons.
commit 4b7e9ac7ae1f2b77c507ae210c94dbb980ff4280
Author: Vincent Fourmond <fourmond at debian.org>
Date: Mon Oct 13 19:43:33 2008 +0000
[xmlgraphics-common] Some updates, but xmlgraphics-common currently fails to build :-< ...
---
debian/changelog | 13 +++++++++----
debian/copyright | 3 +++
debian/new-upstream | 32 ++++++++++++++++++++++++++++++++
debian/watch | 2 +-
4 files changed, 45 insertions(+), 5 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 09ab5fb..26f51e9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,10 +1,15 @@
-xmlgraphics-commons (1.3.1-0.1) experimental; urgency=low
+xmlgraphics-commons (1.3.1.dfsg-1) UNRELEASED experimental; urgency=low
- * Non-maintainer upload.
- * New upstream version
+ [ Sylvestre Ledru ]
+ * New upstream version (closes: #490749)
* debian/rules now uses DEB_UPSTREAM_VERSION
- -- Sylvestre Ledru <sylvestre.ledru at inria.fr> Fri, 19 Sep 2008 15:52:22 +0200
+ [ Vincent Fourmond ]
+ * Created a debian/new-upstream script to repackage upstream
+ tarball
+ * Updated debian/watch
+
+ -- Vincent Fourmond <fourmond at debian.org> Mon, 13 Oct 2008 21:36:29 +0200
xmlgraphics-commons (1.2.dfsg+dak-1) experimental; urgency=low
diff --git a/debian/copyright b/debian/copyright
index 7aae378..f4ce92b 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -24,3 +24,6 @@ Copyright:
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
+
+ On Debian systems, the Apache License Version 2.0 can be found in the file
+/usr/share/common-licenses/Apache-2.0
\ No newline at end of file
diff --git a/debian/new-upstream b/debian/new-upstream
new file mode 100755
index 0000000..b29b149
--- /dev/null
+++ b/debian/new-upstream
@@ -0,0 +1,32 @@
+#!/bin/sh
+#
+# new-upstream: copyright 2007,2008 by Vincent Fourmond.
+# See debian/copyright file for details.
+#
+# Called by uscan; from uscan(1):
+#
+# Finally, if a third parameter (an action) is given in the watchfile
+# line, this is taken as the name of a command, and the command
+# command --upstream-version version filename
+#
+# is executed, using either the original file or the symlink name.
+#
+# Thanks to Sam Morris <sam at robots.org.uk> for giving me the idea
+
+version=$2
+filename=$3
+
+dir=`mktemp -d`
+
+
+# We repackage the upstream tarball, removing the jars in the library and
+# the examples, which have dubious copyright status
+tar xvzf $filename -C "$dir" --exclude '*/lib/*.jar' --exclude '*/examples'
+origname=xmlgraphics-commons_$version.dfsg.orig.tar.gz
+
+# We repackage excluding the lib/ subdir
+cd $dir
+tar cvz -f $origname xml*
+cd -
+mv $dir/$origname ..
+rm -rf $dir
\ No newline at end of file
diff --git a/debian/watch b/debian/watch
index fba9803..400f9f9 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,3 +1,3 @@
version=3
opts=dversionmangle=s/\.dfsg(\+dak)?$// \
- http://www.apache.org/dist/xmlgraphics/commons/source/xmlgraphics-commons-(.*)-src\.tar\.gz
+ http://www.apache.org/dist/xmlgraphics/commons/source/xmlgraphics-commons-(.*)-src\.tar\.gz debian debian/new-upstream
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/xmlgraphics-commons.git
More information about the pkg-java-commits
mailing list