Hello community,

here is the log from the commit of package libgda for openSUSE:Leap:15.2 
checked in at 2020-03-15 07:13:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/libgda (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.libgda.new.3160 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libgda"

Sun Mar 15 07:13:53 2020 rev:28 rq:785166 version:5.2.9

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/libgda/libgda.changes  2020-01-15 
15:21:04.926431251 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.libgda.new.3160/libgda.changes        
2020-03-15 07:14:55.577083852 +0100
@@ -1,0 +2,72 @@
+Sat Jan 25 14:16:14 UTC 2020 - Dominique Leuenberger <[email protected]>
+
+- No longer recommend -lang: supplements are in use
+
+-------------------------------------------------------------------
+Thu Sep 12 22:35:14 UTC 2019 - Bjørn Lie <[email protected]>
+
+- Update to version 5.2.9:
+  + Fix Sun JRE 1.8 detection.
+  + Fix JDK 11.0 detection.
+  + Drop unneeded JAVAH variable check.
+  + Fix build for System Installed SQLite libs.
+  + Non-Dates and Timestamps values returns 'NULL' string when
+    converted.
+  + Fix --with-ui, now UI is buildable when enabled.
+- Drop patches fixed upstream:
+  + libgda-jre18.patch.
+  + libgda-jre9.patch.
+  + libgda-jre10.patch.
+  + libgda-5.2.4-nojavah.patch.
+  + libgda-no-libgee.patch.
+  + libgda-enable-gdaui-gi.patch: Fixed upstream.
+
+-------------------------------------------------------------------
+Wed Apr 10 09:37:19 UTC 2019 - Dominique Leuenberger <[email protected]>
+
+- Update to version 5.2.8 (bsc#1128934):
+  + Fix a typo on sv translation
+  + Please note: releases 5.2.6 and 5.2.7 were unable to be
+    published at downdload.gnome.org
+- Changes from version 5.2.4:
+  + SQLite provider uses system installed one by default
+  + Revome build's date from documentation
+  + introspection: removed system install in favor of --prefix
+  + Fixed compilation on MacOS
+  + All Vala bindings and Vala extensions are built by default
+    using --enable-vala, added --disable* switch to disable some or
+    all of them
+  + Fixes on outdated unit tests
+  + Removed unused Vala extensions
+  + GdaConnection has removed the use of g_object_weak_*, improving
+    multi-threading behaviour
+  + Prepared statements now use GWeakRef for weak references
+  + GdaDataPivot use instance providers and locking
+  + GdaVConnectionDataModel use GRecMutex
+  + Updated SQLite to 3.8.11.1
+  + Fix SQLCipher build by embedding source code for 3.4.2 version
+  + Fix SQLCipher disabling
+  + Updated GObject Introspection annotations
+  + Fix Doc generation
+  + Bugs corrected: #787685 #789382 #761560 #761529 #760420 #761424
+    #754263 #754208
+  + Corrected HTML output containing <SCRIPT> tag
+  + Correct some truncated help strings
+  + Don't use (deprecated) g_thread_supported()
+  + MySQL meta data: fixed case where schema is incomplete in MySQL
+    database
+  + Allow introspection for gda_sql_builder_add_cond_v()
+  + SQLite: handle WITHOUT ROWID without any error
+  + Updated translations.
+- Rebase libgda-5.2.4-nojavah.patch: most of it was merged in time
+  for 5.2.8, except one chunk.
+- Drop libgda-utf.patch: no longer required.
+- Add libgda-no-libgee.patch: do not require libgee, taken from
+  upstream git.
+- Add libgda-enable-gdaui-gi.patch: Fix configure handling of
+  --enable-gdaui-gi, taken from git.
+- Add libgda-no-pg_config.patch: Don't use pg_config, but rather
+  pkgconfig: libgda does not build a postgresql server module.
+- Pass --with-postgres to configure: ensure to build pgsql support.
+
+-------------------------------------------------------------------

Old:
----
  libgda-5.2.4-nojavah.patch
  libgda-5.2.4.tar.xz
  libgda-jre10.patch
  libgda-jre18.patch
  libgda-jre9.patch
  libgda-utf.patch

New:
----
  libgda-5.2.9.tar.xz
  libgda-no-pg_config.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libgda.spec ++++++
--- /var/tmp/diff_new_pack.CPyZ2b/_old  2020-03-15 07:14:56.037084093 +0100
+++ /var/tmp/diff_new_pack.CPyZ2b/_new  2020-03-15 07:14:56.041084094 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libgda
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,26 +17,20 @@
 
 
 Name:           libgda
-Version:        5.2.4
+Version:        5.2.9
 Release:        0
 # FIXME: add bdb sql BuildRequires when available
 Summary:        GNU Data Access (GDA) Library
 License:        GPL-2.0-or-later AND LGPL-2.1-or-later
 Group:          Productivity/Databases/Clients
-URL:            http://www.gnome-db.org/
-Source:         
http://download.gnome.org/sources/libgda/5.2/%{name}-%{version}.tar.xz
+URL:            https://www.gnome-db.org/
+Source:         
https://download.gnome.org/sources/libgda/5.2/%{name}-%{version}.tar.xz
+
 # PATCH-FIX-UPSTREAM libgda-javadetection-biarch.patch bgo#673560 -- Prepare 
getsp to be sed'ed for biarch
 Patch1:         libgda-javadetection-biarch.patch
-# PATCH-FIX-UPSTREAM libgda-jre18.patch [email protected] -- Fix build with 
JRE 1.8. Patch from fedora.
-Patch2:         libgda-jre18.patch
-# PATCH-FIX-OPENSUSE libgda-jre9.patch [email protected] -- Fix build with 
JRE 9 (not sent upstream, as it's way too hackish)
-Patch3:         libgda-jre9.patch
-# PATCH-FIX-OPENSUSE libgda-jre10.patch [email protected] -- Fix build with JRE 
10 (not sent upstream, as it's way too hackish)
-Patch4:         libgda-jre10.patch
-# PATCH-FIX-OPENSUSE libgda-5.2.4-nojavah.patch [email protected] -- Fix build 
with JRE 10 (not sent upstream, as it's way too hackish)
-Patch5:         libgda-5.2.4-nojavah.patch
-# PATCH-FIX-OPENSUSE libgda-utf.patch [email protected] -- Remove some UTF 
chars from headers, which messes with glib-mkenums inside OBS (needs more debug)
-Patch500:       libgda-utf.patch
+# PATCH-FIX-UPSTREAM libgda-no-pg_config.patch [email protected] -- Don't 
use pg_config to find postgresql. Patch not directly applicable as-is upstream, 
but fixed in master
+Patch7:         libgda-no-pg_config.patch
+
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  db-devel
@@ -129,7 +123,6 @@
 %package 5_0-4
 Summary:        GNU Data Access (GDA) Library
 Group:          System/Libraries
-Recommends:     %{name}-5_0-4-lang
 Recommends:     %{name}-5_0-bdb = %{version}
 
 %description 5_0-4
@@ -371,13 +364,7 @@
 %lang_package -n %{name}-5_0-4
 
 %prep
-%setup -q
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
-%patch4 -p1
-%patch5 -p1
-%patch500 -p1
+%autosetup -p1
 
 %build
 autoreconf -fi
@@ -408,17 +395,18 @@
 # Find the current version of vapigen
 VAPIGEN=$(realpath %{_bindir}/vapigen)
 VAPIGENVER=${VAPIGEN: -4}
-# Due to patch0 and patch1, getsp.java needs to be rebuilt
+# Due to patch1, getsp.java needs to be rebuilt
 javac getsp.java
 %configure --with-pic\
     --disable-static \
     --enable-binreloc \
     --enable-default-binary \
+    --with-postgres \
     --with-libdir-name=%{_lib} \
     --enable-gda-gi \
     --enable-gdaui-gi \
     --enable-vala VALA_API_VERSION=${VAPIGENVER}
-make %{?_smp_mflags}
+%make_build
 
 %install
 # remove error about java bytecode being for something later than java 1.15 -- 
see http://en.opensuse.org/Java/Packaging/Cookbook
@@ -551,6 +539,7 @@
 %{_libdir}/pkgconfig/*-5.0.pc
 %{_datadir}/gir-1.0/*.gir
 %{_datadir}/vala/vapi/libgda-5.0.vapi
+%{_datadir}/vala/vapi/libgda-ui-5.0.vapi
 # demo
 %{_bindir}/gdaui-demo-5.0
 %{_datadir}/libgda-5.0/demo/

++++++ libgda-5.2.4.tar.xz -> libgda-5.2.9.tar.xz ++++++
/work/SRC/openSUSE:Leap:15.2/libgda/libgda-5.2.4.tar.xz 
/work/SRC/openSUSE:Leap:15.2/.libgda.new.3160/libgda-5.2.9.tar.xz differ: char 
26, line 1

++++++ libgda-no-pg_config.patch ++++++
Index: libgda-5.2.8/m4/postgresql.m4
===================================================================
--- libgda-5.2.8.orig/m4/postgresql.m4
+++ libgda-5.2.8/m4/postgresql.m4
@@ -1,40 +1,25 @@
 dnl -*- mode: autoconf -*-
-dnl Copyright 2010 Vivien Malerba
+dnl Copyright 2019 Dominique Leuenberger
 dnl
 dnl SYNOPSIS
 dnl
 dnl   POSTGRES_CHECK([libdirname])
 dnl
-dnl   [libdirname]: defaults to "lib". Can be overridden by the 
--with-postgres-libdir-name option
+dnl   [libdirname]: IGNORED: I was simply too lazy to rewrite all of it
 dnl
 dnl DESCRIPTION
 dnl
-dnl   This macro tries to find the PostgreSQL libraries and header files
+dnl   This macro tries to find the PostgreSQL using pkg-config libpq
 dnl
 dnl   It defines two options:
-dnl   --with-postgres=yes/no/<directory>
-dnl   --with-postgres-libdir-name=<dir. name>
+dnl   --with-postgres=yes/no
 dnl
-dnl   If the 1st option is "yes" then the macro tries to use pg_config to 
locate
-dnl   the PostgreSQL package, and if it fails, it tries in several well known 
directories
+dnl   If the 1st option is "yes" then the macro tries to use pgk-config to 
locate
+dnl   the PostgreSQL package
 dnl
 dnl   If the 1st option is "no" then the macro does not attempt at locating the
 dnl   postgresql package
 dnl
-dnl   If the 1st option is a directory name, then the macro tries to locate 
the postgresql package
-dnl   in the specified directory.
-dnl
-dnl   If the macro has to try to locate the postgresql package in one or more 
directories, it will
-dnl   try to locate the header files in $dir/include and the library files in 
$dir/lib, unless
-dnl   the second option is used to specify a directory name to be used instead 
of "lib" (for
-dnl   example lib64).
-dnl
-dnl USED VARIABLES
-dnl
-dnl   $linklibext: contains the library suffix (like ".so"). If not specified 
".so" is used.
-dnl   $platform_win32: contains "yes" on Windows platforms. If not specified, 
assumes "no"
-dnl
-dnl
 dnl DEFINED VARIABLES
 dnl
 dnl   This macro always calls:
@@ -61,122 +46,14 @@ m4_define([_POSTGRES_CHECK_INTERNAL],
     AC_BEFORE([AM_PROG_LIBTOOL],[$0])dnl setup libtool first
     AC_BEFORE([LT_INIT],[$0])dnl setup libtool first
 
-    pg_loclibdir=$1
-    if test "x$pg_loclibdir" = x
-    then
-        if test "x$platform_win32" = xyes
-       then
-           pg_loclibdir=bin
-       else
-           pg_loclibdir=lib
-       fi
-    fi
-
-    # determine if PostgreSQL should be searched for
-    # and use pg_config if the "yes" option is used
-    postgres_found=no
-    try_postgres=true
-    pkgpostgres=no
-    POSTGRES_LIBS=""
-    postgres_test_dir=""
-    AC_ARG_WITH(postgres,
-              AS_HELP_STRING([--with-postgres[=@<:@yes/no/<directory>@:>@]],
-                             [Locate PostgreSQL files]),[
-                            if test $withval = no
-                            then
-                                try_postgres=false
-                            elif test $withval != yes
-                            then
-                                postgres_test_dir=$withval
-                            fi])
-    AC_ARG_WITH(postgres-libdir-name,
-              AS_HELP_STRING([--with-postgres-libdir-name[=@<:@<dir. 
name>@:>@]],
-                             [Locate PostgreSQL library file, related to the 
PostgreSQL prefix specified from --with-postgres]),
-                            [pg_loclibdir=$withval])
+    AC_ARG_WITH([postgres], AS_HELP_STRING([--with-postgres], [Build with the 
GTK+ interface]))
 
     # try with the default available pg_config
-    if test $try_postgres = true -a "x$postgres_test_dir" = x
-    then
-        AC_PATH_PROGS(PG_CONFIG, pg_config)
-       if test "x$PG_CONFIG" != x
-       then
-           pkgpostgres=yes
-           POSTGRES_CFLAGS="-I`$PG_CONFIG --includedir`"
-           POSTGRES_LIBS="-L`$PG_CONFIG --libdir` -lpq"
-       else
-           postgres_test_dir="/usr /usr/local /opt/gnome"
-       fi
-    fi
-
-    # try to locate pg_config in places in $postgres_test_dir
-    if test $try_postgres = true
-    then
-       if test $pkgpostgres = no
-       then
-           if test "x$linklibext" = x
-           then
-               postgres_libext=".so"
-           else
-               postgres_libext=".dll"
-           fi
-           if test $platform_win32 = yes
-           then
-               for d in $postgres_test_dir
-               do
-                   AC_MSG_CHECKING([checking for PostgreSQL files in $d])
-                   echo "looking for $d/include/libpq-fe.h -a -f 
$d/$pg_loclibdir/libpq$postgres_libext"
-                   if test -a $d/include/libpq-fe.h -a -f 
$d/$pg_loclibdir/libpq$postgres_libext
-                   then
-                       save_CFLAGS="$CFLAGS"
-                       CFLAGS="$CFLAGS -I$d/include"
-                       save_LIBS="$LIBS"
-                       LIBS="$LIBS -L$d/$pg_loclibdir -lpq"
-                       AC_LINK_IFELSE([AC_LANG_SOURCE([
-#include <libpq-fe.h>
-int main() {
-    printf("%p", PQconnectdb);
-    return 0;
-}
-])],
-                                    postgres_found=yes)
-                       CFLAGS="$save_CFLAGS"
-                       LIBS="$save_LIBS"
-                       if test "x$postgres_found" = xyes
-                       then
-                           AC_MSG_RESULT([found])
-                           POSTGRES_CFLAGS=-I$d/include
-                           POSTGRES_LIBS="-L$d/$pg_loclibdir -lpq"
-                           break
-                       fi
-                       AC_MSG_RESULT([files found but are not useable])
-                   else
-                       AC_MSG_RESULT([not found])
-                   fi
-               done
-           else
-               for d in $postgres_test_dir
-               do
-                   AC_MSG_NOTICE([checking for pg_config tool in $d])
-                    AC_PATH_PROGS(PG_CONFIG, pg_config,,[$d/bin])
-                   if test "x$PG_CONFIG" != x
-                   then
-                       pkgpostgres=yes
-                       POSTGRES_CFLAGS="-I`$PG_CONFIG --includedir`"
-                       POSTGRES_LIBS="-L`$PG_CONFIG --libdir` -lpq"
-                       break;
-                   fi
-               done
-           fi
-        fi
-       if test "x$POSTGRES_LIBS" = x
-       then
-           AC_MSG_NOTICE([POSTGRESQL backend not used])
-       else
-           postgres_found=yes
-       fi
-    fi
+    AS_IF([test "x$with_postgres" = "xyes"], [
+        PKG_CHECK_MODULES([POSTGRES], [libpq], postgres_found=true, 
postgres_found=false)
+    ])
 
-    AM_CONDITIONAL(POSTGRES,[test "$postgres_found" = "yes"])
+    AM_CONDITIONAL(POSTGRES,[test "$postgres_found" = "true"])
     AC_SUBST(POSTGRES_LIBS)
     AC_SUBST(POSTGRES_CFLAGS)
 ])

Reply via email to