[SCM] Repository for the KDE Debconf access library. branch, master, updated. debian/0.2-2-17-g9d879d0
Matthias Klumpp
ximion-guest at alioth.debian.org
Mon Jul 15 01:20:10 UTC 2013
Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/debconf-kde.git;a=commitdiff;h=9d879d0
The following commit has been merged in the master branch:
commit 9d879d0a7adc66fbd69719c7174e264a81fd0ca3
Author: Matthias Klumpp <matthias at tenstral.net>
Date: Mon Jul 15 03:19:11 2013 +0200
Remove get-orig-source stuff, has been superseded
---
debian/rules | 35 -----------------------------------
1 file changed, 35 deletions(-)
diff --git a/debian/rules b/debian/rules
index 95611ef..68a6f5e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,42 +1,7 @@
#!/usr/bin/make -f
-export DH_ALWAYS_EXCLUDE = .git
-
-# Stuff for get-orig-source.
-# Getting the revision numbers according to debian/changelog, the HARD way.
-upstream_version := $(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)-.*//p')
-isodate := $(shell dpkg-parsechangelog | sed -ne 's/^Version.*git\(.*\)-.*//p')
-unixdate := $(shell date -d $(isodate) +%s)
-# Add 24 hours to the Unix time.
-unixdate := $(shell expr $(unixdate) + 86400 )
-
%:
dh $@ --parallel --with kde --dbg-package=debconf-kde-dbg
override_dh_install:
dh_install --list-missing
-
-get-orig-source:
- # Cleaning up
- rm -rf debconf-kde-$(upstream_version)
- rm -f ../debconf-kde_$(upstream_version).orig.tar.gz
-
- # Download the latest Git revision and downgrade it to $(isodate).
- git clone git://anongit.kde.org/libdebconf-kde debconf-kde-$(upstream_version)
- cd debconf-kde-$(upstream_version) && git reset --hard $(shell cd debconf-kde-$(upstream_version) && \
- git rev-list --all -n 1 --before=$(unixdate))
-
- # Fetch translations from KDE SVN
- mkdir -p debconf-kde-$(upstream_version)/po
- cd debconf-kde-$(upstream_version)/po; svn export svn://anonsvn.kde.org/home/kde/trunk/l10n-kde4/subdirs
- cd debconf-kde-$(upstream_version)/po; for asdf in `cat subdirs`; do mkdir -p $${asdf}; done
- cd debconf-kde-$(upstream_version)/po; for asdf in `cat subdirs`; do echo $${asdf}; cd $${asdf}; svn export svn://anonsvn.kde.org/home/kde/trunk/l10n-kde4/$${asdf}/messages/extragear-sysadmin/libdebconf-kde.po; cd ..; done
- cd debconf-kde-$(upstream_version)/po; rm subdirs; rmdir --ignore-fail-on-non-empty */
- cd debconf-kde-$(upstream_version) && git add ./po && git commit -m "Included translations"
-
- # Make a pristine package.
- mkdir -p ../origtar/
- cd debconf-kde-$(upstream_version) && git archive --format=tar --prefix=debconf-kde-$(upstream_version)/ master | gzip -9 --no-name > \
- ../../origtar/debconf-kde_$(upstream_version).orig.tar.gz
- # Remove temporary workspace
- rm -rf debconf-kde-$(upstream_version)
--
Repository for the KDE Debconf access library.
More information about the pkg-kde-commits
mailing list