Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Nov 2002 11:46:51 -0600
From:      Andrew Hesford <jester@core.usrlib.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/45534: x11-wm/openbox: Update to 2.2.1 (testing)
Message-ID:  <E18EYw7-00043C-00@core.usrlib.org>

next in thread | raw e-mail | index | archive | help

>Number:         45534
>Category:       ports
>Synopsis:       x11-wm/openbox: Update to 2.2.1 (testing)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 20 09:50:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Andrew Hesford
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
>Environment:
System: FreeBSD core.usrlib.org 4.7-STABLE FreeBSD 4.7-STABLE #28: Sat Nov 16 22:18:33 CST 2002 jester@core.usrlib.org:/usr/obj/usr/src/sys/CORE i386


	
>Description:
	Update of x11-wm/openbox port from 1.2.4 to 2.2.1. Overhauled
	port to use a standard pkg-plist instead of generating one on
	the fly. Also reverted to default do-install instead of having
	a custom do-build to manually copy all files into place. If
	XFREE86_VERSION is 4, it enables xinerama. Rather than copy the
	bsetroot and bsetbg manpages and binaries to osetroot and
	osetbg, I patch the Makefile before build to build oset*.c and
	name the output appropriately. This way the default install
	Makefile directive in openbox handles oset* instead of bset*.
	Also corrected the osetbg script, which used to call bsetroot
	and look for ~/.bsetbgrc but now uses the corresponding oset
	files. Because this is so different from the original 1.2.4
	port, I have foregone patches and included a shell archive.

>How-To-Repeat:
	Unpack the shell archive and build like a normal port.
>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:
#
#	openbox
#	openbox/Makefile
#	openbox/distinfo
#	openbox/pkg-comment
#	openbox/pkg-descr
#	openbox/pkg-plist
#
echo c - openbox
mkdir -p openbox > /dev/null 2>&1
echo x - openbox/Makefile
sed 's/^X//' >openbox/Makefile << 'END-of-openbox/Makefile'
X# New ports collection makefile for:	openbox
X# Date created:				2002-04-28
X# Whom:					trevor
X# based on the blackbox port
X#
X# $FreeBSD: ports/x11-wm/openbox/Makefile,v 1.46 2002/07/14 21:34:37 trevor Exp $
X#
X
XPORTNAME=	openbox
XPORTVERSION=	2.2.1
XCATEGORIES=	x11-wm
XMASTER_SITES=	http://icculus.org/openbox/releases/
X
XMAINTAINER=	trevor@FreeBSD.org
X
XRUN_DEPENDS=	xsetbg:${PORTSDIR}/x11/xloadimage
X
XMAN1=		openbox.1 osetroot.1 osetbg.1 epist.1 xftlsfonts.1
XMAN5=		epistrc.5
X
XUSE_GMAKE=	yes
XUSE_X_PREFIX=	yes
XGNU_CONFIGURE=	yes
XCONFIGURE_ARGS=
X
X.include <bsd.port.pre.mk>
X
X.if ${XFREE86_VERSION} == 4
XCONFIGURE_ARGS+= --enable-xinerama
X.endif
X
Xdo-patch:
X	${PERL} -pi -e "s:bset:oset:g; s:Bset:Oset:g" \
X		${WRKSRC}/data/styles/* ${WRKSRC}/doc/*.1 ${WRKSRC}/util/bsetbg \
X		${WRKSRC}/doc/Makefile.* ${WRKSRC}/util/Makefile.*
X	${PERL} -pi -e "s:bsetroot\.hh:osetroot.hh:g" ${WRKSRC}/util/bsetroot.cc
X	${MV} ${WRKSRC}/util/bsetroot.cc ${WRKSRC}/util/osetroot.cc
X	${MV} ${WRKSRC}/util/bsetroot.hh ${WRKSRC}/util/osetroot.hh
X	${MV} ${WRKSRC}/util/bsetbg ${WRKSRC}/util/osetbg
X	${MV} ${WRKSRC}/doc/bsetroot.1 ${WRKSRC}/doc/osetroot.1
X	${MV} ${WRKSRC}/doc/bsetbg.1 ${WRKSRC}/doc/osetbg.1
X
X.include <bsd.port.post.mk>
END-of-openbox/Makefile
echo x - openbox/distinfo
sed 's/^X//' >openbox/distinfo << 'END-of-openbox/distinfo'
XMD5 (openbox-2.2.1.tar.gz) = 3e7165db96673c642343e7404a96af43
END-of-openbox/distinfo
echo x - openbox/pkg-comment
sed 's/^X//' >openbox/pkg-comment << 'END-of-openbox/pkg-comment'
XDerived from, and similar to, Blackbox
END-of-openbox/pkg-comment
echo x - openbox/pkg-descr
sed 's/^X//' >openbox/pkg-descr << 'END-of-openbox/pkg-descr'
XOpenbox is based on, and similar to, blackbox.  In this port/package,
Xbsetbg and bsetroot are renamed to osetbg and osetroot in order to
Xavoid conflict with blackbox.
X
XWWW: http://icculus.org/openbox
END-of-openbox/pkg-descr
echo x - openbox/pkg-plist
sed 's/^X//' >openbox/pkg-plist << 'END-of-openbox/pkg-plist'
Xbin/epist
Xbin/openbox
Xbin/osetbg
Xbin/osetroot
Xshare/openbox/buttons/close.xbm
Xshare/openbox/buttons/fieron-bullet.xbm
Xshare/openbox/buttons/fieron-bulletl.xbm
Xshare/openbox/buttons/fieron-close.xbm
Xshare/openbox/buttons/fieron-icon.xbm
Xshare/openbox/buttons/fieron-max.xbm
Xshare/openbox/buttons/fieron-stick.xbm
Xshare/openbox/buttons/icon.xbm
Xshare/openbox/buttons/max.xbm
Xshare/openbox/buttons/stick.xbm
Xshare/openbox/epistrc
Xshare/openbox/menu
Xshare/openbox/nls/C/openbox.cat
Xshare/openbox/nls/POSIX
Xshare/openbox/nls/US_ASCII
Xshare/openbox/nls/da_DK/openbox.cat
Xshare/openbox/nls/de
Xshare/openbox/nls/de_DE/openbox.cat
Xshare/openbox/nls/en
Xshare/openbox/nls/en_GB
Xshare/openbox/nls/en_US
Xshare/openbox/nls/es
Xshare/openbox/nls/es_AR/openbox.cat
Xshare/openbox/nls/es_ES/openbox.cat
Xshare/openbox/nls/et_ET/openbox.cat
Xshare/openbox/nls/fr
Xshare/openbox/nls/fr_FR/openbox.cat
Xshare/openbox/nls/hu_HU/openbox.cat
Xshare/openbox/nls/it
Xshare/openbox/nls/it_IT/openbox.cat
Xshare/openbox/nls/ja_JP/openbox.cat
Xshare/openbox/nls/ko
Xshare/openbox/nls/ko_KO/openbox.cat
Xshare/openbox/nls/nl
Xshare/openbox/nls/nl_NL/openbox.cat
Xshare/openbox/nls/no
Xshare/openbox/nls/no_NO/openbox.cat
Xshare/openbox/nls/pt
Xshare/openbox/nls/pt_BR/openbox.cat
Xshare/openbox/nls/ro
Xshare/openbox/nls/ro_RO/openbox.cat
Xshare/openbox/nls/ru_RU/openbox.cat
Xshare/openbox/nls/sl_SI/openbox.cat
Xshare/openbox/nls/sv_SE/openbox.cat
Xshare/openbox/nls/tr_TR/openbox.cat
Xshare/openbox/nls/uk_UA/openbox.cat
Xshare/openbox/nls/zh_CN/openbox.cat
Xshare/openbox/nls/zh_TW/openbox.cat
Xshare/openbox/styles/artwiz
Xshare/openbox/styles/bbs
Xshare/openbox/styles/bluebox
Xshare/openbox/styles/cthulhain
Xshare/openbox/styles/deep
Xshare/openbox/styles/fieron
Xshare/openbox/styles/fieron2
Xshare/openbox/styles/flux
Xshare/openbox/styles/frobozz
Xshare/openbox/styles/frobust
Xshare/openbox/styles/mbdtex
Xshare/openbox/styles/miklos
Xshare/openbox/styles/nyz
Xshare/openbox/styles/nyzclone
Xshare/openbox/styles/ob20
Xshare/openbox/styles/operation
Xshare/openbox/styles/outcomes
Xshare/openbox/styles/paper
Xshare/openbox/styles/purplehaaze
Xshare/openbox/styles/shade
Xshare/openbox/styles/steelblue
Xshare/openbox/styles/steelblue2
Xshare/openbox/styles/steelblue3
Xshare/openbox/styles/the_orange
Xshare/openbox/styles/trisb
Xshare/openbox/styles/twice
Xshare/openbox/styles/warp-xp
X@dirrm share/openbox/nls/C
X@dirrm share/openbox/nls/da_DK
X@dirrm share/openbox/nls/de_DE
X@dirrm share/openbox/nls/es_AR
X@dirrm share/openbox/nls/es_ES
X@dirrm share/openbox/nls/et_ET
X@dirrm share/openbox/nls/fr_FR
X@dirrm share/openbox/nls/hu_HU
X@dirrm share/openbox/nls/it_IT
X@dirrm share/openbox/nls/ja_JP
X@dirrm share/openbox/nls/ko_KO
X@dirrm share/openbox/nls/nl_NL
X@dirrm share/openbox/nls/no_NO
X@dirrm share/openbox/nls/pt_BR
X@dirrm share/openbox/nls/ro_RO
X@dirrm share/openbox/nls/ru_RU
X@dirrm share/openbox/nls/sl_SI
X@dirrm share/openbox/nls/sv_SE
X@dirrm share/openbox/nls/tr_TR
X@dirrm share/openbox/nls/uk_UA
X@dirrm share/openbox/nls/zh_CN
X@dirrm share/openbox/nls/zh_TW
X@dirrm share/openbox/nls
X@dirrm share/openbox/styles
X@dirrm share/openbox/buttons
X@dirrm share/openbox
END-of-openbox/pkg-plist
exit


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

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E18EYw7-00043C-00>