Mark Baker <[EMAIL PROTECTED]> wrote:
> I've put some packages I've just built of pcre 5.0 at
>
> http://www.mnb.org.uk/pcre/
>
> If you could test these that would be much appreciated. They seem to
> work for me, in as much as pcregrep works and it hasn't broken my very
> simple exim installation.
Thanks!
I've tested them as well, and they seem to work fine, though I do have
one important patch. I used the automated test suite of my C++
wrappers around PCRE in the following way:
* Install new library and test without recompiling: shows that an
application built with the old library runs fine with the new one
* Rebuild and rerun the test suite
* Patch my code to take advantage of Unicode properties. Test suite
fails!
After applying this simple patch:
-----------8<-----------
diff -ur pcre3-5.0.orig/debian/rules pcre3-5.0/debian/rules
--- pcre3-5.0.orig/debian/rules 2005-02-15 18:55:52.000000000 -0500
+++ pcre3-5.0/debian/rules 2005-02-15 18:52:27.000000000 -0500
@@ -34,7 +34,7 @@
--host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
--prefix=/usr --mandir=\$${prefix}/share/man \
--infodir=\$${prefix}/share/info \
- --enable-utf8
+ --enable-utf8 --enable-unicode-properties
build: build-stamp
-----------8<-----------
and rebuilding the packages, I repeated all previous tests
(reinstalled 4.5, rebuilt, etc.) and everything worked including the
code that uses Unicode properties. My C++ wrapper doesn't exercise
100% of the functionality of PCRE, but it does exercise it fairly
well.
I hope that you'll go ahead and build with
--enable-unicode-properties. This is a really useful and important
feature. :-)
While we're at it, here's a quick patch that clears up the lintian
errors/warnings. I know at least the warning comes from a very recent
change to lintian.
-----------8<-----------
diff -ur ../z/pcre3-5.0/debian/control pcre3-5.0/debian/control
--- ../z/pcre3-5.0/debian/control 2005-02-15 19:07:27.000000000 -0500
+++ pcre3-5.0/debian/control 2005-02-15 19:07:03.000000000 -0500
@@ -34,7 +34,7 @@
Architecture: any
Depends: ${shlibs:Depends}
Replaces: pgrep (<<4.5)
-Description: grep utility that uses perl 5 compatible regexes.
+Description: grep utility that uses perl 5 compatible regexes
Perl-style regexps have many useful features that the standard POSIX ones
don't; this is basically the same as grep but with the different
regexp syntax.
diff -ur ../z/pcre3-5.0/debian/copyright pcre3-5.0/debian/copyright
--- ../z/pcre3-5.0/debian/copyright 2005-02-15 19:07:27.000000000 -0500
+++ pcre3-5.0/debian/copyright 2005-02-15 19:06:48.000000000 -0500
@@ -48,3 +48,7 @@
4. If PCRE is embedded in any software that is released under the GNU
General Purpose Licence (GPL), then the terms of that licence shall
supersede any condition above with which it is incompatible.
+
+On Debian systems, refer to /usr/share/common-licenses/GPL-2 for the
+complete text of the GNU General Public License.
+
-----------8<-----------
--
Jay Berkenbilt <[EMAIL PROTECTED]>
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]