ports/57039: New port: x11/gtk2-theme-switch - A command line and GUI tool for switching GTK2 themes

Andrew J. Caines A.J.Caines at halplant.com
Sat Sep 20 20:50:07 UTC 2003


>Number:         57039
>Category:       ports
>Synopsis:       New port: x11/gtk2-theme-switch - A command line and GUI tool for switching GTK2 themes
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Sep 20 13:50:04 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Andrew J. Caines
>Release:        FreeBSD 4.9-PRERELEASE i386
>Organization:
H.A.L. Plant 
>Environment:


System: FreeBSD hal9000.halplant.com 4.9-PRERELEASE FreeBSD 4.9-PRERELEASE #0: Thu  i386  


>Description:


A command line and GUI tool for switching GTK2 themes, similar to x11/gtk-theme-switch for GTK1.


>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:
#
#       gtk2-theme-switch
#       gtk2-theme-switch/files
#       gtk2-theme-switch/files/patch-aa
#       gtk2-theme-switch/distinfo
#       gtk2-theme-switch/pkg-descr
#       gtk2-theme-switch/pkg-plist
#       gtk2-theme-switch/Makefile
#
echo c - gtk2-theme-switch
mkdir -p gtk2-theme-switch > /dev/null 2>&1
echo c - gtk2-theme-switch/files
mkdir -p gtk2-theme-switch/files > /dev/null 2>&1
echo x - gtk2-theme-switch/files/patch-aa
sed 's/^X//' >gtk2-theme-switch/files/patch-aa << 'END-of-gtk2-theme-switch/files/patch-aa'
X--- Makefile   Wed Jun 11 01:16:36 2003
X+++ Makefile.fbsd      Fri Aug 29 20:59:33 2003
X@@ -1,5 +1,5 @@
X-GCC = cc
X-PREFIX=/usr/local
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
END-of-gtk2-theme-switch/files/patch-aa
echo x - gtk2-theme-switch/distinfo
sed 's/^X//' >gtk2-theme-switch/distinfo << 'END-of-gtk2-theme-switch/distinfo'
XMD5 (gtk-theme-switch-2.0.0rc2.tar.gz) = f51b254fb347a86feef12db4bd76be6f
END-of-gtk2-theme-switch/distinfo
echo x - gtk2-theme-switch/pkg-descr
sed 's/^X//' >gtk2-theme-switch/pkg-descr << 'END-of-gtk2-theme-switch/pkg-descr'
XA command line and GUI tool for switching GTK2 themes.
X
XWWW: http://www.muhri.net/gthemeswitch.php3
END-of-gtk2-theme-switch/pkg-descr
echo x - gtk2-theme-switch/pkg-plist
sed 's/^X//' >gtk2-theme-switch/pkg-plist << 'END-of-gtk2-theme-switch/pkg-plist'
Xbin/gtk2-theme-switch
Xman/man1/gtk2-theme-switch.1.gz
Xshare/doc/gtk2-theme-switch/README
X at dirrm share/doc/gtk2-theme-switch
END-of-gtk2-theme-switch/pkg-plist
echo x - gtk2-theme-switch/Makefile
sed 's/^X//' >gtk2-theme-switch/Makefile << 'END-of-gtk2-theme-switch/Makefile'
X# New ports collection makefile for:   gtk-theme-switch
X# Date Created:                                29 Aug 2002
X# Whom:                                        Andrew J. Caines <A.J.Caines at halplant.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=      gtk2-theme-switch
XPORTVERSION=   2.0.0.r2
XCATEGORIES=    x11
XMASTER_SITES=  http://www.muhri.net/
XDISTNAME=       ${PORTNAME:S/gtk2/gtk/}-${PORTVERSION:S/.r/rc/}
X
XMAINTAINER=    A.J.Caines at halplant.com
XCOMMENT=       A command line tool for switching GTK themes
X
XUSE_X_PREFIX=  yes
XUSE_GNOME=     gtk20
XUSE_GMAKE=     yes
X
XMAN1=          gtk2-theme-switch.1
X
Xdo-install:
X       ${INSTALL_PROGRAM} ${WRKSRC}/switch2  ${PREFIX}/bin/${PORTNAME}
X       ${INSTALL_MAN} ${WRKSRC}/switch.1 ${MANPREFIX}/man/man1/${PORTNAME}.1
X.if !defined(NOPORTDOCS)
X       ${MKDIR} ${DOCSDIR}
X       ${INSTALL_DATA} ${WRKSRC}/readme ${DOCSDIR}/README
X.endif
X
X.include <bsd.port.mk>
END-of-gtk2-theme-switch/Makefile
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list