From owner-svn-ports-head@FreeBSD.ORG Tue Apr 22 08:13:53 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 A867172E; Tue, 22 Apr 2014 08:13:53 +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)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 86C3E148F; Tue, 22 Apr 2014 08:13:53 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s3M8DrjA008594; Tue, 22 Apr 2014 08:13:53 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s3M8Drxv008592; Tue, 22 Apr 2014 08:13:53 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201404220813.s3M8Drxv008592@svn.freebsd.org> From: Baptiste Daroussin Date: Tue, 22 Apr 2014 08:13:53 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r351766 - head/x11-wm/compiz 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: Tue, 22 Apr 2014 08:13:53 -0000 Author: bapt Date: Tue Apr 22 08:13:52 2014 New Revision: 351766 URL: http://svnweb.freebsd.org/changeset/ports/351766 QAT: https://qat.redports.org/buildarchive/r351766/ Log: Support stage Cleanup a bit (this ports deserves either more love or death) Modified: head/x11-wm/compiz/Makefile head/x11-wm/compiz/pkg-plist Modified: head/x11-wm/compiz/Makefile ============================================================================== --- head/x11-wm/compiz/Makefile Tue Apr 22 08:08:28 2014 (r351765) +++ head/x11-wm/compiz/Makefile Tue Apr 22 08:13:52 2014 (r351766) @@ -9,20 +9,20 @@ MASTER_SITES= http://releases.compiz.org MAINTAINER= ports@FreeBSD.org COMMENT= Compiz Composite/Window Manager -LIB_DEPENDS= png15:${PORTSDIR}/graphics/png \ - gtop-2.0.7:${PORTSDIR}/devel/libgtop \ - startup-notification-1.0:${PORTSDIR}/x11/startup-notification +LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png \ + libgtop-2.0.so:${PORTSDIR}/devel/libgtop \ + libstartup-notification-1.so:${PORTSDIR}/x11/startup-notification RUN_DEPENDS= glxinfo:${PORTSDIR}/graphics/mesa-demos \ nvidia-settings:${PORTSDIR}/x11/nvidia-settings XORG_CAT= app GNU_CONFIGURE= yes -USES= gettext pathfix gmake tar:bzip2 +INSTALL_TARGET= install-strip +USES= gettext pathfix gmake libtool tar:bzip2 USE_GL= glu USE_GNOME= gconf2 libxslt USE_XORG= xcomposite xfixes xdamage xrandr xrender ice sm xinerama glproto USE_LDCONFIG= yes -USE_AUTOTOOLS= libtool GCONF_SCHEMAS= gwd.schemas \ compiz-annotate.schemas \ @@ -58,7 +58,7 @@ GCONF_SCHEMAS= gwd.schemas \ compiz-wobbly.schemas \ compiz-zoom.schemas -CONFIGURE_ARGS= --disable-kde4 +CONFIGURE_ARGS= --disable-kde4 --disable-kde3 LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS} OPTIONS_DEFINE= SVG GTK2 METACITY GNOME DBUS FUSE @@ -74,32 +74,17 @@ DESKTOP_ENTRIES= "Compiz Manager" \ "System;Core;" \ false -NO_STAGE= yes -post-patch: - @${REINPLACE_CMD} -e 's|libpng|libpng15|' -e 's|gnome-desktop-2.0|gnome-desktop-2.0 gconf-2.0|g' \ - ${WRKSRC}/configure +OPTIONS_SUB= yes +SVG_CONFIGURE_ENABLE= librsvg +SVG_USE= GNOME=librsvg2 -post-install: - ${INSTALL_SCRIPT} ${WRKDIR}/compiz-manager ${PREFIX}/bin/compiz-manager -.include +GTK2_CONFIGURE_ENABLE= gtk +GTK2_USE= glib20 libwnck -.if ${PORT_OPTIONS:MSVG} -CONFIGURE_ARGS+= --enable-librsvg -USE_GNOME+= librsvg2 -PLIST_SUB+= RSVG="" -.else -CONFIGURE_ARGS+= --disable-librsvg -PLIST_SUB+= RSVG="@comment " -.endif +FUSE_CONFIGURE_ENABLE= fuse +FUSE_USES= fuse -.if ${PORT_OPTIONS:MGTK2} -CONFIGURE_ARGS+= --enable-gtk -USE_GNOME+= glib20 libwnck -PLIST_SUB+= GTK2="" -.else -CONFIGURE_ARGS+= --disable-gtk -PLIST_SUB+= GTK2="@comment " -.endif +.include .if !empty(PORT_OPTIONS:MMETACITY) && !empty(PORT_OPTIONS:MGNOME) && !empty(PORT_OPTIONS:MGTK2) CONFIGURE_ARGS+= --enable-metacity @@ -134,22 +119,15 @@ CONFIGURE_ARGS+= --enable-dbus-glib BUILD_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/dbus-glib-1.pc:${PORTSDIR}/devel/dbus-glib RUN_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/dbus-glib-1.pc:${PORTSDIR}/devel/dbus-glib .endif -PLIST_SUB+= DBUS="" .else CONFIGURE_ARGS+= --disable-dbus --disable-dbus-glib -PLIST_SUB+= DBUS="@comment " .endif -.if ${PORT_OPTIONS:MFUSE} -CONFIGURE_ARGS+= --enable-fuse -USES+= fuse -PLIST_SUB+= FUSE="" -.else -CONFIGURE_ARGS+= --disable-fuse -PLIST_SUB+= FUSE="@comment " -.endif +post-patch: + @${REINPLACE_CMD} -e 's|libpng|libpng15|' -e 's|gnome-desktop-2.0|gnome-desktop-2.0 gconf-2.0|g' \ + ${WRKSRC}/configure -CONFIGURE_ARGS+= --disable-kde -PLIST_SUB+= KDE3="@comment " +post-install: + ${INSTALL_SCRIPT} ${WRKDIR}/compiz-manager ${STAGEDIR}${PREFIX}/bin/compiz-manager -.include +.include Modified: head/x11-wm/compiz/pkg-plist ============================================================================== --- head/x11-wm/compiz/pkg-plist Tue Apr 22 08:08:28 2014 (r351765) +++ head/x11-wm/compiz/pkg-plist Tue Apr 22 08:13:52 2014 (r351766) @@ -1,7 +1,6 @@ bin/compiz bin/compiz-manager %%GTK2%%bin/gtk-window-decorator -%%KDE3%%bin/kde-window-decorator include/compiz/compiz.h include/compiz/compiz-common.h include/compiz/compiz-core.h @@ -78,9 +77,9 @@ lib/compiz/libscale.so lib/compiz/libscreenshot.a lib/compiz/libscreenshot.la lib/compiz/libscreenshot.so -%%RSVG%%lib/compiz/libsvg.a -%%RSVG%%lib/compiz/libsvg.la -%%RSVG%%lib/compiz/libsvg.so +%%SVG%%lib/compiz/libsvg.a +%%SVG%%lib/compiz/libsvg.la +%%SVG%%lib/compiz/libsvg.so lib/compiz/libswitcher.a lib/compiz/libswitcher.la lib/compiz/libswitcher.so @@ -100,6 +99,7 @@ lib/libdecoration.a lib/libdecoration.la lib/libdecoration.so lib/libdecoration.so.0 +lib/libdecoration.so.0.0.0 libdata/pkgconfig/compiz-cube.pc libdata/pkgconfig/compiz-gconf.pc libdata/pkgconfig/compiz-scale.pc