[ghex] Rename the shared library to libgtkhex-3.so
- From: Kalev Lember <klember src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ghex] Rename the shared library to libgtkhex-3.so
- Date: Thu, 4 Aug 2011 14:42:47 +0000 (UTC)
commit b9614df4b1cc06d517c6d14ff74b366a503eed98
Author: Kalev Lember <kalevlember gmail com>
Date: Thu Aug 4 12:48:45 2011 +0300
Rename the shared library to libgtkhex-3.so
configure.ac | 6 +++---
data/Makefile.am | 2 +-
data/{gtkhex.pc.in => gtkhex-3.pc.in} | 4 ++--
src/Makefile.am | 14 +++++++-------
4 files changed, 13 insertions(+), 13 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index aa7e4f4..ac86b33 100644
--- a/configure.ac
+++ b/configure.ac
@@ -28,7 +28,7 @@ AC_CHECK_FUNCS([pow strstr strtoul])
AC_PATH_PROG(GLIB_GENMARSHAL, glib-genmarshal)
-LIBGTKHEX_RELEASE=1.0
+LIBGTKHEX_RELEASE=3.0
AC_SUBST(LIBGTKHEX_RELEASE)
LIBGTKHEX_RELEASE_STRING=gtkhex-${LIBGTKHEX_RELEASE}
AC_DEFINE_UNQUOTED(LIBGTKHEX_RELEASE_STRING, "$LIBGTKHEX_RELEASE_STRING",
@@ -59,7 +59,7 @@ IT_PROG_INTLTOOL([0.40.0])
AM_GNU_GETTEXT([external])
AM_GNU_GETTEXT_VERSION([0.17])
-GETTEXT_PACKAGE=ghex-2.0
+GETTEXT_PACKAGE=ghex-3.0
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Gettext package name.])
dnl =================================================================
@@ -95,5 +95,5 @@ icons/22x22/Makefile
icons/24x24/Makefile
icons/32x32/Makefile
icons/48x48/Makefile
-data/gtkhex.pc])
+data/gtkhex-3.pc])
AC_OUTPUT
diff --git a/data/Makefile.am b/data/Makefile.am
index 325f392..cc619f8 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -2,7 +2,7 @@ schemadir = $(GCONF_SCHEMA_FILE_DIR)
schema_DATA = ghex2.schemas
pkgconfigdir = $(libdir)/pkgconfig
-pkgconfig_DATA = gtkhex.pc
+pkgconfig_DATA = gtkhex-3.pc
EXTRA_DIST = \
ghex.desktop.in \
diff --git a/data/gtkhex.pc.in b/data/gtkhex-3.pc.in
similarity index 75%
rename from data/gtkhex.pc.in
rename to data/gtkhex-3.pc.in
index 82f99e1..9735948 100644
--- a/data/gtkhex.pc.in
+++ b/data/gtkhex-3.pc.in
@@ -7,6 +7,6 @@ Name: gtkhex
Description: GtkHex - A hex display widget.
Version: @VERSION@
Requires: gail-3.0 atk gtk+-3.0
-Libs: -L${libdir} -lgtkhex
-Cflags: -I${includedir}/gtkhex
+Libs: -L${libdir} -lgtkhex-3
+Cflags: -I${includedir}/gtkhex-3
diff --git a/src/Makefile.am b/src/Makefile.am
index 46ceb77..9cc05cb 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -16,13 +16,13 @@ BUILT_SOURCES = \
bin_PROGRAMS = ghex2
-lib_LTLIBRARIES = libgtkhex.la
+lib_LTLIBRARIES = libgtkhex-3.la
-libgtkhexdir = $(includedir)/gtkhex/
+gtkhexincludedir = $(includedir)/gtkhex-3/
uidir = $(pkgdatadir)
-libgtkhex_la_SOURCES = \
+libgtkhex_3_la_SOURCES = \
hex-document.c \
gtkhex.c \
gtkhex-private.h \
@@ -32,13 +32,13 @@ libgtkhex_la_SOURCES = \
accessiblegtkhexfactory.h \
$(BUILT_SOURCES)
-libgtkhex_la_LIBADD = \
+libgtkhex_3_la_LIBADD = \
$(LIBGTKHEX_LIBS) \
$(GAILUTIL_LIBS)
-libgtkhex_la_CFLAGS = -DG_LOG_DOMAIN=\"libgtkhex\"
+libgtkhex_3_la_CFLAGS = -DG_LOG_DOMAIN=\"libgtkhex-3\"
-libgtkhex_HEADERS = \
+gtkhexinclude_HEADERS = \
hex-document.h \
gtkhex.h
@@ -63,7 +63,7 @@ EXTRA_DIST = \
ghex-marshal.list
LDADD = \
- libgtkhex.la \
+ libgtkhex-3.la \
$(GHEX_LIBS)
CLEAN_FILES = $(BUILT_SOURCES)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]