r36543 - in /packages/liborigin2/trunk/debian: changelog control patches/01_build.diff rules

gudjon-guest at users.alioth.debian.org gudjon-guest at users.alioth.debian.org
Sat May 22 20:16:01 UTC 2010


Author: gudjon-guest
Date: Sat May 22 20:15:51 2010
New Revision: 36543

URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=36543
Log:
New svn version that doesn't depend on QtCore. Added get-orig-source target to rules file but the package build doesn't work.

Modified:
    packages/liborigin2/trunk/debian/changelog
    packages/liborigin2/trunk/debian/control
    packages/liborigin2/trunk/debian/patches/01_build.diff
    packages/liborigin2/trunk/debian/rules

Modified: packages/liborigin2/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/debian-science/packages/liborigin2/trunk/debian/changelog?rev=36543&op=diff
==============================================================================
--- packages/liborigin2/trunk/debian/changelog (original)
+++ packages/liborigin2/trunk/debian/changelog Sat May 22 20:15:51 2010
@@ -1,4 +1,4 @@
-liborigin2 (1:30042010~r1705-1) unstable; urgency=low
+liborigin2 (1:06042009-1+svn1724) unstable; urgency=low
 
   * New SVN version
   * Move package from collab-maint to debian-science
@@ -9,9 +9,11 @@
   * Install target has been removed by upstream. Changing
     liborigin2-*.install to fix it
   * Bump dephelper dependency to (>= 7.0.50~)
-  * Add patch 01_build.diff
+  * Add get-orig-source target
+  * Add patch 01_build
+  * Remove build dependency on libboost-thread-dev
 
- -- Gudjon I. Gudjonsson <gudjon at gudjon.org>  Fri, 14 May 2010 09:14:29 +0200
+ -- Gudjon I. Gudjonsson <gudjon at gudjon.org>  Sat, 22 May 2010 22:07:40 +0200
 
 liborigin2 (1:06042009-1) unstable; urgency=low
 

Modified: packages/liborigin2/trunk/debian/control
URL: http://svn.debian.org/wsvn/debian-science/packages/liborigin2/trunk/debian/control?rev=36543&op=diff
==============================================================================
--- packages/liborigin2/trunk/debian/control (original)
+++ packages/liborigin2/trunk/debian/control Sat May 22 20:15:51 2010
@@ -4,7 +4,7 @@
 Maintainer: Gudjon I. Gudjonsson <gudjon at gudjon.org>
 Uploaders: Fathi Boudra <fabo at debian.org>
 Build-Depends: debhelper (>= 7.0.50~), quilt, libqt4-dev,
- libboost-date-time-dev, libboost-thread-dev
+ libboost-date-time-dev
 Standards-Version: 3.8.4
 Homepage: http://soft.proindependent.com/liborigin2/
 Vcs-Svn: svn://svn.debian.org/svn/debian-science/packages/liborigin2/trunk/

Modified: packages/liborigin2/trunk/debian/patches/01_build.diff
URL: http://svn.debian.org/wsvn/debian-science/packages/liborigin2/trunk/debian/patches/01_build.diff?rev=36543&op=diff
==============================================================================
--- packages/liborigin2/trunk/debian/patches/01_build.diff (original)
+++ packages/liborigin2/trunk/debian/patches/01_build.diff Sat May 22 20:15:51 2010
@@ -6,7 +6,7 @@
  
  DESTDIR      = ./
  
-+QT          -= gui
++QT          -= gui core
 +
  #INCLUDEPATH += boost_1_33_0
  LIBS        += -lboost_date_time

Modified: packages/liborigin2/trunk/debian/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/liborigin2/trunk/debian/rules?rev=36543&op=diff
==============================================================================
--- packages/liborigin2/trunk/debian/rules (original)
+++ packages/liborigin2/trunk/debian/rules Sat May 22 20:15:51 2010
@@ -11,3 +11,20 @@
 
 override_dh_install:
 	dh_install --list-missing
+
+get-orig-source:
+	REV=$(shell dpkg-parsechangelog | sed -rne 's,^Version: .*svn([0-9]+).*,\1,p'); \
+	VER=$(shell dpkg-parsechangelog | sed -rne 's,^Version: .*1:([^-+~]+).*,\1,p'); \
+	if [ x$$REV = x ]; then \
+	 wget http://download.berlios.de/qtiplot/liborigin2-$$VER.zip; \
+	 unzip liborigin2-$$VER.zip; \
+	 tar czf liborigin2_$$VER.orig.tar.gz liborigin2-$$VER; \
+	 rm -f liborigin2-$$VER.zip; \
+	 rm -rf liborigin2-$$VER; \
+	else \
+	 svn checkout http://svn.berlios.de/svnroot/repos/qtiplot/trunk/3rdparty/liborigin liborigin2-$$VER\+svn$$REV && (\
+	 find liborigin2-$$VER\+svn$$REV -type f -exec chmod a-x {} \; ;\
+	 find liborigin2-$$VER\+svn$$REV -name '.svn' -exec rm -rf {} \; ; \
+	 tar -zcf ./liborigin2_$$VER\+svn$$REV.orig.tar.gz liborigin2-$$VER\+svn$$REV;\
+	 rm -rf liborigin2-$$VER\+svn$$REV; );\
+	fi




More information about the debian-science-commits mailing list