[Xfce4-commits] [xfce/thunar] 29/46: Bump thunarx api version to 3
noreply at xfce.org
noreply at xfce.org
Tue Aug 15 02:35:37 CEST 2017
This is an automated email from the git hooks/post-receive script.
a n d r e p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository xfce/thunar.
commit f0188281c263f03a43362e94f9666a03c62ba359
Author: Andre Miranda <andre42m at gmail.com>
Date: Tue May 2 23:38:10 2017 -0300
Bump thunarx api version to 3
---
configure.ac.in | 4 ++--
thunarx/Makefile.am | 12 ++++++------
thunarx/abicheck.sh | 2 +-
thunarx/{thunarx-2.pc.in => thunarx-3.pc.in} | 2 +-
4 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/configure.ac.in b/configure.ac.in
index 613650c..e543ffa 100644
--- a/configure.ac.in
+++ b/configure.ac.in
@@ -23,7 +23,7 @@ dnl ***************************
dnl *** Version information ***
dnl ***************************
m4_define([thunarx_verinfo], [0:0:0])
-m4_define([thunarx_version_api], [2])
+m4_define([thunarx_version_api], [3])
m4_define([thunar_version_major], [1])
m4_define([thunar_version_minor], [6])
m4_define([thunar_version_micro], [12])
@@ -236,7 +236,7 @@ plugins/thunar-wallpaper/Makefile
po/Makefile.in
thunar/Makefile
thunarx/Makefile
-thunarx/thunarx-2.pc
+thunarx/thunarx-3.pc
thunarx/thunarx-config.h
])
diff --git a/thunarx/Makefile.am b/thunarx/Makefile.am
index c58deed..a992f92 100644
--- a/thunarx/Makefile.am
+++ b/thunarx/Makefile.am
@@ -25,9 +25,9 @@ libthunarx_include_HEADERS = \
$(libthunarx_headers)
lib_LTLIBRARIES = \
- libthunarx-2.la
+ libthunarx-3.la
-libthunarx_2_la_SOURCES = \
+libthunarx_3_la_SOURCES = \
$(libthunarx_headers) \
thunarx-config.c \
thunarx-file-info.c \
@@ -44,28 +44,28 @@ libthunarx_2_la_SOURCES = \
thunarx-renamer.c \
thunarx-renamer-provider.c
-libthunarx_2_la_CFLAGS = \
+libthunarx_3_la_CFLAGS = \
$(GLIB_CFLAGS) \
$(GIO_CFLAGS) \
$(GTK_CFLAGS) \
$(GMODULE_CFLAGS) \
$(PLATFORM_CFLAGS)
-libthunarx_2_la_LDFLAGS = \
+libthunarx_3_la_LDFLAGS = \
-export-dynamic \
-export-symbols-regex "^[^_].*" \
-no-undefined \
-version-info $(THUNARX_VERINFO) \
$(PLATFORM_LDFLAGS)
-libthunarx_2_la_LIBADD = \
+libthunarx_3_la_LIBADD = \
$(GLIB_LIBS) \
$(GMODULE_LIBS) \
$(GIO_LIBS) \
$(GTK_LIBS)
pkgconfigdir = $(libdir)/pkgconfig
-pkgconfig_DATA = thunarx-2.pc
+pkgconfig_DATA = thunarx-3.pc
EXTRA_DIST = \
abicheck.sh \
diff --git a/thunarx/abicheck.sh b/thunarx/abicheck.sh
index 62c3162..1e7812a 100755
--- a/thunarx/abicheck.sh
+++ b/thunarx/abicheck.sh
@@ -20,5 +20,5 @@
trap 'rm expected-abi actual-abi' EXIT
${CPP:-cpp} -DINCLUDE_INTERNAL_SYMBOLS -DINCLUDE_VARIABLES -DALL_FILES ${srcdir:-.}/thunarx.symbols | sed 's/ G_GNUC.*$//;s/ PRIVATE//;/^ *$/d;/^#/d' | sort >expected-abi
-${NM:-nm} -D -g -P .libs/libthunarx-2.so | awk '$2~/^[DRTG]$/&&$1~/^[^_]/{print $1}' | sort >actual-abi
+${NM:-nm} -D -g -P .libs/libthunarx-3.so | awk '$2~/^[DRTG]$/&&$1~/^[^_]/{print $1}' | sort >actual-abi
diff -u expected-abi actual-abi
diff --git a/thunarx/thunarx-2.pc.in b/thunarx/thunarx-3.pc.in
similarity index 92%
rename from thunarx/thunarx-2.pc.in
rename to thunarx/thunarx-3.pc.in
index 8dea271..15e6d32 100644
--- a/thunarx/thunarx-2.pc.in
+++ b/thunarx/thunarx-3.pc.in
@@ -7,7 +7,7 @@ extensionsdir=${libdir}/thunarx- at THUNARX_VERSION_API@
Name: thunarx
Description: A library to create Thunar extensions
-Requires: gtk+-2.0 gio-2.0
+Requires: gtk+-3.0 gio-2.0
Version: @PACKAGE_VERSION@
Libs: -L${libdir} -lthunarx- at THUNARX_VERSION_API@
Cflags: -I${includedir}/thunarx- at THUNARX_VERSION_API@
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list