[Goodies-commits] r5537 - xfce4-sensors-plugin/trunk/lib

Fabian Nowak timystery at xfce.org
Wed Oct 8 23:24:16 CEST 2008


Author: timystery
Date: 2008-10-08 21:24:15 +0000 (Wed, 08 Oct 2008)
New Revision: 5537

Added:
   xfce4-sensors-plugin/trunk/lib/libxfce4sensors-1.0.pc.in
Modified:
   xfce4-sensors-plugin/trunk/lib/Makefile.am
Log:
- repaired makefile to produce shared object with version information
- added new package config template


Modified: xfce4-sensors-plugin/trunk/lib/Makefile.am
===================================================================
--- xfce4-sensors-plugin/trunk/lib/Makefile.am	2008-10-08 21:23:24 UTC (rev 5536)
+++ xfce4-sensors-plugin/trunk/lib/Makefile.am	2008-10-08 21:24:15 UTC (rev 5537)
@@ -1,3 +1,5 @@
+# $Id:$
+
 plugindir = $(libdir)/xfce4/modules
 
 plugin_LTLIBRARIES = libxfce4sensors.la
@@ -40,21 +42,32 @@
 	@PLATFORM_CFLAGS@												\
 	-DPACKAGE_LOCALE_DIR=\"$(localedir)\"							\
 	@LIBSENSORS_CFLAGS@										\
-	@LIBXFCE4UTIL_CFLAGS@
+	@LIBXFCE4UTIL_CFLAGS@							\
+	@LIBXFCEGUI4_CFLAGS@								\
+	@LIBXFCE4PANEL_CFLAGS@
 
 
 libxfce4sensors_la_LDFLAGS = \
-	-export-dynamic \
-	-avoid-version \
-	-module
+	-export-dynamic							\
+	-export-symbols-regex "^[^_].*"					\
+	-version-info $(LIBXFCE4SENSORS_VERINFO)
 
+#	@PLATFORM_LDFLAGS@
+
+#	-export-dynamic \
+#	-avoid-version \
+#	-module
+
 libxfce4sensors_la_LIBADD = \
 	@GTK_LIBS@ \
 	@GLIB_LIBS@ \
-	@SOLLIBS@														\
 	@LIBSENSORS_LDFLAGS@									\
-	@LIBXFCE4UTIL_LIBS@
+	@LIBXFCE4UTIL_LIBS@								\
+	@LIBXFCEGUI4_LIBS@								\
+	@LIBXFCE4PANEL_LIBS@
 
+#@SOLLIBS@
+
 # -fPIC -shared
 
 #	-DG_LOG_DOMAIN=\"xfce4-sensors-plugin\"						 \
@@ -62,3 +75,8 @@
 
 DISTCLEANFILES =
 
+##
+## Pkg-config information
+##
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = libxfce4sensors-1.0.pc

Added: xfce4-sensors-plugin/trunk/lib/libxfce4sensors-1.0.pc.in
===================================================================
--- xfce4-sensors-plugin/trunk/lib/libxfce4sensors-1.0.pc.in	                        (rev 0)
+++ xfce4-sensors-plugin/trunk/lib/libxfce4sensors-1.0.pc.in	2008-10-08 21:24:15 UTC (rev 5537)
@@ -0,0 +1,14 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+datadir=@datadir@
+libdir=@libdir@
+includedir=@includedir@
+libexecdir=@libexecdir@
+localedir=@localedir@
+
+Name: libxfce4sensors
+Description: Library for the Xfce 4 Sensors Plugin and Viewer
+Requires: libxfce4util-1.0 libxfcegui4-1.0
+Version: @PACKAGE_VERSION@
+Libs: -L${libdir} -lxfce4sensors
+Cflags: -I${includedir}/xfce4/




More information about the Goodies-commits mailing list