summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2019-04-28 16:06:24 +0200
committerSlávek Banko <slavek.banko@axis.cz>2019-04-28 16:06:24 +0200
commitcb03ac17a2533aa0b9c2e5f966bee5cf5e02df07 (patch)
tree308bf1434b09679d31de644b907d7d38e6a13f1e
parent23a609eaa33aed2d4dce31a912bad7552223a51c (diff)
downloadtde-packaging-cb03ac17a2533aa0b9c2e5f966bee5cf5e02df07.tar.gz
tde-packaging-cb03ac17a2533aa0b9c2e5f966bee5cf5e02df07.zip
DEB libart-lgpl: Switch to cmake.
The man page has been moved to the main tree. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rw-r--r--debian/_base/dependencies/libart-lgpl/debian/control6
-rw-r--r--debian/_base/dependencies/libart-lgpl/debian/libart-2.0-dev.manpages1
-rw-r--r--debian/_base/dependencies/libart-lgpl/debian/libart2-config.152
-rwxr-xr-xdebian/_base/dependencies/libart-lgpl/debian/rules30
-rw-r--r--debian/_base/dependencies/libart-lgpl/debian/watch4
-rw-r--r--ubuntu/_base/dependencies/libart-lgpl/debian/control6
-rw-r--r--ubuntu/_base/dependencies/libart-lgpl/debian/libart-2.0-dev.manpages1
-rw-r--r--ubuntu/_base/dependencies/libart-lgpl/debian/libart2-config.152
-rwxr-xr-xubuntu/_base/dependencies/libart-lgpl/debian/rules30
-rw-r--r--ubuntu/_base/dependencies/libart-lgpl/debian/watch4
10 files changed, 26 insertions, 160 deletions
diff --git a/debian/_base/dependencies/libart-lgpl/debian/control b/debian/_base/dependencies/libart-lgpl/debian/control
index 686fb2b57..2885055f0 100644
--- a/debian/_base/dependencies/libart-lgpl/debian/control
+++ b/debian/_base/dependencies/libart-lgpl/debian/control
@@ -1,10 +1,10 @@
Source: libart-lgpl
Section: devel
Priority: optional
-Maintainer: Josselin Mouette <joss@debian.org>
-Uploaders: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>, Loic Minier <lool@dooz.org>, Sebastian Dröge <slomo@debian.org>, Sebastien Bacher <seb128@debian.org>
+Maintainer: TDE Team
+XSBC-Original-Maintainer: Josselin Mouette <joss@debian.org>
Standards-Version: 3.8.4
-Build-Depends: debhelper (>= 7.0.50~), quilt, cdbs, dpkg-dev (>= 1.13.19), automake, libtool, libltdl-dev
+Build-Depends: debhelper (>= 7.0.50~), quilt, cdbs, cmake
Package: libart-2.0-2
Architecture: any
diff --git a/debian/_base/dependencies/libart-lgpl/debian/libart-2.0-dev.manpages b/debian/_base/dependencies/libart-lgpl/debian/libart-2.0-dev.manpages
deleted file mode 100644
index d9f908cc0..000000000
--- a/debian/_base/dependencies/libart-lgpl/debian/libart-2.0-dev.manpages
+++ /dev/null
@@ -1 +0,0 @@
-debian/libart2-config.1
diff --git a/debian/_base/dependencies/libart-lgpl/debian/libart2-config.1 b/debian/_base/dependencies/libart-lgpl/debian/libart2-config.1
deleted file mode 100644
index 7439b2923..000000000
--- a/debian/_base/dependencies/libart-lgpl/debian/libart2-config.1
+++ /dev/null
@@ -1,52 +0,0 @@
-.\" This manpage has been automatically generated by docbook2man
-.\" from a DocBook document. This tool can be found at:
-.\" <http://shell.ipoline.com/~elmert/comp/docbook2X/>
-.\" Please send any bug reports, improvements, comments, patches,
-.\" etc. to Steve Cheng <steve@ggi-project.org>.
-.TH "LIBART2-CONFIG" "1" "08 August 2003" "" ""
-.SH NAME
-libart2-config \- script to get information about the installed version of libart 2.x
-.SH SYNOPSIS
-
-\fBlibart2-config\fR [ \fB --prefix\fI[=DIR]\fB \fR ] [ \fB --exec-prefix\fI[=DIR]\fB \fR ] [ \fB --libs \fR ] [ \fB --cflags \fR ] [ \fB --version \fR ]
-
-.SH "DESCRIPTION"
-.PP
-\fBlibart2-config\fR is a tool that is used to determine
-the compiler and linker flags that should be used to compile and
-link programs that use \fIlibart\fR library.
-.SH "OPTIONS"
-.TP
-\fB--prefix=PREFIX\fR
-If specified, use \fIPREFIX\fR instead
-of the installation prefix that
-\fIlibart\fR was built with when computing
-the output for the \fB--cflags\fR and
-\fB--libs\fR options. This option is also used for
-the exec prefix if \fB--exec-prefix\fR was
-not specified. This option must be specified before any
-\fB--libs\fR or \fB--cflags\fR options.
-.TP
-\fB--exec-prefix=PREFIX\fR
-If specified, use \fIPREFIX\fR instead
-of the installation exec prefix that
-\fIlibart\fR was built with when computing
-the output for the \fB--cflags\fR and
-\fB--libs\fR options. This option must be specified
-before any \fB--libs\fR or \fB--cflags\fR options.
-.TP
-\fB--libs\fR
-Print the linker flags that are necessary to link a
-\fIlibart\fR program.
-.TP
-\fB--cflags\fR
-Print the compiler flags that are necessary to compile a
-\fIlibart\fR program.
-.TP
-\fB--version\fR
-Print the currently installed version of
-\fIlibart\fR on the standard output.
-.SH "AUTHOR"
-.PP
-This manual page was written by Christian Marillat <marillat@debian.org> for
-the Debian GNU/Linux system (but may be used by others).
diff --git a/debian/_base/dependencies/libart-lgpl/debian/rules b/debian/_base/dependencies/libart-lgpl/debian/rules
index 8ead6b1fc..9f7abd076 100755
--- a/debian/_base/dependencies/libart-lgpl/debian/rules
+++ b/debian/_base/dependencies/libart-lgpl/debian/rules
@@ -1,30 +1,20 @@
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
-#include /usr/share/cdbs/1/rules/patchsys-quilt.mk
-include /usr/share/cdbs/1/rules/utils.mk
-include /usr/share/cdbs/1/class/gnome.mk
-
-debian/stamp-autoreconf:
- dh_testdir
- cp -Rp /usr/share/aclocal/libtool.m4 libtool.m4.in
-ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
- cp -Rp /usr/share/libtool/config/ltmain.sh ltmain.sh
-endif
-ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
- cp -Rp /usr/share/libtool/build-aux/ltmain.sh ltmain.sh
-endif
- autoreconf -vi && \
- touch $@
-
-makebuilddir:: debian/stamp-autoreconf
- dh_testdir
+include /usr/share/cdbs/1/class/cmake.mk
libart-2.0-N := $(shell sed -rn 's/^Package:[[:space:]]*(libart-2\.0-[0-9]+)[[:space:]]*$$/\1/p' debian/control)
-GNOME_MODULE := libart_lgpl
-
DEB_DH_MAKESHLIBS_ARGS_$(libart-2.0-N) += -V '$(libart-2.0-N)(>= 2.3.18)'
DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
+
+# Build options
+DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_SKIP_RPATH="OFF" \
+ -DCMAKE_VERBOSE_MAKEFILE="ON" \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+ -DWITH_ALL_OPTIONS="ON"
+
+DEB_MAKE_CHECK_TARGET = check
diff --git a/debian/_base/dependencies/libart-lgpl/debian/watch b/debian/_base/dependencies/libart-lgpl/debian/watch
deleted file mode 100644
index 8acf72053..000000000
--- a/debian/_base/dependencies/libart-lgpl/debian/watch
+++ /dev/null
@@ -1,4 +0,0 @@
-version=2
-http://ftp.gnome.org/pub/GNOME/sources/libart_lgpl/([\d\.]+)/ \
- libart_lgpl-(.*)\.tar\.gz \
- debian uupdate
diff --git a/ubuntu/_base/dependencies/libart-lgpl/debian/control b/ubuntu/_base/dependencies/libart-lgpl/debian/control
index 686fb2b57..2885055f0 100644
--- a/ubuntu/_base/dependencies/libart-lgpl/debian/control
+++ b/ubuntu/_base/dependencies/libart-lgpl/debian/control
@@ -1,10 +1,10 @@
Source: libart-lgpl
Section: devel
Priority: optional
-Maintainer: Josselin Mouette <joss@debian.org>
-Uploaders: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>, Loic Minier <lool@dooz.org>, Sebastian Dröge <slomo@debian.org>, Sebastien Bacher <seb128@debian.org>
+Maintainer: TDE Team
+XSBC-Original-Maintainer: Josselin Mouette <joss@debian.org>
Standards-Version: 3.8.4
-Build-Depends: debhelper (>= 7.0.50~), quilt, cdbs, dpkg-dev (>= 1.13.19), automake, libtool, libltdl-dev
+Build-Depends: debhelper (>= 7.0.50~), quilt, cdbs, cmake
Package: libart-2.0-2
Architecture: any
diff --git a/ubuntu/_base/dependencies/libart-lgpl/debian/libart-2.0-dev.manpages b/ubuntu/_base/dependencies/libart-lgpl/debian/libart-2.0-dev.manpages
deleted file mode 100644
index d9f908cc0..000000000
--- a/ubuntu/_base/dependencies/libart-lgpl/debian/libart-2.0-dev.manpages
+++ /dev/null
@@ -1 +0,0 @@
-debian/libart2-config.1
diff --git a/ubuntu/_base/dependencies/libart-lgpl/debian/libart2-config.1 b/ubuntu/_base/dependencies/libart-lgpl/debian/libart2-config.1
deleted file mode 100644
index 7439b2923..000000000
--- a/ubuntu/_base/dependencies/libart-lgpl/debian/libart2-config.1
+++ /dev/null
@@ -1,52 +0,0 @@
-.\" This manpage has been automatically generated by docbook2man
-.\" from a DocBook document. This tool can be found at:
-.\" <http://shell.ipoline.com/~elmert/comp/docbook2X/>
-.\" Please send any bug reports, improvements, comments, patches,
-.\" etc. to Steve Cheng <steve@ggi-project.org>.
-.TH "LIBART2-CONFIG" "1" "08 August 2003" "" ""
-.SH NAME
-libart2-config \- script to get information about the installed version of libart 2.x
-.SH SYNOPSIS
-
-\fBlibart2-config\fR [ \fB --prefix\fI[=DIR]\fB \fR ] [ \fB --exec-prefix\fI[=DIR]\fB \fR ] [ \fB --libs \fR ] [ \fB --cflags \fR ] [ \fB --version \fR ]
-
-.SH "DESCRIPTION"
-.PP
-\fBlibart2-config\fR is a tool that is used to determine
-the compiler and linker flags that should be used to compile and
-link programs that use \fIlibart\fR library.
-.SH "OPTIONS"
-.TP
-\fB--prefix=PREFIX\fR
-If specified, use \fIPREFIX\fR instead
-of the installation prefix that
-\fIlibart\fR was built with when computing
-the output for the \fB--cflags\fR and
-\fB--libs\fR options. This option is also used for
-the exec prefix if \fB--exec-prefix\fR was
-not specified. This option must be specified before any
-\fB--libs\fR or \fB--cflags\fR options.
-.TP
-\fB--exec-prefix=PREFIX\fR
-If specified, use \fIPREFIX\fR instead
-of the installation exec prefix that
-\fIlibart\fR was built with when computing
-the output for the \fB--cflags\fR and
-\fB--libs\fR options. This option must be specified
-before any \fB--libs\fR or \fB--cflags\fR options.
-.TP
-\fB--libs\fR
-Print the linker flags that are necessary to link a
-\fIlibart\fR program.
-.TP
-\fB--cflags\fR
-Print the compiler flags that are necessary to compile a
-\fIlibart\fR program.
-.TP
-\fB--version\fR
-Print the currently installed version of
-\fIlibart\fR on the standard output.
-.SH "AUTHOR"
-.PP
-This manual page was written by Christian Marillat <marillat@debian.org> for
-the Debian GNU/Linux system (but may be used by others).
diff --git a/ubuntu/_base/dependencies/libart-lgpl/debian/rules b/ubuntu/_base/dependencies/libart-lgpl/debian/rules
index 8ead6b1fc..9f7abd076 100755
--- a/ubuntu/_base/dependencies/libart-lgpl/debian/rules
+++ b/ubuntu/_base/dependencies/libart-lgpl/debian/rules
@@ -1,30 +1,20 @@
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
-#include /usr/share/cdbs/1/rules/patchsys-quilt.mk
-include /usr/share/cdbs/1/rules/utils.mk
-include /usr/share/cdbs/1/class/gnome.mk
-
-debian/stamp-autoreconf:
- dh_testdir
- cp -Rp /usr/share/aclocal/libtool.m4 libtool.m4.in
-ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
- cp -Rp /usr/share/libtool/config/ltmain.sh ltmain.sh
-endif
-ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
- cp -Rp /usr/share/libtool/build-aux/ltmain.sh ltmain.sh
-endif
- autoreconf -vi && \
- touch $@
-
-makebuilddir:: debian/stamp-autoreconf
- dh_testdir
+include /usr/share/cdbs/1/class/cmake.mk
libart-2.0-N := $(shell sed -rn 's/^Package:[[:space:]]*(libart-2\.0-[0-9]+)[[:space:]]*$$/\1/p' debian/control)
-GNOME_MODULE := libart_lgpl
-
DEB_DH_MAKESHLIBS_ARGS_$(libart-2.0-N) += -V '$(libart-2.0-N)(>= 2.3.18)'
DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
+
+# Build options
+DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_SKIP_RPATH="OFF" \
+ -DCMAKE_VERBOSE_MAKEFILE="ON" \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+ -DWITH_ALL_OPTIONS="ON"
+
+DEB_MAKE_CHECK_TARGET = check
diff --git a/ubuntu/_base/dependencies/libart-lgpl/debian/watch b/ubuntu/_base/dependencies/libart-lgpl/debian/watch
deleted file mode 100644
index 8acf72053..000000000
--- a/ubuntu/_base/dependencies/libart-lgpl/debian/watch
+++ /dev/null
@@ -1,4 +0,0 @@
-version=2
-http://ftp.gnome.org/pub/GNOME/sources/libart_lgpl/([\d\.]+)/ \
- libart_lgpl-(.*)\.tar\.gz \
- debian uupdate