From 451e3d74f9fb9b885428336e4125406b29c1ed4d Mon Sep 17 00:00:00 2001 From: Carlos Garcia Campos Date: Sun, 18 Jan 2009 15:31:03 +0000 Subject: [PATCH] Rename LIB as LIBDOCUMENT and use SHELL_CORE for cut-n-paste code. 2009-01-18 Carlos Garcia Campos * configure.ac: * cut-n-paste/*/Makefile.am: * libdocument/Makefile.am: Rename LIB as LIBDOCUMENT and use SHELL_CORE for cut-n-paste code. svn path=/trunk/; revision=3352 --- ChangeLog | 11 ++++++++++- configure.ac | 10 +++++----- cut-n-paste/evmountoperation/Makefile.am | 3 +-- cut-n-paste/gedit-message-area/Makefile.am | 3 +-- cut-n-paste/gimpcellrenderertoggle/Makefile.am | 3 +-- cut-n-paste/smclient/Makefile.am | 1 - cut-n-paste/toolbar-editor/Makefile.am | 3 +-- cut-n-paste/totem-screensaver/Makefile.am | 5 ++--- cut-n-paste/zoom-control/Makefile.am | 3 +-- libdocument/Makefile.am | 4 ++-- 10 files changed, 24 insertions(+), 22 deletions(-) diff --git a/ChangeLog b/ChangeLog index 530c485f..4c17c4e0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2009-01-18 Carlos Garcia Campos + + * configure.ac: + * cut-n-paste/*/Makefile.am: + * libdocument/Makefile.am: + + Rename LIB as LIBDOCUMENT and use SHELL_CORE for cut-n-paste + code. + 2009-01-18 Christian Persch * libview/ev-view.c: (ev_view_drag_data_get), @@ -10,7 +19,7 @@ * shell/ev-window.c: Update drag handling code to use the gtk_*_add_uri_targets and gtk_*_add_text_targets targets instead of hardcoding the targets lists. Bug #558084. - + 2009-01-18 Carlos Garcia Campos * libdocument/Makefile.am: diff --git a/configure.ac b/configure.ac index e8a7d1a7..940e1317 100644 --- a/configure.ac +++ b/configure.ac @@ -52,7 +52,7 @@ KEYRING_REQUIRED=2.22.0 GNOME_ICON_THEME_REQUIRED=2.17.1 LIBXML_REQUIRED=2.5.0 -PKG_CHECK_MODULES(LIB, gtk+-2.0 >= $GTK_REQUIRED libxml-2.0 >= $LIBXML_REQUIRED gio-2.0 >= $GLIB_REQUIRED) +PKG_CHECK_MODULES(LIBDOCUMENT, gtk+-2.0 >= $GTK_REQUIRED gio-2.0 >= $GLIB_REQUIRED) PKG_CHECK_MODULES(LIBVIEW, gtk+-2.0 >= $GTK_REQUIRED gthread-2.0 gio-2.0 >= $GLIB_REQUIRED) PKG_CHECK_MODULES(BACKEND, gtk+-2.0 >= $GTK_REQUIRED) PKG_CHECK_MODULES(FRONTEND_CORE, gtk+-2.0 >= $GTK_REQUIRED gthread-2.0 gio-2.0 >= $GLIB_REQUIRED) @@ -129,10 +129,10 @@ if test "x$enable_debug" = "xyes"; then fi -LIB_CFLAGS="$LIB_CFLAGS $DEBUG_FLAGS" -LIB_LIBS="$LIB_LIBS" -AC_SUBST(LIB_CFLAGS) -AC_SUBST(LIB_LIBS) +LIBDOCUMENT_CFLAGS="$LIBDOCUMENT_CFLAGS $DEBUG_FLAGS" +LIBDOCUMENT_LIBS="$LIBDOCUMENT_LIBS" +AC_SUBST(LIBDOCUMENT_CFLAGS) +AC_SUBST(LIBDOCUMENT_LIBS) LIBVIEW_CFLAGS="$LIBVIEW_CFLAGS $DEBUG_FLAGS" LIBVIEW_LIBS="$LIBVIEW_LIBS" diff --git a/cut-n-paste/evmountoperation/Makefile.am b/cut-n-paste/evmountoperation/Makefile.am index a88885b4..e84c1b4c 100644 --- a/cut-n-paste/evmountoperation/Makefile.am +++ b/cut-n-paste/evmountoperation/Makefile.am @@ -5,7 +5,6 @@ libevmountoperation_la_SOURCES = \ ev-mount-operation.c libevmountoperation_la_CFLAGS = \ - -I$(top_srcdir)/lib \ - $(LIB_CFLAGS) \ + $(SHELL_CORE_CFLAGS) \ $(WARNING_CFLAGS) \ $(DISABLE_DEPRECATED) \ No newline at end of file diff --git a/cut-n-paste/gedit-message-area/Makefile.am b/cut-n-paste/gedit-message-area/Makefile.am index 8e6368b0..ce56f327 100644 --- a/cut-n-paste/gedit-message-area/Makefile.am +++ b/cut-n-paste/gedit-message-area/Makefile.am @@ -4,7 +4,6 @@ libgeditmsgarea_la_SOURCES = \ gedit-message-area.h libgeditmsgarea_la_CFLAGS = \ - -I$(top_srcdir)/lib \ - $(LIB_CFLAGS) \ + $(SHELL_CORE_CFLAGS) \ $(WARNING_CFLAGS) \ $(DISABLE_DEPRECATED) diff --git a/cut-n-paste/gimpcellrenderertoggle/Makefile.am b/cut-n-paste/gimpcellrenderertoggle/Makefile.am index d9868476..8bc909dd 100644 --- a/cut-n-paste/gimpcellrenderertoggle/Makefile.am +++ b/cut-n-paste/gimpcellrenderertoggle/Makefile.am @@ -5,8 +5,7 @@ libgimpcellrenderertoggle_la_sources = \ gimpcellrenderertoggle.c libgimpcellrenderertoggle_la_CFLAGS = \ - -I$(top_srcdir)/lib \ - $(LIB_CFLAGS) \ + $(SHELL_CORE_CFLAGS) \ $(WARNING_CFLAGS) \ $(DISABLE_DEPRECATED) diff --git a/cut-n-paste/smclient/Makefile.am b/cut-n-paste/smclient/Makefile.am index 3cb77255..25e9840a 100644 --- a/cut-n-paste/smclient/Makefile.am +++ b/cut-n-paste/smclient/Makefile.am @@ -9,7 +9,6 @@ libsmclient_la_SOURCES = \ eggsmclient-xsmp.c libsmclient_la_CFLAGS = \ - -I$(top_srcdir)/lib \ -DG_LOG_DOMAIN=\""EggSMClient"\" \ -DEGG_SM_CLIENT_BACKEND_XSMP \ $(SMCLIENT_CFLAGS) \ diff --git a/cut-n-paste/toolbar-editor/Makefile.am b/cut-n-paste/toolbar-editor/Makefile.am index 28b1380e..a01c155a 100644 --- a/cut-n-paste/toolbar-editor/Makefile.am +++ b/cut-n-paste/toolbar-editor/Makefile.am @@ -20,11 +20,10 @@ libtoolbareditor_la_SOURCES = \ $(EGGHEADERS) libtoolbareditor_la_CPPFLAGS = \ - -I$(top_builddir)/lib/egg \ $(AM_CPPFLAGS) libtoolbareditor_la_CFLAGS = \ - $(LIB_CFLAGS) \ + $(SHELL_CORE_CFLAGS) \ $(WARN_CFLAGS) \ $(DISABLE_DEPRECATED) \ -DCURSOR_DIR=\"$(pkgdatadir)\" \ diff --git a/cut-n-paste/totem-screensaver/Makefile.am b/cut-n-paste/totem-screensaver/Makefile.am index 9108b911..ab67e2c5 100644 --- a/cut-n-paste/totem-screensaver/Makefile.am +++ b/cut-n-paste/totem-screensaver/Makefile.am @@ -3,9 +3,8 @@ libtotemscrsaver_la_SOURCES = \ totem-scrsaver.h \ totem-scrsaver.c -libtotemscrsaver_la_CFLAGS = \ - -I$(top_srcdir)/lib \ - $(LIB_CFLAGS) \ +libtotemscrsaver_la_CFLAGS = \ + $(SHELL_CORE_CFLAGS) \ $(DBUS_CFLAGS) \ $(WARNING_CFLAGS) \ $(DISABLE_DEPRECATED) diff --git a/cut-n-paste/zoom-control/Makefile.am b/cut-n-paste/zoom-control/Makefile.am index 8b382f9c..64cdc9d6 100644 --- a/cut-n-paste/zoom-control/Makefile.am +++ b/cut-n-paste/zoom-control/Makefile.am @@ -9,7 +9,6 @@ libephyzoom_la_SOURCES = \ ephy-zoom.h libephyzoom_la_CFLAGS = \ - -I$(top_srcdir)/lib \ - $(LIB_CFLAGS) \ + $(SHELL_CORE_CFLAGS) \ $(WARNING_CFLAGS) \ $(DISABLE_DEPRECATED) diff --git a/libdocument/Makefile.am b/libdocument/Makefile.am index e91897c5..4ce98465 100644 --- a/libdocument/Makefile.am +++ b/libdocument/Makefile.am @@ -2,14 +2,14 @@ INCLUDES= \ -DEVINCE_UIDIR=\"$(pkgdatadir)\" \ -DGNOMELOCALEDIR=\"$(datadir)/locale\" \ -DEV_BACKENDSDIR=\"$(libdir)/evince/backends\" \ - $(LIB_CFLAGS) \ + $(LIBDOCUMENT_CFLAGS) \ $(WARN_CFLAGS) \ $(DISABLE_DEPRECATED) lib_LTLIBRARIES = libevbackend.la libevbackend_la_LDFLAGS = -export-dynamic -libevbackend_la_LIBADD = $(LIB_LIBS) +libevbackend_la_LIBADD = $(LIBDOCUMENT_LIBS) NOINST_H_FILES = \ ev-backends-manager.h \ -- 2.43.5