From 26882ca86584e3ceecc0104ddfbf4f9d118c8e04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Wed, 9 Oct 2013 01:13:31 +0200 Subject: Add kscope packaging files for Debian and Ubuntu --- .../kscope/debian/patches/04_am_maintainer_mode.diff | 11 +++++++++++ .../kscope/debian/patches/06_disable_no_undefined.diff | 18 ++++++++++++++++++ .../maverick/applications/kscope/debian/patches/series | 2 ++ 3 files changed, 31 insertions(+) create mode 100644 ubuntu/maverick/applications/kscope/debian/patches/04_am_maintainer_mode.diff create mode 100644 ubuntu/maverick/applications/kscope/debian/patches/06_disable_no_undefined.diff create mode 100644 ubuntu/maverick/applications/kscope/debian/patches/series (limited to 'ubuntu/maverick/applications/kscope/debian/patches') diff --git a/ubuntu/maverick/applications/kscope/debian/patches/04_am_maintainer_mode.diff b/ubuntu/maverick/applications/kscope/debian/patches/04_am_maintainer_mode.diff new file mode 100644 index 000000000..391a80285 --- /dev/null +++ b/ubuntu/maverick/applications/kscope/debian/patches/04_am_maintainer_mode.diff @@ -0,0 +1,11 @@ +--- a/admin/configure.in.min ++++ b/admin/configure.in.min +@@ -38,6 +38,8 @@ + dnl Automake doc recommends to do this only here. (Janos) + AM_INIT_AUTOMAKE(@MODULENAME@, @VERSION@) dnl searches for some needed programs + ++AM_MAINTAINER_MODE ++ + KDE_SET_PREFIX + + dnl generate the config header diff --git a/ubuntu/maverick/applications/kscope/debian/patches/06_disable_no_undefined.diff b/ubuntu/maverick/applications/kscope/debian/patches/06_disable_no_undefined.diff new file mode 100644 index 000000000..05c932c3c --- /dev/null +++ b/ubuntu/maverick/applications/kscope/debian/patches/06_disable_no_undefined.diff @@ -0,0 +1,18 @@ +--- a/admin/acinclude.m4.in ++++ b/admin/acinclude.m4.in +@@ -1689,15 +1689,6 @@ + KDE_USE_CLOSURE_TRUE="#" + KDE_USE_CLOSURE_FALSE="" + KDE_NO_UNDEFINED="" +- case $host in +- *-*-linux-gnu) +- KDE_CHECK_COMPILER_FLAG([Wl,--no-undefined], +- [KDE_CHECK_COMPILER_FLAG([Wl,--allow-shlib-undefined], +- [KDE_NO_UNDEFINED="-Wl,--no-undefined -Wl,--allow-shlib-undefined"], +- [KDE_NO_UNDEFINED=""])], +- [KDE_NO_UNDEFINED=""]) +- ;; +- esac + fi + AC_SUBST(KDE_USE_CLOSURE_TRUE) + AC_SUBST(KDE_USE_CLOSURE_FALSE) diff --git a/ubuntu/maverick/applications/kscope/debian/patches/series b/ubuntu/maverick/applications/kscope/debian/patches/series new file mode 100644 index 000000000..b8743ddd9 --- /dev/null +++ b/ubuntu/maverick/applications/kscope/debian/patches/series @@ -0,0 +1,2 @@ +04_am_maintainer_mode.diff +06_disable_no_undefined.diff -- cgit v1.2.1