From owner-svn-ports-head@FreeBSD.ORG Wed Apr 9 10:29:50 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 4378F793; Wed, 9 Apr 2014 10:29:50 +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 2D9B51287; Wed, 9 Apr 2014 10:29:50 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s39ATo13070716; Wed, 9 Apr 2014 10:29:50 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s39ATmLM070705; Wed, 9 Apr 2014 10:29:48 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201404091029.s39ATmLM070705@svn.freebsd.org> From: Baptiste Daroussin Date: Wed, 9 Apr 2014 10:29:48 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r350678 - in head: editors/morla java/icedtea-web science/gchemutils www/gecko-mediaplayer x11-toolkits/swt x11-toolkits/swt-devel 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: Wed, 09 Apr 2014 10:29:50 -0000 Author: bapt Date: Wed Apr 9 10:29:48 2014 New Revision: 350678 URL: http://svnweb.freebsd.org/changeset/ports/350678 QAT: https://qat.redports.org/buildarchive/r350678/ Log: Convert from USE_GECKO to USES=gecko While here stagify what was not staged yet Convert to USES=webplugin where needed and add desktop-file-utils dependency to icedtea-web Modified: head/editors/morla/Makefile head/editors/morla/pkg-plist head/java/icedtea-web/Makefile head/science/gchemutils/Makefile head/www/gecko-mediaplayer/Makefile head/www/gecko-mediaplayer/pkg-plist head/x11-toolkits/swt-devel/Makefile head/x11-toolkits/swt/Makefile Modified: head/editors/morla/Makefile ============================================================================== --- head/editors/morla/Makefile Wed Apr 9 10:28:23 2014 (r350677) +++ head/editors/morla/Makefile Wed Apr 9 10:29:48 2014 (r350678) @@ -9,12 +9,12 @@ MASTER_SITES= http://www.morlardf.net/sr http://nivi.interfree.it/distfiles/${PORTNAME}/${PORTVERSION}/ MAINTAINER= nivit@FreeBSD.org -COMMENT= A RDF editor +COMMENT= RDF editor -LIB_DEPENDS= nxml.18:${PORTSDIR}/textproc/libnxml \ - rdf.0:${PORTSDIR}/textproc/redland \ - raptor2.0:${PORTSDIR}/textproc/raptor2 \ - curl:${PORTSDIR}/ftp/curl +LIB_DEPENDS= libnxml.so:${PORTSDIR}/textproc/libnxml \ + librdf.so:${PORTSDIR}/textproc/redland \ + libraptor2.so:${PORTSDIR}/textproc/raptor2 \ + libcurl.so:${PORTSDIR}/ftp/curl BUILD_DEPENDS= dot:${PORTSDIR}/graphics/graphviz RUN_DEPENDS= dot:${PORTSDIR}/graphics/graphviz @@ -29,8 +29,6 @@ USES= gettext pkgconfig USE_GNOME= gconf2 libgtkhtml libxslt USE_LDCONFIG= ${PREFIX}/lib/${PORTNAME} -MAN1= morla.1 - DESKTOP_ENTRIES="morla" \ "Edit RDF documents" \ "${DATADIR}/icons/128_color.png" \ @@ -38,18 +36,12 @@ DESKTOP_ENTRIES="morla" \ "WebDevelopment;" \ true -NO_STAGE= yes +XULRUNNER_USES= gecko +XULRUNNER_CONFIGURE_ON= --with-javascript=xulrunner +XULRUNNER_CONFIGURE_OFF= --with-javascript=none + post-patch: @${REINPLACE_CMD} -e 's|-D.*_DISABLE_DEPRECATED||g' \ ${WRKSRC}/configure -.include - -.if ${PORT_OPTIONS:MXULRUNNER} -USE_GECKO= libxul -CONFIGURE_ARGS+= --with-javascript=xulrunner -.else -CONFIGURE_ARGS+= --with-javascript=none -.endif - .include Modified: head/editors/morla/pkg-plist ============================================================================== --- head/editors/morla/pkg-plist Wed Apr 9 10:28:23 2014 (r350677) +++ head/editors/morla/pkg-plist Wed Apr 9 10:29:48 2014 (r350678) @@ -4,7 +4,7 @@ lib/morla/index.xml lib/morla/libmorla_test.a lib/morla/libmorla_test.la lib/morla/libmorla_test.so -libdata/ldconfig/morla +man/man1/morla.1.gz share/locale/it/LC_MESSAGES/morla.mo %%DATADIR%%/bootsplash.png %%DATADIR%%/icons/128_BN.png Modified: head/java/icedtea-web/Makefile ============================================================================== --- head/java/icedtea-web/Makefile Wed Apr 9 10:28:23 2014 (r350677) +++ head/java/icedtea-web/Makefile Wed Apr 9 10:29:48 2014 (r350678) @@ -2,7 +2,7 @@ PORTNAME= icedtea-web PORTVERSION= 1.4.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= java www MASTER_SITES= http://icedtea.wildebeest.org/download/source/ \ http://icedtea.classpath.org/download/source/ @@ -23,7 +23,7 @@ JAVA_VENDOR= openjdk JAVA_VERSION= 1.6+ USE_PERL5= build USE_XORG= x11 -USES= gmake perl5 pkgconfig shebangfix +USES= gmake perl5 pkgconfig shebangfix desktop-file-utils SHEBANG_FILES= javac.in jrunscript.in WANT_GNOME= yes @@ -57,9 +57,8 @@ CONFIGURE_ARGS+=--disable-docs .endif .if ${PORT_OPTIONS:MPLUGIN} -USE_GECKO= libxul USE_GNOME= glib20 -USES+= webplugin:native +USES+= webplugin:native gecko WEBPLUGIN_DIR= ${PREFIX}/lib WEBPLUGIN_FILES=IcedTeaPlugin.so Modified: head/science/gchemutils/Makefile ============================================================================== --- head/science/gchemutils/Makefile Wed Apr 9 10:28:23 2014 (r350677) +++ head/science/gchemutils/Makefile Wed Apr 9 10:29:48 2014 (r350678) @@ -21,11 +21,10 @@ RUN_DEPENDS= ${LOCALBASE}/libdata/pkgcon PORTSCOUT= limitw:1,even -USE_XZ= yes USE_XORG= x11 USE_GNOME= gnomedocutils gtk30 intlhack libgsf libxml2 USES= desktop-file-utils gettext gmake libtool pathfix pkgconfig \ - shared-mime-info + shared-mime-info tar:xz USE_LDCONFIG= yes GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include @@ -42,20 +41,16 @@ VER= ${PORTVERSION:R} PLIST_SUB= VER=${VER} GOFFICE=0.10 VERSION=${PORTVERSION} OPTIONS_DEFINE= GNUMERIC XUL +OPTIONS_SUB= yes GNUMERIC_DESC= Build gnumeric plugin XUL_DESC= Build browser plugin (requires libxul) -.include - -.if ${PORT_OPTIONS:MXUL} -USE_GECKO= libxul -CONFIGURE_ARGS+=--enable-mozilla-plugin \ +XUL_USES= gecko +XUL_CONFIGURE_ON=--enable-mozilla-plugin \ --with-mozilla-libdir=${PREFIX}/lib/xulrunner -PLIST_SUB+= XUL="" -.else -CONFIGURE_ARGS+=--disable-mozilla-plugin -PLIST_SUB+= XUL="@comment " -.endif +XUL_CONFIGURE_OFF=--disable-mozilla-plugin + +.include .if ${PORT_OPTIONS:MGNUMERIC} || exists(${LOCALBASE}/lib/libspreadsheet.so) LIB_DEPENDS+= libspreadsheet.so:${PORTSDIR}/math/gnumeric Modified: head/www/gecko-mediaplayer/Makefile ============================================================================== --- head/www/gecko-mediaplayer/Makefile Wed Apr 9 10:28:23 2014 (r350677) +++ head/www/gecko-mediaplayer/Makefile Wed Apr 9 10:29:48 2014 (r350678) @@ -23,23 +23,20 @@ OPTIONS_DEFAULT=CACHE CACHE_DESC= Enable caching of remote media to local storage GNU_CONFIGURE= yes -USES= compiler:c++11-lang pkgconfig +USES= compiler:c++11-lang pkgconfig gecko webplugin:native USE_GNOME= glib20 -USE_GECKO= libxul -USE_WEBPLUGINS= native -WEBPLUGINS_FILES= ${PORTNAME}.so +WEBPLUGIN_FILES= ${PORTNAME}.so .for p in dvx rm qt wmp -WEBPLUGINS_FILES+= ${PORTNAME}-${p}.so +WEBPLUGIN_FILES+= ${PORTNAME}-${p}.so .endfor CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -CONFIGURE_ARGS+=--with-plugin_dir="${WEBPLUGINS_DIR}" +CONFIGURE_ARGS+=--with-plugin_dir="${WEBPLUGIN_DIR}" PORTDOCS= README COPYING AUTHORS ChangeLog INSTALL NEWS javascript.txt -NO_STAGE= yes .include .if ${PORT_OPTIONS:MCACHE} @@ -70,5 +67,4 @@ post-patch: ${WRKSRC}/configure .endif -.include "${PORTSDIR}/www/firefox/Makefile.webplugins" .include Modified: head/www/gecko-mediaplayer/pkg-plist ============================================================================== --- head/www/gecko-mediaplayer/pkg-plist Wed Apr 9 10:28:23 2014 (r350677) +++ head/www/gecko-mediaplayer/pkg-plist Wed Apr 9 10:29:48 2014 (r350678) @@ -1,8 +1,8 @@ -%%WEBPLUGINS_DIR%%/gecko-mediaplayer-dvx.so -%%WEBPLUGINS_DIR%%/gecko-mediaplayer-qt.so -%%WEBPLUGINS_DIR%%/gecko-mediaplayer-rm.so -%%WEBPLUGINS_DIR%%/gecko-mediaplayer-wmp.so -%%WEBPLUGINS_DIR%%/gecko-mediaplayer.so +%%WEBPLUGIN_DIR%%/gecko-mediaplayer-dvx.so +%%WEBPLUGIN_DIR%%/gecko-mediaplayer-qt.so +%%WEBPLUGIN_DIR%%/gecko-mediaplayer-rm.so +%%WEBPLUGIN_DIR%%/gecko-mediaplayer-wmp.so +%%WEBPLUGIN_DIR%%/gecko-mediaplayer.so %%NLS%%share/locale/cs/LC_MESSAGES/gecko-mediaplayer.mo %%NLS%%share/locale/de/LC_MESSAGES/gecko-mediaplayer.mo %%NLS%%share/locale/es/LC_MESSAGES/gecko-mediaplayer.mo @@ -14,4 +14,4 @@ %%NLS%%share/locale/pt/LC_MESSAGES/gecko-mediaplayer.mo %%NLS%%share/locale/pt_BR/LC_MESSAGES/gecko-mediaplayer.mo %%NLS%%share/locale/tr/LC_MESSAGES/gecko-mediaplayer.mo -@dirrmtry %%WEBPLUGINS_DIR%% +@dirrmtry %%WEBPLUGIN_DIR%% Modified: head/x11-toolkits/swt-devel/Makefile ============================================================================== --- head/x11-toolkits/swt-devel/Makefile Wed Apr 9 10:28:23 2014 (r350677) +++ head/x11-toolkits/swt-devel/Makefile Wed Apr 9 10:29:48 2014 (r350678) @@ -45,7 +45,6 @@ MOZILLA_DESC= Gecko browser support OPTIONS_DEFAULT=CAIRO GNOMEVFS -NO_STAGE= yes .include .if ${PORT_OPTIONS:MCAIRO} @@ -61,7 +60,7 @@ MAKE_GNOME= make_gnome .endif .if ${PORT_OPTIONS:MMOZILLA} -USE_GECKO= libxul +USES= gecko BROKEN= Does now work with newer libxul PLIST_FILES+= lib/libswt-xulrunner-gtk-%%BUILD%%.so MAKE_MOZILLA= make_xulrunner @@ -96,8 +95,8 @@ post-patch: ${FILESDIR}/build.xml > ${WRKSRC}/build.xml do-install: - ${MKDIR} ${JAVAJARDIR} - ${INSTALL_DATA} ${WRKSRC}/libswt-*.so ${PREFIX}/lib - ${INSTALL_DATA} ${WRKSRC}/${OUTPUT_JAR} ${JAVAJARDIR}/ + @${MKDIR} ${STAGEDIR}${JAVAJARDIR} + ${INSTALL_LIB} ${WRKSRC}/libswt-*.so ${STAGEDIR}${PREFIX}/lib + ${INSTALL_DATA} ${WRKSRC}/${OUTPUT_JAR} ${STAGEDIR}${JAVAJARDIR}/ .include Modified: head/x11-toolkits/swt/Makefile ============================================================================== --- head/x11-toolkits/swt/Makefile Wed Apr 9 10:28:23 2014 (r350677) +++ head/x11-toolkits/swt/Makefile Wed Apr 9 10:29:48 2014 (r350678) @@ -47,11 +47,10 @@ OPTIONS_DEFAULT= CAIRO GNOMEVFS GNOMEVFS_DESC= Gnome VFS Support BROWSER_DESC= Gecko Browser Support -NO_STAGE= yes .include .if ${PORT_OPTIONS:MCAIRO} -LIB_DEPENDS+= cairo.2:${PORTSDIR}/graphics/cairo +LIB_DEPENDS+= libcairo.so:${PORTSDIR}/graphics/cairo PLIST_FILES+= lib/libswt-cairo-gtk-%%BUILD%%.so MAKE_CAIRO= make_cairo .endif @@ -63,7 +62,7 @@ MAKE_GNOME= make_gnome .endif .if ${PORT_OPTIONS:MBROWSER} -USE_GECKO= libxul +USES= gecko BROKEN= Does not build with newer libxul PLIST_FILES+= lib/libswt-xulrunner-gtk-%%BUILD%%.so MAKE_MOZILLA= make_xulrunner @@ -85,8 +84,8 @@ post-extract: @${RM} -f ${WRKSRC}/*.o ${WRKSRC}/*.so ${WRKSRC}/*.jar do-install: - ${MKDIR} ${JAVAJARDIR} - ${INSTALL_DATA} ${WRKSRC}/libswt-*.so ${PREFIX}/lib - ${INSTALL_DATA} ${WRKSRC}/${OUTPUT_JAR} ${JAVAJARDIR}/ + @${MKDIR} ${STAGEDIR}${JAVAJARDIR} + ${INSTALL_LIB} ${WRKSRC}/libswt-*.so ${STAGEDIR}${PREFIX}/lib + ${INSTALL_DATA} ${WRKSRC}/${OUTPUT_JAR} ${STAGEDIR}${JAVAJARDIR}/ .include