From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Jul 3 02:50:16 2003 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6861237B404 for ; Thu, 3 Jul 2003 02:50:15 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 75D1543FD7 for ; Thu, 3 Jul 2003 02:50:14 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h639oEUp065278 for ; Thu, 3 Jul 2003 02:50:14 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h639oEUq065277; Thu, 3 Jul 2003 02:50:14 -0700 (PDT) Resent-Date: Thu, 3 Jul 2003 02:50:14 -0700 (PDT) Resent-Message-Id: <200307030950.h639oEUq065277@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Tobias Roth Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E257837B401 for ; Thu, 3 Jul 2003 02:48:00 -0700 (PDT) Received: from secure.socket.ch (secure.socket.ch [212.254.206.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id F0B5043FCB for ; Thu, 3 Jul 2003 02:47:59 -0700 (PDT) (envelope-from roth@secure.socket.ch) Received: from secure.socket.ch (localhost [127.0.0.1]) by secure.socket.ch (8.12.9/8.12.5) with ESMTP id h639jvE6072469 for ; Thu, 3 Jul 2003 11:45:57 +0200 (CEST) (envelope-from roth@secure.socket.ch) Received: (from roth@localhost) by secure.socket.ch (8.12.9/8.12.5/Submit) id h639jqDu072468; Thu, 3 Jul 2003 11:45:52 +0200 (CEST) Message-Id: <200307030945.h639jqDu072468@secure.socket.ch> Date: Thu, 3 Jul 2003 11:45:52 +0200 (CEST) From: Tobias Roth To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/54055: new port: x11-toolkits/gtk-theme-switch2 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Tobias Roth List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jul 2003 09:50:16 -0000 >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 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 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: