summaryrefslogtreecommitdiff
path: root/thunarx
diff options
context:
space:
mode:
authorAndre Miranda <andre42m@gmail.com>2017-05-02 23:38:10 -0300
committerAndre Miranda <andreldm@xfce.org>2017-08-14 21:12:12 -0300
commitf0188281c263f03a43362e94f9666a03c62ba359 (patch)
tree4b6ab48c0b1b6e537fd4b47eabc66944fb0cd4a3 /thunarx
parentd0e7dff4bb1c5b3f2eebcdedf7316f4db5e44f0c (diff)
downloadthunar-f0188281c263f03a43362e94f9666a03c62ba359.tar.gz
Bump thunarx api version to 3
Diffstat (limited to 'thunarx')
-rw-r--r--thunarx/Makefile.am12
-rwxr-xr-xthunarx/abicheck.sh2
-rw-r--r--thunarx/thunarx-3.pc.in (renamed from thunarx/thunarx-2.pc.in)2
3 files changed, 8 insertions, 8 deletions
diff --git a/thunarx/Makefile.am b/thunarx/Makefile.am
index c58deed0..a992f929 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 62c31629..1e7812ab 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
index 8dea2717..15e6d329 100644
--- a/thunarx/thunarx-2.pc.in
+++ b/thunarx/thunarx-3.pc.in
@@ -7,7 +7,7 @@ extensionsdir=${libdir}/thunarx-@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-@THUNARX_VERSION_API@
Cflags: -I${includedir}/thunarx-@THUNARX_VERSION_API@