Skip to content

Commit

Permalink
Prepare removal for libgnomeui
Browse files Browse the repository at this point in the history
Remove the GNOME option for all ports depending on libgnomeui
  • Loading branch information
bapt committed May 1, 2021
1 parent a96e4a9 commit c399c4d
Show file tree
Hide file tree
Showing 14 changed files with 42 additions and 227 deletions.
13 changes: 2 additions & 11 deletions astro/celestia/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

PORTNAME= celestia
PORTVERSION= 1.6.1
PORTREVISION= 11
PORTREVISION= 12
CATEGORIES= astro
MASTER_SITES= SF/${PORTNAME}/Celestia-source/${PORTVERSION}
PKGNAMESUFFIX= -${CELESTIA_UI}
Expand Down Expand Up @@ -37,9 +37,6 @@ CONFLICTS= ${UI_LIST:S|${CELESTIA_UI}||:S|^|celestia-|:S|$|-[0-9]*|}
# the default one);
# gtk Full interface with minimal dependencies: adds menu, configuration
# dialog, some other utilities;
# gnome Full GTK interface plus a few GNOME integration goodies, such as
# preference saving in GConf (this looks and works very much like
# the Windows interface).
#
.if ${CELESTIA_UI} == "glut"
CONFIGURE_ARGS+= --with-glut
Expand All @@ -50,17 +47,11 @@ CONFIGURE_ARGS+= --with-gtk
USES+= gnome
USE_GNOME+= gtk20
PLIST_FILES= share/applications/celestia.desktop
.elif ${CELESTIA_UI} == "gnome"
CATEGORIES+= gnome
CONFIGURE_ARGS+= --with-gnome
USE_GNOME+= libgnomeui
GCONF_SCHEMAS= celestia.schemas
PLIST_FILES= share/applications/celestia.desktop
.else
IGNORE= requires one of the <${UI_LIST}> values for CELESTIA_UI
.endif

.if ${CELESTIA_UI} == "gtk" || ${CELESTIA_UI} == "gnome"
.if ${CELESTIA_UI} == "gtk"
USES+= pathfix
LIB_DEPENDS+= libgtkglext-x11-1.0.so:x11-toolkits/gtkglext \
libtheora.so:multimedia/libtheora
Expand Down
11 changes: 4 additions & 7 deletions astro/nightfall/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

PORTNAME= nightfall
PORTVERSION= 1.92
PORTREVISION= 1
CATEGORIES= astro education
MASTER_SITES= http://www.la-samhna.de/nightfall/

Expand All @@ -16,17 +17,13 @@ USE_GNOME= cairo gdkpixbuf2 gtk20
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS= --with-locale-prefix=${PREFIX}/share/locale
CONFIGURE_ARGS= --with-locale-prefix=${PREFIX}/share/locale \
--disable-gome

OPTIONS_DEFINE= GNOME PGPLOT OPENGL
OPTIONS_DEFINE= PGPLOT OPENGL
OPTIONS_DEFAULT= PGPLOT OPENGL
OPTIONS_SUB= yes

GNOME_CONFIGURE_ON= --with-gnomedoc-prefix=${PREFIX}/share
GNOME_CONFIGURE_OFF= --disable-gnome
GNOME_USE= GNOME=gnomeprefix,libgnomeui
GNOME_VARS= INSTALLS_OMF=yes

OPENGL_CONFIGURE_ON= --with-lib-GL
OPENGL_CONFIGURE_OFF= --disable-opengl
OPENGL_LIB_DEPENDS= libgtkgl-2.0.so:x11-toolkits/gtkglarea2
Expand Down
27 changes: 7 additions & 20 deletions devel/distcc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -43,27 +43,20 @@ PLIST_FILES= ${_BIN_FILES:S|^|bin/|} \
${_SBIN_FILES:S|^|sbin/|} \
etc/default/distcc

OPTIONS_DEFINE= AVAHI CLANGLINK DOCS IPV6 LLVMLINK PUMP
OPTIONS_RADIO= GUI
OPTIONS_RADIO_GUI= GNOME GTK
OPTIONS_DEFINE= AVAHI CLANGLINK DOCS IPV6 LLVMLINK PUMP GUI

CLANGLINK_DESC= Create clang compiler links if clang is installed
GNOME_DESC= Monitor based on GNOME
GTK_DESC= Monitor based on GTK
GUI_DESC= Build GUI for distcc monitor
GUI_DESC= Build GUI distcc monitor
LLVMLINK_DESC= Create llvm compiler links if llvm is installed
PUMP_DESC= Distribute compilation as well as preprocessing to distcc servers

AVAHI_LIB_DEPENDS= libavahi-client.so:net/avahi-app
AVAHI_CONFIGURE_WITH= avahi
DOCS_PLIST_FILES+= ${_DOC_FILES:S|^|${DOCSDIR_REL}/|} \
${_README_FILES:S|^|${DOCSDIR_REL}/|}
GNOME_USES= gnome
GNOME_USE= GNOME=gtk20,libgnome,libgnomeui,pango
GNOME_CONFIGURE_WITH= gnome
GTK_USES= gnome
GTK_USE= GNOME=gtk20
GTK_CONFIGURE_WITH= gtk
GUI_USES= gnome
GUI_USE= GNOME=gtk20
GUI_CONFIGURE_WITH= gtk
IPV6_CONFIGURE_ENABLE= rfc2553
PUMP_USES= python:3.1+
PUMP_CONFIGURE_ENABLE= pump-mode
Expand Down Expand Up @@ -126,22 +119,16 @@ _DISTCC_COMPILERS+= llvm-c++ llvm-g++ llvm-gcc
.endif
_DISTCC_COMPILERS+= ${EXTRA_COMPILERS}

.if ${PORT_OPTIONS:MGNOME} || ${PORT_OPTIONS:MGTK}
.if ${PORT_OPTIONS:MGNOME}
PKGNAMESUFFIX= -gnome
.else
.if ${PORT_OPTIONS:MGTUI}
PKGNAMESUFFIX= -gtk
.endif
_BIN_FILES+= distccmon-gnome
PLIST_FILES+= ${DESKTOPDIR}/distccmon-gnome.desktop \
share/pixmaps/distccmon-gnome-icon.png
.endif

.if ${PORT_OPTIONS:MGNOME} || ${PORT_OPTIONS:MGTK}
post-patch:
post-patch-GUI-on:
${REINPLACE_CMD} -e 's|PKGDATADIR "|"${PREFIX}/share/pixmaps|' \
${WRKSRC}/src/mon-gnome.c
.endif

.if ${PORT_OPTIONS:MPUMP}
_BIN_FILES+= pump
Expand Down
11 changes: 2 additions & 9 deletions editors/vim/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

PORTNAME= vim
PORTVERSION= 8.2.2725
PORTREVISION= 1
DISTVERSIONPREFIX= v
CATEGORIES= editors

Expand Down Expand Up @@ -39,7 +40,7 @@ OPTIONS_DEFAULT= CSCOPE DEFAULT_VIMRC CTAGS_EXUBERANT GTK3 PERL PYTHON RUBY
OPTIONS_DEFINE= CSCOPE DEFAULT_VIMRC MAKE_JOBS NLS XTERM_SAVE
OPTIONS_SINGLE= CTAGS UI
OPTIONS_SINGLE_CTAGS= CTAGS_BASE CTAGS_EXUBERANT CTAGS_UNIVERSAL
OPTIONS_SINGLE_UI= ATHENA CONSOLE GNOME GTK2 GTK3 MOTIF X11
OPTIONS_SINGLE_UI= ATHENA CONSOLE GTK2 GTK3 MOTIF X11
OPTIONS_GROUP= LANGBIND
OPTIONS_GROUP_LANGBIND= LUA PERL PYTHON RUBY SCHEME TCL
OPTIONS_SUB= yes
Expand Down Expand Up @@ -95,14 +96,6 @@ CONSOLE_CONFIGURE_OFF= --enable-xim --enable-fontset
CONSOLE_PLIST_SUB= GUI="@comment " DESKTOP="@comment "
CONSOLE_VARS= GUI=no

GNOME_CONFIGURE_ENABLE= canberra
GNOME_LIB_DEPENDS= libcanberra.so:audio/libcanberra
GNOME_PLIST_SUB= GUI="" DESKTOP=""
GNOME_IMPLIES= NLS
GNOME_USE= GNOME=gdkpixbuf2,libgnomeui XORG=ice,sm,xorgproto,x11,xpm,xt
GNOME_USES= desktop-file-utils gnome xorg
GNOME_VARS= GUI=gnome2 INSTALLS_ICONS=yes

GTK2_PLIST_SUB= GUI="" DESKTOP=""
GTK2_USE= GNOME=gdkpixbuf2,gtk20 XORG=ice,sm,x11,xpm,xt
GTK2_USES= desktop-file-utils gnome xorg
Expand Down
14 changes: 4 additions & 10 deletions french/verbiste/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ LDFLAGS+= -L${LOCALBASE}/lib

TEST_TARGET= check

OPTIONS_DEFINE= GTK2 GNOME DOCS EXAMPLES
OPTIONS_DEFINE= GTK2 DOCS EXAMPLES

CONFIGURE_ARGS= --without-gnome-app --without-gnome-applet

.include <bsd.port.options.mk>

Expand All @@ -37,15 +39,7 @@ CONFIGURE_ARGS+=--without-gtk-app
PLIST_SUB+= HASGTK="@comment "
.endif

.if ${PORT_OPTIONS:MGNOME}
USE_GNOME+= gnomeprefix libgnomeui
PLIST_SUB+= HASGNOME=""
.else
CONFIGURE_ARGS+=--without-gnome-app --without-gnome-applet
PLIST_SUB+= HASGNOME="@comment "
.endif

.if ${PORT_OPTIONS:MGTK2} || ${PORT_OPTIONS:MGNOME}
.if ${PORT_OPTIONS:MGTK2}
USES+= gettext
PLIST_SUB+= HASGUI=""
.else
Expand Down
2 changes: 0 additions & 2 deletions french/verbiste/pkg-plist
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
bin/french-conjugator
bin/french-deconjugator
%%HASGNOME%%bin/verbiste
%%HASGTK%%bin/verbiste-gtk
include/verbiste-0.1/verbiste/FrenchVerbDictionary.h
include/verbiste-0.1/verbiste/Trie.cpp
Expand All @@ -17,7 +16,6 @@ man/fr/man3/verbiste.3.gz
man/man1/french-conjugator.1.gz
man/man1/french-deconjugator.1.gz
man/man3/verbiste.3.gz
%%HASGNOME%%share/applications/verbiste.desktop
%%HASGUI%%share/locale/da/LC_MESSAGES/verbiste.mo
%%HASGUI%%share/locale/de/LC_MESSAGES/verbiste.mo
%%HASGUI%%share/locale/el/LC_MESSAGES/verbiste.mo
Expand Down
8 changes: 2 additions & 6 deletions games/exult/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
PORTNAME= exult
DISTVERSIONPREFIX= v
DISTVERSION= 1.7.0.20210429
PORTREVISION= 1
CATEGORIES= games

MAINTAINER= ports@FreeBSD.org
Expand Down Expand Up @@ -33,13 +34,12 @@ CONFIGURE_ARGS= --disable-static \

SUB_FILES= pkg-message

OPTIONS_DEFINE= ALSA DOCS DEBUG FLUIDSYNTH GIMP STUDIO THUMBNAILER
OPTIONS_DEFINE= ALSA DOCS DEBUG FLUIDSYNTH GIMP STUDIO
OPTIONS_DEFAULT= STUDIO
OPTIONS_SUB= yes

GIMP_DESC= GIMP plugin support
STUDIO_DESC= Install Exult Studio
THUMBNAILER_DESC= Gnome SHP thumbnailer support

ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib
ALSA_CONFIGURE_ENABLE= alsa
Expand All @@ -57,10 +57,6 @@ STUDIO_CONFIGURE_ENABLE= exult-studio exult-studio-support
STUDIO_USES= gnome
STUDIO_USE= gnome=libglade2

THUMBNAILER_USES= gnome shared-mime-info
THUMBNAILER_USE= gnome=libgnomeui
THUMBNAILER_CONFIGURE_ENABLE= gnome-shp-thumbnailer

post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in FAQ NEWS README
Expand Down
3 changes: 0 additions & 3 deletions games/exult/pkg-plist
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ bin/cmanip
bin/expack
bin/exult
%%STUDIO%%bin/exult_studio
%%THUMBNAILER%%bin/gnome_shp_thumbnailer
bin/ipack
bin/mklink
bin/rip
Expand Down Expand Up @@ -71,6 +70,4 @@ share/applications/exult.desktop
%%DATADIR%%/u7opcodes.data
%%DATADIR%%/u7sibetaintrinsics.data
%%DATADIR%%/u7siintrinsics.data
%%THUMBNAILER%%share/mime/packages/x-shapefile.xml
%%THUMBNAILER%%share/thumbnailers/gnome_u7shapes.thumbnailer
share/pixmaps/exult.png
8 changes: 2 additions & 6 deletions graphics/graphviz/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

PORTNAME= graphviz
PORTVERSION= 2.44.1
PORTREVISION= 9
PORTREVISION= 10
CATEGORIES= graphics tk
MASTER_SITES= https://www2.graphviz.org/Packages/stable/portable_source/

Expand Down Expand Up @@ -49,7 +49,7 @@ FIX_TK_SCRIPT= tclpkg/tcldot/demo/doted.tcl \
tclpkg/tclpathplan/demo/pathplan.tcl

OPTIONS_DEFINE= XPM DIGCOLA IPSEPCOLA ICONV NLS PANGOCAIRO POPPLER \
ANN GTS GTK2 GDK GDK_PIXBUF GNOMEUI SMYRNA DEVIL \
ANN GTS GTK2 GDK GDK_PIXBUF SMYRNA DEVIL \
GHOSTSCRIPT PERL PHP PYTHON RUBY LUA TCL TK GUILE GO \
NVTHREADS DOCS EXAMPLES
OPTIONS_DEFAULT= XPM DIGCOLA IPSEPCOLA ICONV PANGOCAIRO NVTHREADS
Expand All @@ -63,7 +63,6 @@ GTS_DESC= GNU Triangulated Surface Library support
GTK2_DESC= gtk2 plugin (requires PANGOCAIRO)
GDK_DESC= gdk library support (requires GTK2)
GDK_PIXBUF_DESC=gdk pixbuf support (requires GDK)
GNOMEUI_DESC= libgnomeui support
SMYRNA_DESC= SMYRNA graph viewer (requires GTK2)
DEVIL_DESC= devil plugin
GHOSTSCRIPT_DESC=ghostscript plugin (requires PANGOCAIRO)
Expand All @@ -86,7 +85,6 @@ PANGOCAIRO_USES=gnome xorg
PANGOCAIRO_USE= GNOME=pango,cairo XORG=xrender,x11,xau,xdmcp
GTK2_USES= gnome xorg
GTK2_USE= XORG=sm,ice,xext,xinerama,xi,xrandr,xcursor,xfixes GNOME=gtk20
GNOMEUI_USE= GNOME=libgnomeui
SMYRNA_USES= gnome gl
SMYRNA_USE= GNOME=libglade2,pangox-compat,gdkpixbuf2 GL=glut,glu,gl
GHOSTSCRIPT_USES=ghostscript
Expand Down Expand Up @@ -128,8 +126,6 @@ GTK2_IMPLIES= PANGOCAIRO
GDK_CONFIGURE_WITH= gdk
GDK_PIXBUF_CONFIGURE_WITH= gdk-pixbuf
GDK_PIXBUF_IMPLIES= GTK2 GDK
GNOMEUI_CONFIGURE_WITH= gnomeui
GNOMEUI_IMPLIES= GTK2
SMYRNA_CONFIGURE_OFF= --with-glut=no
SMYRNA_CONFIGURE_WITH= smyrna glade gtkgl gtkglext
SMYRNA_IMPLIES= GTK2 GTS
Expand Down
15 changes: 3 additions & 12 deletions graphics/gtkam/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

PORTNAME= gtkam
PORTVERSION= 1.0
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES= graphics
MASTER_SITES= SF/gphoto/${PORTNAME}/${PORTVERSION}

Expand All @@ -17,27 +17,18 @@ LIB_DEPENDS= libexif-gtk.so:graphics/libexif-gtk \
USES= gettext gmake gnome pathfix pkgconfig
USE_GNOME= gtk20 intltool
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --without-bonobo --without-gnome

CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib

OPTIONS_DEFINE= DOCS GIMP GNOME
OPTIONS_DEFINE= DOCS GIMP
OPTIONS_SUB= yes

GIMP_DESC= GIMP plugin support
GIMP_LIB_DEPENDS= libgimp-2.0.so:graphics/gimp
GIMP_CONFIGURE_WITH= gimp

GNOME_USE= GNOME=gnomeprefix,libgnomeui
GNOME_CONFIGURE_OFF= --without-bonobo --without-gnome
GNOME_MAKE_ENV= GNOME_SUBDIRS="help omf-install"

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MGNOME}
INSTALLS_OMF= yes
.endif

post-patch:
@${REINPLACE_CMD} -e 's|GIMP_VERSION="2.0"|GIMP_VERSION="2.2"|g ; \
s|images/gtkam|gtkam/images|g ; \
Expand Down
9 changes: 3 additions & 6 deletions multimedia/dvdstyler/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

PORTNAME= dvdstyler
PORTVERSION= 3.1
PORTREVISION= 1
PORTREVISION= 2
PORTEPOCH= 2
CATEGORIES= multimedia
MASTER_SITES= SF
Expand Down Expand Up @@ -40,15 +40,12 @@ USE_WX= 3.0
WX_CONF_ARGS= absolute
GNU_CONFIGURE= yes
CONFIGURE_ENV= ac_cv_path_AVCONV_PATH="" OBJCXX="${CXX}"
CONFIGURE_ARG= --without-gnome

CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib

OPTIONS_DEFINE= DOCS GNOME

GNOME_USES= gnome
GNOME_USE= GNOME=libgnomeui
GNOME_CONFIGURE_WITH= gnome
OPTIONS_DEFINE= DOCS

.if defined(WITH_DVD_DEVICE)
DEFAULT_DVD_DEVICE=${WITH_DVD_DEVICE}
Expand Down

0 comments on commit c399c4d

Please sign in to comment.