[arch-commits] Commit in avahi/trunk (PKGBUILD introspection.patch)
Jan de Groot
jgc at archlinux.org
Wed Sep 29 17:34:27 UTC 2010
Date: Wednesday, September 29, 2010 @ 13:34:26
Author: jgc
Revision: 92405
upgpkg: avahi 0.6.27-4
Fix and enable introspection support
Added:
avahi/trunk/introspection.patch
Modified:
avahi/trunk/PKGBUILD
---------------------+
PKGBUILD | 17 ++++++++++-------
introspection.patch | 17 +++++++++++++++++
2 files changed, 27 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2010-09-29 16:42:09 UTC (rev 92404)
+++ PKGBUILD 2010-09-29 17:34:26 UTC (rev 92405)
@@ -3,7 +3,7 @@
pkgname=avahi
pkgver=0.6.27
-pkgrel=3
+pkgrel=4
pkgdesc='A multicast/unicast DNS-SD framework'
arch=('i686' 'x86_64')
url='http://www.avahi.org/'
@@ -17,25 +17,28 @@
'mono: mono bindings'
'dbus-python: avahi-discover'
'nss-mdns: NSS support for mDNS')
-makedepends=('qt' 'qt3' 'pygtk' 'mono' 'intltool' 'dbus-python' 'gtk-sharp-2')
+makedepends=('qt' 'qt3' 'pygtk' 'mono' 'intltool' 'dbus-python' 'gtk-sharp-2' 'gobject-introspection')
backup=(etc/avahi/avahi-daemon.conf etc/avahi/services/{sftp-,}ssh.service)
install=avahi.install
conflicts=('howl' 'mdnsresponder')
provides=('howl' 'mdnsresponder')
replaces=('howl' 'mdnsresponder')
options=('!libtool')
-source=("http://www.avahi.org/download/avahi-${pkgver}.tar.gz"
- 'avahi-daemon-dbus.patch'
- 'gnome-nettool.png')
+source=(http://www.avahi.org/download/avahi-${pkgver}.tar.gz
+ avahi-daemon-dbus.patch
+ gnome-nettool.png
+ introspection.patch)
sha1sums=('e763bbeba92fd5b3ba3e2af5fc85aaf99b406c8b'
'41e9f23efa0b5a5f7b0f14a86cfb0677ece84c61'
- 'cf56387c88aed246b9f435efc182ef44de4d52f3')
+ 'cf56387c88aed246b9f435efc182ef44de4d52f3'
+ '9a585c2b851641511705ac9b423311ac650653cc')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
sed -i 's/netdev/network/g' avahi-daemon/avahi-dbus.conf
- patch -p0 < ../avahi-daemon-dbus.patch
+ patch -Np0 -i "${srcdir}/avahi-daemon-dbus.patch"
+ patch -Np1 -i "${srcdir}/introspection.patch"
./configure \
--prefix=/usr \
Added: introspection.patch
===================================================================
--- introspection.patch (rev 0)
+++ introspection.patch 2010-09-29 17:34:26 UTC (rev 92405)
@@ -0,0 +1,17 @@
+--- avahi-0.6.27/avahi-gobject/AvahiCore-0.6.gir 2010-06-27 02:38:43.018291433 +0200
++++ avahi-0.6.27-introspection/avahi-gobject/AvahiCore-0.6.gir 2010-09-29 19:08:53.503339092 +0200
+@@ -1,10 +1,12 @@
+ <?xml version="1.0"?>
+-<repository version="1.0"
++<repository version="1.2"
+ xmlns="http://www.gtk.org/introspection/core/1.0"
+ xmlns:c="http://www.gtk.org/introspection/c/1.0"
+ xmlns:glib="http://www.gtk.org/introspection/glib/1.0">
+ <namespace name="AvahiCore" version="0.6" shared-library="avahi-core">
+- <alias name="IfIndex" target="int" c:type="AvahiIfIndex"/>
++ <alias name="IfIndex" target="int">
++ <type name="AvahiIfIndex" c:type="AvahiIfIndex"/>
++ </alias>
+ <enumeration name="Protocol" c:type="AvahiProtocol">
+ <member name="inet"
+ value="0"
More information about the arch-commits
mailing list