Date: Tue, 18 Dec 2007 04:17:41 GMT From: Oleg Pudeyev <oleg@bsdpower.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/118805: New port: x11/gtk-theme-switch2 Message-ID: <200712180417.lBI4HfUf019082@www.freebsd.org> Resent-Message-ID: <200712180420.lBI4K2Lj069631@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 118805 >Category: ports >Synopsis: New port: x11/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: Tue Dec 18 04:20:01 UTC 2007 >Closed-Date: >Last-Modified: >Originator: Oleg Pudeyev >Release: 6.2-RELEASE >Organization: >Environment: FreeBSD kappa.universe 6.2-RELEASE FreeBSD 6.2-RELEASE #2: Wed Jul 18 01:25:26 EDT 2007 root@kappa.universe:/build/src/sys/i386/compile/KAPPA i386 >Description: Gtk Theme Switch 2.0 is a lightweight utility for changing GTK 2.0 themes. http://www.muhri.net/nav.php3?node=gts The ports tree already has version 1.0 of the same program, which was made for GTK 1. Both ports can be simultaneously installed. I emailed the author about inclusion of any of the changes in the patch upstream but haven't gotten a response. >How-To-Repeat: cd /usr/ports/x11; sh gtk-theme-switch2.shar.txt; cd gtk-theme-switch2; make install >Fix: Patch attached with submission follows: # 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/files # gtk-theme-switch2/files/patch-Makefile # gtk-theme-switch2/distinfo # gtk-theme-switch2/Makefile # gtk-theme-switch2/pkg-descr # echo c - gtk-theme-switch2 mkdir -p gtk-theme-switch2 > /dev/null 2>&1 echo c - gtk-theme-switch2/files mkdir -p gtk-theme-switch2/files > /dev/null 2>&1 echo x - gtk-theme-switch2/files/patch-Makefile sed 's/^X//' >gtk-theme-switch2/files/patch-Makefile << 'END-of-gtk-theme-switch2/files/patch-Makefile' X--- Makefile.orig Wed Jun 11 01:16:36 2003 X+++ Makefile Mon Dec 17 23:11:09 2007 X@@ -1,13 +1,13 @@ 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-CFLAGS += -DGTK_DISABLE_BROKEN -DGTK_DISABLE_DEPRECATED X+GCC = ${CC} X+PREFIX ?= /usr/local X+CFLAGS += -Wall $(shell pkg-config --cflags gtk+-2.0) X+LIBS += $(shell pkg-config --libs gtk+-2.0) X+CFLAGS += -DGTK_DISABLE_BROKEN X X VERSION = 2.0.0rc2 X-all: switch X+all: switch2 X X-switch: switch.c switch.h X+switch2: switch.c switch.h X ${GCC} -o switch2 switch.c ${CFLAGS} ${LIBS} X X clean: X@@ -17,8 +17,8 @@ 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+ install -c -m 555 switch2 ${PREFIX}/bin X+ install -c -m 444 switch.1 ${PREFIX}/man/man1/switch2.1 X X dist: clean X rm -rf /tmp/gtk-theme-switch-$(VERSION) END-of-gtk-theme-switch2/files/patch-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 XSHA256 (gtk-theme-switch-2.0.0rc2.tar.gz) = d8c455b77b703f6c67a8bcbd5a1fd0679dd04fbe99d6afa1322e7c1f750a4565 XSIZE (gtk-theme-switch-2.0.0rc2.tar.gz) = 14046 END-of-gtk-theme-switch2/distinfo 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: 4 December 2007 X# Whom: Oleg Pudeyev <oleg@bsdpower.com> X# X# $FreeBSD$ X# X XPORTNAME= gtk-theme-switch XPORTVERSION= 2.0.0.r2 XCATEGORIES= x11 XMASTER_SITES= http://www.muhri.net/ XDISTNAME= ${PORTNAME}-${PORTVERSION:S/.r/rc/} X XMAINTAINER= oleg@bsdpower.com XCOMMENT= A command line tool for switching GTK+ 2.0 themes X XUSE_XORG= x11 XUSE_GNOME= gtk20 XUSE_GMAKE= yes X XMAN1= switch2.1 XPLIST_FILES= bin/switch2 X X.include <bsd.port.mk> END-of-gtk-theme-switch2/Makefile echo x - gtk-theme-switch2/pkg-descr sed 's/^X//' >gtk-theme-switch2/pkg-descr << 'END-of-gtk-theme-switch2/pkg-descr' XA command line tool for switching GTK+ 2.0 themes. X XWWW: http://www.muhri.net/nav.php3?node=gts END-of-gtk-theme-switch2/pkg-descr exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200712180417.lBI4HfUf019082>