I think I included everthing, I named the package libpcre16-3, per debian policy (I don't recall the section/paragraph right now).
This is actually a complex library, also quite patched by us, so sorry if I missed something. While I was at it I also prepared a patch to enable pcre32, maybe there is (will be) some packages requiring/enjoying it. I'd not mind an upload to experimental, if you are ok. Thanks for maintaning (and adopting, for the new (coming) maintainer, CCed to get his input) pcre! -- regards, Mattia Rizzolo GPG Key: 4096R/B9444540 http://goo.gl/I8TMB more about me: http://mapreri.org Launchpad User: https://launchpad.net/~mapreri Ubuntu Wiki page: https://wiki.ubuntu.com/MattiaRizzolo
From a20738d14889cdd67404fc01940792f660798130 Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo <mat...@mapreri.org> Date: Sat, 7 Mar 2015 01:36:30 +0100 Subject: [PATCH 1/2] Add a libpcre16-3 package with the 16 bit pcre16 library (Closes: 748781). --- debian/changelog | 7 +++++++ debian/control | 14 +++++++++++++- debian/libpcre16-3.install | 1 + debian/rules | 2 ++ 4 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 debian/libpcre16-3.install diff --git a/debian/changelog b/debian/changelog index 758a88c..e777147 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +pcre3 (2:8.35-3.4) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Add a libpcre16-3 package with the 16 bit pcre16 library (Closes: 748781). + + -- Mattia Rizzolo <mat...@mapreri.org> Sat, 07 Mar 2015 01:29:03 +0100 + pcre3 (2:8.35-3.3) unstable; urgency=medium * Non-maintainer upload. diff --git a/debian/control b/debian/control index d9f8c7d..2ed1936 100644 --- a/debian/control +++ b/debian/control @@ -59,7 +59,7 @@ Package: libpcre3-dev Section: libdevel Architecture: any Multi-Arch: same -Depends: libc6-dev, libpcre3 (= ${binary:Version}), libpcrecpp0 (= ${binary:Version}), ${misc:Depends} +Depends: libc6-dev, libpcre3 (= ${binary:Version}), libpcre16-3 (= ${binary:Version}), libpcrecpp0 (= ${binary:Version}), ${misc:Depends} Conflicts: libpcre1-dev, libpcre2-dev Description: Perl 5 Compatible Regular Expression Library - development files This is a library of functions to support regular expressions whose syntax @@ -92,3 +92,15 @@ Description: grep utility that uses perl 5 compatible regexes. . The other reason for the existence of pcregrep is that its source code is an example of programming with libpcre. + +Package: libpcre16-3 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Multi-Arch: same +Pre-Depends: ${misc:Pre-Depends} +Description: Perl 5 Compatible Regular Expression Library - 16 bit runtime files + This is a library of functions to support regular expressions whose syntax + and semantics are as close as possible to those of the Perl 5 language. + . + This package contains the 16 bit runtime library. diff --git a/debian/libpcre16-3.install b/debian/libpcre16-3.install new file mode 100644 index 0000000..df85ecf --- /dev/null +++ b/debian/libpcre16-3.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/*/libpcre16.so.* diff --git a/debian/rules b/debian/rules index 12d98bc..e953cdf 100755 --- a/debian/rules +++ b/debian/rules @@ -32,6 +32,7 @@ configure-stamp: --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) \ --enable-utf8 --enable-unicode-properties \ --disable-silent-rules \ + --enable-pcre16 \ $(shell . debian/jit-test) \ $(shell DEB_CFLAGS_MAINT_APPEND=-Wall DEB_BUILD_MAINT_OPTIONS=hardening=+all dpkg-buildflags --export=configure) touch configure-stamp @@ -112,6 +113,7 @@ binary-arch: build install dh_fixperms -a dh_makeshlibs -plibpcre3 --add-udeb="libpcre3-udeb" -V 'libpcre3 (>= 1:8.35)' dh_makeshlibs -plibpcrecpp0 -V 'libpcrecpp0 (>= 7.7)' + dh_makeshlibs -plibpcre16-3 dh_installdeb -a # dh_perl -a dh_shlibdeps -a -ldebian/libpcre3/usr/lib/$(DEB_HOST_MULTIARCH) -- 2.1.4
From aece74f3497d25d298b9c0b069d9b280ca089af0 Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo <mat...@mapreri.org> Date: Sat, 7 Mar 2015 02:01:21 +0100 Subject: [PATCH 2/2] Add a libpcre32-3 package with the 32 bit pcre32 library. --- debian/changelog | 1 + debian/control | 14 +++++++++++++- debian/libpcre32-3.install | 1 + debian/rules | 3 ++- 4 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 debian/libpcre32-3.install diff --git a/debian/changelog b/debian/changelog index e777147..d256414 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,7 @@ pcre3 (2:8.35-3.4) UNRELEASED; urgency=medium * Non-maintainer upload. * Add a libpcre16-3 package with the 16 bit pcre16 library (Closes: 748781). + * Add a libpcre32-3 package with the 32 bit pcre32 library. -- Mattia Rizzolo <mat...@mapreri.org> Sat, 07 Mar 2015 01:29:03 +0100 diff --git a/debian/control b/debian/control index 2ed1936..ba8de70 100644 --- a/debian/control +++ b/debian/control @@ -59,7 +59,7 @@ Package: libpcre3-dev Section: libdevel Architecture: any Multi-Arch: same -Depends: libc6-dev, libpcre3 (= ${binary:Version}), libpcre16-3 (= ${binary:Version}), libpcrecpp0 (= ${binary:Version}), ${misc:Depends} +Depends: libc6-dev, libpcre3 (= ${binary:Version}), libpcre16-3 (= ${binary:Version}), libpcre32-3 (= ${binary:Version}), libpcrecpp0 (= ${binary:Version}), ${misc:Depends} Conflicts: libpcre1-dev, libpcre2-dev Description: Perl 5 Compatible Regular Expression Library - development files This is a library of functions to support regular expressions whose syntax @@ -104,3 +104,15 @@ Description: Perl 5 Compatible Regular Expression Library - 16 bit runtime files and semantics are as close as possible to those of the Perl 5 language. . This package contains the 16 bit runtime library. + +Package: libpcre32-3 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Multi-Arch: same +Pre-Depends: ${misc:Pre-Depends} +Description: Perl 5 Compatible Regular Expression Library - 32 bit runtime files + This is a library of functions to support regular expressions whose syntax + and semantics are as close as possible to those of the Perl 5 language. + . + This package contains the 32 bit runtime library. diff --git a/debian/libpcre32-3.install b/debian/libpcre32-3.install new file mode 100644 index 0000000..f91755e --- /dev/null +++ b/debian/libpcre32-3.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/*/libpcre32.so.* diff --git a/debian/rules b/debian/rules index e953cdf..9cd4df8 100755 --- a/debian/rules +++ b/debian/rules @@ -33,6 +33,7 @@ configure-stamp: --enable-utf8 --enable-unicode-properties \ --disable-silent-rules \ --enable-pcre16 \ + --enable-pcre32 \ $(shell . debian/jit-test) \ $(shell DEB_CFLAGS_MAINT_APPEND=-Wall DEB_BUILD_MAINT_OPTIONS=hardening=+all dpkg-buildflags --export=configure) touch configure-stamp @@ -113,7 +114,7 @@ binary-arch: build install dh_fixperms -a dh_makeshlibs -plibpcre3 --add-udeb="libpcre3-udeb" -V 'libpcre3 (>= 1:8.35)' dh_makeshlibs -plibpcrecpp0 -V 'libpcrecpp0 (>= 7.7)' - dh_makeshlibs -plibpcre16-3 + dh_makeshlibs -plibpcre16-3 -plibpcre32-3 dh_installdeb -a # dh_perl -a dh_shlibdeps -a -ldebian/libpcre3/usr/lib/$(DEB_HOST_MULTIARCH) -- 2.1.4
signature.asc
Description: Digital signature