diff options
author | miwi <miwi@FreeBSD.org> | 2008-07-19 18:14:47 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2008-07-19 18:14:47 +0800 |
commit | c99dddf4f33182b4146c2f7d70aa9003a542bb4b (patch) | |
tree | 38ce6cfdf3bdc5e42251ede79b7ee3a9868e5cb3 /x11 | |
parent | d456dab1391b067d4869aa28a9822f1db9a0d5fb (diff) | |
download | freebsd-ports-gnome-c99dddf4f33182b4146c2f7d70aa9003a542bb4b.tar.gz freebsd-ports-gnome-c99dddf4f33182b4146c2f7d70aa9003a542bb4b.tar.zst freebsd-ports-gnome-c99dddf4f33182b4146c2f7d70aa9003a542bb4b.zip |
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.
PR: ports/125601
Submitted by: Julien Laffaye <kimelto at gmail.com>
Diffstat (limited to 'x11')
-rw-r--r-- | x11/Makefile | 1 | ||||
-rw-r--r-- | x11/bgs/Makefile | 23 | ||||
-rw-r--r-- | x11/bgs/distinfo | 3 | ||||
-rw-r--r-- | x11/bgs/files/patch-config.mk | 41 | ||||
-rw-r--r-- | x11/bgs/pkg-descr | 5 |
5 files changed, 73 insertions, 0 deletions
diff --git a/x11/Makefile b/x11/Makefile index 4dde3a05ca25..c5f4c8058f48 100644 --- a/x11/Makefile +++ b/x11/Makefile @@ -20,6 +20,7 @@ SUBDIR += bbuname SUBDIR += beforelight SUBDIR += bgrot + SUBDIR += bgs SUBDIR += bigreqsproto SUBDIR += bitmap SUBDIR += blast diff --git a/x11/bgs/Makefile b/x11/bgs/Makefile new file mode 100644 index 000000000000..521987ba94b3 --- /dev/null +++ b/x11/bgs/Makefile @@ -0,0 +1,23 @@ +# New ports collection makefile for: bgs +# Date created: July 14, 2008 +# Whom: Julien Laffaye <kimelto@gmail.com> +# +# $FreeBSD$ +# + +PORTNAME= bgs +PORTVERSION= 0.3 +CATEGORIES= x11 +MASTER_SITES= http://s01.de/~gottox/files/bgs/ \ + http://laffaye.free.fr/distfiles/ + +MAINTAINER= kimelto@gmail.com +COMMENT= Simple X11 BackGround Setter using Imlib2 + +USE_XORG= x11 xinerama +USE_EFL= imlib2 + +MAN1= bgs.1 +PLIST_FILES= bin/bgs + +.include <bsd.port.mk> diff --git a/x11/bgs/distinfo b/x11/bgs/distinfo new file mode 100644 index 000000000000..a17681a203f4 --- /dev/null +++ b/x11/bgs/distinfo @@ -0,0 +1,3 @@ +MD5 (bgs-0.3.tar.gz) = b48808dc641ed6d536e4d1bd34d316e9 +SHA256 (bgs-0.3.tar.gz) = ac859f15b7174cd5d744e90c0b571feecb7a9137e62f3f5158c8e23ab48efdb6 +SIZE (bgs-0.3.tar.gz) = 4395 diff --git a/x11/bgs/files/patch-config.mk b/x11/bgs/files/patch-config.mk new file mode 100644 index 000000000000..a42e74b5ffc3 --- /dev/null +++ b/x11/bgs/files/patch-config.mk @@ -0,0 +1,41 @@ +--- config.mk.orig 2008-07-13 17:31:26.000000000 +0200 ++++ config.mk 2008-07-14 15:01:43.000000000 +0200 +@@ -4,14 +4,14 @@ + # Customize below to fit your system + + # paths +-PREFIX = /usr/local +-MANPREFIX = ${PREFIX}/share/man ++PREFIX ?= /usr/local ++MANPREFIX = ${PREFIX}/man + +-X11INC = /usr/X11R6/include +-X11LIB = /usr/X11R6/lib ++X11INC = $(LOCALBASE)/include ++X11LIB = $(LOCALBASE)/lib + +-IMLIB2INC = /usr/include/imlib2 +-IMLIB2LIB = /usr/lib/imlib2/ ++IMLIB2INC = $(LOCALBASE)/imlib2 ++IMLIB2LIB = $(LOCALBASE)/lib/imlib2/ + + # Xinerama, comment if you don't want it + XINERAMALIBS = -L${X11LIB} -lXinerama +@@ -22,13 +22,13 @@ + LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 ${XINERAMALIBS} -L ${IMLIB2LIB} -lImlib2 + + # flags +-CPPFLAGS = -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS} +-CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS} +-LDFLAGS = -s ${LIBS} ++CPPFLAGS += -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS} ++CFLAGS += -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS} ++LDFLAGS += ${LIBS} + + # Solaris + #CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\" + #LDFLAGS = ${LIBS} + + # compiler and linker +-CC = cc ++CC ?= cc diff --git a/x11/bgs/pkg-descr b/x11/bgs/pkg-descr new file mode 100644 index 000000000000..c7e894d1459b --- /dev/null +++ b/x11/bgs/pkg-descr @@ -0,0 +1,5 @@ +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. |