Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Treeve Jelbert (ec95fa9f5c42b0aa5993ccb5480d353329c36bd6)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Treeve Jelbert <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Treeve Jelbert (ec95fa9f5c42b0aa5993ccb5480d353329c36bd6)
  • Date: Mon, 15 Jun 2015 11:30:13 +0000

GIT changes to master grimoire by Treeve Jelbert <treeve AT sourcemage.org>:

ChangeLog | 3 +++
libs/pcre2/BUILD | 7 +++++++
libs/pcre2/CONFIGURE | 6 ++++++
libs/pcre2/DEPENDS | 14 ++++++++++++++
libs/pcre2/DETAILS | 17 +++++++++++++++++
libs/pcre2/HISTORY | 3 +++
libs/pcre2/PRE_SUB_DEPENDS | 6 ++++++
libs/pcre2/SUB_DEPENDS | 6 ++++++
libs/pcre2/pcre.gpg |binary
9 files changed, 62 insertions(+)

New commits:
commit ec95fa9f5c42b0aa5993ccb5480d353329c36bd6
Author: Treeve Jelbert <treeve AT sourcemage.org>
Commit: Treeve Jelbert <treeve AT sourcemage.org>

pcre2-10.10 new spell

diff --git a/ChangeLog b/ChangeLog
index effcb29..c6e12ac 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2015-06-15 Treeve Jelbert <treeve AT sourcemage.org>
+ * libs/pcre2: added, Modernised pcre implementation
+
2015-06-13 Treeve Jelbert <treeve AT sourcemage.org>
* telephony/telepathy.gpg:
add 6B1195ED "Alexandr Akulich <akulichalexander AT gmail.com>"
diff --git a/libs/pcre2/BUILD b/libs/pcre2/BUILD
new file mode 100755
index 0000000..4624968
--- /dev/null
+++ b/libs/pcre2/BUILD
@@ -0,0 +1,7 @@
+OPTS="$JIT $PCRE8 $PCRE16 $PCRE32 $OPTS" &&
+
+if [[ $BUILDUTF == n ]]; then
+ OPTS="$OPTS --disable-unicode"
+fi &&
+
+default_build
diff --git a/libs/pcre2/CONFIGURE b/libs/pcre2/CONFIGURE
new file mode 100755
index 0000000..d3371ce
--- /dev/null
+++ b/libs/pcre2/CONFIGURE
@@ -0,0 +1,6 @@
+config_query BUILDUTF "Enable UTF support?" y
+
+config_query_option JIT "Enable JustInTime support" y "--enable-jit" ""
+config_query_option PCRE8 "build 8-bit support" y "--enable-pcre2-8"
"--disable-pcre2-8"
+config_query_option PCRE16 "build 16-bit support" n "--enable-pcre2-16"
"--disable-pcre2-16"
+config_query_option PCRE32 "build 32-bit support" n "--enable-pcre2-32"
"--disable-pcre2-32"
diff --git a/libs/pcre2/DEPENDS b/libs/pcre2/DEPENDS
new file mode 100755
index 0000000..a6c5f30
--- /dev/null
+++ b/libs/pcre2/DEPENDS
@@ -0,0 +1,14 @@
+depends smgl-fhs &&
+optional_depends zlib \
+ '--enable-pcre2grep-libz' \
+ '' \
+ 'handle .gz files in pcre2grep' &&
+
+optional_depends bzip2 \
+ '--enable-pcre2grep-libbz2' \
+ '' 'handle .bz2 files in pcre2grep' &&
+
+optional_depends readline \
+ '--enable-pcre2test-libreadline' \
+ '' \
+ 'use system readline'
diff --git a/libs/pcre2/DETAILS b/libs/pcre2/DETAILS
new file mode 100755
index 0000000..3b94ecd
--- /dev/null
+++ b/libs/pcre2/DETAILS
@@ -0,0 +1,17 @@
+ SPELL=pcre2
+ VERSION=10.10
+ SOURCE=$SPELL-$VERSION.tar.bz2
+ SOURCE2=$SOURCE.sig
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
+
SOURCE_URL[0]=ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/$SOURCE
+ SOURCE2_URL[0]=$SOURCE_URL.sig
+ SOURCE2_IGNORE=signature
+ SOURCE_GPG=pcre.gpg:$SOURCE2:UPSTREAM_KEY
+ WEB_SITE=http://www.pcre.org/
+ ENTERED=20150615
+ LICENSE[0]=http://www.pcre.org/license.txt
+ KEYWORDS="perl libs"
+ SHORT="Modernised Perl Compatible Regular Expression library"
+cat << EOF
+PCRE2, a revised API for the PCRE library.
+EOF
diff --git a/libs/pcre2/HISTORY b/libs/pcre2/HISTORY
new file mode 100644
index 0000000..89dc0e2
--- /dev/null
+++ b/libs/pcre2/HISTORY
@@ -0,0 +1,3 @@
+2015-05-03 Treeve Jelbert <treeve AT sourcemage.org>
+ * DETAILS: version 8.37
+ spell created, derived from pcre spell
diff --git a/libs/pcre2/PRE_SUB_DEPENDS b/libs/pcre2/PRE_SUB_DEPENDS
new file mode 100755
index 0000000..5323a2d
--- /dev/null
+++ b/libs/pcre2/PRE_SUB_DEPENDS
@@ -0,0 +1,6 @@
+case "$THIS_SUB_DEPENDS" in
+ PCRE16) if [[ $PCRE16 == "--enable-pcre16" ]];
+ then return 0; else return 1; fi ;;
+ CPP) is_depends_enabled $SPELL gcc ;;
+ *) echo "bogus sub_depends: pcre $THIS_SUB_DEPENDS"; return 1;;
+esac
diff --git a/libs/pcre2/SUB_DEPENDS b/libs/pcre2/SUB_DEPENDS
new file mode 100755
index 0000000..57ad977
--- /dev/null
+++ b/libs/pcre2/SUB_DEPENDS
@@ -0,0 +1,6 @@
+case "$THIS_SUB_DEPENDS" in
+ PCRE16) message "pcre with 16-bit requested, forcing support" &&
+ PCRE16="--enable-pcre16";;
+ CPP) depends -sub CXX gcc "--enable-cpp" ;;
+ *) echo "bogus sub_depends: pcre $THIS_SUB_DEPENDS"; return 1;;
+esac
diff --git a/libs/pcre2/pcre.gpg b/libs/pcre2/pcre.gpg
new file mode 100644
index 0000000..bd259c6
Binary files /dev/null and b/libs/pcre2/pcre.gpg differ



  • [SM-Commit] GIT changes to master grimoire by Treeve Jelbert (ec95fa9f5c42b0aa5993ccb5480d353329c36bd6), Treeve Jelbert, 06/15/2015

Archive powered by MHonArc 2.6.24.

Top of Page