[arch-commits] Commit in libgda/trunk (4 files)

Jan de Groot jgc at archlinux.org
Sun Oct 8 21:34:03 UTC 2017


    Date: Sunday, October 8, 2017 @ 21:34:02
  Author: jgc
Revision: 307204

upgpkg: libgda 5.2.4+39+g3f70d4fce-1

Fix build with glib 2.54.0

Added:
  libgda/trunk/0001-Convert-files-to-Unicode.patch
  libgda/trunk/glib-2.54-ftbfs-2.patch
  libgda/trunk/glib-2.54-ftbfs.patch
Modified:
  libgda/trunk/PKGBUILD

-------------------------------------+
 0001-Convert-files-to-Unicode.patch |   83 +++++++++++++++++++++++++++
 PKGBUILD                            |   21 ++++--
 glib-2.54-ftbfs-2.patch             |   11 +++
 glib-2.54-ftbfs.patch               |  103 ++++++++++++++++++++++++++++++++++
 4 files changed, 212 insertions(+), 6 deletions(-)

Added: 0001-Convert-files-to-Unicode.patch
===================================================================
--- 0001-Convert-files-to-Unicode.patch	                        (rev 0)
+++ 0001-Convert-files-to-Unicode.patch	2017-10-08 21:34:02 UTC (rev 307204)
@@ -0,0 +1,83 @@
+From b611c805b3a2248e2f4f85f993f96c13a05b4730 Mon Sep 17 00:00:00 2001
+From: Emmanuele Bassi <ebassi at gnome.org>
+Date: Mon, 17 Jul 2017 22:37:50 +0100
+Subject: Convert files to Unicode
+
+These header files have mixed encoding, and makes various tools choke on
+them.
+---
+ libgda/gda-connection.h                          | 2 +-
+ libgda/sql-parser/gda-sql-statement.h            | 2 +-
+ libgda/sql-parser/gda-statement-struct-delete.h  | 2 +-
+ libgda/sql-parser/gda-statement-struct-unknown.h | 2 +-
+ libgda/sql-parser/gda-statement-struct-util.h    | 2 +-
+ 5 files changed, 5 insertions(+), 5 deletions(-)
+
+diff --git a/libgda/gda-connection.h b/libgda/gda-connection.h
+index 94d1b27b5..19ca63fc3 100644
+--- a/libgda/gda-connection.h
++++ b/libgda/gda-connection.h
+@@ -6,7 +6,7 @@
+  * Copyright (C) 2002 - 2003 Gonzalo Paniagua Javier <gonzalo at ximian.com>
+  * Copyright (C) 2003 Filip Van Raemdonck <mechanix at debian.org>
+  * Copyright (C) 2004 - 2005 Alan Knowles <alank at src.gnome.org>
+- * Copyright (C) 2004 José María Casanova Crespo <jmcasanova at igalia.com>
++ * Copyright (C) 2004 José María Casanova Crespo <jmcasanova at igalia.com>
+  * Copyright (C) 2005 - 2009 Bas Driessen <bas.driessen at xobas.com>
+  * Copyright (C) 2006 - 2008 Murray Cumming <murrayc at murrayc.com>
+  * Copyright (C) 2007 Leonardo Boshell <lb at kmc.com.co>
+diff --git a/libgda/sql-parser/gda-sql-statement.h b/libgda/sql-parser/gda-sql-statement.h
+index 0ba1f9edc..8783ca8a1 100644
+--- a/libgda/sql-parser/gda-sql-statement.h
++++ b/libgda/sql-parser/gda-sql-statement.h
+@@ -1,7 +1,7 @@
+ /*
+  * Copyright (C) 2000 Reinhard Müller <reinhard at src.gnome.org>
+  * Copyright (C) 2000 - 2002 Rodrigo Moya <rodrigo at gnome-db.org>
+- * Copyright (C) 2001 Carlos Perelló Marín <carlos at gnome-db.org>
++ * Copyright (C) 2001 Carlos Perelló Marín <carlos at gnome-db.org>
+  * Copyright (C) 2001 - 2011 Vivien Malerba <malerba at gnome-db.org>
+  * Copyright (C) 2002 Gonzalo Paniagua Javier <gonzalo at src.gnome.org>
+  * Copyright (C) 2011 Murray Cumming <murrayc at murrayc.com>
+diff --git a/libgda/sql-parser/gda-statement-struct-delete.h b/libgda/sql-parser/gda-statement-struct-delete.h
+index cab8b9dad..2e51c5eae 100644
+--- a/libgda/sql-parser/gda-statement-struct-delete.h
++++ b/libgda/sql-parser/gda-statement-struct-delete.h
+@@ -1,7 +1,7 @@
+ /*
+  * Copyright (C) 2005 Dan Winship <danw at src.gnome.org>
+  * Copyright (C) 2005 - 2011 Vivien Malerba <malerba at gnome-db.org>
+- * Copyright (C) 2005 Álvaro Peña <alvaropg at telefonica.net>
++ * Copyright (C) 2005 Álvaro Peña <alvaropg at telefonica.net>
+  * Copyright (C) 2007 Armin Burgmeier <armin at openismus.com>
+  * Copyright (C) 2007 - 2009 Murray Cumming <murrayc at murrayc.com>
+  *
+diff --git a/libgda/sql-parser/gda-statement-struct-unknown.h b/libgda/sql-parser/gda-statement-struct-unknown.h
+index 5c530d4d9..e0aaf945f 100644
+--- a/libgda/sql-parser/gda-statement-struct-unknown.h
++++ b/libgda/sql-parser/gda-statement-struct-unknown.h
+@@ -1,7 +1,7 @@
+ /*
+  * Copyright (C) 2000 Reinhard Müller <reinhard at src.gnome.org>
+  * Copyright (C) 2000 - 2002 Rodrigo Moya <rodrigo at gnome-db.org>
+- * Copyright (C) 2001 Carlos Perelló Marín <carlos at gnome-db.org>
++ * Copyright (C) 2001 Carlos Perelló Marín <carlos at gnome-db.org>
+  * Copyright (C) 2001 - 2011 Vivien Malerba <malerba at gnome-db.org>
+  * Copyright (C) 2002 Gonzalo Paniagua Javier <gonzalo at src.gnome.org>
+  * Copyright (C) 2009 Murray Cumming <murrayc at murrayc.com>
+diff --git a/libgda/sql-parser/gda-statement-struct-util.h b/libgda/sql-parser/gda-statement-struct-util.h
+index cd4596281..252d6edcc 100644
+--- a/libgda/sql-parser/gda-statement-struct-util.h
++++ b/libgda/sql-parser/gda-statement-struct-util.h
+@@ -1,7 +1,7 @@
+ /*
+  * Copyright (C) 2005 Dan Winship <danw at src.gnome.org>
+  * Copyright (C) 2005 - 2011 Vivien Malerba <malerba at gnome-db.org>
+- * Copyright (C) 2005 Álvaro Peña <alvaropg at telefonica.net>
++ * Copyright (C) 2005 Álvaro Peña <alvaropg at telefonica.net>
+  * Copyright (C) 2007 - 2009 Murray Cumming <murrayc at murrayc.com>
+  *
+  * This library is free software; you can redistribute it and/or
+-- 
+2.11.0
+

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-10-08 21:33:23 UTC (rev 307203)
+++ PKGBUILD	2017-10-08 21:34:02 UTC (rev 307204)
@@ -3,8 +3,8 @@
 # Contributor: Tobias Kieslich <tobias at justdreams.de>
 
 pkgname=(libgda libgda-{firebird,jdbc,mysql,postgres})
-pkgver=5.2.4
-pkgrel=8
+pkgver=5.2.4+39+g3f70d4fce
+pkgrel=1
 pkgdesc="Database access library"
 url="http://www.gnome-db.org/"
 arch=(i686 x86_64)
@@ -12,11 +12,17 @@
 depends=(gtksourceview3 libxslt python2 libsecret graphviz goocanvas iso-codes)
 makedepends=(glade libmariadbclient postgresql-libs libfbclient jdk8-openjdk intltool
              gobject-introspection gtk-doc vala itstool gnome-common git)
-_commit=2ea3179bad2e414ff6068db2249116eb6e2564a5  # tags/LIBGDA_5_2_4^0
+_commit=3f70d4fced92d5fe7134c77b78e0730ce2945cc5  # LIBGDA_5.2
 source=("git+https://git.gnome.org/browse/libgda#commit=$_commit"
-        java.patch)
+        java.patch
+        0001-Convert-files-to-Unicode.patch
+        glib-2.54-ftbfs.patch
+        glib-2.54-ftbfs-2.patch)
 sha256sums=('SKIP'
-            'e28ea88d49bcb91fa6907440a6785a508fb681c463188b3805509773f5d0fc22')
+            'e28ea88d49bcb91fa6907440a6785a508fb681c463188b3805509773f5d0fc22'
+            '2e25ee9ca86b3767485b26b19317e5188641e2dbfa6202bb204b16e332cca3a4'
+            '73f65147b1d7d3b78982c9ac562816e855db1b20d7ff346d9fd1ecb013864afc'
+            'b26c715c142b3f7fb4c3f67496a2b184bbf3332eee6dbf421499f785c2e36f0f')
 
 _apiver=5.0
 
@@ -31,6 +37,9 @@
   cd $pkgname
 
   patch -Np1 -i ../java.patch
+  patch -Np1 -i ../0001-Convert-files-to-Unicode.patch
+  patch -Np1 -i ../glib-2.54-ftbfs.patch
+  patch -Np1 -i ../glib-2.54-ftbfs-2.patch
   javac getsp.java
 
   find -name '*.py' -exec sed -i '1s/python$/&2/' {} +
@@ -44,7 +53,7 @@
       --with-bdb=/usr --with-bdb-libdir-name=lib \
       --enable-json --enable-system-sqlite --enable-binreloc \
       --enable-gda-gi --enable-gdaui-gi \
-      --enable-vala --enable-gdaui-vala VALA_API_VERSION=0.36 \
+      --enable-vala --enable-gdaui-vala VALA_API_VERSION=0.38 \
       --enable-gtk-doc --disable-crypto
   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
   make

Added: glib-2.54-ftbfs-2.patch
===================================================================
--- glib-2.54-ftbfs-2.patch	                        (rev 0)
+++ glib-2.54-ftbfs-2.patch	2017-10-08 21:34:02 UTC (rev 307204)
@@ -0,0 +1,11 @@
+--- a/libgda-ui/gdaui-easy.h	2017-10-08 21:17:30.203226827 +0000
++++ b/libgda-ui/gdaui-easy.h	2017-10-08 21:19:38.143497887 +0000
+@@ -1,7 +1,7 @@
+ /*
+  * Copyright (C) 2000 Reinhard Müller <reinhard at src.gnome.org>
+  * Copyright (C) 2000 - 2002 Rodrigo Moya <rodrigo at gnome-db.org>
+- * Copyright (C) 2001 Carlos Perelló Marín <carlos at gnome-db.org>
++ * Copyright (C) 2001 Carlos Perelló Marín <carlos at gnome-db.org>
+  * Copyright (C) 2001 - 2011 Vivien Malerba <malerba at gnome-db.org>
+  * Copyright (C) 2002 Gonzalo Paniagua Javier <gonzalo at src.gnome.org>
+  *

Added: glib-2.54-ftbfs.patch
===================================================================
--- glib-2.54-ftbfs.patch	                        (rev 0)
+++ glib-2.54-ftbfs.patch	2017-10-08 21:34:02 UTC (rev 307204)
@@ -0,0 +1,103 @@
+Description: Fix FTBFS with glib 2.54
+ glib-mkenums now expects input files to be UTF-8,
+ fix the encoding of libgnomeui/gnome-scores.h
+Author: Adrian Bunk <bunk at debian.org>
+
+--- libgda5-5.2.4.orig/libgda/gda-column.h
++++ libgda5-5.2.4/libgda/gda-column.h
+@@ -1,6 +1,6 @@
+ /*
+  * Copyright (C) 2005 - 2011 Vivien Malerba <malerba at gnome-db.org>
+- * Copyright (C) 2005 Álvaro Peña <alvaropg at telefonica.net>
++ * Copyright (C) 2005 Álvaro Peña <alvaropg at telefonica.net>
+  * Copyright (C) 2008 Przemysław Grzegorczyk <pgrzegorczyk at gmail.com>
+  *
+  * This library is free software; you can redistribute it and/or
+--- libgda5-5.2.4.orig/libgda/gda-data-model-extra.h
++++ libgda5-5.2.4/libgda/gda-data-model-extra.h
+@@ -1,5 +1,5 @@
+ /*
+- * Copyright (C) 2001 Carlos Perelló Marín <carlos at gnome-db.org>
++ * Copyright (C) 2001 Carlos Perelló Marín <carlos at gnome-db.org>
+  * Copyright (C) 2001 - 2003 Rodrigo Moya <rodrigo at gnome-db.org>
+  * Copyright (C) 2001 - 2011 Vivien Malerba <malerba at gnome-db.org>
+  * Copyright (C) 2002 - 2003 Gonzalo Paniagua Javier <gonzalo at gnome-db.org>
+--- libgda5-5.2.4.orig/libgda/gda-data-model-iter-extra.h
++++ libgda5-5.2.4/libgda/gda-data-model-iter-extra.h
+@@ -1,7 +1,7 @@
+ /*
+  * Copyright (C) 2000 Reinhard Müller <reinhard at src.gnome.org>
+  * Copyright (C) 2000 - 2002 Rodrigo Moya <rodrigo at gnome-db.org>
+- * Copyright (C) 2001 Carlos Perelló Marín <carlos at gnome-db.org>
++ * Copyright (C) 2001 Carlos Perelló Marín <carlos at gnome-db.org>
+  * Copyright (C) 2001 - 2011 Vivien Malerba <malerba at gnome-db.org>
+  * Copyright (C) 2002 Gonzalo Paniagua Javier <gonzalo at src.gnome.org>
+  *
+--- libgda5-5.2.4.orig/libgda/gda-data-model.h
++++ libgda5-5.2.4/libgda/gda-data-model.h
+@@ -4,7 +4,7 @@
+  * Copyright (C) 2003 Laurent Sansonetti <lrz at gnome.org>
+  * Copyright (C) 2005 Dan Winship <danw at src.gnome.org>
+  * Copyright (C) 2005 - 2012 Vivien Malerba <malerba at gnome-db.org>
+- * Copyright (C) 2005 Álvaro Peña <alvaropg at telefonica.net>
++ * Copyright (C) 2005 Álvaro Peña <alvaropg at telefonica.net>
+  * Copyright (C) 2007 Murray Cumming <murrayc at murrayc.com>
+  * Copyright (C) 2011 Daniel Espinosa <despinosa at src.gnome.org>
+  *
+--- libgda5-5.2.4.orig/libgda/gda-mutex.h
++++ libgda5-5.2.4/libgda/gda-mutex.h
+@@ -1,7 +1,7 @@
+ /*
+  * Copyright (C) 2000 Reinhard Müller <reinhard at src.gnome.org>
+  * Copyright (C) 2000 - 2002 Rodrigo Moya <rodrigo at gnome-db.org>
+- * Copyright (C) 2001 Carlos Perelló Marín <carlos at gnome-db.org>
++ * Copyright (C) 2001 Carlos Perelló Marín <carlos at gnome-db.org>
+  * Copyright (C) 2001 - 2013 Vivien Malerba <malerba at gnome-db.org>
+  * Copyright (C) 2002 Gonzalo Paniagua Javier <gonzalo at src.gnome.org>
+  *
+--- libgda5-5.2.4.orig/libgda/gda-row.h
++++ libgda5-5.2.4/libgda/gda-row.h
+@@ -3,10 +3,10 @@
+  * Copyright (C) 2001 - 2011 Vivien Malerba <malerba at gnome-db.org>
+  * Copyright (C) 2002 Gonzalo Paniagua Javier <gonzalo at gnome-db.org>
+  * Copyright (C) 2003 Laurent Sansonetti <laurent at datarescue.be>
+- * Copyright (C) 2003 Xabier Rodríguez Calvar <xrcalvar at igalia.com>
++ * Copyright (C) 2003 Xabier Rodríguez Calvar <xrcalvar at igalia.com>
+  * Copyright (C) 2004 Paisa  Seeluangsawat <paisa at users.sf.net>
+  * Copyright (C) 2005 Bas Driessen <bas.driessen at xobas.com>
+- * Copyright (C) 2005 Álvaro Peña <alvaropg at telefonica.net>
++ * Copyright (C) 2005 Álvaro Peña <alvaropg at telefonica.net>
+  *
+  * This library is free software; you can redistribute it and/or
+  * modify it under the terms of the GNU Lesser General Public
+--- libgda5-5.2.4.orig/libgda/gda-server-provider-private.h
++++ libgda5-5.2.4/libgda/gda-server-provider-private.h
+@@ -1,7 +1,7 @@
+ /*
+  * Copyright (C) 2005 Dan Winship <danw at src.gnome.org>
+  * Copyright (C) 2005 - 2011 Vivien Malerba <malerba at gnome-db.org>
+- * Copyright (C) 2005 Álvaro Peña <alvaropg at telefonica.net>
++ * Copyright (C) 2005 Álvaro Peña <alvaropg at telefonica.net>
+  * Copyright (C) 2007 Murray Cumming <murrayc at murrayc.com>
+  *
+  * This library is free software; you can redistribute it and/or
+--- libgda5-5.2.4.orig/libgda/gda-util.h
++++ libgda5-5.2.4/libgda/gda-util.h
+@@ -1,7 +1,7 @@
+ /*
+  * Copyright (C) 2000 Reinhard Müller <reinhard at src.gnome.org>
+  * Copyright (C) 2000 - 2002 Rodrigo Moya <rodrigo at gnome-db.org>
+- * Copyright (C) 2001 Carlos Perelló Marín <carlos at gnome-db.org>
++ * Copyright (C) 2001 Carlos Perelló Marín <carlos at gnome-db.org>
+  * Copyright (C) 2001 - 2013 Vivien Malerba <malerba at gnome-db.org>
+  * Copyright (C) 2002 Gonzalo Paniagua Javier <gonzalo at src.gnome.org>
+  * Copyright (C) 2006 - 2007 Murray Cumming <murrayc at murrayc.com>
+--- libgda5-5.2.4.orig/libgda/libgda-global-variables.h
++++ libgda5-5.2.4/libgda/libgda-global-variables.h
+@@ -1,5 +1,5 @@
+ /*
+- * Copyright (C) 2001 Carlos Perelló Marín <carlos at gnome-db.org>
++ * Copyright (C) 2001 Carlos Perelló Marín <carlos at gnome-db.org>
+  * Copyright (C) 2001 - 2003 Rodrigo Moya <rodrigo at gnome-db.org>
+  * Copyright (C) 2001 - 2011 Vivien Malerba <malerba at gnome-db.org>
+  * Copyright (C) 2002 - 2003 Gonzalo Paniagua Javier <gonzalo at gnome-db.org>



More information about the arch-commits mailing list