diff options
author | Timothy Pearson <[email protected]> | 2012-09-10 16:13:23 -0500 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2012-09-10 16:13:23 -0500 |
commit | 05a59ddb0228494ba27bacbe7d391f06725b0689 (patch) | |
tree | 7c028104ac86c3b1e43ea3584528939bd8802426 /debian/wheezy/applications/knemo | |
parent | a3210d42cfc1a2eb722dd85b0ddac0a2177f26ab (diff) | |
download | tde-packaging-05a59ddb0228494ba27bacbe7d391f06725b0689.tar.gz tde-packaging-05a59ddb0228494ba27bacbe7d391f06725b0689.zip |
Split wheezy off of squeeze
Diffstat (limited to 'debian/wheezy/applications/knemo')
16 files changed, 897 insertions, 0 deletions
diff --git a/debian/wheezy/applications/knemo/debian/README.Debian b/debian/wheezy/applications/knemo/debian/README.Debian new file mode 100644 index 000000000..b0302c211 --- /dev/null +++ b/debian/wheezy/applications/knemo/debian/README.Debian @@ -0,0 +1,107 @@ +Debian kde-extras Team +---------------------- + +1. Contacts +----------- + +General help requests + <[email protected]> mailing list + #debian-kde on irc + +Packaging queries + <[email protected]> mailing list + #debian-qt-kde on irc + +Maintainers + <[email protected]> mailing list + + +2. Subversion repository +------------------------ + +You can browse it only at: + +http://svn.debian.org/wsvn/pkg-kde/kde-extras/ + +To "checkout" the repository use these commands: + + $ svn co svn+ssh://${ALIOTH_USERNAME}@svn.debian.org/svn/pkg-kde/kde-extras + +Authorized SSH keys are controlled at https://alioth.debian.org/account/ + +The repository layout is: + +- packagename/ +� � - trunk/ +� � - branches/ +� � - tags/ +��������- 0.7.2-1/ +��������- 0.7.2-2/ +��������- 0.7.2-2ubuntu1/ +��������- 0.7.2-2ubuntu2/ +��������- 0.7.2-2ubuntu3/ +��������- 0.8.0/ +��������... + +If only one version of the package is available at the time, development must +be made at trunk/ dir, copying the dir to tags/'pkg-version' each time a new +release is made. + +When, at some point, the need to have two different versions at the same time +arises (for example, if we need a version to be in unstable and a different one +to be in experimental), experimental development will be made in trunk/ and +if a new unstable package needs to be cooked, copying +tag/'latest_version_in_sid' to tag/'latest_version_in_sid'+1 will make the +trick. + +3. Using svn-buildpackage +-------------------------- + +Packages with an upstream tarball will require you to set the mergeWithUpstream +property first (from the package root) so that svn-buildpackage will look for +the .orig.tar.gz in the ../tarballs directory. + + % svn propset mergeWithUpstream 1 debian + +Please note that this only works for packages which have only the debian/ +directory committed. Consequently, you must use CDBS's simple-patchsys.mk or +dpatch to modify the upstream sources. + +After you have finished and committed your Debian patches via + + % svn commit [PACKAGE] + +as well as copying the orig.tar.gz to ../tarballs/ if necessary, you may build +your package with the following commands: + + % svn-buildpackage --svn-ignore-new -rfakeroot + +Please, don't commit tarballs/ or build-area/ directories to SVN. + +4. Tarballs and Build-area directories +------------------------------------ + +During pkg development before uploaded to debian the tarballs can be found at: + + http://pkg-kde.alioth.debian.org/kde-extra/orig.tar.gz/ + +You need to place those dirs in the parent directory of the one from which you're +running svn-buildpackage. Usually this means placing tarballs/ and build-area/ dirs +in 'pkgname'/ dir, at the same level as trunk/ + +If you want to compile inside one version in tags/ dir, you'll need to place those +dirs inside that dir. Of course the easiest and cleanest way of doing it is +by making a symlink of those dirs inside tags/ dir. + +5. Using svn-inject +------------------- + +To inject a new package into the Debian KDE Extras svn archive you should use svn-inject(1) +as follows: + + svn-inject -o <package>.dsc svn+ssh://${ALIOTH_USERNAME}@svn.debian.org/svn/pkg-kde/kde-extras + +Type in your alioth password a few hundred times :-) and your package should be +uploaded to the archive. Note you will also need to manually copy the +package.orig.tar.gz to your tarballs directory. The -o option is important as +this ensures that we 'Only keep modified files under SVN control' diff --git a/debian/wheezy/applications/knemo/debian/cdbs/buildvars.mk b/debian/wheezy/applications/knemo/debian/cdbs/buildvars.mk new file mode 100644 index 000000000..23d4709dc --- /dev/null +++ b/debian/wheezy/applications/knemo/debian/cdbs/buildvars.mk @@ -0,0 +1,86 @@ +# -*- mode: makefile; coding: utf-8 -*- +# Copyright © 2002,2003 Colin Walters <[email protected]> +# Description: Defines some useful variables, but no rules +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2, or (at +# your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA +# 02111-1307 USA. + +_cdbs_scripts_path ?= /usr/lib/cdbs +_cdbs_rules_path ?= /usr/share/cdbs/1/rules +_cdbs_class_path ?= /usr/share/cdbs/1/class + +ifndef _cdbs_rules_buildvars +_cdbs_rules_buildvars = 1 + +CDBS_VERSION = something + +# Common useful variables +DEB_SOURCE_PACKAGE := $(strip $(shell egrep '^Source: ' debian/control | cut -f 2 -d ':')) +DEB_VERSION := $(shell dpkg-parsechangelog | egrep '^Version:' | cut -f 2 -d ' ') +DEB_NOEPOCH_VERSION := $(shell echo $(DEB_VERSION) | cut -d: -f2-) +DEB_UPSTREAM_VERSION := $(shell echo $(DEB_NOEPOCH_VERSION) | sed 's/-[^-]*$$//') +DEB_ISNATIVE := $(shell dpkg-parsechangelog | egrep '^Version:' | perl -ne 'print if not /^Version:\s*.*-/;') + +# Split into arch/indep packages +ifneq ($(DEB_INDEP_PACKAGES),cdbs) +DEB_INDEP_PACKAGES := $(filter-out $(DONT_BUILD), $(strip $(shell $(_cdbs_scripts_path)/list-packages indep))) +DEB_ARCH_PACKAGES := $(filter-out $(DONT_BUILD), $(filter-out $(DEB_INDEP_PACKAGES),$(strip $(shell $(_cdbs_scripts_path)/list-packages same)))) +endif +# Split into normal and udeb packages +ifeq ($(DEB_UDEB_PACKAGES),) +DEB_PACKAGES = $(filter-out $(DONT_BUILD), $(filter-out %-udeb, $(DEB_ARCH_PACKAGES) $(DEB_INDEP_PACKAGES))) +DEB_UDEB_PACKAGES = $(filter-out $(DONT_BUILD),$(filter %-udeb, $(DEB_ARCH_PACKAGES) $(DEB_INDEP_PACKAGES))) +else +DEB_PACKAGES = $(filter-out $(DONT_BUILD), $(filter-out $(DEB_UDEB_PACKAGES), $(DEB_ARCH_PACKAGES) $(DEB_INDEP_PACKAGES))) +endif +# Too much bother for now. If someone complains we'll fix it. +#DEB_ARCH_UDEB_PACKAGES = $(filter %-udeb, $(DEB_ARCH_PACKAGES)) +#DEB_INDEP_UDEB_PACKAGES = $(filter %-udeb, $(DEB_INDEP_PACKAGES)) +# A handy list of every package, udeb or not +DEB_ALL_PACKAGES = $(filter-out $(DONT_BUILD),$(DEB_PACKAGES) $(DEB_UDEB_PACKAGES)) +DEB_INDEP_REGULAR_PACKAGES = $(filter-out $(DONT_BUILD), $(filter-out $(DEB_UDEB_PACKAGES),$(DEB_INDEP_PACKAGES))) +DEB_ARCH_REGULAR_PACKAGES = $(filter-out $(DONT_BUILD), $(filter-out $(DEB_UDEB_PACKAGES),$(DEB_ARCH_PACKAGES))) + +DEB_DBG_PACKAGES = $(filter-out $(DONT_BUILD), $(filter %-dbg, $(DEB_ARCH_PACKAGES) $(DEB_INDEP_PACKAGES))) + +# Some support for srcdir != builddir builds. +# These are relative to the root of the package +DEB_SRCDIR ?= . +DEB_BUILDDIR ?= $(strip $(DEB_SRCDIR)) + +# Miscellaneous bits +DEB_ARCH = $(shell dpkg --print-architecture) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_HOST_GNU_SYSTEM ?= $(shell dpkg-architecture -qDEB_HOST_GNU_SYSTEM) +DEB_HOST_GNU_CPU ?= $(shell dpkg-architecture -qDEB_HOST_GNU_CPU) +DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH) +DEB_HOST_ARCH_CPU ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_CPU) +DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) +DEB_BUILD_GNU_SYSTEM ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_SYSTEM) +DEB_BUILD_GNU_CPU ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_CPU) +DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH) +DEB_BUILD_ARCH_CPU ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH_CPU) +DEB_BUILD_ARCH_OS ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH_OS) + +ifeq ($(words $(DEB_ALL_PACKAGES)),1) + DEB_DESTDIR = $(CURDIR)/debian/$(strip $(DEB_ALL_PACKAGES))/ +else + DEB_DESTDIR = $(CURDIR)/debian/tmp/ +endif + +CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), cdbs (>= 0.4.23-1.1) + +endif diff --git a/debian/wheezy/applications/knemo/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/applications/knemo/debian/cdbs/debian-qt-kde.mk new file mode 100644 index 000000000..311dc059d --- /dev/null +++ b/debian/wheezy/applications/knemo/debian/cdbs/debian-qt-kde.mk @@ -0,0 +1,109 @@ +ifndef _cdbs_bootstrap +_cdbs_scripts_path ?= /usr/lib/cdbs +_cdbs_rules_path ?= /usr/share/cdbs/1/rules +_cdbs_class_path ?= /usr/share/cdbs/1/class +endif + +ifndef _cdbs_class_debian-qt-kde +_cdbs_class_debian-qt-kde := 1 + +# Note: This _must_ be included before autotools.mk, or it won't work. +common-configure-arch common-configure-indep:: debian/stamp-cvs-make +debian/stamp-cvs-make: + cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in + cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh + $(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist; + touch debian/stamp-cvs-make + +include debian/cdbs/kde.mk$(_cdbs_makefile_suffix) +include debian/cdbs/uploaders.mk + +DEB_PATCHDIRS := debian/patches/common debian/patches + +DEB_KDE_ENABLE_FINAL := yes +DEB_INSTALL_DOCS_ALL := + +DEB_DH_MAKESHLIBS_ARGS_ALL := -V +DEB_SHLIBDEPS_INCLUDE = $(foreach p,$(PACKAGES_WITH_LIBS),debian/$(p)/usr/lib) + +ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + cdbs_treat_me_gently_arches := arm m68k alpha ppc64 armel armeb + ifeq (,$(filter $(DEB_HOST_ARCH_CPU),$(cdbs_treat_me_gently_arches))) + cdbs_kde_enable_final = $(if $(DEB_KDE_ENABLE_FINAL),--enable-final,) + else + cdbs_kde_enable_final = + endif +endif + +common-build-arch:: debian/stamp-man-pages +debian/stamp-man-pages: + if ! test -d debian/man/out; then mkdir -p debian/man/out; fi + for f in $$(find debian/man -name '*.sgml'); do \ + docbook-to-man $$f > debian/man/out/`basename $$f .sgml`.1; \ + done + for f in $$(find debian/man -name '*.man'); do \ + soelim -I debian/man $$f \ + > debian/man/out/`basename $$f .man`.`head -n1 $$f | awk '{print $$NF}'`; \ + done + touch debian/stamp-man-pages + +common-binary-indep:: + ( set -e; \ + tmpf=`mktemp debian/versions.XXXXXX`; \ + perl debian/cdbs/versions.pl >$$tmpf; \ + for p in $(DEB_INDEP_PACKAGES); do \ + cat $$tmpf >>debian/$$p.substvars; \ + done; \ + rm -f $$tmpf ) + +common-binary-arch:: + ( set -e; \ + tmpf=`mktemp debian/versions.XXXXXX`; \ + perl debian/cdbs/versions.pl >$$tmpf; \ + for p in $(DEB_ARCH_PACKAGES); do \ + cat $$tmpf >>debian/$$p.substvars; \ + done; \ + rm -f $$tmpf ) + +clean:: + rm -rf debian/man/out + -rmdir debian/man + rm -f debian/stamp-man-pages + rm -rf debian/shlibs-check + +$(patsubst %,binary-install/%,$(DEB_PACKAGES)) :: binary-install/%: + if test -x /usr/bin/dh_desktop; then dh_desktop -p$(cdbs_curpkg) $(DEB_DH_DESKTOP_ARGS); fi + if test -e debian/$(cdbs_curpkg).lintian; then \ + install -p -D -m644 debian/$(cdbs_curpkg).lintian \ + debian/$(cdbs_curpkg)/usr/share/lintian/overrides/$(cdbs_curpkg); \ + fi + if test -e debian/$(cdbs_curpkg).presubj; then \ + install -p -D -m644 debian/$(cdbs_curpkg).presubj \ + debian/$(cdbs_curpkg)/usr/share/bug/$(cdbs_curpkg)/presubj; \ + fi + +binary-install/$(DEB_SOURCE_PACKAGE)-doc-html:: + set -e; \ + for doc in `cd $(DEB_DESTDIR)/opt/trinity/share/doc/tde/HTML/en; find . -name index.docbook`; do \ + pkg=$${doc%/index.docbook}; pkg=$${pkg#./}; \ + echo Building $$pkg HTML docs...; \ + mkdir -p $(CURDIR)/debian/$(DEB_SOURCE_PACKAGE)-doc-html/opt/trinity/share/doc/tde/HTML/en/$$pkg; \ + cd $(CURDIR)/debian/$(DEB_SOURCE_PACKAGE)-doc-html/opt/trinity/share/doc/tde/HTML/en/$$pkg; \ + /opt/trinity/bin/meinproc $(DEB_DESTDIR)/opt/trinity/share/doc/tde/HTML/en/$$pkg/index.docbook; \ + done + for pkg in $(DOC_HTML_PRUNE) ; do \ + rm -rf debian/$(DEB_SOURCE_PACKAGE)-doc-html/opt/trinity/share/doc/tde/HTML/en/$$pkg; \ + done + +clean:: + if test -n "$(DEB_KDE_CVS_MAKE)" && test -d $(DEB_SRCDIR); then \ + cd $(DEB_SRCDIR); \ + find . -name Makefile.in -print | \ + xargs --no-run-if-empty rm -f; \ + rm -f Makefile.am acinclude.m4 aclocal.m4 config.h.in \ + configure configure.files configure.in stamp-h.in \ + subdirs; \ + fi + rm -f debian/stamp-cvs-make + +endif diff --git a/debian/wheezy/applications/knemo/debian/cdbs/kde.mk b/debian/wheezy/applications/knemo/debian/cdbs/kde.mk new file mode 100644 index 000000000..765560c89 --- /dev/null +++ b/debian/wheezy/applications/knemo/debian/cdbs/kde.mk @@ -0,0 +1,97 @@ +# -*- mode: makefile; coding: utf-8 -*- +# Copyright © 2003 Christopher L Cheney <[email protected]> +# Description: A class for KDE packages; sets KDE environment variables, etc +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2, or (at +# your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA +# 02111-1307 USA. + +_cdbs_scripts_path ?= /usr/lib/cdbs +_cdbs_rules_path ?= /usr/share/cdbs/1/rules +_cdbs_class_path ?= /usr/share/cdbs/1/class + +ifndef _cdbs_class_kde +_cdbs_class_kde := 1 + +# for dh_icons +CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), debhelper (>= 5.0.7ubuntu4) + +include $(_cdbs_rules_path)/buildcore.mk$(_cdbs_makefile_suffix) + +ifdef _cdbs_tarball_dir +DEB_BUILDDIR = $(_cdbs_tarball_dir)/obj-$(DEB_BUILD_GNU_TYPE) +else +DEB_BUILDDIR = obj-$(DEB_BUILD_GNU_TYPE) +endif + +include $(_cdbs_class_path)/autotools.mk$(_cdbs_makefile_suffix) + +export kde_cgidir = \$${libdir}/cgi-bin +export kde_confdir = \$${sysconfdir}/trinity +export kde_htmldir = \$${datadir}/doc/tde/HTML + +ifeq (,$(filter noopt,$(DEB_BUILD_OPTIONS))) + cdbs_kde_enable_final = $(if $(DEB_KDE_ENABLE_FINAL),--enable-final,) +endif + +ifneq (,$(filter nostrip,$(DEB_BUILD_OPTIONS))) + cdbs_kde_enable_final = + cdbs_kde_enable_debug = --enable-debug=yes +else + cdbs_kde_enable_debug = --disable-debug +endif + +ifneq (,$(filter debug,$(DEB_BUILD_OPTIONS))) + cdbs_kde_enable_debug = --enable-debug=full +endif + +cdbs_configure_flags += --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xinerama $(cdbs_kde_enable_final) $(cdbs_kde_enable_debug) + +DEB_AC_AUX_DIR = $(DEB_SRCDIR)/admin +DEB_CONFIGURE_INCLUDEDIR = "\$${prefix}/include/tde" +DEB_COMPRESS_EXCLUDE = .dcl .docbook -license .tag .sty .el + +$(patsubst %,binary-install/%,$(DEB_PACKAGES)) :: binary-install/%: + if test -x /usr/bin/dh_icons; then dh_icons -p$(cdbs_curpkg) $(DEB_DH_ICONCACHE_ARGS); fi + +cleanbuilddir:: + -$(if $(call cdbs_streq,$(DEB_BUILDDIR),$(DEB_SRCDIR)),,rm -rf $(DEB_BUILDDIR)) + +common-build-arch common-build-indep:: debian/stamp-kde-apidox +debian/stamp-kde-apidox: + $(if $(DEB_KDE_APIDOX),+$(DEB_MAKE_INVOKE) apidox) + touch $@ + +common-install-prehook-impl:: + mkdir -p po + -XGETTEXT=/usr/bin/kde-xgettext EXTRACTATTR=/opt/trinity/bin/extractattr sh $(DEB_SRCDIR)/admin/cvs.sh extract-messages + -for file in po/*pot; do \ + sed "s/charset=CHARSET/charset=UTF-8/" -i $$file; \ + done + +common-install-arch common-install-indep:: common-install-kde-apidox +common-install-kde-apidox:: + $(if $(DEB_KDE_APIDOX),+$(DEB_MAKE_INVOKE) install-apidox DESTDIR=$(DEB_DESTDIR)) + +clean:: + rm -f debian/stamp-kde-apidox + rm -rf po/*.pot + +# This is a convenience target for calling manually. It's not part of +# the build process. +buildprep: clean apply-patches + $(MAKE) -f admin/Makefile.common dist + debian/rules clean + +endif diff --git a/debian/wheezy/applications/knemo/debian/cdbs/team-members b/debian/wheezy/applications/knemo/debian/cdbs/team-members new file mode 100644 index 000000000..05761af6e --- /dev/null +++ b/debian/wheezy/applications/knemo/debian/cdbs/team-members @@ -0,0 +1,16 @@ +Sune Vuorela <[email protected]> +Ana Beatriz Guerrero Lopez <[email protected]> +Fathi Boudra <[email protected]> +Modestas Vainius <[email protected]> +Josh Metzler <[email protected]> +Isaac Clerencia <[email protected]> +Adeodato Simó <[email protected]> +Adeodato Simo <[email protected]> +Christopher Martin <[email protected]> +Daniel Schepler <[email protected]> +Sarah Hobbs <[email protected]> +Nacho Barrientos Arias <[email protected]> +Ricardo Javier Cardenes Medina <[email protected]> +Ricardo Cardenes <[email protected]> +Armin Berres <[email protected]> +Francesco Pedrini <[email protected]> diff --git a/debian/wheezy/applications/knemo/debian/cdbs/uploaders.mk b/debian/wheezy/applications/knemo/debian/cdbs/uploaders.mk new file mode 100644 index 000000000..31adfe31e --- /dev/null +++ b/debian/wheezy/applications/knemo/debian/cdbs/uploaders.mk @@ -0,0 +1,29 @@ + +MAINTAINER=Debian Qt/KDE Maintainers <[email protected]> +UPLOADERS=$(shell grep -e +++ -e "^ -- " debian/changelog | grep -v "[email protected]" | head -13 | /bin/sed 's/^\s*//;s/\s*$$//;s/^+++\? Changes by //;s/^+++\? //;s/-- //;s/:$$//;s/ <.*//' | sort -u | while read line ; do grep "$$line" debian/cdbs/team-members ; done | tr "\n" ", " | sed 's/,/, /g;s/, $$//') + + +debian/control.tmp: + @if [ ! -e debian/control.in ] ; then \ + echo "this package is not yet prepared for using automatic update of uploaders"; \ + echo "Please do so."; \ + exit 1; \ + fi + @sed 's/@@@UPLOADERS@@@/$(UPLOADERS)/;s#@@@MAINTAINER@@@#$(MAINTAINER)#' debian/control.in > debian/control.tmp + +check-uploaders: debian/control.tmp + @if ! diff -q debian/control debian/control.tmp ; then \ + echo "WARNING:: Control file differs from manually generated one" ; \ + echo "WARNING:: Please update it manually and check it afterwards" ; \ + echo "WARNING:: Uploaders are updated by debian/rules update-uploaders" ;\ + echo "WARNING:: If this is a binNMU, NMU or security upload, just ignore" ;\ + fi + + +clean:: + rm -f debian/control.tmp + +update-uploaders: debian/control.tmp + @mv -f debian/control.tmp debian/control + +makebuilddir:: check-uploaders diff --git a/debian/wheezy/applications/knemo/debian/cdbs/versions.pl b/debian/wheezy/applications/knemo/debian/cdbs/versions.pl new file mode 100644 index 000000000..9ce11d8a3 --- /dev/null +++ b/debian/wheezy/applications/knemo/debian/cdbs/versions.pl @@ -0,0 +1,19 @@ +#!/usr/bin/env perl + +use strict; +use warnings; + +my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; +my ($version3, $version3_next); +my ($version2, $version2_next); + +($version3 = $version) =~ s/-[^-]+$//; +($version2 = $version3) =~ s/\.[^.]+$//; + +($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; +($version2_next = $version2) =~ s/(?<=\.)(\d+)$/($1+1)/e; + +print "KDE-Version3=$version3\n"; +print "KDE-Version2=$version2\n"; +print "KDE-Next-Version3=$version3_next\n"; +print "KDE-Next-Version2=$version2_next\n"; diff --git a/debian/wheezy/applications/knemo/debian/changelog b/debian/wheezy/applications/knemo/debian/changelog new file mode 100644 index 000000000..884cc039e --- /dev/null +++ b/debian/wheezy/applications/knemo/debian/changelog @@ -0,0 +1,272 @@ +knemo-trinity (0.4.8-3) karmic; urgency=low + + * Karmic rebuild + + -- Timothy Pearson <[email protected]> Thu, 02 July 2009 16:08:00 -0600 + +knemo-trinity (0.4.8-2) intrepid; urgency=low + + * Moved Trinity to /opt/trinity + * Integrated properly with KDE4.2+ + + -- Timothy Pearson <[email protected]> Fri, 06 March 2009 01:35:00 -0600 + +knemo-trinity (0.4.8-1) intrepid; urgency=low + + * Added -trinity prefix + + -- Timothy Pearson <[email protected]> Tue, 02 Dec 2008 09:37:00 -0600 + +knemo (0.4.8-1) unstable; urgency=low + + * New upstream release + - fixed high CPU load when the default gateway is missing (sysbackend) + - spawns many processes even when disabled (Closes: #411013) + - CPU usage way too high (Closes: #411146) + - New upstream 0.4.8 (Closes: #432835) + + -- Mark Purcell <[email protected]> Thu, 19 Jul 2007 21:48:50 +0100 + +knemo (0.4.6-2) unstable; urgency=high + + [ Mark Purcell ] + * Urgency high as this fixes multiple RC bugs + * fd-leakage patch from Matthias Dellweg + - (Closes: Bug#409707: knemo: fd-leakage in sys backend) + + -- Debian KDE Extras Team <[email protected]> Tue, 6 Feb 2007 11:05:03 +0000 + +knemo (0.4.6-1) unstable; urgency=low + + * new upstream release + + [ Achim Bohnet ] + * Add libiw-dev to build-deps. Now used by sys backend. + + -- Debian KDE Extras Team <[email protected]> Sun, 8 Oct 2006 23:31:03 +0200 + +knemo (0.4.5-1) unstable; urgency=low + + [ Mark Purcell ] + * New upstream release + * Remove 12_tdesvn572745.diff as applied upstream + * Remove 13_fix_essid_regexp_for_not_quoted_strings.diff as applied + upstream + + -- Debian KDE Extras Team <[email protected]> Mon, 28 Aug 2006 21:31:40 +0100 + +knemo (0.4.4-2) unstable; urgency=low + + [ Achim Bohnet ] + * control: remove Depends: tdelibs-bin. tdelibs-bin was merged into + tdelibs4c2a (4:3.5.3-1). tdelibs4c2a is added via ${shlibs:Depends}. + Thx Hobbsee for reminding me (again and again :). + + -- Debian KDE Extras Team <[email protected]> Tue, 22 Aug 2006 17:11:42 +0200 + +knemo (0.4.4-1) unstable; urgency=low + + * new upstream release + + [ Achim Bohnet ] + * added debian/patches/12_tdesvn572745.diff: Pull from KDE SVN: + Fixed counting of transmitted data + * added debian/patches/11_revert_load_on_demand.diff: + With load on demand, knemo does not start on login. + So reverting to 0.4.2 behaviour. This patch + reverts Dirk Muellers change from 6-Aug-2006 + trunk/extragear/network/knemo/knemod/knemod.desktop #570450:570451 + See also: http://bugs.kde.org/show_bug.cgi?id=132218 + * added debian/patches/13_fix_essid_regexp_for_not_quoted_strings.diff + Fixes broken ESSID extraction from iwconfig output for the case that + the ESSID value is not quoted. + * debian/copyright: update list of translators + + -- Debian KDE Extras Team <[email protected]> Tue, 15 Aug 2006 00:29:24 +0200 + +knemo (0.4.3-1) unstable; urgency=low + + [ Mark Purcell ] + * New upstream release + + -- Debian KDE Extras Team <[email protected]> Sun, 6 Aug 2006 22:40:42 +0100 + +knemo (0.4.2-1) unstable; urgency=low + + [ Achim Bohnet ] + * New upstream release: + - fixed crash when opening status dialog or tooltips + * check copyrights and update debian/copyright + + [ Debian KDE Extras Team ] + * random crashes (Closes: #374391) + + -- Debian KDE Extras Team <[email protected]> Fri, 30 Jun 2006 23:13:53 +0100 + +knemo (0.4.1-1) unstable; urgency=low + + [ Mark Purcell ] + * New upstream release + - Fixes: encoding error in desktop file (Closes: #343290) + - Fixes: link quality of a wireless interface is not shown (Closes: #350393) + * knemo - lists mailing list as uploader in changelog (Closes: #340845) + - No consensus reached on debian-devel + - Report 200 days old + - Other packages have closed their uploader 'bugs' + + -- Debian KDE Extras Team <[email protected]> Tue, 13 Jun 2006 13:07:37 +0100 + +knemo (0.4.0-2) unstable; urgency=low + + [Achim Bohnet] + * Remove unsermake from build-dep. Closes #366932: knemo - FTBFS: Build + depends against unavailable package: unsermake + + -- Debian KDE Extras Team <[email protected]> Thu, 11 May 2006 22:46:08 +0100 + +knemo (0.4.0-1) unstable; urgency=low + + * New upstream release + - Fixes: FTBFS with G++ 4.1: extra qualification (Closes: #357359) + - Fixes: Description improvement (Closes: #341298) + + -- Debian KDE Extras Team <[email protected]> Sun, 2 Apr 2006 14:54:32 +0100 + +knemo (0.3.1-5) unstable; urgency=low + + [ Achim Bohnet ] + * short description: replace "KDEs systray" with "KDE's systray" + (Closes: 341298) + * patches/11_tdesvn_505129_add_kcm_desktop_keywords.diff: added + keywords to knemo's kcontrol desktop file. Knemo configuration + can now be found via 'Search:' (suggested by gbrinkmann on kde-apps) + This also fixes, well removes, the non UTF-8 encoding in comment[de], + about update-desktop-database complained. + + -- Debian KDE Extras Team <[email protected]> Thu, 1 Dec 2005 00:52:03 +0100 + +knemo (0.3.1-4) unstable; urgency=low + + +++ Changes by Achim Bohnet: + + * Initial release (Closes: #259245) + * Installed kcm_knemo.desktop in /usr/share/application/kde not the + old /usr/share/applnk dir. + * build-dep: add autotools-dev so recent config.guess config.sub are + used (Thx Michael Biebl) + * Use bugs.kde.org, not Percys email as addressee for bugs (stolen from + KDE SVN commit 461692) + * debian/copyright: update FSF address + + -- Debian KDE Extras Team <[email protected]> Mon, 14 Nov 2005 21:05:38 +0100 + +knemo (0.3.1-3) unstable; urgency=low + + * debian/copyright: mention explicitely that knemo as a whole + is distributed under the GPL + + -- Achim Bohnet <[email protected]> Tue, 7 Jun 2005 01:04:33 +0200 + +knemo (0.3.1-2) unstable; urgency=low + + * long description: mention that usage of ifconfig, route and + iwconfig for polling the inferface status once per second. + * debian/copyright: finished license and copyright review + + -- Achim Bohnet <[email protected]> Wed, 27 Apr 2005 00:57:07 +0200 + +knemo (0.3.1-1) unstable; urgency=low + + * new upstream release + + -- Achim Bohnet <[email protected]> Fri, 1 Oct 2004 22:50:12 +0200 + +knemo (0.3.0-1) unstable; urgency=low + + * new upstream release + * updated list of translators in copyright + * add traffic plotter to long description + * removed now empty debian/TODO ;) + + -- Achim Bohnet <[email protected]> Tue, 14 Sep 2004 22:10:30 +0200 + +knemo (0.2.3-1) unstable; urgency=low + + * new upstream release + + -- Achim Bohnet <[email protected]> Tue, 24 Aug 2004 22:17:41 +0200 + +knemo (0.2.1-1) unstable; urgency=low + + * initial upload (closes: #259245) + * new upstream (maintenance) release + * wireless-tools: recommend them instead of depend on + (still build-dep on them) + * bit better short description (important part first) + + -- Achim Bohnet <[email protected]> Fri, 13 Aug 2004 14:19:12 +0200 + +knemo (0.2.0-2) unstable; urgency=low + + * builds with pbuilder build + + -- Achim Bohnet <[email protected]> Thu, 12 Aug 2004 00:12:05 +0200 + +knemo (0.2.0-1) unstable; urgency=low + + * new upstream release + * rename TODO.for.me to TODO so it gets installed + + -- Achim Bohnet <[email protected]> Thu, 5 Aug 2004 19:15:44 +0200 + +knemo (0.1.10-2) unstable; urgency=low + + * debian/rules: don't install empty (line) NEWS file. + * update TODO + + -- Achim Bohnet <[email protected]> Wed, 21 Jul 2004 19:20:33 +0200 + +knemo (0.1.10-1) unstable; urgency=low + + * new upstream release + + -- Achim Bohnet <[email protected]> Mon, 12 Jul 2004 19:19:49 +0200 + +knemo (0.1.9-1) unstable; urgency=low + + * new upstream release + * copyright: added Translators Jurado Maqueda (es) and Malin Malinov (bg) + * add net-tools, wireless-tools to build-dep. Configure now checks + for i[fw]config (instead of hardcoded path in *.cpp files) + * added home page on kde-apps to control + * Add to depends: tdelibs-bin (contains kded), kicker + * Add to recommends: kcontrol (contains kcmshell, kcontrol) + * fixed version in VERSION file s/0.1.8/0.1.9/ + * README: s/</</ + + -- Achim Bohnet <[email protected]> Sun, 11 Jul 2004 11:25:07 +0200 + +knemo (0.1.8-2) unstable; urgency=low + + * interfaceupdater.cpp:150 s/"inet"/"inet "/ to prevent match with inet6 + * disable build of handbook via doc/configure.in.in. + DO_NOT_COMPILE="$DO_NOT_COMPILE doc" + handbook is just an empty template. + + -- Achim Bohnet <[email protected]> Tue, 29 Jun 2004 23:41:30 +0200 + +knemo (0.1.8-1) unstable; urgency=low + + * new upstream release. + * use /sbin/iwconfig path in .h, .cpp and .ui files + * add dependency on net-tools for ifconfig and wireless-tools + for iwconfig. + + -- Achim Bohnet <[email protected]> Tue, 29 Jun 2004 00:30:25 +0200 + +knemo (0.1.5-1) unstable; urgency=low + + * Initial Release. + + -- Michael Harlaut <[email protected]> Sun, 30 May 2004 22:27:54 +0200 + diff --git a/debian/wheezy/applications/knemo/debian/compat b/debian/wheezy/applications/knemo/debian/compat new file mode 100644 index 000000000..b8626c4cf --- /dev/null +++ b/debian/wheezy/applications/knemo/debian/compat @@ -0,0 +1 @@ +4 diff --git a/debian/wheezy/applications/knemo/debian/control b/debian/wheezy/applications/knemo/debian/control new file mode 100644 index 000000000..a09dc18a9 --- /dev/null +++ b/debian/wheezy/applications/knemo/debian/control @@ -0,0 +1,24 @@ +Source: knemo-trinity +Section: tde +Priority: optional +Maintainer: Timothy Pearson <[email protected]> +Uploaders: Achim Bohnet <[email protected]>, Mark Purcell <[email protected]> +Build-Depends: debhelper (>> 4.1), cdbs, tdelibs4-trinity-dev, net-tools, wireless-tools, libiw-dev, automake, autoconf, libtool, libltdl-dev +Standards-Version: 3.8.4 + +Package: knemo-trinity +Architecture: any +Depends: kicker-trinity, net-tools, ${shlibs:Depends} +Replaces: knemo-trinity (<< 4:14.0.0) +Breaks: knemo-trinity (<< 4:14.0.0) +Recommends: kcontrol-trinity, wireless-tools +Description: network interfaces monitor for the Trinity systray + KNemo displays an icon in the systray for every network interface. + Tooltips and an info dialog provide further information about the + interface. Passive popups inform about interface changes. + A traffic plotter is also integrated. + . + knemo polls the network interface status every second using the + ifconfig, route and iwconfig tools. + . + Homepage: http://extragear.kde.org/apps/knemo/ diff --git a/debian/wheezy/applications/knemo/debian/copyright b/debian/wheezy/applications/knemo/debian/copyright new file mode 100644 index 000000000..56f8c81f8 --- /dev/null +++ b/debian/wheezy/applications/knemo/debian/copyright @@ -0,0 +1,95 @@ +This package was debianized by Achim Bohnet <[email protected]> +on Mon, 28 Jun 2004 23:46:36 +0200 + +It was downloaded from http://www.kde-apps.org/content/show.php?content=12956 + +Upstream author is + Percy Leonhardt <[email protected]> + + Signal Plotter: + Taken from KSysGuard + Chris Schlaeger <[email protected]> + +Translation: + Zlatko Popov <[email protected]> (bg) + Thierry Vignaud <[email protected]> (br) + Jakub Friedl <[email protected]> Klara Cihlarova <[email protected]> (cs) + FULL NAME <EMAIL@ADDRESS> (cy) + Erik Kjær Pedersen <[email protected]> (da) + Jannick Kuhr <[email protected]> (de) + Spiros Georgaras <[email protected]> (el) + Malcolm Hunter <[email protected]> (en_GB) + Enrique Matias Sanchez (aka Quique) <[email protected]> (es) + Marek Laane <[email protected]> (et) + Julien Morot <[email protected]> (fr) + Kevin Patrick Scannell <[email protected]> (ga) + Kroly Barcza (VectoR) <[email protected]> (hu) + Samuele Kaplun <[email protected]> (it) + Yukiko Bando <[email protected]> (ja) + Giasher <[email protected]> (ka) + Donatas Glodenis <[email protected]> (lt) + Bram Schoenmakers <[email protected]> Rinse de Vries <[email protected]> (nl) + Marcin Zasada <[email protected]> (pl) + José Nuno Coelho Pires <[email protected]> (pt) + Lisiane Sztoltz Teixeira <[email protected]> (pt_BR) + Alexander Shiyan <[email protected]> (ru) + Steve Murphy <[email protected]> (rw) + Slobodan Simic <[email protected]> (sr) + Slobodan Simic <[email protected]> (sr@Latn) + Stefan Asserhäll <[email protected]> (sv) + Bulent SENER <[email protected]> (tr) + +Copyright: + + (C) 2004,2005,2006 Percy Leonhardt <[email protected]> + + knemod/signalplotter.{cpp,.h} + + Copyright (c) 1999 - 2001,2002 Chris Schlaeger <[email protected]> + + +License: + + Knemo is distributed under the GPL. + + Except 2 files that are licensed under the GPL (listed below), KNemo + is licensed under the LGPL: + + KNemo is free software; you can redistribute it and/or modify + it under the terms of the GNU Library General Public License as + published by the Free Software Foundation; either version 2 of + the License, or (at your option) any later version. + + KNemo is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Library General Public License for more details. + + You should have received a copy of the GNU Library General Public License + along with this library; see the file COPYING.LIB. If not, write to + the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + + + knemod/signalplotter.{cpp,.h} are licensed unter the GPL + + This program is free software; you can redistribute it and/or + modify it under the terms of version 2 of the GNU General Public + License as published by the Free Software Foundation. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + + KSysGuard is currently maintained by Chris Schlaeger <[email protected]>. + Please do not commit any changes without consulting me first. Thanks! + + + On Debian GNU/Linux systems, the complete text of the GNU Lesser General + Public License and the GNU General Public license can be found in + /usr/share/common-licenses/LGPL file and /usr/share/common-licenses/GPL file, + respectively. diff --git a/debian/wheezy/applications/knemo/debian/dirs b/debian/wheezy/applications/knemo/debian/dirs new file mode 100644 index 000000000..2025e042b --- /dev/null +++ b/debian/wheezy/applications/knemo/debian/dirs @@ -0,0 +1 @@ +usr/share/applications/tde diff --git a/debian/wheezy/applications/knemo/debian/patches/.gitignore b/debian/wheezy/applications/knemo/debian/patches/.gitignore new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/debian/wheezy/applications/knemo/debian/patches/.gitignore diff --git a/debian/wheezy/applications/knemo/debian/rules b/debian/wheezy/applications/knemo/debian/rules new file mode 100755 index 000000000..fd71fe17f --- /dev/null +++ b/debian/wheezy/applications/knemo/debian/rules @@ -0,0 +1,34 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk +include debian/cdbs/kde.mk + +DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde +DEB_CONFIGURE_MANDIR := /opt/trinity/share/man +DEB_CONFIGURE_PREFIX := /opt/trinity +DEB_CONFIGURE_INFODIR := /opt/trinity/share/info + +cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xinerama $(cdbs_kde_enable_final) $(cdbs_kde_enable_debug) + +DEB_INSTALL_DOCS_knemo = -XNEWS + +DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/opt/trinity --with-extra-libs=/opt/trinity/lib --with-extra-includes=/opt/trinity/include/tde + +post-patches:: debian/stamp-bootstrap + +debian/stamp-bootstrap: + ! [ -f /usr/share/libtool/ltmain.sh ] || \ + cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh + ! [ -f /usr/share/libtool/config/ltmain.sh ] || \ + cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh + cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in + + make -f admin/Makefile.common cvs + touch debian/stamp-bootstrap + +get-orig-source: + @@dh_testdir + @@[ -d ../tarballs/. ]||mkdir -p ../tarballs + @@dpatch-get-origtargz ../tarballs + diff --git a/debian/wheezy/applications/knemo/debian/source/format b/debian/wheezy/applications/knemo/debian/source/format new file mode 100644 index 000000000..89ae9db8f --- /dev/null +++ b/debian/wheezy/applications/knemo/debian/source/format @@ -0,0 +1 @@ +3.0 (native) diff --git a/debian/wheezy/applications/knemo/debian/source/options b/debian/wheezy/applications/knemo/debian/source/options new file mode 100644 index 000000000..9d7c8e036 --- /dev/null +++ b/debian/wheezy/applications/knemo/debian/source/options @@ -0,0 +1,6 @@ +# Use bzip2 instead of gzip +compression = "bzip2" +compression-level = 9 + +# Don't run differences +diff-ignore = .* |