From nobody@FreeBSD.org  Tue Dec 18 04:17:58 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id C16C416A419
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 18 Dec 2007 04:17:58 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id BD5DB13C45B
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 18 Dec 2007 04:17:58 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id lBI4Hfoo019083
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 18 Dec 2007 04:17:41 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id lBI4HfUf019082;
	Tue, 18 Dec 2007 04:17:41 GMT
	(envelope-from nobody)
Message-Id: <200712180417.lBI4HfUf019082@www.freebsd.org>
Date: Tue, 18 Dec 2007 04:17:41 GMT
From: Oleg Pudeyev <oleg@bsdpower.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: New port: x11/gtk-theme-switch2
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         118805
>Category:       ports
>Synopsis:       New port: x11/gtk-theme-switch2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    miwi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 18 04:20:01 UTC 2007
>Closed-Date:    Thu Dec 27 20:57:50 UTC 2007
>Last-Modified:  Thu Dec 27 21:00:05 UTC 2007
>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:
Responsible-Changed-From-To: freebsd-ports-bugs->miwi 
Responsible-Changed-By: miwi 
Responsible-Changed-When: Tue Dec 18 10:18:51 UTC 2007 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=118805 
State-Changed-From-To: open->closed 
State-Changed-By: miwi 
State-Changed-When: Thu Dec 27 20:57:49 UTC 2007 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=118805 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/118805: commit references a PR
Date: Thu, 27 Dec 2007 20:55:23 +0000 (UTC)

 miwi        2007-12-27 20:55:18 UTC
 
   FreeBSD ports repository
 
   Modified files:
     x11                  Makefile 
     x11/gtk-theme-switch2 Makefile distinfo pkg-descr 
   Removed files:
     x11/gtk-theme-switch2 pkg-plist 
     x11/gtk-theme-switch2/files patch-aa 
   Log:
   - Update to 2.0.0 rc2
   
   PR:             118805
   Submitted by:   Oleg Pudeyev <oleg@bsdpower.com>
   
   Revision  Changes    Path
   1.669     +1 -0      ports/x11/Makefile
   1.15      +10 -16    ports/x11/gtk-theme-switch2/Makefile
   1.8       +3 -3      ports/x11/gtk-theme-switch2/distinfo
   1.6       +0 -33     ports/x11/gtk-theme-switch2/files/patch-aa (dead)
   1.3       +2 -2      ports/x11/gtk-theme-switch2/pkg-descr
   1.5       +0 -3      ports/x11/gtk-theme-switch2/pkg-plist (dead)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
