diff options
Diffstat (limited to 'ubuntu/lucid_automake/applications/kbarcode/debian')
18 files changed, 979 insertions, 0 deletions
diff --git a/ubuntu/lucid_automake/applications/kbarcode/debian/README.Debian b/ubuntu/lucid_automake/applications/kbarcode/debian/README.Debian new file mode 100644 index 000000000..b0302c211 --- /dev/null +++ b/ubuntu/lucid_automake/applications/kbarcode/debian/README.Debian @@ -0,0 +1,107 @@ +Debian kde-extras Team +---------------------- + +1. Contacts +----------- + +General help requests + <debian-kde@lists.debian.org> mailing list + #debian-kde on irc + +Packaging queries + <debian-qt-kde@lists.debian.org> mailing list + #debian-qt-kde on irc + +Maintainers + <pkg-kde-extras@lists.alioth.debian.org> 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/ubuntu/lucid_automake/applications/kbarcode/debian/cdbs/buildvars.mk b/ubuntu/lucid_automake/applications/kbarcode/debian/cdbs/buildvars.mk new file mode 100644 index 000000000..23d4709dc --- /dev/null +++ b/ubuntu/lucid_automake/applications/kbarcode/debian/cdbs/buildvars.mk @@ -0,0 +1,86 @@ +# -*- mode: makefile; coding: utf-8 -*- +# Copyright © 2002,2003 Colin Walters <walters@debian.org> +# 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/lucid_automake/applications/kbarcode/debian/cdbs/debian-qt-kde.mk b/ubuntu/lucid_automake/applications/kbarcode/debian/cdbs/debian-qt-kde.mk new file mode 100644 index 000000000..2be8f97f1 --- /dev/null +++ b/ubuntu/lucid_automake/applications/kbarcode/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/kde3/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/kde3/share/doc/kde/HTML/en/$$pkg; \ + cd $(CURDIR)/debian/$(DEB_SOURCE_PACKAGE)-doc-html/opt/kde3/share/doc/kde/HTML/en/$$pkg; \ + /opt/kde3/bin/meinproc $(DEB_DESTDIR)/opt/kde3/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/kde3/share/doc/kde/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/ubuntu/lucid_automake/applications/kbarcode/debian/cdbs/kde.mk b/ubuntu/lucid_automake/applications/kbarcode/debian/cdbs/kde.mk new file mode 100644 index 000000000..9e4117558 --- /dev/null +++ b/ubuntu/lucid_automake/applications/kbarcode/debian/cdbs/kde.mk @@ -0,0 +1,97 @@ +# -*- mode: makefile; coding: utf-8 -*- +# Copyright © 2003 Christopher L Cheney <ccheney@debian.org> +# 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}/kde3 +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/kde" +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/kde3/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/lucid_automake/applications/kbarcode/debian/cdbs/team-members b/ubuntu/lucid_automake/applications/kbarcode/debian/cdbs/team-members new file mode 100644 index 000000000..05761af6e --- /dev/null +++ b/ubuntu/lucid_automake/applications/kbarcode/debian/cdbs/team-members @@ -0,0 +1,16 @@ +Sune Vuorela <debian@pusling.com> +Ana Beatriz Guerrero Lopez <ana@debian.org> +Fathi Boudra <fboudra@free.fr> +Modestas Vainius <geromanas@mailas.com> +Josh Metzler <joshdeb@metzlers.org> +Isaac Clerencia <isaac@debian.org> +Adeodato Simó <dato@net.com.org.es> +Adeodato Simo <dato@net.com.org.es> +Christopher Martin <chrsmrtn@debian.org> +Daniel Schepler <schepler@debian.org> +Sarah Hobbs <hobbsee@ubuntu.com> +Nacho Barrientos Arias <nacho@debian.org> +Ricardo Javier Cardenes Medina <rcardenes@debian.org> +Ricardo Cardenes <rcardenes@debian.org> +Armin Berres <trigger+debian@space-based.de> +Francesco Pedrini <francesco.pedrini@gmail.com> diff --git a/ubuntu/lucid_automake/applications/kbarcode/debian/cdbs/uploaders.mk b/ubuntu/lucid_automake/applications/kbarcode/debian/cdbs/uploaders.mk new file mode 100644 index 000000000..31adfe31e --- /dev/null +++ b/ubuntu/lucid_automake/applications/kbarcode/debian/cdbs/uploaders.mk @@ -0,0 +1,29 @@ + +MAINTAINER=Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org> +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/lucid_automake/applications/kbarcode/debian/cdbs/versions.pl b/ubuntu/lucid_automake/applications/kbarcode/debian/cdbs/versions.pl new file mode 100644 index 000000000..9ce11d8a3 --- /dev/null +++ b/ubuntu/lucid_automake/applications/kbarcode/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/lucid_automake/applications/kbarcode/debian/changelog b/ubuntu/lucid_automake/applications/kbarcode/debian/changelog new file mode 100644 index 000000000..e5d238140 --- /dev/null +++ b/ubuntu/lucid_automake/applications/kbarcode/debian/changelog @@ -0,0 +1,163 @@ +kbarcode-kde3 (2.0.6-0ubuntu3) karmic; urgency=low + + * Karmic rebuild + + -- Timothy Pearson <kb9vqf@pearsoncomputing.net> Thu, 02 July 2009 16:08:00 -0600 + +kbarcode-kde3 (2.0.6-0ubuntu2) intrepid; urgency=low + + * Moved KDE3 to /opt/kde3 + * Integrated properly with KDE4.2+ + + -- Timothy Pearson <kb9vqf@pearsoncomputing.net> Wed, 04 March 2009 01:11:00 -0600 + +kbarcode-kde3 (2.0.6-0ubuntu1) intrepid; urgency=low + + * Added -kde3 suffix + + -- Timothy Pearson <kb9vqf@pearsoncomputing.net> Mon, 29 Dec 2008 18:47:00 -0600 + +kbarcode (2.0.6-1) unstable; urgency=low + + * New upstream release. (Closes: #445734, #445738) + + [ Mark Purcell ] + * Update ./debian/rules get-orig-source for http://buildserver.net. + + [ Fathi Boudra ] + * Update menu file to latest Debian menu policy. + * Add makebuilddir target to generate proper configure script with automake. + Workaround unsermake generated configure provided by upstream. + + -- Fathi Boudra <fboudra@free.fr> Wed, 17 Oct 2007 15:43:24 +0200 + +kbarcode (2.0.5-1) unstable; urgency=low + + * New upstream release. + + -- Fathi Boudra <fboudra@free.fr> Thu, 9 Nov 2006 10:09:24 +0100 + +kbarcode (2.0.4-1) unstable; urgency=low + + [ Mark Purcell ] + * New upstream release + * Ack NMU's: + - FTBFS: ICE on m68k, arm and hppa (Closes: #330937) + - FTBFS: build-depends on removed xlibs-dev (Closes: #346743) + - kbarcode_1.8.0-2(GNU/k*BSD): out of date config.sub/config.guess + (Closes: #303338) + - error in doc-base file (Closes: #215385) + - Package explicitely build-depends on g++-3.4 (Closes: #342975) + - [INTL:de] German PO file corrections (Closes: #314013) + - Please update config.* (Closes: #357331) + + [ Fathi Boudra ] + * Added to Recommends: libqt3-mt-mysql | libqt3-mt-psql | libqt3-mt-odbc | + libqt3-mt-sqlite | libqt3-mt-ibase + + -- Mark Purcell <msp@debian.org> Fri, 28 Jul 2006 21:30:19 +0100 + +kbarcode (2.0.3-1) unstable; urgency=low + + * New maintainer + * Maintainer: KDE Extras Team + * Uploaders: Fathi Boudra and Mark Purcell + * New upstream release (Closes: #278751, #320912, #345787, #357391) + * Converted package to cdbs + * compat: bumped to 5 + * control: + * replaced Sections x11 by kde + * removed unneeded Build-depends: libx11-dev, libxext-dev, libxpm-dev, + libqt3-mt-dev + * bumped Standards-Version to 3.7.2 + * removed unneeded Depends: libqt3-mt + * improved short and lon description + * copyright: + * added missing copyright for barkode and barcode.ps + * added barcode.ps license + * Added manpage (Closes: #370547) + * Added watch file + * Fixed menu by deleting kderemove entry + + -- Fathi Boudra <fboudra@free.fr> Tue, 27 Jun 2006 17:59:57 +0200 + +kbarcode (1.8.0-3.3) unstable; urgency=low + + * Non-maintainer upload. + * Move config.{guess,sub} to admin directory (Closes: #357331). + + -- Luk Claes <luk@debian.org> Thu, 16 Mar 2006 23:51:42 +0100 + +kbarcode (1.8.0-3.2) unstable; urgency=high + + * Non-maintainer upload. + * Split xlibs-dev build-dep (Closes: #346743). + * Remove explicit build-dep on g++-3.4 (Closes: #342975). + * German PO file corrections (Closes: #314013). + * Support GNU/kFreeBSD (Closes: #303338). + + -- Luk Claes <luk@debian.org> Wed, 11 Jan 2006 16:05:43 +0100 + +kbarcode (1.8.0-3.1) unstable; urgency=medium + + * Non-maintainer upload. + * Build-dep on g++-3.4 on arm, hppa and m68k (closes: #330937). + + -- Luk Claes <luk@debian.org> Sat, 1 Oct 2005 20:03:32 +0200 + +kbarcode (1.8.0-3) unstable; urgency=low + + * Fixed the Qt/KDE transition problems (closes: #327942). + + -- Theodore Karkoulis <bilbo@debian.org> Sat, 17 Sep 2005 18:12:10 +0300 + +kbarcode (1.8.0-2) unstable; urgency=low + + * Applied the patches from Andreas Jochens, closes: #258475, #286981. + + -- Theodore Karkoulis <bilbo@debian.org> Tue, 4 Jan 2005 17:16:05 +0200 + +kbarcode (1.8.0-1) unstable; urgency=low + + * New upstream release + + -- Theodore Karkoulis <bilbo@debian.org> Sun, 29 Aug 2004 07:25:25 +0300 + +kbarcode (1.6.2-1) unstable; urgency=low + + * New upstream release + + -- Theodore Karkoulis <bilbo@debian.org> Sun, 15 Feb 2004 19:00:42 +0200 + +kbarcode (1.6.1-1) unstable; urgency=low + + * New upstream Version + * Fixes the /usr/share/doc/kbarcode/html problem, closes: #215385 + + -- Theodore Karkoulis <bilbo@debian.org> Tue, 27 Jan 2004 11:05:20 +0200 + +kbarcode (1.4.1-1) unstable; urgency=low + + * New Upstream Version. + + -- Theodore Karkoulis <bilbo@debian.org> Thu, 30 Oct 2003 23:52:02 +0200 + +kbarcode (1.2.1-3) unstable; urgency=low + + * Fixes the g++-3.3 compile problem, closes: #216751 + + -- Theodore Karkoulis <bilbo@debian.org> Mon, 27 Oct 2003 20:47:33 +0200 + +kbarcode (1.2.1-2) unstable; urgency=low + + * Fixes the xlibs-dev build dependency, closes: #212501, #212666. + * changelog + + -- Theodore Karkoulis <bilbo@debian.org> Mon, 27 Oct 2003 20:47:06 +0200 + +kbarcode (1.2.1-1) unstable; urgency=low + + * Initial Release. + + -- Theodore Karkoulis <bilbo@debian.org> Tue, 16 Sep 2003 13:36:54 +0300 + diff --git a/ubuntu/lucid_automake/applications/kbarcode/debian/compat b/ubuntu/lucid_automake/applications/kbarcode/debian/compat new file mode 100644 index 000000000..7ed6ff82d --- /dev/null +++ b/ubuntu/lucid_automake/applications/kbarcode/debian/compat @@ -0,0 +1 @@ +5 diff --git a/ubuntu/lucid_automake/applications/kbarcode/debian/control b/ubuntu/lucid_automake/applications/kbarcode/debian/control new file mode 100644 index 000000000..c4a26525c --- /dev/null +++ b/ubuntu/lucid_automake/applications/kbarcode/debian/control @@ -0,0 +1,33 @@ +Source: kbarcode-kde3 +Section: kde +Priority: optional +Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net> +Uploaders: Fathi Boudra <fboudra@free.fr>, Mark Purcell <msp@debian.org> +Build-Depends: cdbs, debhelper (>= 5), quilt, kdelibs4-kde3-dev, automake1.11-kde3, autoconf2.63, libtool, libltdl-dev +Standards-Version: 3.8.3 + +Package: kbarcode-kde3 +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, barcode, imagemagick +Recommends: libqt3-mt-mysql | libqt3-mt-psql | libqt3-mt-odbc | libqt3-mt-sqlite | + libqt3-mt-ibase +Description: barcode and label printing application for KDE3 + KBarcode is a barcode and label printing application for KDE3. It can be used + to print everything from simple business cards up to complex labels with + several barcodes (e.g. article descriptions). + . + KBarcode comes with an easy to use WYSIWYG label designer, a setup wizard, + batch import of data for batch printing labels (directly from the delivery + note), thousands of predefined labels, database management tools and + translations in many languages. Even printing more than 10.000 labels in one + go is no problem for KBarcode. Data for printing can be imported from several + different data sources, including SQL databases, CSV files and the KDE address + book. + . + Additionally it is a simple barcode generator (similar to the old xbarcode you + might know). All major types of barcodes like EAN, UPC, CODE39 and ISBN are + supported. Even complex 2D barcodes are supported using third party tools. The + generated barcodes can be directly printed or you can export them into images + to use them in another application. + . + Homepage: http://www.kbarcode.net diff --git a/ubuntu/lucid_automake/applications/kbarcode/debian/copyright b/ubuntu/lucid_automake/applications/kbarcode/debian/copyright new file mode 100644 index 000000000..37bf717a2 --- /dev/null +++ b/ubuntu/lucid_automake/applications/kbarcode/debian/copyright @@ -0,0 +1,75 @@ +This package was debianized by Theodore Karkoulis <bilbo@debian.org> on +Tue, 16 Sep 2003 13:36:54 +0300. + +It is now maintained by KDE Extras Team. + +It was downloaded from http://www.kbarcode.net + +Upstream Author: Dominik Seichter <domseichter@web.de> + +Copyright: Copyright (C) 2002-2006 Dominik Seichter <domseichter@web.de> + +Copyright for barkode: Copyright (C) 1998-2000 Torben Weis <weis@kde.org> + +Copyright for Barcode Writer in Pure PostScript: + Copyright (C) 2006 Terry Burton <tez@terryburton.co.uk> + +barcode.ps license: + +The file kbarcode/barcode.ps which is included in this +distribution is licensed under the following conditions: +======================================================== + +Barcode Writer in Pure PostScript +http://www.terryburton.co.uk/barcodewriter/ + +Copyright (c) 2005 Terry Burton - tez@terryburton.co.uk + +Permission is hereby granted, free of charge, to any +person obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the +Software without restriction, including without +limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software +is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice +shall be included in all copies or substantial portions +of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY +KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO +THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL +THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, +DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF +CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +IN THE SOFTWARE. + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/BSD'. + +kbarcode 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-2'. + +The Debian packaging is (C) 2006, Fathi Boudra <fboudra@free.fr> and +is licensed under the GPL, see above. diff --git a/ubuntu/lucid_automake/applications/kbarcode/debian/docs b/ubuntu/lucid_automake/applications/kbarcode/debian/docs new file mode 100644 index 000000000..724e08449 --- /dev/null +++ b/ubuntu/lucid_automake/applications/kbarcode/debian/docs @@ -0,0 +1,2 @@ +README +TODO diff --git a/ubuntu/lucid_automake/applications/kbarcode/debian/kbarcode.1 b/ubuntu/lucid_automake/applications/kbarcode/debian/kbarcode.1 new file mode 100644 index 000000000..12d3bfaad --- /dev/null +++ b/ubuntu/lucid_automake/applications/kbarcode/debian/kbarcode.1 @@ -0,0 +1,194 @@ +.\" This file was generated by (a slightly modified) kdemangen.pl and edited by hand +.TH KBARCODE 1 "Jun 2006" "K Desktop Environment" "barcode and label printing" +.SH NAME +kbarcode +\- KBarcode is a barcode and label printing application +.SH SYNOPSIS +\fBkbarcode\fP [Qt\-options] [KDE\-options] [\fIfile\fP] +.SH DESCRIPTION +\fBKBarcode\fP is a barcode and label printing application for KDE. It can be used to print everything from simple business cards up to complex labels with several barcodes, such as article descriptions. +.sp 1 +\fBKBarcode\fP comes with an easy\-to\-use WYSIWYG label designer, a setup wizard, batch import of labels (directly from the delivery note), thousands of predefined labels, database management tools, and translations in many languages. +.sp 1 +Even printing more than 10,000 labels in one go is no problem for \fBKBarcode\fP. +.sp 1 +Additionally, it is a simple xbarcode replacement for the creation of barcodes. All major types of barcodes like EAN, UPC, CODE39, and ISBN are supported. +.SH OPTIONS +.SS +.SS Arguments: +.TP +.B file +load label +.SS +.SS Options: +.TP +.BR \-b \ +[ \fIfile\fP ] +import data for batch printing +.TP +.BR \-l \ +[ \fIfile\fP ] +label for batch printing +.TP +.B \-c +customer id for batch printing +.TP +.B \-d <printer> +Printer/destination to print on +.TP +.B \-\-single +start as xbarcode replacement +.TP +.B \-\-batch +start in batch printing mode +.TP +.B \-\-label +start label editor +.TP +.B \-\-print +print immediately in batch mode +.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 Qt options: +.TP +.B \-\-display <displayname> +Use the X\-server display 'displayname' +.TP +.B \-\-session <sessionId> +Restore the application for the given 'sessionId' +.TP +.B \-\-cmap +Causes the application to install a private color +map on an 8\-bit display +.TP +.B \-\-ncols <count> +Limits the number of colors allocated in the color +cube on an 8\-bit display, if the application is +using the QApplication::ManyColor color +specification +.TP +.B \-\-nograb +tells Qt to never grab the mouse or the keyboard +.TP +.B \-\-dograb +running under a debugger can cause an implicit +\-nograb, use \-dograb to override +.TP +.B \-\-sync +switches to synchronous mode for debugging +.TP +.B \-\-fn, \-\-font <fontname> +defines the application font +.TP +.B \-\-bg, \-\-background <color> +sets the default background color and an +application palette (light and dark shades are +calculated) +.TP +.B \-\-fg, \-\-foreground <color> +sets the default foreground color +.TP +.B \-\-btn, \-\-button <color> +sets the default button color +.TP +.B \-\-name <name> +sets the application name +.TP +.B \-\-title <title> +sets the application title (caption) +.TP +.B \-\-visual TrueColor +forces the application to use a TrueColor visual on +an 8\-bit display +.TP +.B \-\-inputstyle <inputstyle> +sets XIM (X Input Method) input style. Possible +values are onthespot, overthespot, offthespot and +root +.TP +.B \-\-im <XIM server> +set XIM server +.TP +.B \-\-noxim +disable XIM +.TP +.B \-\-reverse +mirrors the whole layout of widgets +.SS +.SS KDE options: +.TP +.B \-\-caption <caption> +Use 'caption' as name in the titlebar +.TP +.B \-\-icon <icon> +Use 'icon' as the application icon +.TP +.B \-\-miniicon <icon> +Use 'icon' as the icon in the titlebar +.TP +.B \-\-config <filename> +Use alternative configuration file +.TP +.B \-\-dcopserver <server> +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 <style> +sets the application GUI style +.TP +.B \-\-geometry <geometry> +sets the client geometry of the main widget \- see man X for the argument format +.SS + +.SH SEE ALSO +.TP +\fI/usr/share/apps/kbarcode/barcodes.html\fP +informations about different barcodes +.TP +\fBhttp://freshmeat.net/projects/kbarcode/\fP +\fBKBarcode\fP project page +.TP +\fBhttp://www.kbarcode.net/\fP +\fBKBarcode\fP home page +.br +.SH AUTHORS +.nf +Dominik Seichter <domseichter@web.de> +.br +Stefan "Stonki" Onken <support@stonki.de> +.br + +.br +.fi +Please use http://bugs.kde.org to report bugs, do not mail the authors directly. +.PP +This manual page was written by Holger Hartmann <Holger_Hartmann@gmx.de> for the \fBDebian\fP Project (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version or any later version published by the Free Software Foundation. +.PP +On \fBDebian\fP systems, the complete text of the GNU General Public License can be found in /usr/share/common\-licenses/GPL. diff --git a/ubuntu/lucid_automake/applications/kbarcode/debian/menu b/ubuntu/lucid_automake/applications/kbarcode/debian/menu new file mode 100644 index 000000000..48b3f8eff --- /dev/null +++ b/ubuntu/lucid_automake/applications/kbarcode/debian/menu @@ -0,0 +1,6 @@ +?package(kbarcode):\ + needs="X11"\ + section="Applications/Graphics"\ + hints="KDE,Barcode"\ + title="KBarcode"\ + command="/usr/bin/kbarcode" diff --git a/ubuntu/lucid_automake/applications/kbarcode/debian/patches/.gitignore b/ubuntu/lucid_automake/applications/kbarcode/debian/patches/.gitignore new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/ubuntu/lucid_automake/applications/kbarcode/debian/patches/.gitignore diff --git a/ubuntu/lucid_automake/applications/kbarcode/debian/rules b/ubuntu/lucid_automake/applications/kbarcode/debian/rules new file mode 100755 index 000000000..75ea19eb3 --- /dev/null +++ b/ubuntu/lucid_automake/applications/kbarcode/debian/rules @@ -0,0 +1,39 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include debian/cdbs/kde.mk +include /usr/share/cdbs/1/rules/patchsys-quilt.mk +include /usr/share/cdbs/1/rules/utils.mk + +DEB_CONFIGURE_INCLUDEDIR := /opt/kde3/include/kde +DEB_CONFIGURE_MANDIR := /opt/kde3/share/man +DEB_CONFIGURE_PREFIX := /opt/kde3 +DEB_CONFIGURE_INFODIR := /opt/kde3/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_MANPAGES_kbarcode-kde3 := debian/kbarcode.1 + +DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/opt/kde3 --with-extra-libs=/opt/kde3/lib + +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 + +makebuilddir/kbarcode-kde3:: + find . -type f -name Makefile.in | xargs rm -f + $(MAKE) -f admin/Makefile.common + +get-orig-source: + @@dh_testdir + @@[ -d ../tarballs/. ] + @@dpatch-get-origtargz ../tarballs + diff --git a/ubuntu/lucid_automake/applications/kbarcode/debian/source.lintian-overrides b/ubuntu/lucid_automake/applications/kbarcode/debian/source.lintian-overrides new file mode 100644 index 000000000..273db6f1c --- /dev/null +++ b/ubuntu/lucid_automake/applications/kbarcode/debian/source.lintian-overrides @@ -0,0 +1 @@ +kbarcode-kde3 source: source-contains-CVS-dir admin/CVS diff --git a/ubuntu/lucid_automake/applications/kbarcode/debian/watch b/ubuntu/lucid_automake/applications/kbarcode/debian/watch new file mode 100644 index 000000000..f0291570e --- /dev/null +++ b/ubuntu/lucid_automake/applications/kbarcode/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://sf.net/kbarcode/kbarcode-(.*)\.tar\.gz debian svn-upgrade |