[empathy] Stop building libempathy{, -gtk} as a shared library. Closes bug #599086
- From: Jonny Lamb <jonnylamb src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [empathy] Stop building libempathy{, -gtk} as a shared library. Closes bug #599086
- Date: Tue, 20 Oct 2009 19:05:13 +0000 (UTC)
commit 8e9aa89166cf774b6d7efe83db68ac2d6540e840
Author: Jonny Lamb <jonnylamb gnome org>
Date: Tue Oct 20 19:16:58 2009 +0100
Stop building libempathy{,-gtk} as a shared library. Closes bug #599086
Signed-off-by: Jonny Lamb <jonnylamb gnome org>
.gitignore | 1 -
configure.ac | 21 -------
libempathy-gtk/Makefile.am | 49 +++++++----------
libempathy-gtk/libempathy-gtk.pc.in | 13 -----
libempathy/Makefile.am | 103 ++++++++++++++++-------------------
libempathy/libempathy.pc.in | 13 -----
6 files changed, 65 insertions(+), 135 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e67be83..007184a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,7 +7,6 @@ Makefile
.libs
*.sw[po]
*enum-types*
-*.pc
*.tar.*
*.orig
*.rej
diff --git a/configure.ac b/configure.ac
index 18536b1..36cf1fd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -5,25 +5,6 @@ AC_COPYRIGHT([
Copyright (C) 2007-2008 Collabora Ltd.
])
-# LT Version numbers, remember to change them just *before* a release.
-# (Interfaces removed: CURRENT++, AGE=0, REVISION=0)
-# (Interfaces added: CURRENT++, AGE++, REVISION=0)
-# (No interfaces changed: REVISION++)
-LIBEMPATHY_CURRENT=30
-LIBEMPATHY_AGE=0
-LIBEMPATHY_REVISION=0
-
-LIBEMPATHY_GTK_CURRENT=28
-LIBEMPATHY_GTK_AGE=0
-LIBEMPATHY_GTK_REVISION=0
-
-AC_SUBST(LIBEMPATHY_CURRENT)
-AC_SUBST(LIBEMPATHY_AGE)
-AC_SUBST(LIBEMPATHY_REVISION)
-AC_SUBST(LIBEMPATHY_GTK_CURRENT)
-AC_SUBST(LIBEMPATHY_GTK_AGE)
-AC_SUBST(LIBEMPATHY_GTK_REVISION)
-
# Minimal version required
GLIB_REQUIRED=2.22.0
GTK_REQUIRED=2.16.0
@@ -421,9 +402,7 @@ AC_OUTPUT([
extensions/Makefile
po/Makefile.in
libempathy/Makefile
- libempathy/libempathy.pc
libempathy-gtk/Makefile
- libempathy-gtk/libempathy-gtk.pc
src/Makefile
nautilus-sendto-plugin/Makefile
help/Makefile
diff --git a/libempathy-gtk/Makefile.am b/libempathy-gtk/Makefile.am
index 25e3dc9..cdcd0bd 100644
--- a/libempathy-gtk/Makefile.am
+++ b/libempathy-gtk/Makefile.am
@@ -22,7 +22,7 @@ BUILT_SOURCES = \
empathy-gtk-enum-types.h \
empathy-gtk-enum-types.c
-lib_LTLIBRARIES = libempathy-gtk.la
+noinst_LTLIBRARIES = libempathy-gtk.la
libempathy_gtk_handwritten_source = \
empathy-account-chooser.c \
@@ -66,27 +66,6 @@ libempathy_gtk_handwritten_source = \
empathy-kludge-label.c \
empathy-ui-utils.c
-libempathy_gtk_la_SOURCES = \
- $(libempathy_gtk_handwritten_source) \
- totem-subtitle-encoding.c totem-subtitle-encoding.h
-
-# do not distribute generated files
-nodist_libempathy_gtk_la_SOURCES =\
- $(BUILT_SOURCES)
-
-libempathy_gtk_la_LIBADD = \
- $(LIBEMPATHYGTK_LIBS) \
- $(ENCHANT_LIBS) \
- $(LIBCHAMPLAIN_LIBS) \
- $(GEOCLUE_LIBS) \
- $(MOBLIN_LIBS) \
- $(WEBKIT_LIBS) \
- $(top_builddir)/libempathy/libempathy.la
-
-libempathy_gtk_la_LDFLAGS = \
- -version-info ${LIBEMPATHY_GTK_CURRENT}:${LIBEMPATHY_GTK_REVISION}:${LIBEMPATHY_GTK_AGE} \
- -export-symbols-regex ^empathy_
-
libempathy_gtk_headers = \
empathy-account-chooser.h \
empathy-account-widget.h \
@@ -129,17 +108,30 @@ libempathy_gtk_headers = \
empathy-kludge-label.h \
empathy-ui-utils.h
+libempathy_gtk_la_SOURCES = \
+ $(libempathy_gtk_handwritten_source) \
+ $(libempathy_gtk_headers) \
+ totem-subtitle-encoding.c totem-subtitle-encoding.h
+
+# do not distribute generated files
+nodist_libempathy_gtk_la_SOURCES =\
+ $(BUILT_SOURCES)
+
+libempathy_gtk_la_LIBADD = \
+ $(LIBEMPATHYGTK_LIBS) \
+ $(ENCHANT_LIBS) \
+ $(LIBCHAMPLAIN_LIBS) \
+ $(GEOCLUE_LIBS) \
+ $(MOBLIN_LIBS) \
+ $(WEBKIT_LIBS) \
+ $(top_builddir)/libempathy/libempathy.la
+
check_c_sources = \
$(libempathy_gtk_handwritten_source) \
$(libempathy_gtk_headers)
include $(top_srcdir)/tools/check-coding-style.mk
check-local: check-coding-style
-libempathy_gtk_includedir = $(includedir)/libempathy-gtk/
-libempathy_gtk_include_HEADERS = \
- $(libempathy_gtk_headers) \
- empathy-gtk-enum-types.h
-
uidir = $(datadir)/empathy
ui_DATA = \
empathy-contact-widget.ui \
@@ -215,9 +207,6 @@ empathy-gtk-enum-types.c: Makefile $(libempathy_gtk_headers)
&& cp xgen-gtc $(@F) \
&& rm -f xgen-gtc
-pkgconfigdir = $(libdir)/pkgconfig
-pkgconfig_DATA = libempathy-gtk.pc
-
EXTRA_DIST = \
$(ui_DATA)
diff --git a/libempathy/Makefile.am b/libempathy/Makefile.am
index e45b16d..1783650 100644
--- a/libempathy/Makefile.am
+++ b/libempathy/Makefile.am
@@ -22,10 +22,54 @@ BUILT_SOURCES = \
empathy-enum-types.h \
empathy-enum-types.c
-lib_LTLIBRARIES = libempathy.la
+noinst_LTLIBRARIES = libempathy.la
+
+libempathy_headers = \
+ empathy-account-settings.h \
+ empathy-account.h \
+ empathy-account-manager.h \
+ empathy-chatroom.h \
+ empathy-chatroom-manager.h \
+ empathy-call-factory.h \
+ empathy-call-handler.h \
+ empathy-connectivity.h \
+ empathy-contact.h \
+ empathy-contact-groups.h \
+ empathy-contact-list.h \
+ empathy-contact-manager.h \
+ empathy-contact-monitor.h \
+ empathy-connection-managers.h \
+ empathy-debug.h \
+ empathy-debugger.h \
+ empathy-dispatcher.h \
+ empathy-dispatch-operation.h \
+ empathy-ft-factory.h \
+ empathy-ft-handler.h \
+ empathy-handler.h \
+ empathy-idle.h \
+ empathy-irc-network.h \
+ empathy-irc-network-manager.h \
+ empathy-irc-server.h \
+ empathy-location.h \
+ empathy-log-manager.h \
+ empathy-log-store.h \
+ empathy-log-store-empathy.h \
+ empathy-message.h \
+ empathy-status-presets.h \
+ empathy-time.h \
+ empathy-tp-call.h \
+ empathy-tp-chat.h \
+ empathy-tp-contact-factory.h \
+ empathy-tp-contact-list.h \
+ empathy-tp-file.h \
+ empathy-tp-roomlist.h \
+ empathy-tube-handler.h \
+ empathy-types.h \
+ empathy-utils.h
libempathy_la_SOURCES = \
- empathy-account.c \
+ $(libempathy_headers) \
+ empathy-account.c \
empathy-account-settings.c \
empathy-account-manager.c \
empathy-chatroom.c \
@@ -76,64 +120,12 @@ libempathy_la_LIBADD = \
$(NETWORK_MANAGER_LIBS) \
$(CONNMAN_LIBS)
-libempathy_la_LDFLAGS = \
- -version-info ${LIBEMPATHY_CURRENT}:${LIBEMPATHY_REVISION}:${LIBEMPATHY_AGE} \
- -export-symbols-regex ^empathy_
-
-libempathy_headers = \
- empathy-account-settings.h \
- empathy-account.h \
- empathy-account-manager.h \
- empathy-chatroom.h \
- empathy-chatroom-manager.h \
- empathy-call-factory.h \
- empathy-call-handler.h \
- empathy-connectivity.h \
- empathy-contact.h \
- empathy-contact-groups.h \
- empathy-contact-list.h \
- empathy-contact-manager.h \
- empathy-contact-monitor.h \
- empathy-connection-managers.h \
- empathy-debug.h \
- empathy-debugger.h \
- empathy-dispatcher.h \
- empathy-dispatch-operation.h \
- empathy-ft-factory.h \
- empathy-ft-handler.h \
- empathy-handler.h \
- empathy-idle.h \
- empathy-irc-network.h \
- empathy-irc-network-manager.h \
- empathy-irc-server.h \
- empathy-location.h \
- empathy-log-manager.h \
- empathy-log-store.h \
- empathy-log-store-empathy.h \
- empathy-message.h \
- empathy-status-presets.h \
- empathy-time.h \
- empathy-tp-call.h \
- empathy-tp-chat.h \
- empathy-tp-contact-factory.h \
- empathy-tp-contact-list.h \
- empathy-tp-file.h \
- empathy-tp-roomlist.h \
- empathy-tube-handler.h \
- empathy-types.h \
- empathy-utils.h
-
check_c_sources = \
$(libempathy_la_SOURCES) \
$(libempathy_headers)
include $(top_srcdir)/tools/check-coding-style.mk
check-local: check-coding-style
-libempathy_includedir = $(includedir)/libempathy/
-libempathy_include_HEADERS = \
- $(libempathy_headers) \
- empathy-enum-types.h
-
empathy-marshal.list: $(libempathy_la_SOURCES) Makefile.am
$(QUIET_GEN)( cd $(srcdir) && \
sed -n -e 's/.*empathy_marshal_\([[:upper:][:digit:]]*__[[:upper:][:digit:]_]*\).*/\1/p' \
@@ -205,9 +197,6 @@ ircnetworksdir = $(datadir)/empathy
ircnetworks_DATA = \
irc-networks.xml
-pkgconfigdir = $(libdir)/pkgconfig
-pkgconfig_DATA = libempathy.pc
-
EXTRA_DIST = \
empathy-marshal.list \
$(stylesheet_DATA) \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]