[arch-commits] Commit in thrift/trunk (PKGBUILD fix_cglib_compile_options.patch)

Anatol Pomozov anatolik at archlinux.org
Mon Oct 12 16:07:31 UTC 2015


    Date: Monday, October 12, 2015 @ 18:07:31
  Author: anatolik
Revision: 143785

upgpkg: thrift 0.9.3-1

Modified:
  thrift/trunk/PKGBUILD
Deleted:
  thrift/trunk/fix_cglib_compile_options.patch

---------------------------------+
 PKGBUILD                        |   23 ++++++++--------------
 fix_cglib_compile_options.patch |   39 --------------------------------------
 2 files changed, 9 insertions(+), 53 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-10-12 15:38:11 UTC (rev 143784)
+++ PKGBUILD	2015-10-12 16:07:31 UTC (rev 143785)
@@ -8,27 +8,21 @@
 # the binding from the language specific managers python2-thrift, perl-thrift, ruby-thrift, ...
 
 pkgname=thrift
-pkgver=0.9.2
-pkgrel=3
+pkgver=0.9.3
+pkgrel=1
 pkgdesc='Scalable cross-language services framework for IPC/RPC'
 arch=(i686 x86_64)
 url='http://thrift.apache.org/'
 license=(APACHE)
 depends=(gcc-libs openssl)
-makedepends=(qt4 boost libevent emacs-nox)
+makedepends=(qt4 qt5-base boost libevent emacs-nox)
 optdepends=(
-  'qt4: TQTcpServer support'
+  'qt4: TQTcpServer (Qt4) support'
+  'qt5-base: TQTcpServer (Qt5) support'
 )
-source=(thrift-$pkgver.zip::https://github.com/apache/thrift/archive/$pkgver.zip
-        fix_cglib_compile_options.patch)
-sha1sums=('35e53e6705aee4c2286406e4fc6b0d4404a15332'
-          '96650c499ab45824be04070d868114205fb4538c')
+source=(thrift-$pkgver.zip::https://github.com/apache/thrift/archive/$pkgver.zip)
+sha1sums=('695f47647f776a939d3818f4bc0c8e1de84e735b')
 
-prepare() {
-  cd thrift-$pkgver
-  patch -p1 < ../fix_cglib_compile_options.patch
-}
-
 build() {
   cd thrift-$pkgver
 
@@ -36,7 +30,8 @@
   ./configure --prefix=/usr \
               --with-cpp \
               --with-c_glib \
-              --with-qt4 \
+	      --with-qt4 \
+              --with-qt5 \
               --with-libevent \
               --with-csharp \
               --without-haskell \

Deleted: fix_cglib_compile_options.patch
===================================================================
--- fix_cglib_compile_options.patch	2015-10-12 15:38:11 UTC (rev 143784)
+++ fix_cglib_compile_options.patch	2015-10-12 16:07:31 UTC (rev 143785)
@@ -1,39 +0,0 @@
-commit 4bf97c196aba9e50289333c15336ad109fc87f2d
-Author: Anatol Pomozov <anatol.pomozov at gmail.com>
-Date:   Mon Nov 24 11:12:52 2014 -0800
-
-    Do not drop CFLAGS from c_glib compilation
-    
-    CFLAGS contains important flags. Dropping it introduces e.g. such issues:
-    https://sourceware.org/bugzilla/show_bug.cgi?id=13979
-    
-    Signed-off-by: Anatol Pomozov <anatol.pomozov at gmail.com>
-    
-    This closes #284
-
-diff --git a/lib/c_glib/Makefile.am b/lib/c_glib/Makefile.am
-index 88e2d73..4e0aa88 100755
---- a/lib/c_glib/Makefile.am
-+++ b/lib/c_glib/Makefile.am
-@@ -24,11 +24,7 @@ pkgconfigdir = $(libdir)/pkgconfig
- lib_LTLIBRARIES = libthrift_c_glib.la
- pkgconfig_DATA = thrift_c_glib.pc
- 
--common_cflags = -g -Wall -W -Isrc -I src/thrift/c_glib $(GLIB_CFLAGS)
--common_ldflags = -g -Wall -W $(GLIB_LDFLAGS) @GCOV_LDFLAGS@
--
--# this removes optimizations and adds coverage flags
--CFLAGS = @GCOV_CFLAGS@
-+AM_CFLAGS = -Isrc -I src/thrift/c_glib
- 
- # Define the source files for the module
- 
-@@ -54,7 +50,7 @@ libthrift_c_glib_la_SOURCES = src/thrift/c_glib/thrift.c \
-                               src/thrift/c_glib/server/thrift_server.c \
-                               src/thrift/c_glib/server/thrift_simple_server.c
- 
--libthrift_c_glib_la_CFLAGS = $(common_cflags)
-+libthrift_c_glib_la_CFLAGS = $(AM_CFLAGS) $(GLIB_CFLAGS)
- 
- include_thriftdir = $(includedir)/thrift/c_glib
- include_thrift_HEADERS = \



More information about the arch-commits mailing list