Commit f0188281 authored by Andre Miranda's avatar Andre Miranda Committed by Andre Miranda

Bump thunarx api version to 3

parent d0e7dff4
......@@ -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
])
......
......@@ -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 \
......
......@@ -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
......@@ -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@
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment