summaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2010-10-05 16:30:16 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2010-10-05 16:30:16 +0800
commit5a08fe104b0caa46018c814f0a07ee9915c50a17 (patch)
tree9a88536b3738a95b5c1b179da7cb77d5b87dfc3f /sysutils
parent3b66554ce25db466f48d1b475fd2c978335a72ee (diff)
downloadmarcuscom-ports-5a08fe104b0caa46018c814f0a07ee9915c50a17.tar
marcuscom-ports-5a08fe104b0caa46018c814f0a07ee9915c50a17.tar.gz
marcuscom-ports-5a08fe104b0caa46018c814f0a07ee9915c50a17.tar.bz2
marcuscom-ports-5a08fe104b0caa46018c814f0a07ee9915c50a17.tar.lz
marcuscom-ports-5a08fe104b0caa46018c814f0a07ee9915c50a17.tar.xz
marcuscom-ports-5a08fe104b0caa46018c814f0a07ee9915c50a17.tar.zst
marcuscom-ports-5a08fe104b0caa46018c814f0a07ee9915c50a17.zip
Fix introvoodoo again.
Obtained from: freedesktop bugzilla. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@14790 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/upower/Makefile4
-rw-r--r--sysutils/upower/files/patch-libupower-glib_Makefile.in18
-rw-r--r--sysutils/upower/pkg-plist2
3 files changed, 22 insertions, 2 deletions
diff --git a/sysutils/upower/Makefile b/sysutils/upower/Makefile
index 11b0ed889..8f4e09c68 100644
--- a/sysutils/upower/Makefile
+++ b/sysutils/upower/Makefile
@@ -3,11 +3,12 @@
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
-# $MCom: ports/sysutils/upower/Makefile,v 1.17 2010/06/29 21:14:03 kwm Exp $
+# $MCom: ports/sysutils/upower/Makefile,v 1.18 2010/10/04 20:41:39 kwm Exp $
#
PORTNAME= upower
PORTVERSION= 0.9.6
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://upower.freedesktop.org/releases/
@@ -27,7 +28,6 @@ USE_AUTOTOOLS= libtool:22
USE_LDCONFIG= yes
USE_PYTHON= yes
CONFIGURE_ARGS= --disable-gtk-doc \
- --enable-introspection=no \
--with-backend=freebsd \
--localstatedir=/var
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
diff --git a/sysutils/upower/files/patch-libupower-glib_Makefile.in b/sysutils/upower/files/patch-libupower-glib_Makefile.in
new file mode 100644
index 000000000..7ecd30cfc
--- /dev/null
+++ b/sysutils/upower/files/patch-libupower-glib_Makefile.in
@@ -0,0 +1,18 @@
+--- libupower-glib/Makefile.in.orig 2010-10-04 14:53:46.000000000 +0100
++++ libupower-glib/Makefile.in 2010-10-05 07:42:17.000000000 +0100
+@@ -364,12 +364,13 @@
+ up-version.h.in
+
+ CLEANFILES = $(BUILT_SOURCES) $(am__append_2)
+-@HAVE_INTROSPECTION_TRUE@introspection_sources = $(libupower_glib_la_SOURCES)
++@HAVE_INTROSPECTION_TRUE@introspection_sources = $(libupower_glib_include_HEADERS) $(libupower_glib_la_SOURCES)
+ @HAVE_INTROSPECTION_TRUE@UPowerGlib_1_0_gir_INCLUDES = GObject-2.0 Gio-2.0
+ @HAVE_INTROSPECTION_TRUE@UPowerGlib_1_0_gir_CFLAGS = $(INCLUDES)
+-@HAVE_INTROSPECTION_TRUE@PackageKitGlib_1_0_gir_SCANNERFLAGS = --identifier-prefix=Up --warn-all --add-include-path=$(srcdir)
++@HAVE_INTROSPECTION_TRUE@UPowerGlib_1_0_gir_SCANNERFLAGS = --identifier-prefix=Up --symbol-prefix=up_ --warn-all --add-include-path=$(srcdir)
+ @HAVE_INTROSPECTION_TRUE@UPowerGlib_1_0_gir_LIBS = libupower-glib.la
+ @HAVE_INTROSPECTION_TRUE@UPowerGlib_1_0_gir_FILES = $(introspection_sources)
++@HAVE_INTROSPECTION_TRUE@UPowerGlib_1_0_gir_NAMESPACE = UPowerGlib
+ @HAVE_INTROSPECTION_TRUE@girdir = $(datadir)/gir-1.0
+ @HAVE_INTROSPECTION_TRUE@dist_gir_DATA = $(INTROSPECTION_GIRS)
+ @HAVE_INTROSPECTION_TRUE@typelibdir = $(libdir)/girepository-1.0
diff --git a/sysutils/upower/pkg-plist b/sysutils/upower/pkg-plist
index bc6b10df7..ba51b6f99 100644
--- a/sysutils/upower/pkg-plist
+++ b/sysutils/upower/pkg-plist
@@ -12,6 +12,7 @@ include/libupower-glib/up-version.h
include/libupower-glib/up-wakeup-item.h
include/libupower-glib/up-wakeups.h
include/libupower-glib/upower.h
+lib/girepository-1.0/UPowerGlib-1.0.typelib
lib/libupower-glib.a
lib/libupower-glib.la
lib/libupower-glib.so
@@ -24,6 +25,7 @@ share/dbus-1/interfaces/org.freedesktop.UPower.QoS.xml
share/dbus-1/interfaces/org.freedesktop.UPower.Wakeups.xml
share/dbus-1/interfaces/org.freedesktop.UPower.xml
share/dbus-1/system-services/org.freedesktop.UPower.service
+share/gir-1.0/UPowerGlib-1.0.gir
share/locale/it/LC_MESSAGES/upower.mo
share/locale/pl/LC_MESSAGES/upower.mo
share/locale/sv/LC_MESSAGES/upower.mo