[SCM] libspectre packaging branch, master, updated. debian/0.2.7-4-5-g74acbeb
Pino Toscano
pino at moszumanska.debian.org
Sun Aug 21 04:41:11 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/krap/libspectre.git;a=commitdiff;h=f85fc84
The following commit has been merged in the master branch:
commit f85fc84df91be79e9dc95728d48271f89debcc41
Author: Pino Toscano <pino at debian.org>
Date: Sun Aug 21 06:30:48 2016 +0200
create a symbols file
... based on the current shlib version; make sure to give the latest
upstream version to the internal symbols
remove the fixed shlib version
---
debian/changelog | 3 +++
debian/libspectre1.symbols.in | 54 +++++++++++++++++++++++++++++++++++++++++++
debian/rules | 16 +++++++++++--
3 files changed, 71 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 24bfa9e..37ad1da 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,9 @@ libspectre (0.2.8-0r1) UNRELEASED; urgency=medium
- upstream_Fix-the-build-with-Ghostscript-9.18.patch: drop, backported
from upstream
* Remove libspectre1-dbg in favour of the -dbgsym packages.
+ * Create a symbols file, based on the current shlib version; make sure to
+ give the latest upstream version to the internal symbols
+ - remove the fixed shlib version
-- Debian Krap Maintainers <debian-qt-kde at lists.debian.org> Sun, 21 Aug 2016 00:36:38 +0200
diff --git a/debian/libspectre1.symbols.in b/debian/libspectre1.symbols.in
new file mode 100644
index 0000000..2a6bbda
--- /dev/null
+++ b/debian/libspectre1.symbols.in
@@ -0,0 +1,54 @@
+libspectre.so.1 libspectre1 #MINVER#
+* Build-Depends-Package: libspectre-dev
+ (regex)"^_spectre_.*@Base$" #CURVER#
+ (regex)"^ps.*@Base$" #CURVER#
+ (regex)"^spectre_device_.*@Base$" #CURVER#
+ (regex)"^spectre_gs_.*@Base$" #CURVER#
+ spectre_document_free at Base 0.2.3
+ spectre_document_get_creation_date at Base 0.2.3
+ spectre_document_get_creator at Base 0.2.3
+ spectre_document_get_for at Base 0.2.3
+ spectre_document_get_format at Base 0.2.3
+ spectre_document_get_language_level at Base 0.2.3
+ spectre_document_get_n_pages at Base 0.2.3
+ spectre_document_get_orientation at Base 0.2.3
+ spectre_document_get_page at Base 0.2.3
+ spectre_document_get_page_by_label at Base 0.2.3
+ spectre_document_get_page_size at Base 0.2.3
+ spectre_document_get_title at Base 0.2.3
+ spectre_document_is_eps at Base 0.2.3
+ spectre_document_load at Base 0.2.3
+ spectre_document_new at Base 0.2.3
+ spectre_document_render at Base 0.2.3
+ spectre_document_render_full at Base 0.2.3
+ spectre_document_save at Base 0.2.3
+ spectre_document_save_to_pdf at Base 0.2.3
+ spectre_document_status at Base 0.2.3
+ spectre_exporter_begin at Base 0.2.3
+ spectre_exporter_do_page at Base 0.2.3
+ spectre_exporter_end at Base 0.2.3
+ spectre_exporter_free at Base 0.2.3
+ spectre_exporter_new at Base 0.2.3
+ spectre_page_free at Base 0.2.3
+ spectre_page_get_index at Base 0.2.3
+ spectre_page_get_label at Base 0.2.3
+ spectre_page_get_orientation at Base 0.2.3
+ spectre_page_get_size at Base 0.2.3
+ spectre_page_render at Base 0.2.3
+ spectre_page_render_slice at Base 0.2.3
+ spectre_page_status at Base 0.2.3
+ spectre_render_context_free at Base 0.2.3
+ spectre_render_context_get_antialias_bits at Base 0.2.3
+ spectre_render_context_get_page_size at Base 0.2.3
+ spectre_render_context_get_resolution at Base 0.2.3
+ spectre_render_context_get_rotation at Base 0.2.3
+ spectre_render_context_get_scale at Base 0.2.3
+ spectre_render_context_get_use_platform_fonts at Base 0.2.3
+ spectre_render_context_new at Base 0.2.3
+ spectre_render_context_set_antialias_bits at Base 0.2.3
+ spectre_render_context_set_page_size at Base 0.2.3
+ spectre_render_context_set_resolution at Base 0.2.3
+ spectre_render_context_set_rotation at Base 0.2.3
+ spectre_render_context_set_scale at Base 0.2.3
+ spectre_render_context_set_use_platform_fonts at Base 0.2.3
+ spectre_status_to_string at Base 0.2.3
diff --git a/debian/rules b/debian/rules
index 8a6978a..5e50e32 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,14 +1,24 @@
#!/usr/bin/make -f
# -*- mode: makefile; coding: utf-8 -*-
+# the upstream version (i.e. without the Debian revision)
+UPSTREAM_VERSION := $(shell dpkg-parsechangelog | sed -n 's/^Version: //p' | cut -f1 -d '-')
+# symbols.in files & their "generated" file names
+SYMBOLS_in := $(wildcard debian/*.symbols.in)
+SYMBOLS_generated := $(patsubst %.in,%,$(SYMBOLS_in))
+
# make builds verbose
export V=1
%:
dh $@ --parallel --with autoreconf
-override_dh_makeshlibs:
- dh_makeshlibs -V'libspectre1 (>= 0.2.3)'
+override_dh_clean:
+ dh_clean
+ rm -f $(SYMBOLS_generated)
+
+override_dh_makeshlibs: $(SYMBOLS_generated)
+ dh_makeshlibs
override_dh_strip:
dh_strip --dbgsym-migration='libspectre1-dbg (<< 0.2.8)'
@@ -16,3 +26,5 @@ override_dh_strip:
override_dh_install:
dh_install --list-missing -X.la
+debian/%.symbols: debian/%.symbols.in
+ cat $^ | sed -e 's/#CURVER#/$(UPSTREAM_VERSION)/g' > $@
--
libspectre packaging
More information about the pkg-kde-commits
mailing list