[Pkg-tcltk-commits] r622 - tdom/trunk/debian
sgolovan-guest at alioth.debian.org
sgolovan-guest at alioth.debian.org
Sun Jun 1 11:30:46 UTC 2008
Author: sgolovan-guest
Date: 2008-06-01 11:30:45 +0000 (Sun, 01 Jun 2008)
New Revision: 622
Added:
tdom/trunk/debian/checkout
Modified:
tdom/trunk/debian/changelog
tdom/trunk/debian/control
tdom/trunk/debian/rules
Log:
[tdom]
Moved homepage field to a source package.
Moved tdom.tcl to /usr/lib from /usr/share.
Added 'tcl' suffix to manpages.
Made get-orig-source target in debian/rules fetching sources from CVS.
Added two missed changelog entries (0.7.8-1 and 0.7.8-2).
Merged changelog entries for 0.8.3~20080525-1 and 0.8.3~20080525-2.
Modified: tdom/trunk/debian/changelog
===================================================================
--- tdom/trunk/debian/changelog 2008-05-28 12:03:59 UTC (rev 621)
+++ tdom/trunk/debian/changelog 2008-06-01 11:30:45 UTC (rev 622)
@@ -1,18 +1,8 @@
-tdom (0.8.3~20080525-2) unstable; urgency=medium
+tdom (0.8.3~20080525-1) unstable; urgency=low
- * Adding support for shared expat (--with-expat configure flag, cross-
- compatibility for expat 1.95.* and 2.*), captured in
- debian/patches/shared-expat.dpatch
- * New maintainer (Closes: #471522)
- * New upstream release (Closes: #413841)
- * Slight package renaming to reflect its origin as CVS snapshot:
- 0.8.3~20080525
-
- -- Stefan Sobernig <stefan.sobernig at wu-wien.ac.at> Fri, 23 May 2008 14:40:59 +0200
-
-tdom (0.8.3~20080525-1) UNRELEASED; urgency=low
-
- * New upstream release, based on CVS export of unreleased 0.8.3 version from cvs.tdom.org
+ * New maintainer (closes: #471522)
+ * New upstream release, based on CVS export of unreleased 0.8.3 version
+ from cvs.tdom.org (closes: #413841)
* Fixing clean target in debian/rules, turning it less verbose and
making call to upstream distclean target conditional
* Generalised build dependencies in source package to tcl-dev and
@@ -21,9 +11,11 @@
* Adding a dedicated tdom-dev binary package
* Fixed description of tdom binary package
* Added missing debian/control information
- * Set Maintainer to Avni Khatri and Carl Blesius
+ * Adding support for shared expat (--with-expat configure flag, cross-
+ compatibility for expat 1.95.* and 2.*), captured in
+ debian/patches/shared-expat.dpatch
- -- Stefan Sobernig <stefan.sobernig at wu-wien.ac.at> Sun, 27 Apr 2008 22:18:26 +0200
+ -- Stefan Sobernig <stefan.sobernig at wu-wien.ac.at> Sun, 01 Jun 2008 14:30:55 +0400
tdom (0.7.8-5) unstable; urgency=low
@@ -57,4 +49,15 @@
-- David N. Welton <davidw at debian.org> Wed, 4 Feb 2004 11:11:03 +0100
-tdom (0.7.8-2)
+tdom (0.7.8-2) unstable; urgency=low
+
+ * Removed debian doc system file which was creating problems.
+
+ -- David N. Welton <davidw at debian.org> Mon, 26 Jan 2004 22:13:25 +0100
+
+tdom (0.7.8-1) unstable; urgency=low
+
+ * Initial Release.
+
+ -- David N. Welton <davidw at debian.org> Mon, 26 Jan 2004 19:38:53 +0100
+
Added: tdom/trunk/debian/checkout
===================================================================
--- tdom/trunk/debian/checkout (rev 0)
+++ tdom/trunk/debian/checkout 2008-06-01 11:30:45 UTC (rev 622)
@@ -0,0 +1,26 @@
+#!/usr/bin/expect
+
+switch -- [llength $argv] {
+ 0 {
+ set date "now"
+ set dir .
+ }
+ 1 {
+ set date "now"
+ set dir [lindex $argv 0]
+ }
+ default {
+ set date [clock format [expr {[clock scan [lindex $argv 1]] + 24*60*60}] -format %Y%m%dT%H:%M:%S]
+ set dir [lindex $argv 0]
+ }
+}
+
+cd $dir
+
+set cvsroot ":pserver:anonymous at cvs.tdom.org:/usr/local/pubcvs"
+spawn cvs -q -d$cvsroot login
+expect -re "assword: "
+send "\r"
+system "cvs -q -d$cvsroot -z9 co -D \"$date\" tdom"
+system "cvs -q -d$cvsroot logout"
+
Modified: tdom/trunk/debian/control
===================================================================
--- tdom/trunk/debian/control 2008-05-28 12:03:59 UTC (rev 621)
+++ tdom/trunk/debian/control 2008-06-01 11:30:45 UTC (rev 622)
@@ -5,6 +5,7 @@
Uploaders: Hector Romojaro <hromojaro at dia.uned.es>, Stefan Sobernig <stefan.sobernig at wu-wien.ac.at>, Avni Khatri and Carl Blesius <tdom at blesius.org>
Build-Depends: debhelper (>= 5), autotools-dev, tcl-dev (>= 8.4), dpatch, libexpat1-dev
Standards-Version: 3.7.3
+Homepage: http://www.tdom.org
Vcs-Svn: svn://svn.debian.org/viewsvn/pkg-tcltk/tdom/
Vcs-Browser: http://svn.debian.org/viewsvn/pkg-tcltk/tdom/
@@ -12,7 +13,6 @@
Architecture: any
Section: libs
Depends: tcl (>=8.4), ${shlibs:Depends}, ${misc:Depends}
-Homepage: http://www.tdom.org
Description: A fast XML/DOM/XPath/XSLT extension for Tcl written in C
tDOM takes advantage of the newest version of Expat, the XML parser
from James Clark, including namesspace and DTD support. It
@@ -31,6 +31,5 @@
Priority: optional
Architecture: any
Depends: tdom (= ${binary:Version})
-Homepage: http://www.tdom.org/
Description: A fast XML/DOM/XPath/XSLT extension for Tcl written in C - development files
Header files and static libraries for libtdom.
Modified: tdom/trunk/debian/rules
===================================================================
--- tdom/trunk/debian/rules 2008-05-28 12:03:59 UTC (rev 621)
+++ tdom/trunk/debian/rules 2008-06-01 11:30:45 UTC (rev 622)
@@ -77,19 +77,13 @@
# ( cd unix/ ; $(MAKE) install DESTDIR=$(CURDIR)/debian/tdom/ )
( cd unix/ ; $(MAKE) install )
- # move tdom.tcl and fix pkgIndex.tcl
- install -d -m 755 -o root -g root $(CURDIR)/debian/tdom/usr/share/tcltk/tdom$(VERSION)
- mv $(ARCH_DEPENDENT)/tdom$(VERSION)/tdom.tcl $(CURDIR)/debian/tdom/usr/share/tcltk/tdom$(VERSION)
-
- perl -i -p -e "s|\\\$$dir tdom.tcl|/usr/share/tcltk/tdom$(VERSION) tdom.tcl|g" $(ARCH_DEPENDENT)/tdom$(VERSION)/pkgIndex.tcl
-
# fix man pages (mann > man3)
mv $(CURDIR)/debian/tdom/usr/share/man/mann \
$(CURDIR)/debian/tdom/usr/share/man/man3
(cd $(CURDIR)/debian/tdom/usr/share/man/man3 && \
for f in ./*; do \
- f2=$$(echo $$f | sed -e 's/\.n/\.3/'); \
- cat $$f | sed -e 's/^\.TH \([^ ]\+\|"[^"]\+"\) n/.TH \1 3/' > $$f2; \
+ f2=$$(echo $$f | sed -e 's/\.n/\.3tcl/'); \
+ cat $$f | sed -e 's/^\.TH \([^ ]\+\|"[^"]\+"\) n/.TH \1 3tcl/' > $$f2; \
rm $$f; \
done)
# tdom-dev
@@ -97,21 +91,21 @@
# cp -R $(TARGET)/usr/include/tdom/* $(DEV)/usr/include/tdom
# move and fix tdomConfig.sh
- install -d -m 755 -o root -g root $(DEV)/usr/share/tcltk/tdom$(VERSION)
- mv $(ARCH_DEPENDENT)/tdomConfig.sh $(DEV)/usr/share/tcltk/tdom$(VERSION)/
+ install -d -m 755 -o root -g root $(DEV)/usr/lib/tcltk/tdom$(VERSION)
+ mv $(ARCH_DEPENDENT)/tdomConfig.sh $(DEV)/usr/lib/tcltk/tdom$(VERSION)/
perl -i -p \
-e "s|^(TDOM_BUILD_STUB_LIB_SPEC)=.*$$|\1='-L/usr/lib/tcltk/tdom$(VERSION) -ltdomstub$(VERSION)'|;" \
-e "s|^(TDOM_BUILD_STUB_LIB_PATH)=.*$$|\1='/usr/lib/tcltk/tdom$(VERSION)/libtdomstub$(VERSION).a'|;" \
-e "s|^(TDOM_STUB_LIB_SPEC)=.*$$|\1='-L/usr/lib/tcltk/tdom$(VERSION) -ltdomstub$(VERSION)'|;" \
-e "s|^(TDOM_STUB_LIB_PATH)=.*$$|\1='/usr/lib/tcltk/tdom$(VERSION)/libtdomstub$(VERSION).a'|;" \
- $(DEV)/usr/share/tcltk/tdom$(VERSION)/tdomConfig.sh
+ $(DEV)/usr/lib/tcltk/tdom$(VERSION)/tdomConfig.sh
install -d -m 755 -o root -g root $(DEV)/usr/lib/tcltk/tdom$(VERSION)
# `- provide symlinks
(cd $(DEV)/usr/lib; \
- ln -sf ../share/tcltk/tdom$(VERSION)/tdomConfig.sh;)
+ ln -sf ../lib/tcltk/tdom$(VERSION)/tdomConfig.sh;)
# move tDOM stub library
mv $(ARCH_DEPENDENT)/tdom$(VERSION)/*.a $(DEV)/usr/lib/tcltk/tdom$(VERSION)/
@@ -151,10 +145,24 @@
dh_md5sums
dh_builddeb
-get-orig-source:
- wget -O tdom_0.8.3~20080525.orig.tar.gz \
- http://openacs.org/xowiki/file/tdom_0%2e8%2e3%2eorig%2etar%2egz?m=download
+version=0.8.3
+cvsdate=20080525
+get-orig-source: get-orig-source-cvs
+get-orig-source-cvs:
+ CURDIR=$$(pwd) && \
+ TMPDIR=$$(mktemp -d /tmp/tdom.XXXXXX) && \
+ SCRDIR=$$(dirname $$(echo $(MAKEFILE_LIST) | cut -f 1 -d ' ')) && \
+ expect $$SCRDIR/checkout $$TMPDIR "$(cvsdate)T23:59:59" && \
+ find $$TMPDIR -name CVS -print | xargs rm -rf && \
+ cd $$TMPDIR && \
+ tar -zcf $$CURDIR/tdom_$(version)~$(cvsdate).orig.tar.gz . && \
+ rm -rf $$TMPDIR
+
+get-orig-source-release:
+ wget -O tdom_0.8.2.orig.tar.gz \
+ http://www.tdom.org/files/tDOM-0.8.2.tgz
+
binary: binary-arch
.PHONY: build clean binary-arch binary install get-orig-source
More information about the Pkg-tcltk-commits
mailing list