Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jul 2008 13:42:44 GMT
From:      Julien Laffaye <kimelto@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/125601: New port: x11/bgs Simple X11 BackGround Setter using Imlib2
Message-ID:  <200807141342.m6EDgiDf022010@www.freebsd.org>
Resent-Message-ID: <200807141350.m6EDo3Zj033114@freefall.freebsd.org>

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

>Number:         125601
>Category:       ports
>Synopsis:       New port: x11/bgs Simple X11 BackGround Setter using Imlib2
>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:   Mon Jul 14 13:50:02 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Julien Laffaye
>Release:        7.0-RELEASE-p2
>Organization:
>Environment:
FreeBSD laptop.kimelto.eu 7.0-RELEASE-p2 FreeBSD 7.0-RELEASE-p2 #0: Wed Jun 18 07:33:20 UTC 2008     root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
The bgs program allows you to tailor the appearance of the background
("root") window on a workstation display running X.
bgs uses imlib2 for image rendering and rotates the images automaticly.
It is made for dynamic Xinerama/Xrandr setups such as used with notebooks,
but it works very fine in any setup.

>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:
#
# x11/bgs
# x11/bgs/Makefile
# x11/bgs/distinfo
# x11/bgs/pkg-descr
# x11/bgs/files
# x11/bgs/files/patch-config.mk
#
echo c - x11/bgs
mkdir -p x11/bgs > /dev/null 2>&1
echo x - x11/bgs/Makefile
sed 's/^X//' >x11/bgs/Makefile << 'END-of-x11/bgs/Makefile'
X# New ports collection makefile for:  bgs
X# Date created:                July 14, 2008
X# Whom:                        Julien Laffaye <kimelto@gmail.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=  bgs
XPORTVERSION= 0.3
XCATEGORIES=  x11
XMASTER_SITES=  http://s01.de/~gottox/files/bgs/ \
X   http://laffaye.free.fr/distfiles/
X
XMAINTAINER=  kimelto@gmail.com
XCOMMENT= Simple X11 BackGround Setter using Imlib2
X
XUSE_XORG=  x11 xinerama
XUSE_EFL= imlib2
X
XMAN1=  bgs.1
XPLIST_FILES= bin/bgs
X
X.include <bsd.port.mk>
END-of-x11/bgs/Makefile
echo x - x11/bgs/distinfo
sed 's/^X//' >x11/bgs/distinfo << 'END-of-x11/bgs/distinfo'
XMD5 (bgs-0.3.tar.gz) = b48808dc641ed6d536e4d1bd34d316e9
XSHA256 (bgs-0.3.tar.gz) = ac859f15b7174cd5d744e90c0b571feecb7a9137e62f3f5158c8e23ab48efdb6
XSIZE (bgs-0.3.tar.gz) = 4395
END-of-x11/bgs/distinfo
echo x - x11/bgs/pkg-descr
sed 's/^X//' >x11/bgs/pkg-descr << 'END-of-x11/bgs/pkg-descr'
XThe bgs program allows you to tailor the appearance of the background
X("root") window on a workstation display running X.
Xbgs uses imlib2 for image rendering and rotates the images automaticly.
XIt is made for dynamic Xinerama/Xrandr setups such as used with notebooks,
Xbut it works very fine in any setup.
END-of-x11/bgs/pkg-descr
echo c - x11/bgs/files
mkdir -p x11/bgs/files > /dev/null 2>&1
echo x - x11/bgs/files/patch-config.mk
sed 's/^X//' >x11/bgs/files/patch-config.mk << 'END-of-x11/bgs/files/patch-config.mk'
X--- config.mk.orig 2008-07-13 17:31:26.000000000 +0200
X+++ config.mk  2008-07-14 15:01:43.000000000 +0200
X@@ -4,14 +4,14 @@
X # Customize below to fit your system
X
X # paths
X-PREFIX = /usr/local
X-MANPREFIX = ${PREFIX}/share/man
X+PREFIX ?= /usr/local
X+MANPREFIX = ${PREFIX}/man
X
X-X11INC = /usr/X11R6/include
X-X11LIB = /usr/X11R6/lib
X+X11INC = $(LOCALBASE)/include
X+X11LIB = $(LOCALBASE)/lib
X
X-IMLIB2INC = /usr/include/imlib2
X-IMLIB2LIB = /usr/lib/imlib2/
X+IMLIB2INC = $(LOCALBASE)/imlib2
X+IMLIB2LIB = $(LOCALBASE)/lib/imlib2/
X
X # Xinerama, comment if you don't want it
X XINERAMALIBS = -L${X11LIB} -lXinerama
X@@ -22,13 +22,13 @@
X LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 ${XINERAMALIBS} -L ${IMLIB2LIB} -lImlib2
X
X # flags
X-CPPFLAGS = -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
X-CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
X-LDFLAGS = -s ${LIBS}
X+CPPFLAGS += -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
X+CFLAGS += -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
X+LDFLAGS += ${LIBS}
X
X # Solaris
X #CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\"
X #LDFLAGS = ${LIBS}
X
X # compiler and linker
X-CC = cc
X+CC ?= cc
END-of-x11/bgs/files/patch-config.mk
exit


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200807141342.m6EDgiDf022010>