ports/133880: Created/updated port for tint2

Aldis Berjoza killasmurf86 at gmail.com
Mon Apr 20 21:10:03 UTC 2009


>Number:         133880
>Category:       ports
>Synopsis:       Created/updated port for tint2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 20 21:10:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Aldis Berjoza
>Release:        FreeBSD-7.1-p4
>Organization:
>Environment:
>Description:
In ports tree there is x11/tint v0.6 available

I ported tint2-0.7-beta1 to freebsd (based on x11/tint Makefile)
http://code.google.com/p/tint2/

I ported it because, in this version they have added trayer, and i was looking for app like this for long time.

I have made 2 patches for source code:
1) for Makefile:
http://killasmurf86.lv/data/download/patch-Makefile.diff.gz

2) for tint.c (optional)
http://killasmurf86.lv/data/download/patch-tint.c.diff.gz
This patch only comments 2 lines in source, to make -Wall pass without problem
This can be removed

It would be nice if FreeBSD could also upload patched to their server, because my hosting will expire soon, and i don't have cash to pay for it


If anything let me know

P.S. It's my first port. I hope I won't mess things up

P.P.S.
Sorry about attachment, I'm not sure if i did the right thing there
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# 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:
#
#	Makefile
#	distinfo
#	pkg-descr
#
echo x - Makefile
sed 's/^X//' >Makefile << 'b67911656ef5d18c4ae36cb6741b7965'
X# New ports collection makefile for:	tint2
X# Date created:		Mon Apr 20, 2009
X# Whom:		Aldis Berjoza <killasmurf86 at gmail.com>
X
XPORTNAME=		tint2
XPORTVERSION=	0.7.b1
X#PORTREVISION?=	0
XCATEGORIES=		x11
XMASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
XDISTNAME=		${PORTNAME}-0.7-beta1
X
XPATCH_SITES=	http://killasmurf86.lv/data/download/
XPATCHFILES=		patch-Makefile.diff.gz patch-tint.c.diff.gz
X
XMAINTAINER=		killasmurf86 at gmail.com
XCOMMENT=		Lightweight freedesktop-compliant panel/taskbar/clock/trayer
X
XLIB_DEPENDS=	cairo.2:${PORTSDIR}/graphics/cairo
X
XPROJECTHOST=	tint2
XUSE_GNOME=		pango
XUSE_XORG=		xinerama xrandr
XUSE_ELF=		imlib2
XUSE_GMAKE=		yes
X
XMAKE_ENV+=		DESTDIR=${PREFIX}
XPLIST_FILES+=	bin/tint2 \
X				man/man1/tint2.1.gz \
X				etc/xdg/tint2/tint2rc
X
XPLIST_DIRS=		etc/xdg/tint2
X
XPORTDOCS=		ChangeLog README tint2-0.7.pdf
X
XWRKSRC=			${WRKDIR}/${DISTNAME}/src
XALL_TARGET=		${PORTNAME}
X
Xpre-install:
X	${ECHO} "rmdir ${X11BASE}/etc/xdg 2>/dev/null || true" > \
X		${WRKDIR}/pkg-deinstall
XPKGDEINSTALL=	${WRKDIR}/pkg-deinstall
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X	${INSTALL_DATA} ${WRKSRC}/../ChangeLog ${DOCSDIR}
X	${INSTALL_DATA} ${WRKSRC}/../README ${DOCSDIR}
X	${INSTALL_DATA} ${WRKSRC}/../doc/tint2-0.7.pdf ${DOCSDIR}
X.endif
X
X.if !defined(NOPORTEXAMPLES)
X	${MKDIR} ${EXAMPLESDIR}
X.for N in 1 2 3 4 5 6 7 8
X	${INSTALL_DATA} ${WRKSRC}/../tintrc0${N} ${EXAMPLESDIR}/tint2rc0${N}
X.endfor
X.for N in 1 2 3 4 5 6 7 8
XPLIST_FILES+=	${EXAMPLESDIR_REL}/tint2rc0${N}
X.endfor
XPLIST_DIRS+=	${EXAMPLESDIR_REL}
X.endif
X
X.include <bsd.port.mk>
b67911656ef5d18c4ae36cb6741b7965
echo x - distinfo
sed 's/^X//' >distinfo << '57677d168a5ec21bdf22c9501f075a8f'
XMD5 (tint2-0.7-beta1.tar.gz) = 93b70b4603235b307d3707b2e51d23d9
XSHA256 (tint2-0.7-beta1.tar.gz) = b7b6169cf8e8bc317a3bb931aed5f53eec9674d69154f3ae611ab08cc8cd5697
XSIZE (tint2-0.7-beta1.tar.gz) = 1365492
XMD5 (patch-Makefile.diff.gz) = 11af18334c9913eff321b7832627efba
XSHA256 (patch-Makefile.diff.gz) = 7c22d7a09d54738a228c65e0494c3abed58b29d0dc7cd26867a2f10515e29a36
XSIZE (patch-Makefile.diff.gz) = 687
XMD5 (patch-tint.c.diff.gz) = 6784d5d2e79ec95f738274784071093b
XSHA256 (patch-tint.c.diff.gz) = 2d357d7e54fe863bdad324f50d5d44c434688a37652a6320033fdd683c40d8e0
XSIZE (patch-tint.c.diff.gz) = 368
57677d168a5ec21bdf22c9501f075a8f
echo x - pkg-descr
sed 's/^X//' >pkg-descr << '7f9555c3c1089940396b503dd37f3979'
XTint is a simple panel/taskbar intentionally made for openbox3,
Xbut should also work with other window managers.
X
XThe goal is to keep a clean and unintrusive look with lightweight code and
Xcompliance with freedesktop specifications.
X
XTint2 panel features
X    * panel with taskbar, systray and clock
X    * easy to customize : color/transparency on font, icon, border and 
X        background
X    * pager like capability : send task from one workspace to another,
X        switch workspace
X    * multi-monitor capability : one panel per monitor, show task from
X        current monitor
X    * customize mouse event 
X
XWWW:	http://code.google.com/p/tint2/
X
X- Aldis Berjoza
Xkillasmurf86 at gmail.com
7f9555c3c1089940396b503dd37f3979
exit



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



More information about the freebsd-ports-bugs mailing list