[SCM] Debian Qt/KDE packaging tools branch, experimental, updated. debian/0.15.3-3-g18642f1
José Manuel Santamaría Lema
santa-guest at alioth.debian.org
Sat Feb 2 23:27:24 UTC 2013
Gitweb-URL: http://git.debian.org/?p=pkg-kde/pkg-kde-tools.git;a=commitdiff;h=07c890c
The following commit has been merged in the experimental branch:
commit 07c890ca1017964c99ed1d4d46725fa08a04c954
Author: José Manuel Santamaría Lema <panfaust at gmail.com>
Date: Sat Feb 2 23:47:49 2013 +0100
Add pkgkde-sort-install.
---
CMakeLists.txt | 1 +
debian/changelog | 2 ++
debian/pkg-kde-tools.install | 1 +
pkgkde-sortinstall | 10 ++++++++++
4 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c903938..0ea5f08 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -75,6 +75,7 @@ install(PROGRAMS
pkgkde-gensymbols
pkgkde-getbuildlogs
pkgkde-override-sc-dev-latest
+ pkgkde-sortinstall
pkgkde-symbolshelper
pkgkde-vcs
pkgkde-git
diff --git a/debian/changelog b/debian/changelog
index 3f29d27..6446b31 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,8 @@ pkg-kde-tools (0.15.4~pre1) UNRELEASED; urgency=low
* Add makefiles/1/list-missing.mk; this file is meant to provide the useful
list-missing and check-not-installed targets for kde-extras packages which
are using dh.
+ * Add pkgkde-sortinstall script, it's meant to help sorting debian/*.install
+ files.
-- José Manuel Santamaría Lema <panfaust at gmail.com> Mon, 10 Sep 2012 10:09:02 +0200
diff --git a/debian/pkg-kde-tools.install b/debian/pkg-kde-tools.install
index 7764558..0e5dcb0 100644
--- a/debian/pkg-kde-tools.install
+++ b/debian/pkg-kde-tools.install
@@ -6,6 +6,7 @@ usr/bin/pkgkde-gensymbols
usr/bin/pkgkde-getbuildlogs
usr/bin/pkgkde-git
usr/bin/pkgkde-override-sc-dev-latest
+usr/bin/pkgkde-sortinstall
usr/bin/pkgkde-symbolshelper
usr/bin/pkgkde-vcs
usr/share/man/man1/dh_movelibkdeinit.1
diff --git a/pkgkde-sortinstall b/pkgkde-sortinstall
new file mode 100755
index 0000000..2b17e00
--- /dev/null
+++ b/pkgkde-sortinstall
@@ -0,0 +1,10 @@
+#!/bin/sh
+# simply sorts all files given on the command line
+
+for file in "$@"
+do
+ TMPFILE=`mktemp`
+ LANG=C sort -u ${file} > ${TMPFILE}
+ mv ${TMPFILE} ${file}
+ rm -f ${TMPFILE}
+done
--
Debian Qt/KDE packaging tools
More information about the pkg-kde-commits
mailing list