From 69bf41ac152e115e12dcebcb7c0100e388a4085f Mon Sep 17 00:00:00 2001 From: Andrea Zagli Date: Tue, 14 Apr 2015 12:46:38 +0200 Subject: [PATCH] libconfi: branch libpeas. --- packages/mingw-w64-libconfi/001-include.patch | 29 ++++++++++--------- packages/mingw-w64-libconfi/PKGBUILD | 12 ++++---- 2 files changed, 22 insertions(+), 19 deletions(-) diff --git a/packages/mingw-w64-libconfi/001-include.patch b/packages/mingw-w64-libconfi/001-include.patch index d7940af..c31bb27 100644 --- a/packages/mingw-w64-libconfi/001-include.patch +++ b/packages/mingw-w64-libconfi/001-include.patch @@ -1,17 +1,6 @@ ---- libconfi/tests/test.c.orig 2014-11-06 08:56:43.827743800 +0100 -+++ libconfi/tests/test.c 2014-11-06 08:59:22.594743800 +0100 -@@ -16,7 +16,7 @@ - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - */ - --#include -+#include "libconfi.h" - - gboolean - traverse_func (GNode *node, ---- libconfi/tests/Makefile.am.orig 2014-11-06 09:03:12.093743800 +0100 -+++ libconfi/tests/Makefile.am 2014-11-06 09:06:59.124743800 +0100 -@@ -1,7 +1,11 @@ +--- ./tests/Makefile.am.orig 2015-04-14 12:19:29.034410100 +0200 ++++ ./tests/Makefile.am 2015-04-14 12:19:36.468424900 +0200 +@@ -1,8 +1,12 @@ -AM_CPPFLAGS = $(LIBCONFI_CFLAGS) \ - -I../src +AM_CPPFLAGS = $(WARN_CFLAGS) \ @@ -26,3 +15,15 @@ +LDADD = $(top_builddir)/src/libconfi.la noinst_PROGRAMS = test + +--- ./tests/test.c.orig 2015-04-14 12:19:34.053090200 +0200 ++++ ./tests/test.c 2015-04-14 12:20:43.526175500 +0200 +@@ -17,7 +17,7 @@ + */ + + #include +-#include ++#include "libconfi.h" + + gboolean + traverse_func (GNode *node, diff --git a/packages/mingw-w64-libconfi/PKGBUILD b/packages/mingw-w64-libconfi/PKGBUILD index 676ddc9..8d05fc6 100644 --- a/packages/mingw-w64-libconfi/PKGBUILD +++ b/packages/mingw-w64-libconfi/PKGBUILD @@ -3,25 +3,25 @@ _realname=libconfi pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}" pkgver=0.5.0 -pkgrel=1 +pkgrel=2 arch=('any') pkgdesc="Library to manage configurations (mingw-w64)" depends=("${MINGW_PACKAGE_PREFIX}-libgdaex") makedepends=("${MINGW_PACKAGE_PREFIX}-gcc" "${MINGW_PACKAGE_PREFIX}-gtk-doc" "${MINGW_PACKAGE_PREFIX}-gnome-common") -options=('strip' 'staticlibs') +options=('!strip' 'debug' 'staticlibs') license=("LGPL 2.1") url="http://saetta.ns0.it/" -source=(git+http://saetta.ns0.it/git/solipa/confi/${_realname}#branch=libgda5 +source=(git+http://saetta.ns0.it/git/solipa/confi/${_realname}#branch=libpeas 001-include.patch) sha256sums=('SKIP' - '6e288ee3a2875b191581806c6d9f07c5b258e7c4b0d84023ff85972083fad3a2') + '364e93e2af2b494d5d447ba2b9584f82e2013eda8affcabceb05bb6339cca876') prepare() { cd ${_realname} - patch -p1 -i ${srcdir}/001-include.patch + patch -b -V simple -p1 -i ${srcdir}/001-include.patch } build() { @@ -40,4 +40,6 @@ build() { package() { cd "$srcdir/build-${MINGW_CHOST}" make DESTDIR=$pkgdir install + + install -Dm644 "${srcdir}/${_realname}/COPYING" "${pkgdir}${MINGW_PREFIX}/share/licenses/${_realname}/COPYING" } -- 2.49.0