Commit df09493c authored by Urs Fleisch's avatar Urs Fleisch
Browse files

for Kubuntu 8.10: separate debian directory deb-qt and script build-deb-qt.sh...

for Kubuntu 8.10: separate debian directory deb-qt and script build-deb-qt.sh to build kid3-qt package, deb-kde3 now only creates a KDE 3 package, updated deb-kde4/cdbs files with files from other projects such as darkroom and yakuka
parent ffa20b78
......@@ -20,10 +20,14 @@ The install directory can be assigned to DESTDIR
*** Compile for KDE 4
cmake -DCMAKE_INSTALL_PREFIX=/usr/lib/kde4/ .
cmake .
make
make install
If KDE 4 is installed in its own tree (e.g. on Kubuntu before 8.10),
set the prefix with the -D option, e.g.
cmake -DCMAKE_INSTALL_PREFIX=/usr/lib/kde4/ .
*** Compile for Qt (no KDE)
cd kid3-qt
......@@ -43,13 +47,20 @@ cd kid3-qt
make
make install
*** Create Debian Packages for KDE 3 and Qt
*** Create Debian Packages for KDE 3
Make sure that you have installed all packages listed in deb-kde3/control,
section Build-Depends.
./build-deb-kde3.sh
*** Create Debian Packages for Qt
Make sure that you have installed all packages listed in deb-qt/control,
section Build-Depends.
./build-deb-qt.sh
*** Create Debian Package for KDE 4
Make sure that you have installed all packages listed in deb-kde4/control,
......
......@@ -11,7 +11,7 @@ package-messages:
$(MAKE) -f admin/Makefile.common package-messages
$(MAKE) -C po merge
EXTRA_DIST = admin/* deb-kde3/* deb-kde4/* win32/* AUTHORS COPYING ChangeLog INSTALL README kid3.lsm kid3.spec kid3-qt.pro kid3-qt/configure-kid3-qt.pl kid3-qt/configure.in kid3-qt/config.pri.in kid3-qt/config.h.in kid3-qt/configure
EXTRA_DIST = admin/* deb-kde3/* deb-kde4/* deb-qt/* win32/* AUTHORS COPYING ChangeLog INSTALL README kid3.lsm kid3.spec kid3-qt.pro kid3-qt/configure-kid3-qt.pl kid3-qt/configure.in kid3-qt/config.pri.in kid3-qt/config.h.in kid3-qt/configure
# generate precompiled header allsys.h.gch for GCC 3.4
pch:
......
#!/bin/sh
# Build Debian package for KDE 3 and Qt.
# Build Debian package for KDE 3.
if mv -T deb-kde3 debian; then
dpkg-buildpackage -rfakeroot
mv -T debian deb-kde3
......
#!/bin/sh
# Build Debian package for Qt.
if mv -T deb-qt debian; then
dpkg-buildpackage -rfakeroot
mv -T debian deb-qt
fi
......@@ -31,29 +31,3 @@ Description: KDE MP3 ID3 tag editor
Author: Urs Fleisch <ufleisch@users.sourceforge.net>
Homepage: http://kid3.sourceforge.net/
Package: kid3-qt
Section: sound
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: Audio tag editor
With Kid3, an audio tag editor you can:
* Edit ID3v1.1 tags in your MP3 files
* Edit all ID3v2.3 and ID3v2.4 frames in your MP3 files
* Convert between ID3v1.1, ID3v2.3 and ID3v2.4 tags
* Edit tags in MP3, Ogg/Vorbis, FLAC, MPC, MP4/AAC, MP2, Speex,
TrueAudio and WavPack files.
* Edit tags of multiple files, e.g. the artist, album, year and genre
of all files of an album typically have the same values and can be
set together
* Generate tags from filenames
* Generate filenames from tags
* Generate playlist files
* Automatic case conversion and string translation
* Import and export album data
* Import from gnudb.org, TrackType.org, MusicBrainz, Discogs
.
This package does not use KDE libraries, if you use KDE you should use kid3.
.
Author: Urs Fleisch <ufleisch@users.sourceforge.net>
Homepage: http://kid3.sourceforge.net/
......@@ -47,21 +47,15 @@ build-stamp:
--build=$(DEB_BUILD_GNU_TYPE) \
$(configkde)
$(MAKE)
cd kid3-qt; \
./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
--prefix=/usr --with-qmake=qmake-qt3; \
cd ..
$(MAKE) -C kid3-qt
touch build-stamp
clean:
dh_testdir
dh_testroot
[ ! -f Makefile ] || $(MAKE) -C kid3-qt distclean
[ ! -f Makefile ] || $(MAKE) distclean
$(MAKE) -f /usr/share/quilt/quilt.make unpatch
-rm -f *-stamp po/*.gmo kid3-qt/kid3/*.png kid3-qt/kid3/*.svgz
-rm -f *-stamp po/*.gmo
dh_clean
install: build
......@@ -72,7 +66,6 @@ install: build
# Main install.
$(MAKE) install DESTDIR=$(CURDIR)/debian/kid3
$(MAKE) -C kid3-qt install INSTALL_ROOT=$(CURDIR)/debian/kid3-qt
# Make common links for docs.
for p in `dh_listpackages`; do \
......@@ -91,7 +84,7 @@ binary-arch: build install
dh_installman
# dh_installinfo
dh_installchangelogs ChangeLog
-dh_iconcache
dh_icons
dh_link
dh_strip
dh_compress --exclude=.docbook
......
# -*- mode: makefile; coding: utf-8 -*-
# Copyright (C) 2006 Peter Rockai <me@mornfall.net>
# Copyright (C) 2006 Fathi Boudra <fboudra@free.fr>
# Description: A class for cmake packages
#
# 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.
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_cmake
_cdbs_class_cmake := 1
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
DEB_MAKE_INSTALL_TARGET = install DESTDIR=$(DEB_DESTDIR)
DEB_CMAKE_PREFIX =/usr
# Overriden from makefile-vars.mk
# We pass CFLAGS and friends to ./configure, so no need to pass them to make
DEB_MAKE_INVOKE = $(DEB_MAKE_ENVVARS) $(MAKE) -C $(DEB_BUILDDIR)
include $(_cdbs_class_path)/makefile.mk$(_cdbs_makefile_suffix)
common-configure-arch common-configure-indep:: common-configure-impl
common-configure-impl:: $(DEB_BUILDDIR)/CMakeCache.txt
$(DEB_BUILDDIR)/CMakeCache.txt:
cd $(DEB_BUILDDIR) && cmake $(CURDIR)/$(DEB_SRCDIR) \
-DCMAKE_INSTALL_PREFIX="$(DEB_CMAKE_PREFIX)" \
$(DEB_CMAKE_EXTRA_FLAGS) -DCMAKE_CXX_FLAGS="$(CXXFLAGS)" \
-DCMAKE_C_FLAGS="$(CFLAGS)" -DCMAKE_VERBOSE_MAKEFILE=ON
mkdir -p $(DEB_DESTDIR)
cleanbuilddir::
-if test "$(DEB_BUILDDIR)" != "$(DEB_SRCDIR)"; then rm -rf $(DEB_BUILDDIR); fi
endif
include debian/cdbs/versions.mk
debian/control: debian/control.tmp
mv debian/control.tmp debian/control
debian/control.tmp: update-versions
update-versions: debian/control.in
sed "s/CDBS_MIN_VER/$(CDBS_MIN_VER)/;\
s/QUILT_MIN_VER/$(QUILT_MIN_VER)/;\
s/CMAKE_MIN_VER/$(CMAKE_MIN_VER)/;\
s/KDELIBS_VERSION/$(KDELIBS_VERSION)/;\
s/KDELIBS_UPSTREAM_VERSION/$(KDELIBS_UPSTREAM_VERSION)/;\
s/KDELIBS_SOURCE_VERSION/$(KDELIBS_SOURCE_VERSION)/;\
s/KDEPIMLIBS_VERSION/$(KDEPIMLIBS_VERSION)/;\
s/KDEPIMLIBS_SOURCE_VERSION/$(KDEPIMLIBS_SOURCE_VERSION)/;\
s/KDEPIMLIBS_UPSTREAM_VERSION/$(KDEPIMLIBS_UPSTREAM_VERSION)/;\
" debian/control.in > debian/control.tmp
.PHONY: update-versions
#!/usr/bin/perl -w
use strict;
use Dpkg::Control;
use Dpkg::Substvars;
use Dpkg::ErrorHandling;
use File::Copy;
use Debian::Debhelper::Dh_Lib;
my $namespace = "sameVersionDep";
my @fields = qw(Depends Recommends Suggests Enhances Pre-Depends);
my $re_fields = join("|", @fields);
my $re_pkgname = qr/[a-z0-9][a-z0-9+.-]*/;
my $re_oursubstvar = qr/\$\{($namespace:($re_pkgname):($re_pkgname)-($re_fields)-($re_pkgname))\}/;
# Global substvars file
my $g_substvars = new Dpkg::Substvars;
$g_substvars->parse("debian/substvars") if (-r "debian/substvars");
sub Shlibsvars::new {
my ($cls, $package, $control, $substvars_file) = @_;
my $self = bless ( {
"package" => $package,
"control" => $control,
"file" => $substvars_file,
}, $cls);
$self->{substvars} = new Dpkg::Substvars;
if (-r $self->{file}) {
$self->{substvars}->parse($self->{file});
}
return $self;
}
sub Shlibsvars::get_fieldval {
my ($self, $field) = @_;
my $pkg = $self->{control}->get_pkg_by_name($self->{package});
return undef if (!defined $pkg || !exists $pkg->{$field});
# Turn of warnings for substvars runs
my $save_quiet = $Dpkg::ErrorHandling::quiet_warnings;
$Dpkg::ErrorHandling::quiet_warnings = 1;
my $val = $pkg->{$field};
$val = $self->{substvars}->substvars($val);
$val = $g_substvars->substvars($val);
$Dpkg::ErrorHandling::quiet_warnings = $save_quiet;
return $val;
}
sub Shlibsvars::extract_deps {
my ($self, $field, $deppkg) = @_;
my $val = $self->get_fieldval($field);
return undef() unless defined $val;
# Extract dependency fields we need
my @matched_deps;
for my $dep (split(/\s*,\s*/, $val)) {
if ($dep =~ /^\Q$deppkg\E(?:$|[\W])/) {
push @matched_deps, $dep;
}
}
return join(",", @matched_deps);
}
sub write_substvar($$$$) {
my ($pkgname, $varname, $value, $substvars) = @_;
my @contents;
my $varset = 0;
my $file = (-r $substvars) ? $substvars : "debian/substvars";
if (-r $file) {
open(FILE, "<$file") or die "Unable to open substvars file '$file' for reading\n";
while (<FILE>) {
if (!$varset && /^\s*\Q$varname=\E/) {
push @contents, "$varname=$value\n";
$varset = 1;
} else {
push @contents, $_;
}
}
close(FILE);
} else {
# Fallback to default
$file = $substvars;
}
open(FILE, ">$file.tmp") or die "Unable to open substvars file '$file.tmp' for writing\n";
for (@contents) {
print FILE $_;
}
if (!$varset) {
print FILE "$varname=$value", "\n";
}
close(FILE);
File::Copy::move("$file.tmp", "$file");
}
init();
my $control = new Dpkg::Control;
my %shlibsvars;
foreach my $package (@{$dh{DOPACKAGES}}) {
my $pkg_substvars = sprintf("debian/%ssubstvars", pkgext($package));
my $pkg = $control->get_pkg_by_name($package);
for my $fieldname (@fields) {
if (exists $pkg->{$fieldname}) {
my $fieldval = $pkg->{$fieldname};
my $pkgname = $pkg->{Package};
while ($fieldval =~ m/\G.*?$re_oursubstvar/g) {
my $varname = $1;
my $dep2add = $2;
my $basepkg = $3;
my $deptype = $4;
my $deppkg = $5;
if (!exists $shlibsvars{$basepkg}) {
my $base_substvars = sprintf("debian/%ssubstvars", pkgext($basepkg));
$shlibsvars{$basepkg} = new Shlibsvars($basepkg, $control, $base_substvars);
}
my $vars = $shlibsvars{$basepkg};
my $deps = $vars->extract_deps($deptype, $deppkg);
$deps = "" unless($deps);
$deps =~ s/\b\Q$deppkg\E\b/$dep2add/g;
# Write substvar for the package
write_substvar($pkgname, $varname, $deps, $pkg_substvars);
}
}
}
}
exit 0
# until bug 377524 resolved.
include debian/cdbs/cmake.mk
include /usr/share/cdbs/1/class/cmake.mk
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/rules/patchsys-quilt.mk
# until bug #423394 resolved.
include debian/cdbs/utils.mk
include /usr/share/cdbs/1/rules/utils.mk
DEB_CONFIG_INSTALL_DIR ?= /usr/share/kde4/config
DEB_COMPRESS_EXCLUDE = .dcl .docbook -license .tag .sty .el
DEB_CMAKE_EXTRA_FLAGS += \
$(DEB_CMAKE_DEBUG_FLAGS) \
-DCMAKE_BUILD_TYPE=Debian \
$(KDE4-ENABLE-FINAL) \
-DKDE4_BUILD_TESTS=true \
-DKDE4_BUILD_TESTS=false \
-DKDE_DISTRIBUTION_TEXT="Kubuntu packages" \
-DCONFIG_INSTALL_DIR=$(DEB_CMAKE_PREFIX)/etc/kde4 \
-DDATA_INSTALL_DIR=$(DEB_CMAKE_PREFIX)/share/kde4/apps \
-DHTML_INSTALL_DIR=$(DEB_CMAKE_PREFIX)/share/doc/kde4/HTML \
-DKCFG_INSTALL_DIR=$(DEB_CMAKE_PREFIX)/share/kde4/config.kcfg \
-DLIB_INSTALL_DIR=$(DEB_CMAKE_PREFIX)/lib \
-DSYSCONF_INSTALL_DIR=$(DEB_CMAKE_PREFIX)/etc
-DCMAKE_SKIP_RPATH=true \
-DKDE4_USE_ALWAYS_FULL_RPATH=false \
-DCONFIG_INSTALL_DIR=$(DEB_CONFIG_INSTALL_DIR) \
-DDATA_INSTALL_DIR=/usr/share/kde4/apps \
-DHTML_INSTALL_DIR=/usr/share/doc/kde4/HTML \
-DKCFG_INSTALL_DIR=/usr/share/kde4/config.kcfg \
-DLIB_INSTALL_DIR=/usr/lib \
-DSYSCONF_INSTALL_DIR=/etc
# Set the one below to something else than 'yes' to disable linking
# with --as-needed (on by default)
DEB_KDE_LINK_WITH_AS_NEEDED ?= yes
ifneq (,$(findstring yes, $(DEB_KDE_LINK_WITH_AS_NEEDED)))
ifeq (,$(findstring no-as-needed, $(DEB_BUILD_OPTIONS)))
DEB_KDE_LINK_WITH_AS_NEEDED := yes
DEB_CMAKE_EXTRA_FLAGS += \
-DCMAKE_SHARED_LINKER_FLAGS="-Wl,--no-undefined -Wl,--as-needed" \
-DCMAKE_MODULE_LINKER_FLAGS="-Wl,--no-undefined -Wl,--as-needed" \
-DCMAKE_EXE_LINKER_FLAGS="-Wl,--no-undefined -Wl,--as-needed"
else
DEB_KDE_LINK_WITH_AS_NEEDED := no
endif
else
DEB_KDE_LINK_WITH_AS_NEEDED := no
endif
DEB_CMAKE_PREFIX = /usr/lib/kde4
DEB_DH_INSTALL_ARGS = --sourcedir=debian/tmp
DEB_DH_SHLIBDEPS_ARGS = -l/usr/lib/kde4/lib/
#DEB_CMAKE_PREFIX = /usr/lib/kde4
DEB_DH_INSTALL_SOURCEDIR = debian/tmp
#DEB_DH_SHLIBDEPS_ARGS = -l/usr/lib/kde4/lib/
DEB_KDE_ENABLE_FINAL ?=
#DEB_MAKE_ENVVARS += XDG_CONFIG_DIRS=/etc/xdg XDG_DATA_DIRS=/usr/share
#DEB_STRIP_EXCLUDE = so
......@@ -34,14 +53,6 @@ ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
endif
endif
ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
#no optimizations, full debug
DEB_CMAKE_DEBUG_FLAGS = -DCMAKE_BUILD_TYPE=debugfull
else
#This is around -O2 -g
DEB_CMAKE_DEBUG_FLAGS = -DCMAKE_BUILD_TYPE=relwithdebinfo
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
......@@ -57,13 +68,25 @@ debian/stamp-man-pages:
clean::
ifndef THIS_SHOULD_GO_TO_UNSTABLE
#guard against experimental uploads to unstable
#dpkg-parsechangelog | grep ^Distribution | grep -q experimental
#dpkg-parsechangelog | grep ^Distribution | grep -q 'experimental\|UNRELEASED'
endif
rm -rf debian/man/out
-rmdir debian/man
rm -f debian/stamp-man-pages
rm -f CMakeCache.txt
$(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)/usr/share/doc/kde/HTML/en; find . -name index.docbook`; do \
......@@ -77,3 +100,9 @@ binary-install/$(DEB_SOURCE_PACKAGE)-doc-html::
rm -rf debian/$(DEB_SOURCE_PACKAGE)-doc-html/usr/share/doc/kde/HTML/en/$$pkg; \
done
# Process "sameVersionDep:" substvars
DH_SAMEVERSIONDEPS=debian/cdbs/dh_sameversiondeps
common-binary-predeb-arch common-binary-predeb-indep::
@if [ ! -x "$(DH_SAMEVERSIONDEPS)" ]; then chmod a+x "$(DH_SAMEVERSIONDEPS)"; fi
$(DH_SAMEVERSIONDEPS)
# -*- mode: makefile; coding: utf-8 -*-
# Copyright © 2003 Colin Walters <walters@debian.org>
# Description: Defines various random rules, including a list-missing rule
#
# 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_utils
_cdbs_rules_utils = 1
include $(_cdbs_rules_path)/buildcore.mk$(_cdbs_makefile_suffix)
DEB_PHONY_RULES += list-missing
list-missing:
@if test -d debian/tmp; then \
(cd debian/tmp && find . -type f -o -type l | grep -v '/DEBIAN/' | sort) > debian/cdbs-install-list; \
(for package in $(DEB_ALL_PACKAGES); do \
(cd debian/$$package && find . -type f -o -type l); \
done) | sort -u > debian/cdbs-package-list; \
if test -e debian/not-installed ;\
then grep -v '^#' debian/not-installed >> debian/cdbs-package-list ; \
sort -u <debian/cdbs-package-list > debian/cdbs-package-list.tmp ; mv debian/cdbs-package-list.tmp debian/cdbs-package-list ; \
fi ;\
diff -u debian/cdbs-install-list debian/cdbs-package-list | sed '1,2d' | egrep '^-' || true; \
else \
echo "All files were installed into debian/$(DEB_SOURCE_PACKAGE)."; \
fi
clean::
rm -f debian/cdbs-install-list debian/cdbs-package-list
endif
CDBS_MIN_VER:=0.4.52
QUILT_MIN_VER:=0.40
CMAKE_MIN_VER:=2.4.8
KDELIBS_VERSION:=$(shell dpkg -l kdelibs5 | grep kdelibs5 | awk '{print $$3}')
KDELIBS_SOURCE_VERSION:=$(shell echo $(KDELIBS_VERSION) | sed 's/+b.*//')
KDELIBS_UPSTREAM_VERSION:=$(shell echo $(KDELIBS_VERSION) | sed 's/-.*//')
KDEPIMLIBS_VERSION:=$(shell dpkg -l kdepimlibs5 | grep kdepimlibs5 | awk '{print $$3}')
KDEPIMLIBS_SOURCE_VERSION:=$(shell echo $(KDEPIMLIBS_VERSION) | sed 's/+b.*//')
KDEPIMLIBS_UPSTREAM_VERSION:=$(shell echo $(KDEPIMLIBS_VERSION) | sed 's/-.*//')
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/