ports/59857: [New Port] graphics/hsetroot

Vincent Tantardini vinc at freebsd-fr.org
Sun Nov 30 20:10:23 UTC 2003


>Number:         59857
>Category:       ports
>Synopsis:       [New Port] graphics/hsetroot
>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:   Sun Nov 30 12:10:20 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     vinc
>Release:        FreeBSD 4.9-STABLE i386
>Organization:
freebsd-fr.org
>Environment:
System: FreeBSD sativa.0x45.org 4.9-STABLE FreeBSD 4.9-STABLE #2: Tue Nov 4 20:28:55 CET 2003 vinc at sativa.0x45.org:/usr/obj/usr/src/sys/SATIVA i386


	
>Description:
Hsetroot is a tool which allows you to compose wallpapers ("root pixmaps") for X.
	
>How-To-Repeat:
	
>Fix:

	

--- hsetroot.port begins here ---
# 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:
#
#	hsetroot
#	hsetroot/files
#	hsetroot/files/patch-src-hsetroot.c
#	hsetroot/Makefile
#	hsetroot/distinfo
#	hsetroot/pkg-plist
#	hsetroot/pkg-descr
#
echo c - hsetroot
mkdir -p hsetroot > /dev/null 2>&1
echo c - hsetroot/files
mkdir -p hsetroot/files > /dev/null 2>&1
echo x - hsetroot/files/patch-src-hsetroot.c
sed 's/^X//' >hsetroot/files/patch-src-hsetroot.c << 'END-of-hsetroot/files/patch-src-hsetroot.c'
X--- src/hsetroot.c.bak	Sun Nov 30 19:39:51 2003
X+++ src/hsetroot.c	Sun Nov 30 19:37:08 2003
X@@ -179,11 +179,13 @@
X   if (alpha < 255)
X     {
X       // Create alpha-override mask
X-      imlib_image_set_has_alpha (1);
X       Imlib_Color_Modifier modifier = imlib_create_color_modifier ();
X+      DATA8 red[256], green[256], blue[256], alph[256];
X+
X+
X+      imlib_image_set_has_alpha (1);
X       imlib_context_set_color_modifier (modifier);
X 
X-      DATA8 red[256], green[256], blue[256], alph[256];
X       imlib_get_color_modifier_tables (red, green, blue, alph);
X       for (o = 0; o < 256; o++)
X 	alph[o] = (DATA8) alpha;
END-of-hsetroot/files/patch-src-hsetroot.c
echo x - hsetroot/Makefile
sed 's/^X//' >hsetroot/Makefile << 'END-of-hsetroot/Makefile'
X# New ports collection makefile for:  hsetroot
X# Date created:        30 November 2003
X# Whom:                Vincent Tantardini <vinc at freebsd-fr.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	hsetroot
XPORTVERSION=	1.0.2
XCATEGORIES=	graphics
XMASTER_SITES=	http://thegraveyard.org/files/
X
XMAINTAINER=	vinc at freebsd-fr.org
XCOMMENT=	Root window parameter setting background for X
X
XLIB_DEPENDS=	Imlib2.1:${PORTSDIR}/graphics/imlib2
X
XUSE_X_PREFIX=	YES
X
XGNU_CONFIGURE=	YES
XUSE_GMAKE=	YES
X
X.include 	<bsd.port.mk>
END-of-hsetroot/Makefile
echo x - hsetroot/distinfo
sed 's/^X//' >hsetroot/distinfo << 'END-of-hsetroot/distinfo'
XMD5 (hsetroot-1.0.2.tar.gz) = f599770a6411dcfe216c37b280fad9bc
END-of-hsetroot/distinfo
echo x - hsetroot/pkg-plist
sed 's/^X//' >hsetroot/pkg-plist << 'END-of-hsetroot/pkg-plist'
Xbin/hsetroot
Xshare/nls/POSIX
Xshare/nls/en_US.US-ASCII
END-of-hsetroot/pkg-plist
echo x - hsetroot/pkg-descr
sed 's/^X//' >hsetroot/pkg-descr << 'END-of-hsetroot/pkg-descr'
XHsetroot is a tool which allows you to compose wallpapers 
X("root pixmaps") for X.
X
XWWW: http://thegraveyard.org/hsetroot.php
X
X- Vincent Tantardini
Xvinc at freebsd-fr.org 
END-of-hsetroot/pkg-descr
exit
--- hsetroot.port ends here ---


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



More information about the freebsd-ports-bugs mailing list