From owner-svn-ports-head@FreeBSD.ORG Thu Feb 6 07:53:44 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 193133F8; Thu, 6 Feb 2014 07:53:44 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 01BA211A1; Thu, 6 Feb 2014 07:53:44 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s167rh89003424; Thu, 6 Feb 2014 07:53:43 GMT (envelope-from kwm@svn.freebsd.org) Received: (from kwm@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s167rh1R003421; Thu, 6 Feb 2014 07:53:43 GMT (envelope-from kwm@svn.freebsd.org) Message-Id: <201402060753.s167rh1R003421@svn.freebsd.org> From: Koop Mast Date: Thu, 6 Feb 2014 07:53:43 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r342948 - in head/sysutils/hal: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Feb 2014 07:53:44 -0000 Author: kwm Date: Thu Feb 6 07:53:43 2014 New Revision: 342948 URL: http://svnweb.freebsd.org/changeset/ports/342948 QAT: https://qat.redports.org/buildarchive/r342948/ Log: Switch to USES=libtool, stagify, use option helpers. Fix shebang of a number of script, which need bash to run. Ignore the wsp (Apple trackpad) driver [1] Submitted by: Hans Selasky [1] Modified: head/sysutils/hal/Makefile head/sysutils/hal/files/patch-hald_freebsd_hf-usb2.c head/sysutils/hal/pkg-plist Modified: head/sysutils/hal/Makefile ============================================================================== --- head/sysutils/hal/Makefile Thu Feb 6 07:53:27 2014 (r342947) +++ head/sysutils/hal/Makefile Thu Feb 6 07:53:43 2014 (r342948) @@ -4,7 +4,7 @@ PORTNAME= hal DISTVERSION= 0.5.14 -PORTREVISION= 22 +PORTREVISION= 23 CATEGORIES= sysutils MASTER_SITES= http://hal.freedesktop.org/releases/ @@ -16,11 +16,12 @@ BUILD_DEPENDS= ${LOCALBASE}/include/linu LIB_DEPENDS= libpolkit.so.2:${PORTSDIR}/sysutils/policykit \ libvolume_id.so:${PORTSDIR}/devel/libvolume_id \ libck-connector.so:${PORTSDIR}/sysutils/consolekit -RUN_DEPENDS= ${LOCALBASE}/share/pciids/pci.ids:${PORTSDIR}/misc/pciids +RUN_DEPENDS= ${LOCALBASE}/share/pciids/pci.ids:${PORTSDIR}/misc/pciids \ + bash:${PORTSDIR}/shells/bash -USES= pathfix gettext gmake pkgconfig -USE_GNOME= intlhack ltverhack -USE_AUTOTOOLS= libtool +USES= pathfix gettext gmake libtool pkgconfig shebangfix +USE_GNOME= intlhack +GNU_CONFIGURE= yes USE_LDCONFIG= yes USE_PYTHON= yes CONFIGURE_ARGS= --disable-gtk-doc \ @@ -43,6 +44,7 @@ CONFIGURE_ARGS= --disable-gtk-doc \ CONFIGURE_ENV= GTKDOC="false" CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib +SHEBANG_FILES= tools/hal-* #HALVERSION= 0.5.10 #SNAPVERSION= 20080218 @@ -61,21 +63,11 @@ PLIST_FILES= ${PRIV_FILES:S|^|%%DATADIR% SUB_FILES= pkg-install pkg-deinstall SUB_LIST= RC_FILES="${RC_FILES}" -MAN1= hal-disable-polling.1 hal-find-by-capability.1 \ - hal-find-by-property.1 hal-get-property.1 \ - hal-is-caller-locked-out.1 hal-is-caller-privileged.1 \ - hal-lock.1 hal-set-property.1 lshal.1 -MAN8= hald.8 +INSTALL_TARGET= install-strip OPTIONS_DEFINE= FIXED_MOUNTPOINTS FIXED_MOUNTPOINTS_DESC= use fixed mountpoints - -NO_STAGE= yes -.include - -.if ${PORT_OPTIONS:MFIXED_MOUNTPOINTS} -EXTRA_PATCHES+= ${FILESDIR}/extra-patch-tools_hal-storage-mount.c -.endif +FIXED_MOUNTPOINTS_EXTRA_PATCHES= ${FILESDIR}/extra-patch-tools_hal-storage-mount.c .include @@ -102,23 +94,20 @@ post-patch: < ${FILESDIR}/README.fuse > ${WRKDIR}/README.fuse post-install: - ${MKDIR} ${DATADIR}/dist - ${INSTALL_DATA} ${WRKSRC}/hal.conf ${DATADIR}/dist - ${MKDIR} ${PREFIX}/share/hal/fdi/policy/10osvendor + @${MKDIR} ${STAGEDIR}${DATADIR}/dist + ${INSTALL_DATA} ${WRKSRC}/hal.conf ${STAGEDIR}${DATADIR}/dist + @${MKDIR} ${STAGEDIR}${PREFIX}/share/hal/fdi/policy/10osvendor ${INSTALL_DATA} ${FILESDIR}/10-mouse-sysmouse.fdi \ - ${PREFIX}/share/hal/fdi/policy/10osvendor + ${STAGEDIR}${PREFIX}/share/hal/fdi/policy/10osvendor ${INSTALL_SCRIPT} ${FILESDIR}/mount-fuse \ - ${PREFIX}/share/hal/mount-fuse -.if !defined(PACKAGE_BUILDING) - @${SETENV} PKG_PREFIX=${PREFIX} \ - ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL -.endif + ${STAGEDIR}${PREFIX}/share/hal/mount-fuse .if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/hald/freebsd/README \ - ${DOCSDIR}/README.freebsd + ${STAGEDIR}${DOCSDIR}/README.freebsd ${INSTALL_DATA} ${WRKDIR}/README.fuse \ - ${DOCSDIR}/README.fuse + ${STAGEDIR}${DOCSDIR}/README.fuse .endif + @${MKDIR} ${STAGEDIR}/var/lib/hal .include Modified: head/sysutils/hal/files/patch-hald_freebsd_hf-usb2.c ============================================================================== --- head/sysutils/hal/files/patch-hald_freebsd_hf-usb2.c Thu Feb 6 07:53:27 2014 (r342947) +++ head/sysutils/hal/files/patch-hald_freebsd_hf-usb2.c Thu Feb 6 07:53:43 2014 (r342948) @@ -1,5 +1,5 @@ ---- ./hald/freebsd/hf-usb2.c.orig 2009-08-24 14:42:29.000000000 +0200 -+++ ./hald/freebsd/hf-usb2.c 2013-10-23 13:10:36.639758556 +0200 +--- hald/freebsd/hf-usb2.c.orig 2009-08-24 14:42:29.000000000 +0200 ++++ hald/freebsd/hf-usb2.c 2014-02-06 08:22:11.000000000 +0100 @@ -22,7 +22,7 @@ **************************************************************************/ @@ -61,7 +61,7 @@ + if (driver) { + if (!strcmp(driver, "ukbd")) + hf_device_set_input(device, "keyboard", "keys", NULL); -+ else if (!strcmp(driver, "ums") || !strcmp(driver, "atp")) { ++ else if (!strcmp(driver, "ums") || !strcmp(driver, "atp") || !strcmp(driver, "wsp")) { + hf_device_set_input(device, "mouse", NULL, devname); + hf_runner_run_sync(device, 0, "hald-probe-mouse", NULL); + } else if (!strcmp(driver, "uhid")) { Modified: head/sysutils/hal/pkg-plist ============================================================================== --- head/sysutils/hal/pkg-plist Thu Feb 6 07:53:27 2014 (r342947) +++ head/sysutils/hal/pkg-plist Thu Feb 6 07:53:43 2014 (r342948) @@ -18,10 +18,12 @@ lib/libhal-storage.a lib/libhal-storage.la lib/libhal-storage.so lib/libhal-storage.so.1 +lib/libhal-storage.so.1.0.0 lib/libhal.a lib/libhal.la lib/libhal.so lib/libhal.so.1 +lib/libhal.so.1.0.0 libdata/pkgconfig/hal-storage.pc libdata/pkgconfig/hal.pc libexec/hal-storage-cleanup-all-mountpoints @@ -69,6 +71,16 @@ libexec/hald-probe-storage %%USB2%%libexec/hald-probe-video4linux libexec/hald-probe-volume libexec/hald-runner +man/man1/hal-disable-polling.1.gz +man/man1/hal-find-by-capability.1.gz +man/man1/hal-find-by-property.1.gz +man/man1/hal-get-property.1.gz +man/man1/hal-is-caller-locked-out.1.gz +man/man1/hal-is-caller-privileged.1.gz +man/man1/hal-lock.1.gz +man/man1/hal-set-property.1.gz +man/man1/lshal.1.gz +man/man8/hald.8.gz sbin/hald share/PolicyKit/policy/org.freedesktop.hal.dockstation.policy share/PolicyKit/policy/org.freedesktop.hal.killswitch.policy @@ -111,7 +123,7 @@ share/PolicyKit/policy/org.freedesktop.h @dirrm %%DATADIR%%/fdi @dirrm %%DATADIR%%/dist @dirrm %%DATADIR%% -@dirrm %%DOCSDIR%% +%%PORTDOCS%%@dirrm %%DOCSDIR%% @dirrmtry share/PolicyKit/policy @dirrmtry share/PolicyKit @dirrm libexec/hal/scripts/freebsd