Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Apr 2014 10:29:48 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
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
Message-ID:  <201404091029.s39ATmLM070705@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MXULRUNNER}
-USE_GECKO=	libxul
-CONFIGURE_ARGS+=	--with-javascript=xulrunner
-.else
-CONFIGURE_ARGS+=	--with-javascript=none
-.endif
-
 .include <bsd.port.mk>

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 <bsd.port.options.mk>
-
-.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 <bsd.port.options.mk>
 
 .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 <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MCACHE}
@@ -70,5 +67,4 @@ post-patch:
 	    ${WRKSRC}/configure
 .endif
 
-.include "${PORTSDIR}/www/firefox/Makefile.webplugins"
 .include <bsd.port.mk>

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 <bsd.port.options.mk>
 
 .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 <bsd.port.post.mk>

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 <bsd.port.options.mk>
 
 .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 <bsd.port.mk>



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