Date: Thu, 3 Jul 2003 11:45:52 +0200 (CEST) From: Tobias Roth <ports@fsck.ch> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/54055: new port: x11-toolkits/gtk-theme-switch2 Message-ID: <200307030945.h639jqDu072468@secure.socket.ch> Resent-Message-ID: <200307030950.h639oEUq065277@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 54055 >Category: ports >Synopsis: new port: x11-toolkits/gtk-theme-switch2 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Jul 03 02:50:11 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Tobias Roth >Release: FreeBSD 5.1-RELEASE i386 >Organization: >Environment: System: FreeBSD angel-four.fsck.ch 5.1-RELEASE FreeBSD 5.1-RELEASE #0: Thu Jun 42 GMT 2003 root@wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC >Description: new port: x11-toolkits/gtk-theme-switch2 a version for gtk12 already exists: x11/gtk-theme-switch A command line tool for switching GTK2 themes. It also features a simple GTK2 frontend with a preview capability. Note: does the category switch from x11 to x11-toolkits make sense or only creates confusion? >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # gtk-theme-switch2 # gtk-theme-switch2/Makefile # gtk-theme-switch2/distinfo # gtk-theme-switch2/pkg-descr # gtk-theme-switch2/pkg-plist # gtk-theme-switch2/files # gtk-theme-switch2/files/patch-aa # echo c - gtk-theme-switch2 mkdir -p gtk-theme-switch2 > /dev/null 2>&1 echo x - gtk-theme-switch2/Makefile sed 's/^X//' >gtk-theme-switch2/Makefile << 'END-of-gtk-theme-switch2/Makefile' X# New ports collection makefile for: gtk-theme-switch2 X# Date Created: 2 July 2003 X# Whom: Tobias Roth <ports@fsck.ch> X# X# $FreeBSD$ X# X XPORTNAME= gtk-theme-switch2 XPORTVERSION= 2.0.0r2 XPORTREVISION= 0 XCATEGORIES= x11-toolkits XMASTER_SITES= http://www.muhri.net/ XDISTNAME= gtk-theme-switch-2.0.0rc2 X XMAINTAINER= ports@fsck.ch XCOMMENT= A command line tool for switching GTK2+ themes X XRUN_DEPENDS= ${X11BASE}/lib/gtk-2.0/2.2.0/engines/libpixmap.so:${PORTSDIR}/x11-toolkits/gtk-engines2 X XUSE_X_PREFIX= yes XUSE_GNOME= gtk20 XUSE_GMAKE= yes X XMAN1= gtk-theme-switch2.1 X X.include <bsd.port.mk> END-of-gtk-theme-switch2/Makefile echo x - gtk-theme-switch2/distinfo sed 's/^X//' >gtk-theme-switch2/distinfo << 'END-of-gtk-theme-switch2/distinfo' XMD5 (gtk-theme-switch-2.0.0rc2.tar.gz) = f51b254fb347a86feef12db4bd76be6f END-of-gtk-theme-switch2/distinfo echo x - gtk-theme-switch2/pkg-descr sed 's/^X//' >gtk-theme-switch2/pkg-descr << 'END-of-gtk-theme-switch2/pkg-descr' XThis is the GTK2 version of gtk-theme-switch, a command line tool for Xswitching GTK2 themes. It also features a simple GTK2 frontend with a Xpreview capability. X XIt is especially useful if you want to use GTK themes without having Xgnome control center installed. X XWWW: http://www.muhri.net/nav.php3?node=gts X X- Tobias Roth Xports@fsck.ch END-of-gtk-theme-switch2/pkg-descr echo x - gtk-theme-switch2/pkg-plist sed 's/^X//' >gtk-theme-switch2/pkg-plist << 'END-of-gtk-theme-switch2/pkg-plist' Xbin/gtk-theme-switch2 Xshare/gtk-theme-switch2/README END-of-gtk-theme-switch2/pkg-plist echo c - gtk-theme-switch2/files mkdir -p gtk-theme-switch2/files > /dev/null 2>&1 echo x - gtk-theme-switch2/files/patch-aa sed 's/^X//' >gtk-theme-switch2/files/patch-aa << 'END-of-gtk-theme-switch2/files/patch-aa' X--- Makefile.orig Wed Jul 2 08:08:46 2003 X+++ Makefile Wed Jul 2 08:27:24 2003 X@@ -1,7 +1,8 @@ X-GCC = cc X-PREFIX=/usr/local X-CFLAGS = -O2 -Wall $(shell pkg-config --cflags gtk+-2.0) X-LIBS = $(shell pkg-config --libs gtk+-2.0) X+GCC = ${CC} X+PREFIX?=/usr/X11R6/ X+GTK_CONFIG?=pkg-config X+CFLAGS += -Wall $(shell $(GTK_CONFIG) --cflags gtk+-2.0) X+LIBS = $(shell $(GTK_CONFIG) --libs gtk+-2.0) X CFLAGS += -DGTK_DISABLE_BROKEN -DGTK_DISABLE_DEPRECATED X X VERSION = 2.0.0rc2 X@@ -14,11 +15,10 @@ X -rm -f switch2 *~ X X install: all X- strip switch2 X mkdir -p ${PREFIX}/bin X- mkdir -p ${PREFIX}/man X- install -c switch2 ${PREFIX}/bin X- install -c switch.1 ${PREFIX}/man X+ mkdir -p ${PREFIX}/man/man1 X+ $(BSD_INSTALL_PROGRAM) switch2 ${PREFIX}/bin/gtk-theme-switch2 X+ $(BSD_INSTALL_MAN) switch.1 ${PREFIX}/man/man1/gtk-theme-switch2.1 X X dist: clean X rm -rf /tmp/gtk-theme-switch-$(VERSION) END-of-gtk-theme-switch2/files/patch-aa exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200307030945.h639jqDu072468>