[arch-commits] Commit in libfilezilla/repos (8 files)

Florian Pritz bluewind at archlinux.org
Wed Jun 14 18:01:00 UTC 2017


    Date: Wednesday, June 14, 2017 @ 18:00:59
  Author: bluewind
Revision: 236786

archrelease: copy trunk to community-i686, community-x86_64

Added:
  libfilezilla/repos/community-i686/PKGBUILD
    (from rev 236785, libfilezilla/trunk/PKGBUILD)
  libfilezilla/repos/community-i686/cppunit-pkgconfig.patch
    (from rev 236785, libfilezilla/trunk/cppunit-pkgconfig.patch)
  libfilezilla/repos/community-i686/random_bytes.patch
    (from rev 236785, libfilezilla/trunk/random_bytes.patch)
  libfilezilla/repos/community-x86_64/PKGBUILD
    (from rev 236785, libfilezilla/trunk/PKGBUILD)
  libfilezilla/repos/community-x86_64/cppunit-pkgconfig.patch
    (from rev 236785, libfilezilla/trunk/cppunit-pkgconfig.patch)
  libfilezilla/repos/community-x86_64/random_bytes.patch
    (from rev 236785, libfilezilla/trunk/random_bytes.patch)
Deleted:
  libfilezilla/repos/community-i686/PKGBUILD
  libfilezilla/repos/community-x86_64/PKGBUILD

------------------------------------------+
 /PKGBUILD                                |   88 +++++++++++++++++++++++++++++
 community-i686/PKGBUILD                  |   33 ----------
 community-i686/cppunit-pkgconfig.patch   |   27 ++++++++
 community-i686/random_bytes.patch        |   11 +++
 community-x86_64/PKGBUILD                |   33 ----------
 community-x86_64/cppunit-pkgconfig.patch |   27 ++++++++
 community-x86_64/random_bytes.patch      |   11 +++
 7 files changed, 164 insertions(+), 66 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2017-06-14 18:00:46 UTC (rev 236785)
+++ community-i686/PKGBUILD	2017-06-14 18:00:59 UTC (rev 236786)
@@ -1,33 +0,0 @@
-# Maintainer: Florian Pritz <bluewind at xinu.at>
-# Contributor: Martchus <martchus at gmx.net>
-
-pkgname=libfilezilla
-pkgver=0.9.1
-pkgrel=1
-pkgdesc="Small and modern C++ library, offering some basic functionality to build high-performing, platform-independent programs"
-arch=('i686' 'x86_64')
-url="https://filezilla-project.org/"
-license=('GPL')
-depends=('gcc-libs')
-checkdepends=('cppunit')
-source=("http://download.filezilla-project.org/libfilezilla/libfilezilla-$pkgver.tar.bz2")
-
-build() {
-  cd "${srcdir}/$pkgname-$pkgver"
-  ./configure \
-    --prefix=/usr \
-    --disable-static
-  make
-}
-
-check() {
-  cd "${srcdir}/$pkgname-$pkgver"
-  # LANG needed to fix string_test::test_conversion2
-  LANG=en_US.UTF-8 make check
-}
-
-package() {
-  cd "${srcdir}/$pkgname-$pkgver"
-  make DESTDIR="${pkgdir}" install
-}
-md5sums=('4676304b048869ab6ac6ae09a1ab29f9')

Copied: libfilezilla/repos/community-i686/PKGBUILD (from rev 236785, libfilezilla/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2017-06-14 18:00:59 UTC (rev 236786)
@@ -0,0 +1,44 @@
+# Maintainer: Florian Pritz <bluewind at xinu.at>
+# Contributor: Martchus <martchus at gmx.net>
+
+pkgname=libfilezilla
+pkgver=0.9.2
+pkgrel=1
+pkgdesc="Small and modern C++ library, offering some basic functionality to build high-performing, platform-independent programs"
+arch=('i686' 'x86_64')
+url="https://filezilla-project.org/"
+license=('GPL')
+depends=('gcc-libs')
+checkdepends=('cppunit')
+source=("http://download.filezilla-project.org/libfilezilla/libfilezilla-$pkgver.tar.bz2"
+cppunit-pkgconfig.patch random_bytes.patch)
+
+prepare() {
+  cd "${srcdir}/$pkgname-$pkgver"
+
+  patch -p1 -i "$srcdir/cppunit-pkgconfig.patch"
+  patch -p1 -i "$srcdir/random_bytes.patch"
+  autoreconf
+}
+
+build() {
+  cd "${srcdir}/$pkgname-$pkgver"
+  ./configure \
+    --prefix=/usr \
+    --disable-static
+  make
+}
+
+check() {
+  cd "${srcdir}/$pkgname-$pkgver"
+  # LANG needed to fix string_test::test_conversion2
+  LANG=en_US.UTF-8 make check
+}
+
+package() {
+  cd "${srcdir}/$pkgname-$pkgver"
+  make DESTDIR="${pkgdir}" install
+}
+md5sums=('d52a0e7229efb3c9fafc8a2b649d665d'
+         '0e3c4b6bfe11f7f9dddbc033c23c8c12'
+         '19beb164bda0f853678629b24865bdce')

Copied: libfilezilla/repos/community-i686/cppunit-pkgconfig.patch (from rev 236785, libfilezilla/trunk/cppunit-pkgconfig.patch)
===================================================================
--- community-i686/cppunit-pkgconfig.patch	                        (rev 0)
+++ community-i686/cppunit-pkgconfig.patch	2017-06-14 18:00:59 UTC (rev 236786)
@@ -0,0 +1,27 @@
+--- libfilezilla-0.9.2/m4/cppunit.m4.ddd	2015-11-02 14:47:31.000000000 +0100
++++ libfilezilla-0.9.2/m4/cppunit.m4	2017-06-06 19:08:00.329550653 +0200
+@@ -29,12 +29,14 @@ AC_ARG_WITH(cppunit-exec-prefix,[  --wit
+   no_cppunit=""
+   if test "$CPPUNIT_CONFIG" = "no" ; then
+     AC_MSG_RESULT(no)
+-    no_cppunit=yes
++    CPPUNIT_CFLAGS=`pkg-config --cflags cppunit`
++    CPPUNIT_LIBS=`pkg-config --libs cppunit`
++    cppunit_version=`pkg-config --modversion cppunit`
+   else
+     CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
+     CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
+     cppunit_version=`$CPPUNIT_CONFIG --version`
+-
++  fi
+     cppunit_major_version=`echo $cppunit_version | \
+            sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
+     cppunit_minor_version=`echo $cppunit_version | \
+@@ -74,7 +76,6 @@ AC_ARG_WITH(cppunit-exec-prefix,[  --wit
+       AC_MSG_RESULT(no)
+       no_cppunit=yes
+     fi
+-  fi
+ 
+   if test "x$no_cppunit" = x ; then
+      ifelse([$2], , :, [$2])

Copied: libfilezilla/repos/community-i686/random_bytes.patch (from rev 236785, libfilezilla/trunk/random_bytes.patch)
===================================================================
--- community-i686/random_bytes.patch	                        (rev 0)
+++ community-i686/random_bytes.patch	2017-06-14 18:00:59 UTC (rev 236786)
@@ -0,0 +1,11 @@
+--- libfilezilla-0.9.2/lib/libfilezilla/util.hpp.orig	2017-05-25 20:35:14.000000000 +0200
++++ libfilezilla-0.9.2/lib/libfilezilla/util.hpp	2017-06-06 20:53:40.457650687 +0200
+@@ -28,7 +28,7 @@ int64_t FZ_PUBLIC_SYMBOL random_number(i
+ 
+ /** \brief Get random uniformly distributed bytes
+  */
+-std::vector<uint8_t> random_bytes(size_t size);
++std::vector<uint8_t> FZ_PUBLIC_SYMBOL random_bytes(size_t size);
+ 
+ }
+ 

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2017-06-14 18:00:46 UTC (rev 236785)
+++ community-x86_64/PKGBUILD	2017-06-14 18:00:59 UTC (rev 236786)
@@ -1,33 +0,0 @@
-# Maintainer: Florian Pritz <bluewind at xinu.at>
-# Contributor: Martchus <martchus at gmx.net>
-
-pkgname=libfilezilla
-pkgver=0.9.1
-pkgrel=1
-pkgdesc="Small and modern C++ library, offering some basic functionality to build high-performing, platform-independent programs"
-arch=('i686' 'x86_64')
-url="https://filezilla-project.org/"
-license=('GPL')
-depends=('gcc-libs')
-checkdepends=('cppunit')
-source=("http://download.filezilla-project.org/libfilezilla/libfilezilla-$pkgver.tar.bz2")
-
-build() {
-  cd "${srcdir}/$pkgname-$pkgver"
-  ./configure \
-    --prefix=/usr \
-    --disable-static
-  make
-}
-
-check() {
-  cd "${srcdir}/$pkgname-$pkgver"
-  # LANG needed to fix string_test::test_conversion2
-  LANG=en_US.UTF-8 make check
-}
-
-package() {
-  cd "${srcdir}/$pkgname-$pkgver"
-  make DESTDIR="${pkgdir}" install
-}
-md5sums=('4676304b048869ab6ac6ae09a1ab29f9')

Copied: libfilezilla/repos/community-x86_64/PKGBUILD (from rev 236785, libfilezilla/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2017-06-14 18:00:59 UTC (rev 236786)
@@ -0,0 +1,44 @@
+# Maintainer: Florian Pritz <bluewind at xinu.at>
+# Contributor: Martchus <martchus at gmx.net>
+
+pkgname=libfilezilla
+pkgver=0.9.2
+pkgrel=1
+pkgdesc="Small and modern C++ library, offering some basic functionality to build high-performing, platform-independent programs"
+arch=('i686' 'x86_64')
+url="https://filezilla-project.org/"
+license=('GPL')
+depends=('gcc-libs')
+checkdepends=('cppunit')
+source=("http://download.filezilla-project.org/libfilezilla/libfilezilla-$pkgver.tar.bz2"
+cppunit-pkgconfig.patch random_bytes.patch)
+
+prepare() {
+  cd "${srcdir}/$pkgname-$pkgver"
+
+  patch -p1 -i "$srcdir/cppunit-pkgconfig.patch"
+  patch -p1 -i "$srcdir/random_bytes.patch"
+  autoreconf
+}
+
+build() {
+  cd "${srcdir}/$pkgname-$pkgver"
+  ./configure \
+    --prefix=/usr \
+    --disable-static
+  make
+}
+
+check() {
+  cd "${srcdir}/$pkgname-$pkgver"
+  # LANG needed to fix string_test::test_conversion2
+  LANG=en_US.UTF-8 make check
+}
+
+package() {
+  cd "${srcdir}/$pkgname-$pkgver"
+  make DESTDIR="${pkgdir}" install
+}
+md5sums=('d52a0e7229efb3c9fafc8a2b649d665d'
+         '0e3c4b6bfe11f7f9dddbc033c23c8c12'
+         '19beb164bda0f853678629b24865bdce')

Copied: libfilezilla/repos/community-x86_64/cppunit-pkgconfig.patch (from rev 236785, libfilezilla/trunk/cppunit-pkgconfig.patch)
===================================================================
--- community-x86_64/cppunit-pkgconfig.patch	                        (rev 0)
+++ community-x86_64/cppunit-pkgconfig.patch	2017-06-14 18:00:59 UTC (rev 236786)
@@ -0,0 +1,27 @@
+--- libfilezilla-0.9.2/m4/cppunit.m4.ddd	2015-11-02 14:47:31.000000000 +0100
++++ libfilezilla-0.9.2/m4/cppunit.m4	2017-06-06 19:08:00.329550653 +0200
+@@ -29,12 +29,14 @@ AC_ARG_WITH(cppunit-exec-prefix,[  --wit
+   no_cppunit=""
+   if test "$CPPUNIT_CONFIG" = "no" ; then
+     AC_MSG_RESULT(no)
+-    no_cppunit=yes
++    CPPUNIT_CFLAGS=`pkg-config --cflags cppunit`
++    CPPUNIT_LIBS=`pkg-config --libs cppunit`
++    cppunit_version=`pkg-config --modversion cppunit`
+   else
+     CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
+     CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
+     cppunit_version=`$CPPUNIT_CONFIG --version`
+-
++  fi
+     cppunit_major_version=`echo $cppunit_version | \
+            sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
+     cppunit_minor_version=`echo $cppunit_version | \
+@@ -74,7 +76,6 @@ AC_ARG_WITH(cppunit-exec-prefix,[  --wit
+       AC_MSG_RESULT(no)
+       no_cppunit=yes
+     fi
+-  fi
+ 
+   if test "x$no_cppunit" = x ; then
+      ifelse([$2], , :, [$2])

Copied: libfilezilla/repos/community-x86_64/random_bytes.patch (from rev 236785, libfilezilla/trunk/random_bytes.patch)
===================================================================
--- community-x86_64/random_bytes.patch	                        (rev 0)
+++ community-x86_64/random_bytes.patch	2017-06-14 18:00:59 UTC (rev 236786)
@@ -0,0 +1,11 @@
+--- libfilezilla-0.9.2/lib/libfilezilla/util.hpp.orig	2017-05-25 20:35:14.000000000 +0200
++++ libfilezilla-0.9.2/lib/libfilezilla/util.hpp	2017-06-06 20:53:40.457650687 +0200
+@@ -28,7 +28,7 @@ int64_t FZ_PUBLIC_SYMBOL random_number(i
+ 
+ /** \brief Get random uniformly distributed bytes
+  */
+-std::vector<uint8_t> random_bytes(size_t size);
++std::vector<uint8_t> FZ_PUBLIC_SYMBOL random_bytes(size_t size);
+ 
+ }
+ 



More information about the arch-commits mailing list