[xml/sgml-commit] r1424 - in /packages/dbtoepub/trunk/debian: ./ changelog compat control copyright dbtoepub.1 dbtoepub.install get-orig-source.sh patches/ patches/00list patches/514030_debianize_dbtoepub.dpatch rules watch

dleidert-guest at users.alioth.debian.org dleidert-guest at users.alioth.debian.org
Sun May 10 03:02:05 UTC 2009


Author: dleidert-guest
Date: Sun May 10 03:02:04 2009
New Revision: 1424

URL: http://svn.debian.org/wsvn/debian-xml-sgml/?sc=1&rev=1424
Log:
dbtoepub (0+svn8434) UNRELEASED

* Split this from docbook-xsl (closes: #525808).


Added:
    packages/dbtoepub/trunk/debian/   (with props)
    packages/dbtoepub/trunk/debian/changelog
    packages/dbtoepub/trunk/debian/compat
    packages/dbtoepub/trunk/debian/control
    packages/dbtoepub/trunk/debian/copyright
    packages/dbtoepub/trunk/debian/dbtoepub.1
      - copied unchanged from r1416, packages/docbook-xsl/trunk/debian/dbtoepub.1
    packages/dbtoepub/trunk/debian/dbtoepub.install
      - copied, changed from r1413, packages/docbook-xsl/trunk/debian/docbook-xsl.install
    packages/dbtoepub/trunk/debian/get-orig-source.sh
      - copied, changed from r1413, packages/docbook-xsl/trunk/debian/get-orig-source.sh
    packages/dbtoepub/trunk/debian/patches/
    packages/dbtoepub/trunk/debian/patches/00list
      - copied unchanged from r1413, packages/docbook-xsl/trunk/debian/patches/00list
    packages/dbtoepub/trunk/debian/patches/514030_debianize_dbtoepub.dpatch
      - copied, changed from r1413, packages/docbook-xsl/trunk/debian/patches/514030_debianize_dbtoepub.dpatch
    packages/dbtoepub/trunk/debian/rules   (with props)
    packages/dbtoepub/trunk/debian/watch

Propchange: packages/dbtoepub/trunk/debian/
------------------------------------------------------------------------------
    mergeWithUpstream = 1

Added: packages/dbtoepub/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/debian-xml-sgml/packages/dbtoepub/trunk/debian/changelog?rev=1424&op=file
==============================================================================
--- packages/dbtoepub/trunk/debian/changelog (added)
+++ packages/dbtoepub/trunk/debian/changelog Sun May 10 03:02:04 2009
@@ -1,0 +1,5 @@
+dbtoepub (0+svn8434) UNRELEASED; urgency=low
+
+  * Initial release. Split this from docbook-xsl (closes: #525808).
+
+ -- Daniel Leidert (dale) <daniel.leidert at wgdd.de>  Sun, 10 May 2009 04:06:17 +0200

Added: packages/dbtoepub/trunk/debian/compat
URL: http://svn.debian.org/wsvn/debian-xml-sgml/packages/dbtoepub/trunk/debian/compat?rev=1424&op=file
==============================================================================
--- packages/dbtoepub/trunk/debian/compat (added)
+++ packages/dbtoepub/trunk/debian/compat Sun May 10 03:02:04 2009
@@ -1,0 +1,1 @@
+5

Added: packages/dbtoepub/trunk/debian/control
URL: http://svn.debian.org/wsvn/debian-xml-sgml/packages/dbtoepub/trunk/debian/control?rev=1424&op=file
==============================================================================
--- packages/dbtoepub/trunk/debian/control (added)
+++ packages/dbtoepub/trunk/debian/control Sun May 10 03:02:04 2009
@@ -1,0 +1,23 @@
+Source: dbtoepub
+Section: text
+Priority: extra
+Maintainer: Debian XML/SGML Group <debian-xml-sgml-pkgs at lists.alioth.debian.org>
+Uploaders: Daniel Leidert (dale) <daniel.leidert at wgdd.de>
+Build-Depends: debhelper (>= 5), dpatch
+Standards-Version: 3.8.1
+Homepage: http://docbook.sourceforge.net/release/xsl/current/epub/README
+Vcs-Browser: http://svn.debian.org/wsvn/debian-xml-sgml/packages/dbtoepub/
+Vcs-Svn: svn://svn.debian.org/svn/debian-xml-sgml/packages/dbtoepub/trunk/
+DM-Upload-Allowed: yes
+
+Package: dbtoepub
+Architecture: all
+Depends: docbook-xsl | docbook-xsl-ns, libxml2-utils, ruby, xsltproc, zip, ${misc:Depends}
+Replaces: docbook-xsl (<< 1.75.1)
+Conflicts: docbook-xsl (<< 1.75.1)
+Description: DocBook XML to .epub converter
+ dbtoepub is an alpha-quality reference implementation to convert DocBook
+ documents into the .epub format, an open standard for reflowable digital
+ books and publications (e-books).
+ .
+ The .epub format is defined by the IDPF at http://www.idpf.org.

Added: packages/dbtoepub/trunk/debian/copyright
URL: http://svn.debian.org/wsvn/debian-xml-sgml/packages/dbtoepub/trunk/debian/copyright?rev=1424&op=file
==============================================================================
--- packages/dbtoepub/trunk/debian/copyright (added)
+++ packages/dbtoepub/trunk/debian/copyright Sun May 10 03:02:04 2009
@@ -1,0 +1,54 @@
+This package was put together by Daniel Leidert <daniel.leidert at wgdd.de> in
+May 2009.
+
+It was downloaded from the Sourceforge.net SVN web service:
+
+   http://docbook.svn.sf.net/viewvc/docbook/trunk/xsl/epub.tar.gz?view=tar
+
+Copyright:
+
+   Copyright (C) 1999-2007 Norman Walsh
+   Copyright (C) 2003 Jiří Kosek
+   Copyright (C) 2004-2007 Steve Ball
+   Copyright (C) 2005-2008 The DocBook Project
+
+Upstream Author:
+
+   Norman Walsh <ndw at nwalsh.com> and other docbook developers at
+   the Sourceforge DocBook Open Repository.
+
+License and warranty for most parts of the package: MIT/X Consortium License
+
+   Permission is hereby granted, free of charge, to any person obtaining a
+   copy of this software and associated documentation files (the "Software"),
+   to deal in the Software without restriction, including without limitation
+   the rights to use, copy, modify, merge, publish, distribute, sublicense,
+   and/or sell copies of the Software, and to permit persons to whom the
+   Software is furnished to do so, subject to the following conditions:
+
+   The above copyright notice and this permission notice shall be included in
+   all copies or substantial portions of the Software.
+
+   Except as contained in this notice, the names of individuals credited with
+   contribution to this software shall not be used in advertising or
+   otherwise to promote the sale, use or other dealings in this Software
+   without prior written authorization from the individuals in question.
+
+   Any stylesheet derived from this Software that is publicly distributed
+   will be identified with a different name and the version strings in any
+   derived Software will be changed so that no possibility of confusion
+   between the derived package and this Software will exist.
+
+   THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+   IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+   FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+   NORMAN WALSH OR ANY OTHER CONTRIBUTOR BE LIABLE FOR ANY CLAIM, DAMAGES OR
+   OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
+   ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+   OTHER DEALINGS IN THE SOFTWARE.
+
+==============================================================================
+
+The Debian packaging is Copyright (C) 2009 by Daniel Leidert
+<daniel.leidert at wgdd.de> and is licensed under the GPL,
+see `/usr/share/common-licenses/GPL'.

Copied: packages/dbtoepub/trunk/debian/dbtoepub.install (from r1413, packages/docbook-xsl/trunk/debian/docbook-xsl.install)
URL: http://svn.debian.org/wsvn/debian-xml-sgml/packages/dbtoepub/trunk/debian/dbtoepub.install?rev=1424&op=diff
==============================================================================
--- packages/docbook-xsl/trunk/debian/docbook-xsl.install (original)
+++ packages/dbtoepub/trunk/debian/dbtoepub.install Sun May 10 03:02:04 2009
@@ -1,24 +1,3 @@
-VERSION         usr/share/xml/docbook/stylesheet/docbook-xsl/
-
-common          usr/share/xml/docbook/stylesheet/docbook-xsl/
-eclipse         usr/share/xml/docbook/stylesheet/docbook-xsl/
-fo              usr/share/xml/docbook/stylesheet/docbook-xsl/
-highlighting    usr/share/xml/docbook/stylesheet/docbook-xsl/
-html            usr/share/xml/docbook/stylesheet/docbook-xsl/
-htmlhelp        usr/share/xml/docbook/stylesheet/docbook-xsl/
-images          usr/share/xml/docbook/stylesheet/docbook-xsl/
-javahelp        usr/share/xml/docbook/stylesheet/docbook-xsl/
-lib             usr/share/xml/docbook/stylesheet/docbook-xsl/
-manpages        usr/share/xml/docbook/stylesheet/docbook-xsl/
-profiling       usr/share/xml/docbook/stylesheet/docbook-xsl/
-roundtrip       usr/share/xml/docbook/stylesheet/docbook-xsl/
-slides          usr/share/xml/docbook/stylesheet/docbook-xsl/
-template        usr/share/xml/docbook/stylesheet/docbook-xsl/
-website         usr/share/xml/docbook/stylesheet/docbook-xsl/
-xhtml*          usr/share/xml/docbook/stylesheet/docbook-xsl/
-
-epub/*.xsl		usr/share/xml/docbook/stylesheet/docbook-xsl/epub/
-epub/bin/dbtoepub	usr/bin/
-epub/bin/lib/*		usr/lib/ruby/1.8/dbtoepub/
-
-debian/presubj  usr/share/bug/docbook-xsl
+*.xsl		usr/share/xml/docbook/stylesheet/docbook-xsl/epub/
+bin/dbtoepub	usr/bin/
+bin/lib/*	usr/lib/ruby/1.8/dbtoepub/

Copied: packages/dbtoepub/trunk/debian/get-orig-source.sh (from r1413, packages/docbook-xsl/trunk/debian/get-orig-source.sh)
URL: http://svn.debian.org/wsvn/debian-xml-sgml/packages/dbtoepub/trunk/debian/get-orig-source.sh?rev=1424&op=diff
==============================================================================
--- packages/docbook-xsl/trunk/debian/get-orig-source.sh (original)
+++ packages/dbtoepub/trunk/debian/get-orig-source.sh Sun May 10 03:02:04 2009
@@ -9,17 +9,13 @@
 
 WORKING_DIR=`dirname ${ORIG_TARBALL}`
 
-ORIG_TARBALL_DFSG=`echo ${ORIG_TARBALL} | sed -e "s/\(${UPSTREAM_VERSION}\)\(\.orig\)/\1+dfsg\2/g"`
-ORIG_TARBALL_DIR=`echo ${ORIG_TARBALL_DFSG} | sed -e "s/_\(${UPSTREAM_VERSION}\)/-\1/g" -e "s/\.tar\.gz//g"`
+ORIG_TARBALL_DIR=`echo ${ORIG_TARBALL} | sed -e "s/_\(${UPSTREAM_VERSION}\)/-\1/g" -e "s/\.tar\.gz//g"`
 ORIG_TARBALL_DIR_STRIP=`basename ${ORIG_TARBALL_DIR}`
-
-#[ -f ${REAL_TARBALL} ] || wget -P ${WORKING_DIR} \
-#    http://downloads.sourceforge.net/docbook/${REAL_TARBALL}
 
 mkdir -p ${ORIG_TARBALL_DIR}
 tar --directory=${ORIG_TARBALL_DIR} --strip 1 -xzf ${REAL_TARBALL} || exit 1 
 rm -f ${ORIG_TARBALL} ${REAL_TARBALL}
-rm -rf ${ORIG_TARBALL_DIR}/extensions/
-GZIP=-9 tar --remove-files --directory ${WORKING_DIR} -czf ${ORIG_TARBALL_DFSG} ${ORIG_TARBALL_DIR_STRIP} || exit 1
+rm -rf ${ORIG_TARBALL_DIR}/bin/spec/
+GZIP=-9 tar --remove-files --directory ${WORKING_DIR} -czf ${ORIG_TARBALL} ${ORIG_TARBALL_DIR_STRIP} || exit 1
 
 exit 0

Copied: packages/dbtoepub/trunk/debian/patches/514030_debianize_dbtoepub.dpatch (from r1413, packages/docbook-xsl/trunk/debian/patches/514030_debianize_dbtoepub.dpatch)
URL: http://svn.debian.org/wsvn/debian-xml-sgml/packages/dbtoepub/trunk/debian/patches/514030_debianize_dbtoepub.dpatch?rev=1424&op=diff
==============================================================================
--- packages/docbook-xsl/trunk/debian/patches/514030_debianize_dbtoepub.dpatch (original)
+++ packages/dbtoepub/trunk/debian/patches/514030_debianize_dbtoepub.dpatch Sun May 10 03:02:04 2009
@@ -16,9 +16,9 @@
 ## DP: <URL:http://bugs.debian.org/514030>
 
 @DPATCH@
-diff -urNad trunk~/epub/bin/dbtoepub trunk/epub/bin/dbtoepub
---- trunk~/epub/bin/dbtoepub	2008-07-09 20:01:02.000000000 +0200
-+++ trunk/epub/bin/dbtoepub	2009-02-20 16:41:16.000000000 +0100
+diff -urNad trunk~/bin/dbtoepub trunk/bin/dbtoepub
+--- trunk~/bin/dbtoepub	2009-04-05 01:13:24.000000000 +0200
++++ trunk/bin/dbtoepub	2009-05-10 04:54:44.000000000 +0200
 @@ -17,13 +17,10 @@
  #                                        layer (imports epub/docbook.xsl).
  #     -v, --verbose                    Make output verbose.
@@ -34,9 +34,9 @@
  
  verbose = false
  debug = false
-diff -urNad trunk~/epub/bin/lib/docbook.rb trunk/epub/bin/lib/docbook.rb
---- trunk~/epub/bin/lib/docbook.rb	2009-02-03 19:30:11.000000000 +0100
-+++ trunk/epub/bin/lib/docbook.rb	2009-02-20 16:43:17.000000000 +0100
+diff -urNad trunk~/bin/lib/docbook.rb trunk/bin/lib/docbook.rb
+--- trunk~/bin/lib/docbook.rb	2009-05-09 19:06:45.000000000 +0200
++++ trunk/bin/lib/docbook.rb	2009-05-10 04:54:44.000000000 +0200
 @@ -1,17 +1,19 @@
  require 'fileutils'
  require 'rexml/parsers/pullparser'
@@ -69,12 +69,12 @@
        
        if customization_layer
          @stylesheet = File.expand_path(customization_layer)
-diff -urNad trunk~/epub/docbook.xsl trunk/epub/docbook.xsl
---- trunk~/epub/docbook.xsl	2009-02-17 05:53:45.000000000 +0100
-+++ trunk/epub/docbook.xsl	2009-02-20 16:40:24.000000000 +0100
-@@ -10,9 +10,9 @@
-   extension-element-prefixes="stext xtext"
-   exclude-result-prefixes="exsl db ng dc stext xtext">
+diff -urNad trunk~/docbook.xsl trunk/docbook.xsl
+--- trunk~/docbook.xsl	2009-05-07 03:03:07.000000000 +0200
++++ trunk/docbook.xsl	2009-05-10 04:54:44.000000000 +0200
+@@ -17,9 +17,9 @@
+ 
+   version="1.0">
  
 -  <xsl:import href="../xhtml-1_1/docbook.xsl" />
 -  <xsl:import href="../xhtml-1_1/chunk-common.xsl" />

Added: packages/dbtoepub/trunk/debian/rules
URL: http://svn.debian.org/wsvn/debian-xml-sgml/packages/dbtoepub/trunk/debian/rules?rev=1424&op=file
==============================================================================
--- packages/dbtoepub/trunk/debian/rules (added)
+++ packages/dbtoepub/trunk/debian/rules Sun May 10 03:02:04 2009
@@ -1,0 +1,44 @@
+#!/usr/bin/make -f
+#
+# export DH_VERBOSE=1
+
+PACKAGE = dbtoepub
+
+include /usr/share/dpatch/dpatch.make
+
+build: build-stamp
+build-stamp: patch-stamp
+	dh_testdir
+	touch $@
+
+clean: unpatch
+	dh_testdir
+	dh_testroot
+	dh_clean build-stamp patch-stamp
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+
+binary-arch: build install
+binary-indep: build install
+	dh_testdir
+	dh_testroot
+	dh_install
+	dh_installchangelogs
+	dh_installdocs
+	dh_installman debian/dbtoepub.1
+	chmod 644 $(CURDIR)/debian/$(PACKAGE)/usr/lib/ruby/1.8/dbtoepub/docbook.rb
+	dh_link
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+
+.PHONY: binary binary-arch binary-indep build clean

Propchange: packages/dbtoepub/trunk/debian/rules
------------------------------------------------------------------------------
    svn:executable = *

Added: packages/dbtoepub/trunk/debian/watch
URL: http://svn.debian.org/wsvn/debian-xml-sgml/packages/dbtoepub/trunk/debian/watch?rev=1424&op=file
==============================================================================
--- packages/dbtoepub/trunk/debian/watch (added)
+++ packages/dbtoepub/trunk/debian/watch Sun May 10 03:02:04 2009
@@ -1,0 +1,4 @@
+version=3
+opts=uversionmangle=s/^/0+svn/,downloadurlmangle=s/\?view.*$/\/trunk\/xsl\/epub.tar.gz\?view=tar/,filenamemangle=s/^.*revision=(\d+)$/epub-0+svn$1.tar.gz/ \
+ http://xmds.svn.sourceforge.net/viewvc/docbook/trunk/xsl/epub/ .*revision=(\d+)$ \
+ debian /bin/sh debian/get-orig-source.sh




More information about the debian-xml-sgml-commit mailing list