You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by sv...@apache.org on 2019/09/09 04:00:11 UTC

svn commit: r1866643 - in /subversion/branches/1.12.x: ./ STATUS build/generator/gen_make.py build/generator/templates/pkg-config.in.ezt configure.ac

Author: svn-role
Date: Mon Sep  9 04:00:10 2019
New Revision: 1866643

URL: http://svn.apache.org/viewvc?rev=1866643&view=rev
Log:
Merge the r1863987 group from trunk:

 * r1863987, r1863990
   Fix format of Requires(.private) fields in pkg-config files
   Justification:
     Fixes format of .pc files and specifies correct include/link flags
   Votes:
     +1: jamessan, rhuijben, brane

Modified:
    subversion/branches/1.12.x/   (props changed)
    subversion/branches/1.12.x/STATUS
    subversion/branches/1.12.x/build/generator/gen_make.py
    subversion/branches/1.12.x/build/generator/templates/pkg-config.in.ezt
    subversion/branches/1.12.x/configure.ac

Propchange: subversion/branches/1.12.x/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Mon Sep  9 04:00:10 2019
@@ -102,4 +102,4 @@
 /subversion/branches/verify-at-commit:1462039-1462408
 /subversion/branches/verify-keep-going:1439280-1546110
 /subversion/branches/wc-collate-path:1402685-1480384
-/subversion/trunk:1855419,1856397,1857367,1857391,1859732,1859734,1860175,1860186-1860188,1860936,1860951,1860958,1863262
+/subversion/trunk:1855419,1856397,1857367,1857391,1859732,1859734,1860175,1860186-1860188,1860936,1860951,1860958,1863262,1863987,1863990

Modified: subversion/branches/1.12.x/STATUS
URL: http://svn.apache.org/viewvc/subversion/branches/1.12.x/STATUS?rev=1866643&r1=1866642&r2=1866643&view=diff
==============================================================================
--- subversion/branches/1.12.x/STATUS (original)
+++ subversion/branches/1.12.x/STATUS Mon Sep  9 04:00:10 2019
@@ -36,13 +36,6 @@ Veto-blocked changes:
 Approved changes:
 =================
 
- * r1863987, r1863990
-   Fix format of Requires(.private) fields in pkg-config files
-   Justification:
-     Fixes format of .pc files and specifies correct include/link flags
-   Votes:
-     +1: jamessan, rhuijben, brane
-
 * r1864025
    fsfs, fsx: Make an error message clearer to developers.
    Justification:

Modified: subversion/branches/1.12.x/build/generator/gen_make.py
URL: http://svn.apache.org/viewvc/subversion/branches/1.12.x/build/generator/gen_make.py?rev=1866643&r1=1866642&r2=1866643&view=diff
==============================================================================
--- subversion/branches/1.12.x/build/generator/gen_make.py (original)
+++ subversion/branches/1.12.x/build/generator/gen_make.py Mon Sep  9 04:00:10 2019
@@ -633,9 +633,10 @@ DIR=`pwd`
         lib_deps=[],
         lib_required=[],
         lib_required_private=[],
+        version=self.version,
         )
-      # libsvn_foo -> -lsvn_foo
-      data.lib_deps.append('-l%s' % lib_name.replace('lib', '', 1))
+      # libsvn_foo -> -lsvn_foo-1
+      data.lib_deps.append('-l%s-%s' % (lib_name.replace('lib', '', 1), data.version))
       for lib_dep in lib_deps.split():
         if lib_dep == 'apriconv':
           # apriconv is part of apr-util, skip it

Modified: subversion/branches/1.12.x/build/generator/templates/pkg-config.in.ezt
URL: http://svn.apache.org/viewvc/subversion/branches/1.12.x/build/generator/templates/pkg-config.in.ezt?rev=1866643&r1=1866642&r2=1866643&view=diff
==============================================================================
--- subversion/branches/1.12.x/build/generator/templates/pkg-config.in.ezt (original)
+++ subversion/branches/1.12.x/build/generator/templates/pkg-config.in.ezt Mon Sep  9 04:00:10 2019
@@ -6,7 +6,7 @@ includedir=@includedir@
 Name: [lib_name]
 Description: [lib_desc]
 Version: @PACKAGE_VERSION@
-Requires: [for lib_required] [lib_required][end]
-Requires.private: [for lib_required_private] [lib_required_private][end]
+Requires: [for lib_required][if-index lib_required first][else], [end][lib_required][end]
+Requires.private: [for lib_required_private][if-index lib_required_private first][else], [end][lib_required_private][end]
 Libs: -L${libdir} [for lib_deps] [lib_deps][end]
-Cflags: -I${includedir}
+Cflags: -I${includedir}/subversion-[version]

Modified: subversion/branches/1.12.x/configure.ac
URL: http://svn.apache.org/viewvc/subversion/branches/1.12.x/configure.ac?rev=1866643&r1=1866642&r2=1866643&view=diff
==============================================================================
--- subversion/branches/1.12.x/configure.ac (original)
+++ subversion/branches/1.12.x/configure.ac Mon Sep  9 04:00:10 2019
@@ -593,7 +593,7 @@ if test "$with_old_gnome_keyring" != "no
                         [Is GNOME Keyring support enabled?])
               CPPFLAGS="$old_CPPFLAGS"
               SVN_GNOME_KEYRING_LIBS="`$PKG_CONFIG --libs glib-2.0 gnome-keyring-1`"
-              SVN_GNOME_KEYRING_PCLIBS="glib-2.0 gnome-keyring-1"
+              SVN_GNOME_KEYRING_PCLIBS="glib-2.0, gnome-keyring-1"
             else
               AC_MSG_RESULT([no])
               if test "$with_old_gnome_keyring" = "yes"; then