Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Dec 2018 13:25:00 +0000 (UTC)
From:      Rene Ladan <rene@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r488782 - head/graphics/gnash
Message-ID:  <201812311325.wBVDP0br042123@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rene
Date: Mon Dec 31 13:24:59 2018
New Revision: 488782
URL: https://svnweb.freebsd.org/changeset/ports/488782

Log:
  graphics/gnash: cleanup after r488774
  
  GTK2 is compulsory so make it non-optional and remove related processing code.
  
  Submitted by:	jbeich

Modified:
  head/graphics/gnash/Makefile
  head/graphics/gnash/pkg-plist

Modified: head/graphics/gnash/Makefile
==============================================================================
--- head/graphics/gnash/Makefile	Mon Dec 31 13:12:30 2018	(r488781)
+++ head/graphics/gnash/Makefile	Mon Dec 31 13:24:59 2018	(r488782)
@@ -31,7 +31,7 @@ USES=		autoreconf compiler:c++11-lang cpe desktop-file
 CPE_VENDOR=	gnu
 GNU_CONFIGURE=	yes
 WANT_GSTREAMER=	yes
-USE_GNOME=	libxml2
+USE_GNOME=	atk gconf2 gtk20 libxml2 pango
 USE_XORG=	x11 xau xdmcp xext xi xinerama ice sm xv
 USE_GL=		egl
 INSTALLS_ICONS=	yes
@@ -45,6 +45,7 @@ CONFIGURE_ARGS=	--with-boost-incl="${LOCALBASE}/includ
 		--with-boost-lib="${LOCALBASE}/lib" \
 		--with-plugins-install=prefix \
 		--sysconfdir="${SYSCONFIGDIR}" \
+		--enable-gui=gtk \
 		--disable-testsuite \
 		--disable-kparts3 \
 		--disable-jemalloc
@@ -57,11 +58,11 @@ PLIST_SUB+=	GNASHVER="${GNASHVER}"
 
 USE_LDCONFIG=	${PREFIX}/lib/gnash
 
-OPTIONS_DEFINE=	CYGNAL VAAPI DOCS NLS GTK2
+OPTIONS_DEFINE=	CYGNAL VAAPI DOCS NLS
 OPTIONS_SINGLE=	MEDIA RENDERER
 OPTIONS_SINGLE_MEDIA=	FFMPEG GSTREAMER
 OPTIONS_SINGLE_RENDERER=AGG OPENGL CAIRO
-OPTIONS_DEFAULT=GTK2 AGG FFMPEG VAAPI
+OPTIONS_DEFAULT=AGG FFMPEG VAAPI
 
 NO_OPTIONS_SORT=yes
 OPTIONS_SUB=	yes
@@ -91,27 +92,9 @@ CONFIGURE_ARGS+=	--disable-nls
 PLIST_SUB+=	NLS="@comment "
 .endif
 
-CONFIGURE_ARGS+=	--disable-npapi
+CONFIGURE_ARGS+=	--disable-npapi --disable-kparts4
 
-CONFIGURE_ARGS+=	--disable-kparts4
-
 #
-# GUI options processing
-#
-GNASH_GUIS=
-
-.if ${PORT_OPTIONS:MGTK2}
-USE_GNOME+=	gtk20 pango atk gconf2
-GNASH_GUIS+=	gtk
-.endif
-
-.if ${GNASH_GUIS} == ""
-IGNORE=		needs at least one GUI enabled. Please rerun 'make config' and enable GTK
-.endif
-
-CONFIGURE_ARGS+=--enable-gui=`${ECHO} ${GNASH_GUIS} | ${TR} ' ' ,`
-
-#
 # Renderer options processing
 #
 GNASH_RENDERERS=
@@ -124,9 +107,7 @@ GNASH_RENDERERS+=	agg
 .if ${PORT_OPTIONS:MOPENGL}
 IGNORE=		support for OpenGL is currently broken, use option AGG
 GNASH_RENDERERS+=	ogl
-.if ${PORT_OPTIONS:MGTK2}
 LIB_DEPENDS+=		libgdkglext-x11-1.0.so:x11-toolkits/gtkglext
-.endif
 .endif
 
 .if ${PORT_OPTIONS:MCAIRO}

Modified: head/graphics/gnash/pkg-plist
==============================================================================
--- head/graphics/gnash/pkg-plist	Mon Dec 31 13:12:30 2018	(r488781)
+++ head/graphics/gnash/pkg-plist	Mon Dec 31 13:24:59 2018	(r488782)
@@ -1,7 +1,7 @@
 bin/eglinfo-gnash
 bin/gnash
-%%GTK2%%bin/gnash-gtk-launcher
-%%GTK2%%bin/gtk-gnash
+bin/gnash-gtk-launcher
+bin/gtk-gnash
 bin/gprocessor
 bin/rtmpget
 %%GSTREAMER%%bin/findmicrophones
@@ -199,7 +199,7 @@ lib/gnash/libgnashsound.so
 %%VAAPI%%lib/gnash/libgnashvaapi-%%GNASHVER%%.so
 %%VAAPI%%lib/gnash/libgnashvaapi.so
 libdata/pkgconfig/gnash.pc
-%%GTK2%%share/applications/gnash.desktop
+share/applications/gnash.desktop
 man/man1/cygnal.1.gz
 man/man1/findmicrophones.1.gz
 man/man1/findwebcams.1.gz
@@ -208,15 +208,15 @@ man/man1/gnash.1.gz
 man/man1/gprocessor.1.gz
 man/man1/rtmpget.1.gz
 man/man1/soldumper.1.gz
-%%GTK2%%man/man1/gnash-gtk-launcher.1.gz
-%%GTK2%%man/man1/gtk-gnash.1.gz
+man/man1/gnash-gtk-launcher.1.gz
+man/man1/gtk-gnash.1.gz
 %%DATADIR%%/GnashG.png
 %%DATADIR%%/gnash-splash.swf
 %%DATADIR%%/gnash_128_96.ico
 %%PORTDOCS%%%%DOCSDIR%%/gnashref.html
 %%PORTDOCS%%%%DOCSDIR%%/gnashuser.html
 %%PORTDOCS%%%%DOCSDIR%%/images/rtmp.png
-%%GTK2%%share/icons/hicolor/32x32/apps/gnash.xpm
+share/icons/hicolor/32x32/apps/gnash.xpm
 share/locale/cs/LC_MESSAGES/gnash.mo
 share/locale/da/LC_MESSAGES/gnash.mo
 share/locale/de/LC_MESSAGES/gnash.mo



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