summaryrefslogtreecommitdiffstats
path: root/debian/_base/applications/multimedia/k3b/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian/_base/applications/multimedia/k3b/debian')
-rw-r--r--debian/_base/applications/multimedia/k3b/debian/KUBUNTU-DEBIAN-DIFFERENCES3
-rw-r--r--debian/_base/applications/multimedia/k3b/debian/cdbs/debian-tde.mk7
-rw-r--r--debian/_base/applications/multimedia/k3b/debian/compat2
-rw-r--r--debian/_base/applications/multimedia/k3b/debian/control16
-rw-r--r--debian/_base/applications/multimedia/k3b/debian/k3b-data.files5
-rw-r--r--debian/_base/applications/multimedia/k3b/debian/k3b-data.install11
-rw-r--r--debian/_base/applications/multimedia/k3b/debian/k3b-trinity.1207
-rw-r--r--debian/_base/applications/multimedia/k3b/debian/k3b-trinity.install6
-rw-r--r--debian/_base/applications/multimedia/k3b/debian/k3b-trinity.manpages1
-rw-r--r--debian/_base/applications/multimedia/k3b/debian/k3b.files6
-rw-r--r--debian/_base/applications/multimedia/k3b/debian/k3b.install5
-rw-r--r--debian/_base/applications/multimedia/k3b/debian/k3b.manpages1
-rw-r--r--debian/_base/applications/multimedia/k3b/debian/k3b.menu6
-rw-r--r--debian/_base/applications/multimedia/k3b/debian/k3b.postinst33
-rw-r--r--debian/_base/applications/multimedia/k3b/debian/libk3b-dev.files3
-rw-r--r--debian/_base/applications/multimedia/k3b/debian/libk3b-dev.install3
-rw-r--r--debian/_base/applications/multimedia/k3b/debian/libk3b3-extracodecs.install2
-rw-r--r--debian/_base/applications/multimedia/k3b/debian/libk3b3.files3
-rw-r--r--debian/_base/applications/multimedia/k3b/debian/libk3b3.install25
-rwxr-xr-xdebian/_base/applications/multimedia/k3b/debian/rules46
-rw-r--r--debian/_base/applications/multimedia/k3b/debian/watch2
21 files changed, 59 insertions, 334 deletions
diff --git a/debian/_base/applications/multimedia/k3b/debian/KUBUNTU-DEBIAN-DIFFERENCES b/debian/_base/applications/multimedia/k3b/debian/KUBUNTU-DEBIAN-DIFFERENCES
index 7b99dabec..7b65b9a3f 100644
--- a/debian/_base/applications/multimedia/k3b/debian/KUBUNTU-DEBIAN-DIFFERENCES
+++ b/debian/_base/applications/multimedia/k3b/debian/KUBUNTU-DEBIAN-DIFFERENCES
@@ -1,8 +1,5 @@
remove build-dep on libdvdread-dev
-libk3b3-extracodecs conflicts libk3b2-extracodecs
-transitional libk3b2-extracodecs package
-
Do not recommend on tdebase-tdeio-plugins, kcontrol,
Change recommend to suggest for vcdimager
diff --git a/debian/_base/applications/multimedia/k3b/debian/cdbs/debian-tde.mk b/debian/_base/applications/multimedia/k3b/debian/cdbs/debian-tde.mk
index f36e3527c..aba508624 100644
--- a/debian/_base/applications/multimedia/k3b/debian/cdbs/debian-tde.mk
+++ b/debian/_base/applications/multimedia/k3b/debian/cdbs/debian-tde.mk
@@ -82,7 +82,7 @@ DEB_SHLIBDEPS_INCLUDE = $(foreach p,$(PACKAGES_WITH_LIBS),debian/$(p)/usr/lib)
DEB_AC_AUX_DIR = $(DEB_SRCDIR)/admin
DEB_CONFIGURE_INCLUDEDIR = "\$${prefix}/include"
-DEB_COMPRESS_EXCLUDE = .dcl .docbook -license .tag .sty .el
+DEB_COMPRESS_EXCLUDE_ALL += .dcl .docbook -license .tag .sty .el
# The default gzip compressor has been changed in dpkg >= 1.17.0.
deb_default_compress = $(shell LANG=C dpkg-deb --version | head -n1 | \
@@ -202,6 +202,11 @@ $(patsubst %,binary-install/%,$(DEB_PACKAGES)) :: binary-install/%:
install -p -D -m644 debian/$(cdbs_curpkg).presubj \
debian/$(cdbs_curpkg)/usr/share/bug/$(cdbs_curpkg)/presubj; \
fi
+ if test -d debian/$(cdbs_curpkg)/opt/trinity/lib && \
+ test $$(find debian/$(cdbs_curpkg)/opt/trinity/lib -name "*.so" | wc -l) -gt 0; then \
+ echo "# Triggers added by cdbs/debian-tde.mk" >> debian/.debhelper/generated/$(cdbs_curpkg)/triggers; \
+ echo "activate-noawait ldconfig" >> debian/.debhelper/generated/$(cdbs_curpkg)/triggers; \
+ fi
binary-install/$(DEB_SOURCE_PACKAGE)-doc-html::
set -e; \
diff --git a/debian/_base/applications/multimedia/k3b/debian/compat b/debian/_base/applications/multimedia/k3b/debian/compat
index ec635144f..f599e28b8 100644
--- a/debian/_base/applications/multimedia/k3b/debian/compat
+++ b/debian/_base/applications/multimedia/k3b/debian/compat
@@ -1 +1 @@
-9
+10
diff --git a/debian/_base/applications/multimedia/k3b/debian/control b/debian/_base/applications/multimedia/k3b/debian/control
index 8cc2b03b8..ca1eb6f17 100644
--- a/debian/_base/applications/multimedia/k3b/debian/control
+++ b/debian/_base/applications/multimedia/k3b/debian/control
@@ -5,7 +5,7 @@ Maintainer: TDE Debian Team <team-debian@trinitydesktop.org>
XSBC-Original-Maintainer: Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org>
Uploaders: Francois Marier <francois@debian.org>, Fathi Boudra <fabo@debian.org>
Build-Depends:
- cdbs, debhelper (>= 9~), quilt, cmake-trinity, ninja-build, tdelibs14-trinity-dev,
+ cdbs, debhelper (>= 10~), quilt, tde-cmake, ninja-build, tdelibs14-trinity-dev,
libdvdread-dev, libasound2-dev, lame, libmp3lame-dev,
libflac++-dev (>= 1.1.2), flac, libpopt-dev, libmpcdec-dev, libtag1-dev (>= 1.4-3), libmad0-dev,
libavformat-dev, libavcodec-dev, libvorbis-dev, libsamplerate0-dev, libsndfile1-dev
@@ -63,7 +63,7 @@ Section: libs
Architecture: any
Replaces: libk3b3-trinity (<< 4:14.0.0~)
Breaks: libk3b3-trinity (<< 4:14.0.0~)
-Conflicts: libk3bcore-trinity, libk3bplugin-trinity, libk3btools-trinity, libk3bproject-trinity, k3blibs-trinity, libk3b2-trinity
+Conflicts: libk3bcore-trinity, libk3bplugin-trinity, libk3btools-trinity, libk3bproject-trinity, k3blibs-trinity
Depends: ${shlibs:Depends}
Description: The TDE cd burning application library - runtime files [Trinity]
K3b is a GUI frontend to the cd recording programs cdrdao and cdrecord.
@@ -78,7 +78,6 @@ Architecture: any
Replaces: libk3b3-extracodecs-trinity (<< 4:14.0.0~)
Breaks: libk3b3-extracodecs-trinity (<< 4:14.0.0~)
Depends: ${shlibs:Depends}
-Conflicts: libk3b2-mp3-trinity
Description: The TDE cd burning application library - extra decoders [Trinity]
K3b is a GUI frontend to the cd recording programs cdrdao and cdrecord.
Its aim is to provide a very user friendly interface to all the tasks
@@ -86,17 +85,6 @@ Description: The TDE cd burning application library - extra decoders [Trinity]
.
This package contains runtime libraries for the MP3 and FFMPEG decoder plugin.
-Package: libk3b2-extracodecs-trinity
-Architecture: all
-Priority: extra
-Replaces: libk3b2-extracodecs-trinity (<< 4:14.0.0~)
-Breaks: libk3b2-extracodecs-trinity (<< 4:14.0.0~)
-Depends: libk3b3-extracodecs-trinity
-Description: transitional package for K3b's extra decoders [Trinity]
- This is a dummy transitional package to enable a smooth transition from
- libk3b2-extracodecs to libk3b3-extracodecs.
- It may safely be removed after installation.
-
Package: k3b-trinity-dbg
Priority: extra
Architecture: any
diff --git a/debian/_base/applications/multimedia/k3b/debian/k3b-data.files b/debian/_base/applications/multimedia/k3b/debian/k3b-data.files
deleted file mode 100644
index 3b3a0add7..000000000
--- a/debian/_base/applications/multimedia/k3b/debian/k3b-data.files
+++ /dev/null
@@ -1,5 +0,0 @@
-usr/share/apps/*
-usr/share/icons/*
-usr/share/kde/*
-usr/share/sounds/*
-usr/share/doc/tde/*
diff --git a/debian/_base/applications/multimedia/k3b/debian/k3b-data.install b/debian/_base/applications/multimedia/k3b/debian/k3b-data.install
deleted file mode 100644
index b7175c514..000000000
--- a/debian/_base/applications/multimedia/k3b/debian/k3b-data.install
+++ /dev/null
@@ -1,11 +0,0 @@
-debian/tmp/usr/share/applnk/.hidden/*
-debian/tmp/usr/share/apps/*
-debian/tmp/usr/share/icons/*
-debian/tmp/usr/share/doc/tde/*
-debian/tmp/usr/share/sounds/*
-debian/tmp/usr/share/mimelnk/*
-debian/tmp/usr/share/services/*
-debian/k3b-rip-audiocd.desktop usr/share/kde4/apps/solid/actions
-debian/k3b-rip-videodvd.desktop usr/share/kde4/apps/solid/actions
-debian/k3b-write-iso-image.desktop usr/share/kde4/services/ServiceMenus
-debian/k3b-write-bin-image.desktop usr/share/kde4/services/ServiceMenus
diff --git a/debian/_base/applications/multimedia/k3b/debian/k3b-trinity.1 b/debian/_base/applications/multimedia/k3b/debian/k3b-trinity.1
deleted file mode 100644
index 08ca27b5f..000000000
--- a/debian/_base/applications/multimedia/k3b/debian/k3b-trinity.1
+++ /dev/null
@@ -1,207 +0,0 @@
-.TH K3B "1" "December 2002" TDE "TDE Application"
-.SH NAME
-k3b \- TDE CD burning program
-.SH SYNOPSIS
-.B k3b
-[\fIQt-options\fR] [\fITDE-options\fR] [\fIFile\fR]
-.SH DESCRIPTION
-This manual page documents briefly the
-.B k3b
-TDE Application.
-This manual page was written for the Debian GNU/Linux distribution
-because the original program does not have a manual page.
-.PP
-K3b is a CD burning program that has two aims:
-usability and as many features as possible.
-.P
-This program is part of the official TDE extra gear #1 module.
-.SH OPTIONS
-.SS "Arguments:"
-.TP
-File(s)
-file(s) to open
-.SS "General Options"
-.B \-\-help
-Show help about options
-.TP
-.B \-\-help\-qt
-Show Qt specific options
-.TP
-.B \-\-help\-tde
-Show TDE specific options
-.TP
-.B \-\-help\-all
-Show all options
-.TP
-.B \-\-author
-Show author information
-.TP
-.B \-v\fR, \fB\-\-version
-Show version information
-.TP
-.B \-\-license
-Show license information
-.TP
-.B \-\-
-End of options
-.SS "Options:"
-.B \-\-datacd
-Create a new data CD project and add all given files
-.TP
-.B \-\-audiocd
-Create a new audio CD project and add all given files
-.TP
-.B \-\-videocd
-Create a new video CD project and add all given files
-.TP
-.B \-\-mixedcd
-Create a new mixed mode CD project and add all given files
-.TP
-.B \-\-emovixcd
-Create a new eMovix CD project and add all given files
-.TP
-.B \-\-datadvd
-Create a new data DVD project and add all given files
-.TP
-.B \-\-emovixdvd
-Create a new eMovix DVD project and add all given files
-.TP
-.B \-\-copycd
-Open the CD copy dialog
-.TP
-.B \-\-clonecd
-Open the CD cloning dialog
-.TP
-.B \-\-cdimage
-Write an ISO image or Bin/Cue image to cd
-.TP
-.B \-\-erasecd
-Erase a CDRW
-.TP
-.B \-\-formatdvd
-Format a DVD-RW or DVD+RW
-.TP
-.BI \-\-lang \ language
-Set the GUI language
-.SS "Qt options:"
-.TP
-.BI \-\-display \ displayname
-Use the X-server display \fIdisplayname\fP.
-.TP
-.BI \-\-session \ sessionId
-Restore the application for the given \fIsessionId\fP.
-.TP
-.B \-\-cmap
-Causes the application to install a private color
-map on an 8-bit display.
-.TP
-.BI \-\-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
-.B \-nograb, use \fB\-dograb\fR to override.
-.TP
-.B \-\-sync
-switches to synchronous mode for debugging.
-.TP
-.BI "\-\-fn\fR, \fP\-\-font" \ fontname
-defines the application font.
-.TP
-.BI "-\-bg\fR, \fB\-\-background" \ color
-sets the default background color and an
-application palette (light and dark shades are
-calculated).
-.TP
-.BI "\-\-fg\fR, \fB\-\-foreground" \ color
-sets the default foreground color.
-.TP
-.BI \-\-btn\fR, \fB\-\-button \ color
-sets the default button color.
-.TP
-.BI \-\-name \ name
-sets the application name.
-.TP
-.BI \-\-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
-.BI \-\-inputstyle \ inputstyle
-sets XIM (X Input Method) input style. Possible
-values are
-.BR onthespot ", " overthespot ", " offthespot and root .
-.TP
-.BI \-\-im " XIM-server"
-set XIM server.
-.TP
-.B \-\-noxim
-disable XIM.
-.TP
-.B \-\-reverse
-mirrors the whole layout of widgets.
-.SS "TDE options:"
-.TP
-.BI \-\-caption \ caption
-Use \fIcaption\fP as name in the titlebar.
-.TP
-.BI \-\-icon \ icon
-Use \fIicon\fP as the application icon.
-.TP
-.BI \-\-miniicon \ icon
-Use \fIicon\fP as the icon in the titlebar.
-.TP
-.BI \-\-config \ filename
-Use alternative configuration file.
-.TP
-.BI \-\-dcopserver \ server
-Use the DCOP Server specified by \fIserver\fP.
-.TP
-.B \-\-nocrashhandler
-Disable crash handler, to get core dumps.
-.TP
-.B \-\-waitforwm
-Waits for a WM_NET compatible windowmanager.
-.TP
-.BI \-\-style \ style
-sets the application GUI style.
-.TP
-.BI \-\-geometry \ geometry
-sets the client geometry of the main widget.
-.SH AUTHOR
-K3b was written by
-.nh
-.ad l
-Sebastian Trueg <trueg@informatik.uni-freiburg.de>
-and Thomas Froescher <tfroescher@gmx.de>.
-.hy
-.br
-Please use http://bugs.trinitydesktop.org to report bugs, do not mail the authors directly.
-.br
-This manual page was prepared by
-.nh
-.ad l
-Karolina Lindqvist <pgd\-karolinali@algonet.se>
-.hy
-for the Debian GNU/Linux system (but may be used by others).
-.SH "SEE ALSO"
-If the
-.B khelpcenter
-program is properly installed at your site, the command
-.IP
-.B khelpcenter help:/k3b
-.PP
-should give you access to the complete manual.
-.P
-Alternatively the manual can be browsed in
-.B konqueror
-giving it the URL help:/k3b
-
diff --git a/debian/_base/applications/multimedia/k3b/debian/k3b-trinity.install b/debian/_base/applications/multimedia/k3b/debian/k3b-trinity.install
index a72c0b374..8c6643cf2 100644
--- a/debian/_base/applications/multimedia/k3b/debian/k3b-trinity.install
+++ b/debian/_base/applications/multimedia/k3b/debian/k3b-trinity.install
@@ -1,5 +1,7 @@
debian/tmp/opt/trinity/bin/*
-debian/tmp/opt/trinity/share/applications/*
-debian/k3b.xpm /opt/trinity/share/pixmaps/
debian/tmp/opt/trinity/lib/trinity/tdefile_k3b.so
debian/tmp/opt/trinity/lib/trinity/tdefile_k3b.la
+debian/tmp/opt/trinity/share/applications/*
+debian/tmp/opt/trinity/share/man/man1/k3b.1
+
+debian/k3b.xpm /opt/trinity/share/pixmaps/
diff --git a/debian/_base/applications/multimedia/k3b/debian/k3b-trinity.manpages b/debian/_base/applications/multimedia/k3b/debian/k3b-trinity.manpages
deleted file mode 100644
index 328f16efe..000000000
--- a/debian/_base/applications/multimedia/k3b/debian/k3b-trinity.manpages
+++ /dev/null
@@ -1 +0,0 @@
-debian/k3b-trinity.1
diff --git a/debian/_base/applications/multimedia/k3b/debian/k3b.files b/debian/_base/applications/multimedia/k3b/debian/k3b.files
deleted file mode 100644
index d6388a5b6..000000000
--- a/debian/_base/applications/multimedia/k3b/debian/k3b.files
+++ /dev/null
@@ -1,6 +0,0 @@
-usr/share/applications/*
-usr/share/mimelnk/*
-usr/share/pixmaps/*
-usr/share/services/*
-usr/bin/*
-etc/*
diff --git a/debian/_base/applications/multimedia/k3b/debian/k3b.install b/debian/_base/applications/multimedia/k3b/debian/k3b.install
deleted file mode 100644
index 134bb0bf2..000000000
--- a/debian/_base/applications/multimedia/k3b/debian/k3b.install
+++ /dev/null
@@ -1,5 +0,0 @@
-debian/tmp/usr/bin/*
-debian/tmp/usr/share/applications/*
-debian/k3b.xpm usr/share/pixmaps/
-debian/tmp/usr/lib/trinity/tdefile_k3b.so
-debian/tmp/usr/lib/trinity/tdefile_k3b.la
diff --git a/debian/_base/applications/multimedia/k3b/debian/k3b.manpages b/debian/_base/applications/multimedia/k3b/debian/k3b.manpages
deleted file mode 100644
index 60dde70bc..000000000
--- a/debian/_base/applications/multimedia/k3b/debian/k3b.manpages
+++ /dev/null
@@ -1 +0,0 @@
-debian/k3b.1
diff --git a/debian/_base/applications/multimedia/k3b/debian/k3b.menu b/debian/_base/applications/multimedia/k3b/debian/k3b.menu
deleted file mode 100644
index e3ec0ef1f..000000000
--- a/debian/_base/applications/multimedia/k3b/debian/k3b.menu
+++ /dev/null
@@ -1,6 +0,0 @@
-?package(k3b-trinity):\
- needs="X11"\
- section="Applications/File Management"\
- title="K3b"\
- command="/opt/trinity/bin/k3b"\
- icon="/opt/trinity/share/pixmaps/k3b.xpm"
diff --git a/debian/_base/applications/multimedia/k3b/debian/k3b.postinst b/debian/_base/applications/multimedia/k3b/debian/k3b.postinst
deleted file mode 100644
index 3807d55e6..000000000
--- a/debian/_base/applications/multimedia/k3b/debian/k3b.postinst
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/bin/sh -e
-
-case "$1" in
- configure)
-
- # Remove bad files
- if dpkg --compare-versions "$2" eq "0.10.3-1"; then
- rm -rf /usr/share/applnk/.hidden
- rm -rf /usr/share/applnk/System/k3b.desktop
- fi
-
- if dpkg --compare-versions "$2" lt "0.10.3-1"; then
- rm -rf /usr/share/applnk/System/k3b.desktop
- rm -rf /usr/share/applnk/System/k3bsetup.desktop
- fi
-
- ;;
-abort-upgrade|abort-remove|abort-deconfigure)
- ;;
-
-*)
- echo "postinst called with unknown argument \`$1'" >&2
- exit 1
- ;;
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
-
diff --git a/debian/_base/applications/multimedia/k3b/debian/libk3b-dev.files b/debian/_base/applications/multimedia/k3b/debian/libk3b-dev.files
deleted file mode 100644
index d45003d06..000000000
--- a/debian/_base/applications/multimedia/k3b/debian/libk3b-dev.files
+++ /dev/null
@@ -1,3 +0,0 @@
-usr/include/*
-usr/lib/*.la
-usr/lib/*.so
diff --git a/debian/_base/applications/multimedia/k3b/debian/libk3b-dev.install b/debian/_base/applications/multimedia/k3b/debian/libk3b-dev.install
deleted file mode 100644
index 6257a06d1..000000000
--- a/debian/_base/applications/multimedia/k3b/debian/libk3b-dev.install
+++ /dev/null
@@ -1,3 +0,0 @@
-debian/tmp/usr/lib/libk3b.so
-debian/tmp/usr/lib/libk3bdevice.so
-debian/tmp/usr/include/*
diff --git a/debian/_base/applications/multimedia/k3b/debian/libk3b3-extracodecs.install b/debian/_base/applications/multimedia/k3b/debian/libk3b3-extracodecs.install
deleted file mode 100644
index 0e57a97dc..000000000
--- a/debian/_base/applications/multimedia/k3b/debian/libk3b3-extracodecs.install
+++ /dev/null
@@ -1,2 +0,0 @@
-debian/tmp/usr/lib/trinity/libk3bmaddecoder.*
-#debian/tmp/usr/lib/trinity/libk3bffmpegdecoder.*
diff --git a/debian/_base/applications/multimedia/k3b/debian/libk3b3.files b/debian/_base/applications/multimedia/k3b/debian/libk3b3.files
deleted file mode 100644
index d77e53e7c..000000000
--- a/debian/_base/applications/multimedia/k3b/debian/libk3b3.files
+++ /dev/null
@@ -1,3 +0,0 @@
-usr/lib/*.so.*
-usr/lib/libk3baudio*.{so,la}
-usr/lib/trinity/*
diff --git a/debian/_base/applications/multimedia/k3b/debian/libk3b3.install b/debian/_base/applications/multimedia/k3b/debian/libk3b3.install
deleted file mode 100644
index 69b7f7909..000000000
--- a/debian/_base/applications/multimedia/k3b/debian/libk3b3.install
+++ /dev/null
@@ -1,25 +0,0 @@
-debian/tmp/usr/lib/libk3b.so.*
-debian/tmp/usr/lib/libk3bdevice.so.*
-debian/tmp/usr/lib/*.la
-debian/tmp/usr/lib/trinity/libk3balsaoutputplugin.la
-debian/tmp/usr/lib/trinity/libk3balsaoutputplugin.so
-debian/tmp/usr/lib/trinity/libk3bexternalencoder.la
-debian/tmp/usr/lib/trinity/libk3bexternalencoder.so
-debian/tmp/usr/lib/trinity/libk3bflacdecoder.la
-debian/tmp/usr/lib/trinity/libk3bflacdecoder.so
-debian/tmp/usr/lib/trinity/libk3bmpcdecoder.la
-debian/tmp/usr/lib/trinity/libk3bmpcdecoder.so
-debian/tmp/usr/lib/trinity/libk3boggvorbisdecoder.la
-debian/tmp/usr/lib/trinity/libk3boggvorbisdecoder.so
-debian/tmp/usr/lib/trinity/libk3boggvorbisencoder.la
-debian/tmp/usr/lib/trinity/libk3boggvorbisencoder.so
-debian/tmp/usr/lib/trinity/libk3bsoxencoder.la
-debian/tmp/usr/lib/trinity/libk3bsoxencoder.so
-debian/tmp/usr/lib/trinity/libk3bwavedecoder.la
-debian/tmp/usr/lib/trinity/libk3bwavedecoder.so
-debian/tmp/usr/lib/trinity/libk3baudioprojectcddbplugin.so
-debian/tmp/usr/lib/trinity/libk3baudioprojectcddbplugin.la
-debian/tmp/usr/lib/trinity/libk3baudiometainforenamerplugin.so
-debian/tmp/usr/lib/trinity/libk3baudiometainforenamerplugin.la
-debian/tmp/usr/lib/trinity/tdeio_videodvd.so
-debian/tmp/usr/lib/trinity/tdeio_videodvd.la
diff --git a/debian/_base/applications/multimedia/k3b/debian/rules b/debian/_base/applications/multimedia/k3b/debian/rules
index 72db8e489..0cd87b24d 100755
--- a/debian/_base/applications/multimedia/k3b/debian/rules
+++ b/debian/_base/applications/multimedia/k3b/debian/rules
@@ -4,6 +4,14 @@ include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
include debian/cdbs/debian-tde.mk
+DEB_TIME64_API = $(shell echo | cc $(dpkg-buildflags --get CPPFLAGS) -dM -E -x c++ - | grep -q "_TIME_BITS 64" && echo true || false)
+ifeq ($(DEB_TIME64_API),true)
+DEB_TIME64_SUFFIX = t64
+else
+DEB_TIME64_SUFFIX =
+endif
+
+
DEB_CMAKE_EXTRA_FLAGS := \
-DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
@@ -14,3 +22,41 @@ DEB_CMAKE_EXTRA_FLAGS := \
-DCMAKE_VERBOSE_MAKEFILE="ON" \
-DCMAKE_SKIP_RPATH="OFF" \
-DWITH_ALL_OPTIONS="ON"
+
+
+post-patches::
+ dh_testdir
+ifeq ($(DEB_TIME64_API),true)
+ # update library package name for TIME64 ABI
+ ls -d debian/* | \
+ grep -E "/libk3b3-trinity\." | \
+ grep -v "\.t64$$" | \
+ while read a; do \
+ [ -d $$a ] || [ -f $$a.t64 ] || \
+ (cp -a $$a debian/libk3b3$(DEB_TIME64_SUFFIX)-$${a##*-} && mv $$a $$a.t64); \
+ done
+ [ -f debian/control.t64 ] || \
+ sed -i.t64 \
+ -e "s/^Package: \\(libk3b3\\)-trinity$$/Package: \\1$(DEB_TIME64_SUFFIX)-trinity/" \
+ -e "s/^\\(Replaces\\|Breaks\\):\\(.*\\)\\(libk3b3-trinity\\)\\( [^,]*\|$$\)/\\1:\\2\\3/" \
+ -e "s/\\(libk3b3\\)-trinity (=/\\1$(DEB_TIME64_SUFFIX)-trinity (=/" \
+ debian/control
+endif
+
+clean::
+ dh_testdir
+ dh_clean
+
+ifeq ($(DEB_TIME64_API),true)
+ # revert library package name for TIME64 ABI
+ ls -d debian/* | \
+ grep -E "\.t64$$" | \
+ while read a; do \
+ mv $$a $${a%.t64}; \
+ done
+ ls -d debian/* | \
+ grep -E "/libk3b3$(DEB_TIME64_SUFFIX)-" | \
+ xargs -r rm
+ [ ! -f debian/control.t64 ] || \
+ mv debian/control.t64 debian/control
+endif
diff --git a/debian/_base/applications/multimedia/k3b/debian/watch b/debian/_base/applications/multimedia/k3b/debian/watch
deleted file mode 100644
index 7e3c554ae..000000000
--- a/debian/_base/applications/multimedia/k3b/debian/watch
+++ /dev/null
@@ -1,2 +0,0 @@
-version=3
-http://sf.net/k3b/k3b-([\d.]*).tar.bz2