Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 08 Apr 2007 18:39:47 +0100
From:      Bruce M Simpson <bms@incunabulum.net>
To:        gnome@FreeBSD.org
Subject:   [PATCH] add qt3 binding support to avahi
Message-ID:  <461928E3.1070307@incunabulum.net>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------060804020503000505020800
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Looks good on my system. thanks!

BMS

--------------060804020503000505020800
Content-Type: text/x-patch;
 name="avahi-qt3.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="avahi-qt3.diff"

? .swp
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/net/avahi/Makefile,v
retrieving revision 1.45
diff -u -p -r1.45 Makefile
--- Makefile	10 Feb 2007 23:34:58 -0000	1.45
+++ Makefile	8 Apr 2007 17:39:09 -0000
@@ -28,7 +28,6 @@ USE_LDCONFIG=	yes
 USE_GETOPT_LONG=yes
 CONFIGURE_ARGS?=--with-distro=freebsd \
 		--with-dbus-system-address=unix:path=/var/run/dbus/system_bus_socket \
-		--disable-qt3 \
 		--disable-qt4 \
 		--disable-python \
 		--disable-mono \
@@ -54,7 +53,8 @@ MAN5=	avahi-daemon.conf.5 avahi.service.
 MAN8=	avahi-daemon.8 avahi-dnsconfd.8 avahi-dnsconfd.action.8
 
 OPTIONS=	GTK2 "Build a GTK+ 2 browser utility" off \
-		LIBDNS "Enable mDNSResponder compatibility" off
+		LIBDNS "Enable mDNSResponder compatibility" off \
+		QT3 "Enable QT3 bindings" off
 .endif
 
 .include <bsd.port.pre.mk>
@@ -78,6 +78,15 @@ CONFIGURE_ARGS+=--disable-gtk
 PLIST_SUB+=	GTK="@comment "
 .endif
 
+.if defined(WITH_QT3)
+USE_QT_VER=	3
+CONFIGURE_ARGS+=--enable-qt3
+PLIST_SUB+=	QT3=""
+.else
+CONFIGURE_ARGS+=--disable-qt3
+PLIST_SUB+=	QT3="@comment "
+.endif
+
 post-patch:
 	@${REINPLACE_CMD} -e 's|-ldl||g ; s|netdev|network|g' \
 		${WRKSRC}/configure \
Index: pkg-plist
===================================================================
RCS file: /home/pcvs/ports/net/avahi/pkg-plist,v
retrieving revision 1.14
diff -u -p -r1.14 pkg-plist
--- pkg-plist	10 Feb 2007 23:36:11 -0000	1.14
+++ pkg-plist	8 Apr 2007 17:39:09 -0000
@@ -61,6 +61,8 @@ include/avahi-core/publish.h
 include/avahi-core/rr.h
 include/avahi-glib/glib-malloc.h
 include/avahi-glib/glib-watch.h
+%%QT3%%include/avahi-qt3/qt-watch.h
+%%QT3%%@dirrm include/avahi-qt3
 lib/libavahi-client.a
 lib/libavahi-client.la
 lib/libavahi-client.so
@@ -77,6 +79,10 @@ lib/libavahi-glib.a
 lib/libavahi-glib.la
 lib/libavahi-glib.so
 lib/libavahi-glib.so.1
+%%QT3%%lib/libavahi-qt3.a
+%%QT3%%lib/libavahi-qt3.la
+%%QT3%%lib/libavahi-qt3.so
+%%QT3%%lib/libavahi-qt3.so.1
 %%LIBDNS%%lib/libdns_sd.a
 %%LIBDNS%%lib/libdns_sd.la
 %%LIBDNS%%lib/libdns_sd.so
@@ -90,6 +96,7 @@ libdata/pkgconfig/avahi-compat-howl.pc
 %%LIBDNS%%libdata/pkgconfig/avahi-compat-libdns_sd.pc
 libdata/pkgconfig/avahi-core.pc
 libdata/pkgconfig/avahi-glib.pc
+%%QT3%%libdata/pkgconfig/avahi-qt3.pc
 sbin/avahi-daemon
 sbin/avahi-dnsconfd
 %%DATADIR%%/avahi-service.dtd

--------------060804020503000505020800--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?461928E3.1070307>