From 7d1b9587295dc8d941607fe78a691eb98e557024 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 4 Aug 2011 03:20:42 -0500 Subject: Use Automake to build knetworkmanager under Maverick --- .../knetworkmanager.cmake/debian/README.source | 3 + .../knetworkmanager.cmake/debian/cdbs/buildvars.mk | 86 +++++ .../debian/cdbs/debian-qt-kde.mk | 98 ++++++ .../knetworkmanager.cmake/debian/cdbs/kde.mk | 97 ++++++ .../knetworkmanager.cmake/debian/cdbs/team-members | 16 + .../knetworkmanager.cmake/debian/cdbs/uploaders.mk | 29 ++ .../knetworkmanager.cmake/debian/cdbs/versions.pl | 19 ++ .../knetworkmanager.cmake/debian/changelog | 373 +++++++++++++++++++++ .../knetworkmanager.cmake/debian/compat | 1 + .../knetworkmanager.cmake/debian/control | 34 ++ .../knetworkmanager.cmake/debian/control.in | 36 ++ .../knetworkmanager.cmake/debian/copyright | 34 ++ .../knetworkmanager.cmake/debian/knetworkmanager.1 | 145 ++++++++ .../knetworkmanager.cmake/debian/manpages | 1 + .../applications/knetworkmanager.cmake/debian/menu | 6 + .../network-manager-kde-trinity.lintian-overrides | 2 + .../debian/network-manager-kde-trinity.postinst | 16 + .../knetworkmanager.cmake/debian/patches/series | 0 .../knetworkmanager.cmake/debian/rules | 26 ++ .../knetworkmanager.cmake/debian/watch | 2 + .../knetworkmanager/debian/cdbs/debian-qt-kde.mk | 11 + .../knetworkmanager/debian/cdbs/kde.mk | 8 +- .../applications/knetworkmanager/debian/control | 8 +- .../applications/knetworkmanager/debian/rules | 53 ++- 24 files changed, 1080 insertions(+), 24 deletions(-) create mode 100644 ubuntu/maverick/applications/knetworkmanager.cmake/debian/README.source create mode 100644 ubuntu/maverick/applications/knetworkmanager.cmake/debian/cdbs/buildvars.mk create mode 100644 ubuntu/maverick/applications/knetworkmanager.cmake/debian/cdbs/debian-qt-kde.mk create mode 100644 ubuntu/maverick/applications/knetworkmanager.cmake/debian/cdbs/kde.mk create mode 100644 ubuntu/maverick/applications/knetworkmanager.cmake/debian/cdbs/team-members create mode 100644 ubuntu/maverick/applications/knetworkmanager.cmake/debian/cdbs/uploaders.mk create mode 100644 ubuntu/maverick/applications/knetworkmanager.cmake/debian/cdbs/versions.pl create mode 100644 ubuntu/maverick/applications/knetworkmanager.cmake/debian/changelog create mode 100644 ubuntu/maverick/applications/knetworkmanager.cmake/debian/compat create mode 100644 ubuntu/maverick/applications/knetworkmanager.cmake/debian/control create mode 100644 ubuntu/maverick/applications/knetworkmanager.cmake/debian/control.in create mode 100644 ubuntu/maverick/applications/knetworkmanager.cmake/debian/copyright create mode 100644 ubuntu/maverick/applications/knetworkmanager.cmake/debian/knetworkmanager.1 create mode 100644 ubuntu/maverick/applications/knetworkmanager.cmake/debian/manpages create mode 100644 ubuntu/maverick/applications/knetworkmanager.cmake/debian/menu create mode 100644 ubuntu/maverick/applications/knetworkmanager.cmake/debian/network-manager-kde-trinity.lintian-overrides create mode 100644 ubuntu/maverick/applications/knetworkmanager.cmake/debian/network-manager-kde-trinity.postinst create mode 100644 ubuntu/maverick/applications/knetworkmanager.cmake/debian/patches/series create mode 100755 ubuntu/maverick/applications/knetworkmanager.cmake/debian/rules create mode 100644 ubuntu/maverick/applications/knetworkmanager.cmake/debian/watch (limited to 'ubuntu/maverick/applications') diff --git a/ubuntu/maverick/applications/knetworkmanager.cmake/debian/README.source b/ubuntu/maverick/applications/knetworkmanager.cmake/debian/README.source new file mode 100644 index 000000000..96fb271ab --- /dev/null +++ b/ubuntu/maverick/applications/knetworkmanager.cmake/debian/README.source @@ -0,0 +1,3 @@ +This package uses the quilt patch management system. + +Please refer to /usr/share/doc/quilt/README.source for further information. diff --git a/ubuntu/maverick/applications/knetworkmanager.cmake/debian/cdbs/buildvars.mk b/ubuntu/maverick/applications/knetworkmanager.cmake/debian/cdbs/buildvars.mk new file mode 100644 index 000000000..23d4709dc --- /dev/null +++ b/ubuntu/maverick/applications/knetworkmanager.cmake/debian/cdbs/buildvars.mk @@ -0,0 +1,86 @@ +# -*- mode: makefile; coding: utf-8 -*- +# Copyright © 2002,2003 Colin Walters +# 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/ubuntu/maverick/applications/knetworkmanager.cmake/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/applications/knetworkmanager.cmake/debian/cdbs/debian-qt-kde.mk new file mode 100644 index 000000000..888f4be38 --- /dev/null +++ b/ubuntu/maverick/applications/knetworkmanager.cmake/debian/cdbs/debian-qt-kde.mk @@ -0,0 +1,98 @@ +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: + 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/kde/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/kde/HTML/en/$$pkg; \ + cd $(CURDIR)/debian/$(DEB_SOURCE_PACKAGE)-doc-html/opt/trinity/share/doc/kde/HTML/en/$$pkg; \ + /opt/trinity/bin/meinproc $(DEB_DESTDIR)/opt/trinity/share/doc/kde/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/kde/HTML/en/$$pkg; \ + done + +clean:: + rm -f debian/stamp-cvs-make + +endif diff --git a/ubuntu/maverick/applications/knetworkmanager.cmake/debian/cdbs/kde.mk b/ubuntu/maverick/applications/knetworkmanager.cmake/debian/cdbs/kde.mk new file mode 100644 index 000000000..9dbcfbafd --- /dev/null +++ b/ubuntu/maverick/applications/knetworkmanager.cmake/debian/cdbs/kde.mk @@ -0,0 +1,97 @@ +# -*- mode: makefile; coding: utf-8 -*- +# Copyright © 2003 Christopher L Cheney +# 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/kde/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/" +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/ubuntu/maverick/applications/knetworkmanager.cmake/debian/cdbs/team-members b/ubuntu/maverick/applications/knetworkmanager.cmake/debian/cdbs/team-members new file mode 100644 index 000000000..05761af6e --- /dev/null +++ b/ubuntu/maverick/applications/knetworkmanager.cmake/debian/cdbs/team-members @@ -0,0 +1,16 @@ +Sune Vuorela +Ana Beatriz Guerrero Lopez +Fathi Boudra +Modestas Vainius +Josh Metzler +Isaac Clerencia +Adeodato Simó +Adeodato Simo +Christopher Martin +Daniel Schepler +Sarah Hobbs +Nacho Barrientos Arias +Ricardo Javier Cardenes Medina +Ricardo Cardenes +Armin Berres +Francesco Pedrini diff --git a/ubuntu/maverick/applications/knetworkmanager.cmake/debian/cdbs/uploaders.mk b/ubuntu/maverick/applications/knetworkmanager.cmake/debian/cdbs/uploaders.mk new file mode 100644 index 000000000..31adfe31e --- /dev/null +++ b/ubuntu/maverick/applications/knetworkmanager.cmake/debian/cdbs/uploaders.mk @@ -0,0 +1,29 @@ + +MAINTAINER=Debian Qt/KDE Maintainers +UPLOADERS=$(shell grep -e +++ -e "^ -- " debian/changelog | grep -v "debian-qt-kde@lists.debian.org" | 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/ubuntu/maverick/applications/knetworkmanager.cmake/debian/cdbs/versions.pl b/ubuntu/maverick/applications/knetworkmanager.cmake/debian/cdbs/versions.pl new file mode 100644 index 000000000..9ce11d8a3 --- /dev/null +++ b/ubuntu/maverick/applications/knetworkmanager.cmake/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/ubuntu/maverick/applications/knetworkmanager.cmake/debian/changelog b/ubuntu/maverick/applications/knetworkmanager.cmake/debian/changelog new file mode 100644 index 000000000..ed0d32a81 --- /dev/null +++ b/ubuntu/maverick/applications/knetworkmanager.cmake/debian/changelog @@ -0,0 +1,373 @@ +knetworkmanager-trinity (1:0.8-0ubuntu12) karmic; urgency=low + + * UI tweaks for discoverability + + -- Timothy Pearson Tue, 26 Oct 2009 17:44:00 -0600 + +knetworkmanager-trinity (1:0.8-0ubuntu10) karmic; urgency=low + + * Fixed VPN reauthentication request dialog failure when used with the permanent storage option + + -- Timothy Pearson Tue, 06 Oct 2009 19:31:00 -0600 + +knetworkmanager-trinity (1:0.8-0ubuntu7) karmic; urgency=low + + * Fixed various minor glitches + + -- Timothy Pearson Sat, 03 Oct 2009 12:29:00 -0600 + +knetworkmanager-trinity (1:0.8-0ubuntu6) karmic; urgency=low + + * Repaired poor usability for new wireless connections + * Repaired poor usability for connection management + * VPN connections now remember login information when asked + + -- Timothy Pearson Tue, 29 Sep 2009 09:39:00 -0600 + +knetworkmanager-trinity (1:0.8-0ubuntu5) karmic; urgency=low + + * Repaired VPN plugins + * VPNC now allows hashed group password + * PPTP repaired and enabled + + -- Timothy Pearson Mon, 28 Sep 2009 14:51:00 -0600 + +knetworkmanager-trinity (1:0.8-0ubuntu4) karmic; urgency=low + + * Patched backend for new NM0.8 API + * Repaired poor usability in the "new connection" tasktray menu + * Repaired poor usability in the available devices tasktray menu + * Moved to /opt/trinity + + -- Timothy Pearson Sat, 22 Aug 2009 23:34:00 -0600 + +knetworkmanager (1:0.7~~svn941706-1) unstable; urgency=low + + * Updated SVN snapshot (r941706). + * debian/patches/04-dbus_access.patch + - Most of the relevant changes have been merged upstream. The patch now + only contains the Debian specific group "netdev" section. + * debian/control + - Bump Standards-Version to 3.8.1. No further changes. + + -- Michael Biebl Fri, 20 Mar 2009 22:59:51 +0100 + +knetworkmanager (1:0.7~~svn931033-2) unstable; urgency=low + + * debian/patches/05-no_blank_psk.patch + - Do not set zero-length PSK and LEAP passwords otherwise libnm-util fails + to validate them. Closes: #517213 + Patch by Dan Williams, thanks! + + -- Michael Biebl Tue, 03 Mar 2009 00:34:15 +0100 + +knetworkmanager (1:0.7~~svn931033-1) unstable; urgency=low + + * Merge experimental branch into unstable. Remaining changes: + - Remove 07-indicate_manual_config.patch, obsolete. + * debian/control + - Wrap Build-Depends. + - Bump Build-Depends on debhelper to (>= 7). + * debian/compat + - Bump debhelper compat level to 7. + * debian/rules + - Include debhelper.mk before any other files as recommended by the cdbs + documentation. + * Update SVN snapshot to r931033. + + -- Michael Biebl Wed, 25 Feb 2009 10:54:39 +0100 + +knetworkmanager (1:0.7~~svn908338-2) experimental; urgency=low + + * debian/patches/04-dbus_access.patch + - Update D-Bus names and interfaces for NM 0.7. Closes: #511526 + - Remove bare send_interface directives to avoid non-deterministic allow + messages with no interface. Closes: #510757 + - Do not allow unpriviledged processes to ask for a users' connections. + - Allow introspection by default. + + -- Michael Biebl Thu, 05 Feb 2009 01:52:22 +0100 + +knetworkmanager (1:0.7~~svn908338-1) experimental; urgency=low + + * Updated SVN snapshot (r908338). + * debian/rules + - Stop moving icons around, fixed upstream. + * debian/patches/01-configure_package_name.patch + - Make sure we set the correct PACKAGE name when generating the build + system so the translations are installed properly. + * debian/network-manager-kde.lintian-overrides + - Updated for the latest lintian changes. + + -- Michael Biebl Sun, 11 Jan 2009 06:52:06 +0100 + +knetworkmanager (1:0.7~~svn897092-1) experimental; urgency=low + + * SVN snapshot of the upcoming 0.7 release (for NM 0.7). + * debian/control + - Add Build-Depends on pkg-config. + - Bump Build-Depends on nm-* packages to (>= 0.7.0). + - Add Build-Depends on libdbus-1-qt3-dev (>= 0.8.1). + - Bump Build-Depends on debhelper to (>= 6.0.7) for dh_lintian. + - Bump Depends on network-manager to (>= 0.7.0). + - Bump Standards-Version to 3.8.0. Add README.source as recommended by the + new policy. + * debian/rules + - Install autostart desktop file into /usr/share/autostart/. + - Install icons into /usr/share/icons/hicolor/ so KDE4 can find them. + Closes: #487303 + - Add support for both libtool 1.x and 2.x. + * Switch patch management system to quilt. + * debian/patches/04-dbus_access.patch + - Refresh and update. + + -- Michael Biebl Tue, 16 Dec 2008 04:18:10 +0100 + +knetworkmanager (1:0.2.2-2) unstable; urgency=low + + * debian/patches/07-indicate_manual_config.patch + - manual-means-online: If there are interfaces that are not managed by + NetworkManager because they have custom configuration in + /etc/network/interfaces, we assume to be online and show a wired network + icon indicating manual network configuration. + * debian/control + - Add Build-Depends on pkg-config. + + -- Michael Biebl Wed, 14 Jan 2009 08:22:11 +0100 + +knetworkmanager (1:0.2.2-1) unstable; urgency=low + + * New upstream release. + - Improved tray icon animation using mng files. Closes: #394815 + - Improved LEAP security. Closes: #470709 + * Removed patches + - debian/patches/01-fix_french_translation.patch (merged upstream) + - debian/patches/02-linux_types.patch (obsolete) + - debian/patches/03-awk_path.patch (fixed upstream) + - debian/patches/05-desktop_file_fixes.patch (merged upstream) + * debian/knetworkmanager.linda + - Remove the linda override file, linda is dead. + * debian/{knetworkmanager.lintian -> network-manager-kde.lintian-overrides} + - Rename the lintian override file so it is automatically installed by + dh_lintian. + * debian/rules + - Drop the no longer required install rules for the override files. + - Drop the install rule for the autostart file. It's provided by upstream + now. + * debian/copyright + - Update the authors list. + * debian/control + - Bump Build-Depends on libnl-dev (>= 1.1). + - Drop Build-Depends on kapptemplate. The upstream tarball ships a proper + admin/ directory again. + * debian/watch + - New download location at ftp.kde.org. + + -- Michael Biebl Fri, 04 Apr 2008 19:41:02 +0200 + +knetworkmanager (1:0.2-3) unstable; urgency=low + + * debian/control + - Use the new "Homepage:" field to specify the upstream URL. + - The Vcs-* fields are now officially supported, so remove the XS- prefix. + - Bump Standards-Version to 3.7.3. No further changes required. + - Fix a few capitalization errors in the package description. + + -- Michael Biebl Fri, 11 Jan 2008 02:08:24 +0100 + +knetworkmanager (1:0.2-2) unstable; urgency=low + + * Rebuild against network-manager 0.6.5 to enable phase2 and leap + authentication support. + * debian/rules + - Remove debian/stamp-bootstrap on clean. This fixes a FTBFS if package is + built twice in a row. Closes: #442621 + * debian/control + - Add Build-Conflicts: autoconf2.13. Closes: #441046 + * debian/menu + - Set section to Applications/Network/Monitoring which seems to be the + most appropriate amongst the available sections. + * debian/patches/05-desktop_file_fixes.patch + - Fix the *.desktop files to be compliant to the fd.o menu and desktop + entry spec. + + -- Michael Biebl Sun, 16 Sep 2007 21:01:25 +0200 + +knetworkmanager (1:0.2-1) unstable; urgency=low + + * New upstream release. + * debian/patches/05-leap_support.patch + - Removed, merged upstream. + * debian/patches/06-version_check.patch + - Removed, merged upstream. + * The upstream tarball does not ship an admin/ directory. Build-Depend on + kapptemplate, so we can copy it from there. + * debian/menu + - Update to new menu hierarchy and add a longtitle. + + -- Michael Biebl Wed, 25 Jul 2007 17:10:36 +0200 + +knetworkmanager (1:0.2~svn678822-3) unstable; urgency=low + + * debian/patches/06-version_check.patch + - Added. Fixes the problem with knetworkmanager no longer connecting + automatically upon login. Closes: #431255 + If you are upgrading from a previous 0.2 svn snapshot, you may have to + clear the list of trusted networks in the configuration dialog. + + -- Michael Biebl Sun, 01 Jul 2007 11:47:00 +0200 + +knetworkmanager (1:0.2~svn678822-2) unstable; urgency=low + + * debian/patches/02-linux_types.patch + - Pass "-std=gnu++98" to CXXFLAGS. Otherwise the type __u64 is not defined + in linux-libc-dev for ANSI C/C89. Closes: #430795 + + -- Michael Biebl Thu, 28 Jun 2007 06:08:04 +0200 + +knetworkmanager (1:0.2~svn678822-1) unstable; urgency=low + + * SVN snapshot of the upcoming 0.2 release which has native VPN plugin + support. Closes: #415742 + * debian/control + - Add XS-Vcs-* fields. + - Add Recommends: network-manager-vpnc, network-manager-openvpn. + * debian/rules + - Compile with openvpn and vpnc support. + + * Removed patches that were merged upstream: + - debian/patches/05-no_deserialize.patch + - debian/patches/06-pretty_notification.patch + - debian/patches/07-overlay_icon_vpn.patch + - debian/patches/08-disable_sm.patch + - debian/patches/09-dbus_bool_t.patch + + * debian/patches/02-linux_types.patch + - Added. Needed to workaround a problem in libnl. + * debian/patches/03-awk_path.patch + - Added. In Debian awk is installed in /usr/bin. + * debian/patches/04-dbus_access.patch + - Do not remove the dbus at_console access check but make it an + alternative to the Debian netdev group policy. Closes: #426467 + * debian/patches/05-leap_support.patch + - Added. Do not fail to compile if LEAP support is not available. + + -- Michael Biebl Fri, 22 Jun 2007 21:08:32 +0100 + +knetworkmanager (1:0.1-4) unstable; urgency=low + + * Actually install the autostart file for knetworkmanager. + Thanks to Yannick Roehlly for spotting this glitch. + + -- Michael Biebl Fri, 12 Jan 2007 11:26:28 +0100 + +knetworkmanager (1:0.1-3) unstable; urgency=low + + * Pull some features and bug fixes from svn: + - debian/patches/05-no_deserialize.patch + + Don't call deserialize on encryption object to avoid warning of + libnm-util. Closes: #391486 + - debian/patches/06-pretty_notification.patch + + Prettify notification messages. + - debian/patches/07-overlay_icon_vpn.patch + + Show overlay icon (lock) for active VPN connections. + - debian/patches/08-disable_sm.patch + + Disable session management to avoid a deadlock when accessing kwallet. + Install an autostart file into /usr/share/autostart/ instead. + Closes: #406162 + - debian/patches/09-dbus_bool_t.patch + + Use dbus_bool_t instead of bool. Closes: #398974 + * debian/patches/01-fix_french_translation.patch + - Added patch from Emmanuel Bouthenot which fixes some errors in the + French translation. Closes: #402285 + + -- Michael Biebl Tue, 9 Jan 2007 16:31:52 +0100 + +knetworkmanager (1:0.1-2) unstable; urgency=low + + * Update maintainer email address to biebl@debian.org. + + -- Michael Biebl Fri, 20 Oct 2006 00:02:03 +0200 + +knetworkmanager (1:0.1-1) unstable; urgency=low + + * Finally the 0.1 release. Woohoo! + - Use an epoch to fix the versioning scheme I managed to mess up. + - Fixes a crash when removing network objects for a nonexistent network + interface. Closes: #390052 + * debian/patches/01-no_network_status.patch + - Removed, fixed upstream. + * debian/patches/03-configure.patch + - Removed, fixed upstream. + * Dropped the build-dep on kapptemplate. The upstream tarball now ships a + proper admin/ directory. + * debian/patches/02-dialup.patch + - Removed. Also dropped the Recommends: pppconfig. pppconfig can't + generate entries for /etc/network/interfaces yet. + + -- Michael Biebl Fri, 29 Sep 2006 19:18:08 +0200 + +knetworkmanager (0.09+0.1r586773-1) unstable; urgency=low + + * Updated to svn revision 586773. + * Do not refer to non existent khelpcenter help:/knetworkmanager/ in man + page. Closes: #385642 + + -- Michael Biebl Wed, 20 Sep 2006 19:46:52 +0200 + +knetworkmanager (0.09+0.1r577960-1) unstable; urgency=low + + * Updated to svn revision 577960. + - Access KWallet on demand, not on startup. Closes: #379606 + * Added a Recommends: pppconfig. Closes: #380316 + + -- Michael Biebl Mon, 28 Aug 2006 01:14:29 +0200 + +knetworkmanager (0.09+0.1r560817-1) unstable; urgency=medium + + * Updated to svn revision 560817. + * Removed 04-gnome_keyring_daemon.patch, fixed upstream. + * Added 04-dbus_access.patch. Fixes D-Bus access rights. + Closes: #379309, #379364 + * Enabled dial up support. Set pppconfig as configuration utility. + Closes: #376071 + * Reload D-Bus after installation. Closes: #379307 + * Updated admin/cvs.sh to support autoconf-2.6. Closes: #379820 + + -- Michael Biebl Tue, 25 Jul 2006 23:33:31 +0200 + +knetworkmanager (0.09+0.1r550737-1) unstable; urgency=low + + * Updated to svn revision 550737. + * Added 01-no_network_status.patch which removes a build dependency on + networkstatus. + * Removed 03-configure_notifications.patch, merged upstream. + * This version does not ship an admin/ directory. Added a build dependency + on kapptemplate and modified debian/rules to copy it from kapptemplate. + * Bumped Standards-Version to 3.7.2, no further changes required. + * Updated homepage URL. + * Added 04-gnome_keyring_daemon.patch which sets the correct path to the + gnome-keyring-daemon binary. VPN plugins use gnome-keyring-daemon to store + their passwords. + + -- Michael Biebl Wed, 14 Jun 2006 17:16:07 +0200 + +knetworkmanager (0.09+0.1r527269-1) unstable; urgency=low + + * New upstream release. + * Removed 01-xdg_app.patch, merged upstream. + * Added 03-configure_notifications.patch, this patch modifies the context + menu of the systray applet to provide quick access to the notification + settings. + * Added a "Provides: knetworkmanager" to make the package installable by its + upstream name. + * Initial upload. Closes: #351069 + + -- Michael Biebl Thu, 27 Apr 2006 08:01:39 +0200 + +knetworkmanager (0.09+0.1r5964-1) unstable; urgency=low + + * Initial release. + + -- Michael Biebl Tue, 7 Feb 2006 21:43:56 +0100 + diff --git a/ubuntu/maverick/applications/knetworkmanager.cmake/debian/compat b/ubuntu/maverick/applications/knetworkmanager.cmake/debian/compat new file mode 100644 index 000000000..7f8f011eb --- /dev/null +++ b/ubuntu/maverick/applications/knetworkmanager.cmake/debian/compat @@ -0,0 +1 @@ +7 diff --git a/ubuntu/maverick/applications/knetworkmanager.cmake/debian/control b/ubuntu/maverick/applications/knetworkmanager.cmake/debian/control new file mode 100644 index 000000000..d1389862e --- /dev/null +++ b/ubuntu/maverick/applications/knetworkmanager.cmake/debian/control @@ -0,0 +1,34 @@ +Source: knetworkmanager-trinity +Section: kde +Priority: optional +Maintainer: Timothy Pearson +Build-Depends: cdbs, + debhelper (>= 7), + pkg-config, + kdelibs4-trinity-dev, + libnm-util-dev (>= 0.7.0), + libnm-glib-dev (>= 0.7.0), + network-manager-dev (>= 0.7.0), + libhal-dev, + libdbus-1-tqt-dev (>= 0.8.1), + libiw-dev, + libnl-dev (>= 1.1), + quilt, + network-manager-vpnc, + network-manager-openvpn, + network-manager-strongswan, + network-manager-pptp, + libtool, libltdl-dev, cmake +Standards-Version: 3.8.3 +Homepage: http://opensuse.org/Projects/KNetworkManager + +Package: network-manager-tde +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, network-manager (>= 0.7.0) +Recommends: kwalletmanager-trinity, network-manager-vpnc, network-manager-openvpn, network-manager-strongswan, network-manager-pptp +Provides: knetworkmanager-trinity +Conflicts: network-manager-kde +Description: KDE systray applet for controlling NetworkManager [Trinity] + Systray applet for controlling network connections managed by + NetworkManager. It is mainly written for KDE3 but also works for + other desktop environments like GNOME or Xfce. diff --git a/ubuntu/maverick/applications/knetworkmanager.cmake/debian/control.in b/ubuntu/maverick/applications/knetworkmanager.cmake/debian/control.in new file mode 100644 index 000000000..c31b9f8b1 --- /dev/null +++ b/ubuntu/maverick/applications/knetworkmanager.cmake/debian/control.in @@ -0,0 +1,36 @@ +Source: knetworkmanager-trinity +Section: kde +Priority: optional +Maintainer: Timothy Pearson +XSBC-Original-Maintainer: @@@MAINTAINER@@@ +Uploaders: @@@UPLOADERS@@@ +Build-Depends: cdbs, + debhelper (>= 7), + pkg-config, + kdelibs4-trinity-dev, + libnm-util-dev (>= 0.7.0), + libnm-glib-dev (>= 0.7.0), + network-manager-dev (>= 0.7.0), + libhal-dev, + libdbus-1-qt3-dev (>= 0.8.1), + libiw-dev, + libnl-dev (>= 1.1), + quilt, + network-manager-vpnc, + network-manager-openvpn, + network-manager-strongswan, + network-manager-pptp, + automake1.11-trinity, autoconf2.63, libtool, libltdl-dev +Standards-Version: 3.8.3 +Homepage: http://opensuse.org/Projects/KNetworkManager + +Package: network-manager-kde-trinity +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, network-manager (>= 0.7.0) +Recommends: kwalletmanager-trinity, network-manager-vpnc, network-manager-openvpn, network-manager-strongswan, network-manager-pptp +Provides: knetworkmanager-trinity +Conflicts: network-manager-kde +Description: KDE systray applet for controlling NetworkManager [Trinity] + Systray applet for controlling network connections managed by + NetworkManager. It is mainly written for KDE3 but also works for + other desktop environments like GNOME or Xfce. diff --git a/ubuntu/maverick/applications/knetworkmanager.cmake/debian/copyright b/ubuntu/maverick/applications/knetworkmanager.cmake/debian/copyright new file mode 100644 index 000000000..2490de254 --- /dev/null +++ b/ubuntu/maverick/applications/knetworkmanager.cmake/debian/copyright @@ -0,0 +1,34 @@ +This package was debianized by Michael Biebl on +Fri, 3 Feb 2006 05:53:06 +0100. + +It was downloaded from http://www.opensuse.org + +Upstream Authors: + Timo Hoenig + Will Stephenson + Stefan Bogner + Helmut Schaa + Valentine Sinitsyn + +Copyright: + Copyright (C) 2005, 2006 Novell, Inc. + +License: + + This package 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 of the License, or + (at your option) any later version. + + This package 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 package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + diff --git a/ubuntu/maverick/applications/knetworkmanager.cmake/debian/knetworkmanager.1 b/ubuntu/maverick/applications/knetworkmanager.cmake/debian/knetworkmanager.1 new file mode 100644 index 000000000..3cd261c89 --- /dev/null +++ b/ubuntu/maverick/applications/knetworkmanager.cmake/debian/knetworkmanager.1 @@ -0,0 +1,145 @@ +.\" This file was generated by kdemangen.pl +.TH KNETWORKMANAGER 1 "Feb 2006" "K Desktop Environment" "A NetworkManager front-end for KDE" +.SH NAME +knetworkmanager +\- A NetworkManager front-end for KDE +.SH SYNOPSIS +knetworkmanager [Qt\-options] [KDE\-options] +.SH DESCRIPTION +A NetworkManager front-end for KDE +.SH OPTIONS +.SS Generic options: +.TP +.B \-\-help +Show help about options +.TP +.B \-\-help\-qt +Show Qt specific options +.TP +.B \-\-help\-kde +Show KDE specific options +.TP +.B \-\-help\-all +Show all options +.TP +.B \-\-author +Show author information +.TP +.B \-v, \-\-version +Show version information +.TP +.B \-\-license +Show license information +.TP +.B \-\- +End of options +.SS +.SS KDE options: +.TP +.B \-\-caption +Use 'caption' as name in the titlebar +.TP +.B \-\-icon +Use 'icon' as the application icon +.TP +.B \-\-miniicon +Use 'icon' as the icon in the titlebar +.TP +.B \-\-config +Use alternative configuration file +.TP +.B \-\-dcopserver +Use the DCOP Server specified by 'server' +.TP +.B \-\-nocrashhandler +Disable crash handler, to get core dumps +.TP +.B \-\-waitforwm +Waits for a WM_NET compatible windowmanager +.TP +.B \-\-style