diff options
Diffstat (limited to 'pcr')
-rw-r--r-- | pcr/sword-svn/PKGBUILD | 39 | ||||
-rw-r--r-- | pcr/sword-svn/automake.patch | 52 | ||||
-rw-r--r-- | pcr/sword/PKGBUILD | 68 | ||||
-rw-r--r-- | pcr/sword/curl.patch | 22 | ||||
-rw-r--r-- | pcr/sword/multimap.patch | 39 |
5 files changed, 0 insertions, 220 deletions
diff --git a/pcr/sword-svn/PKGBUILD b/pcr/sword-svn/PKGBUILD deleted file mode 100644 index ca0fbfb2c..000000000 --- a/pcr/sword-svn/PKGBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Maintainer (Arch): Stefan Husmann <stefan-husmann@t-online.de> -pkgname=sword-svn -pkgver=2793 -pkgrel=1 -pkgdesc="Libraries for Bible programs - svn -version" -arch=('i686' 'x86_64' 'mips64el') -url="http://www.crosswire.org/sword/" -license=('GPL') -depends=('curl' 'clucene' 'swig') -makedepends=('subversion') -provides=('sword') -conflicts=('sword') -source=('sword::svn+https://www.crosswire.org/svn/sword/trunk/' 'automake.patch') -md5sums=('SKIP' '24a4821088da78725b9374807d0d3508') -options=('!makeflags') -_svnmod=sword - -pkgver() { - cd $SRCDEST/${_svnmod} - svnversion -} - -prepare() { - cd "$srcdir/$_svnmod" - patch -p1 < $srcdir/automake.patch -} - -build() { - cd "$srcdir/$_svnmod" - ./autogen.sh - CPPFLAGS+="-fpermissive" ./configure --prefix=/usr --libdir=/usr/lib --sysconfdir=/etc - make -} - -package() { - cd "$srcdir/$_svnmod" - make DESTDIR="$pkgdir/" install - make DESTDIR="$pkgdir/" install_config -} diff --git a/pcr/sword-svn/automake.patch b/pcr/sword-svn/automake.patch deleted file mode 100644 index 3cfd5eb44..000000000 --- a/pcr/sword-svn/automake.patch +++ /dev/null @@ -1,52 +0,0 @@ -diff -Naur sword.orig/configure.ac sword.new/configure.ac ---- sword.orig/configure.ac 2013-01-13 12:46:13.000000000 +0100 -+++ sword.new/configure.ac 2013-01-13 12:47:34.000000000 +0100 -@@ -13,7 +13,7 @@ - AC_CANONICAL_TARGET - AM_INIT_AUTOMAKE - --AM_CONFIG_HEADER(include/config.h) -+AC_CONFIG_HEADERS(include/config.h) - - AC_CONFIG_MACRO_DIR([m4]) - -diff -Naur sword.orig/examples/cmdline/Makefile.am sword.new/examples/cmdline/Makefile.am ---- sword.orig/examples/cmdline/Makefile.am 2013-01-13 12:46:13.000000000 +0100 -+++ sword.new/examples/cmdline/Makefile.am 2013-01-13 12:53:55.000000000 +0100 -@@ -1,7 +1,7 @@ - AUTOMAKE_OPTIONS = 1.6 --INCLUDES = -I $(top_srcdir)/include -+AM_CPPFLAGS = -I $(top_srcdir)/include - if USE_INTERNAL_REGEX --INCLUDES += -I$(top_srcdir)/include/internal/regex -+AM_CPPFLAGS += -I$(top_srcdir)/include/internal/regex - endif - LDADD = $(top_builddir)/lib/libsword.la - -diff -Naur sword.orig/tests/Makefile.am sword.new/tests/Makefile.am ---- sword.orig/tests/Makefile.am 2013-01-13 12:46:14.000000000 +0100 -+++ sword.new/tests/Makefile.am 2013-01-13 12:54:33.000000000 +0100 -@@ -1,7 +1,7 @@ - AUTOMAKE_OPTIONS = 1.6 --INCLUDES = -I $(top_srcdir)/include -+AM_CPPFLAGS = -I $(top_srcdir)/include - if USE_INTERNAL_REGEX --INCLUDES += -I$(top_srcdir)/include/internal/regex -+AM_CPPFLAGS += -I$(top_srcdir)/include/internal/regex - endif - LDADD = $(top_builddir)/lib/libsword.la - -diff -Naur sword.orig/utilities/Makefile.am sword.new/utilities/Makefile.am ---- sword.orig/utilities/Makefile.am 2013-01-13 12:46:13.000000000 +0100 -+++ sword.new/utilities/Makefile.am 2013-01-13 12:56:12.000000000 +0100 -@@ -1,8 +1,8 @@ - AUTOMAKE_OPTIONS = 1.6 - SUBDIRS = diatheke --INCLUDES = -I $(top_srcdir)/include -+AM_CPPFLAGS = -I $(top_srcdir)/include - if USE_INTERNAL_REGEX --INCLUDES += -I$(top_srcdir)/include/internal/regex -+AM_CPPFLAGS += -I$(top_srcdir)/include/internal/regex - endif - LDADD = $(top_builddir)/lib/libsword.la - noinst_PROGRAMS = cipherraw lexdump \ diff --git a/pcr/sword/PKGBUILD b/pcr/sword/PKGBUILD deleted file mode 100644 index 013b50972..000000000 --- a/pcr/sword/PKGBUILD +++ /dev/null @@ -1,68 +0,0 @@ -# Maintainer (Arch): -# Contributor (Arch): Alexander Rødseth -# Contributor (Arch): Andrea Scarpino -# Contributor (Arch): Stefan Husmann <stefan-husmann@t-online.de> -# Contributor (Arch): TripleE <eric1548@yahoo.com> -# Contributor (Arch): Dominic Tubach - -pkgname=sword -pkgver=1.6.2 -pkgrel=9 -pkgdesc="Library for Bible study programs" -arch=('x86_64' 'i686') -url="http://www.crosswire.org/sword/" -license=('GPL') -depends=('curl' 'clucene' 'swig') -makedepends=('cmake') -backup=('etc/sword.conf') -source=("http://www.crosswire.org/ftpmirror/pub/$pkgname/source/v1.6/$pkgname-$pkgver.tar.gz" - "curl.patch" - "multimap.patch") -sha256sums=('af76c7d54135c444b09eeaafb49229ef5201a4e1d44539d9341dceaeb60a87b9' - '3c2676b6dc1d56b08b2532f46af32c54e91ea71ed92a5d7a30ee29ed7ff09124' - 'ddcde54fbd9b29585c03565bff7891622cb2cc0a6381047d5f566987a7cb1b8c') - -build() { - cd "$srcdir/$pkgname-$pkgver" - - patch -p1 -i ../curl.patch - patch -p1 -i ../multimap.patch - - [[ -d ../build ]] || mkdir ../build - cd ../build - - CXXFLAGS=-fpermissive cmake "../$pkgname-$pkgver" \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_BUILD_TYPE=Release \ - -DSWORD_GLOBAL_CONF_DIR=/etc - make -} - -package() { - cd "$srcdir/build" - - make DESTDIR="$pkgdir" install - - install -d "$pkgdir/usr/lib/sword" - mv "$pkgdir"/usr/lib/${pkgver}_icu_* \ - "$pkgdir/usr/lib/sword/" - - cd "$srcdir/$pkgname-$pkgver/locales.d/" - for file in *.conf; do - install -Dm644 "$file" \ - "$pkgdir/usr/share/sword/locales.d/$file" - done - - cd ../include - install -d "$pkgdir/usr/include/sword" - install -Dm644 canon_{catholic{,2},synodalp}.h \ - "$pkgdir/usr/include/sword" - - cd ../samples - install -Dm644 mods.d/globals.conf \ - "$pkgdir/usr/share/sword/mods.d/globals.conf" - install -Dm644 recommended/sword.conf \ - "$pkgdir/etc/sword.conf" -} - -# vim:set ts=2 sw=2 et: diff --git a/pcr/sword/curl.patch b/pcr/sword/curl.patch deleted file mode 100644 index 63fd4433c..000000000 --- a/pcr/sword/curl.patch +++ /dev/null @@ -1,22 +0,0 @@ -diff -Naur sword-1.6.2.orig/src/mgr/curlftpt.cpp sword-1.6.2.new/src/mgr/curlftpt.cpp ---- sword-1.6.2.orig/src/mgr/curlftpt.cpp 2011-07-27 00:41:40.000000000 +0200 -+++ sword-1.6.2.new/src/mgr/curlftpt.cpp 2011-07-27 00:42:05.000000000 +0200 -@@ -26,7 +26,6 @@ - #include <fcntl.h> - - #include <curl/curl.h> --#include <curl/types.h> - #include <curl/easy.h> - - #include <swlog.h> -diff -Naur sword-1.6.2.orig/src/mgr/curlhttpt.cpp sword-1.6.2.new/src/mgr/curlhttpt.cpp ---- sword-1.6.2.orig/src/mgr/curlhttpt.cpp 2011-07-27 00:41:40.000000000 +0200 -+++ sword-1.6.2.new/src/mgr/curlhttpt.cpp 2011-07-27 00:42:45.000000000 +0200 -@@ -25,7 +25,6 @@ - #include <cctype> - - #include <curl/curl.h> --#include <curl/types.h> - #include <curl/easy.h> - - #include <swlog.h> diff --git a/pcr/sword/multimap.patch b/pcr/sword/multimap.patch deleted file mode 100644 index 7957ab2d8..000000000 --- a/pcr/sword/multimap.patch +++ /dev/null @@ -1,39 +0,0 @@ ---- sword-1.6.2/include/multimapwdef.h 2004-05-04 23:01:39.000000000 +0200 -+++ /usr/include/sword/multimapwdef.h 2012-06-02 13:37:47.816457345 +0200 -@@ -7,26 +7,26 @@ - - // multmap that still lets you use [] to reference FIRST - // entry of a key if multiples exist --template <class Key, class T, class Compare> --class multimapwithdefault : public std::multimap<Key, T, Compare> { -+template < class Key, class T, class Compare > -+class multimapwithdefault : public std::multimap< Key, T, Compare > { - public: -- typedef std::pair<const Key, T> value_type; -+ typedef std::pair< const Key, T > value_type; - T& getWithDefault(const Key& k, const T& defaultValue) { -- if (find(k) == this->end()) { -- insert(value_type(k, defaultValue)); -+ if (this->find(k) == this->end()) { -+ this->insert(value_type(k, defaultValue)); - } - return (*(find(k))).second; - } - - T& operator[](const Key& k) { -- if (find(k) == this->end()) { -- insert(value_type(k, T())); -+ if (this->find(k) == this->end()) { -+ this->insert(value_type(k, T())); - } -- return (*(find(k))).second; -+ return (*(this->find(k))).second; - } - bool has(const Key& k, const T &val) const { -- typename std::multimap<Key, T, Compare>::const_iterator start = lower_bound(k); -- typename std::multimap<Key, T, Compare>::const_iterator end = upper_bound(k); -+ typename std::multimap< Key, T, Compare >::const_iterator start = this->lower_bound(k); -+ typename std::multimap< Key, T, Compare >::const_iterator end = this->upper_bound(k); - for (; start!=end; start++) { - if (start->second == val) - return true; |