Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jun 2011 17:56:57 +0200 (CEST)
From:      Guido Falsi <mad@madpilot.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/158128: New port: x11/trayer-srg active fork of x11/trayer
Message-ID:  <20110621155657.A6A6A1F0F@megatron.madpilot.net>
Resent-Message-ID: <201106211600.p5LG0OkP043006@freefall.freebsd.org>

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

>Number:         158128
>Category:       ports
>Synopsis:       New port: x11/trayer-srg active fork of x11/trayer
>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:   Tue Jun 21 16:00:24 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Guido Falsi
>Release:        FreeBSD 8.2-STABLE amd64
>Organization:
none
>Environment:
System: FreeBSD megatron.madpilot.net 8.2-STABLE FreeBSD 8.2-STABLE #1: Mon Jun 6 20:10:31 CEST 2011 root@megatron.madpilot.net:/usr/obj/usr/src/sys/MEGATRON amd64

>Description:

This is an active fork of what we have in x11/trayer, it states to
have cleaner code and more fancy features. It is also a drop in
replacement.

Please note that the following line should be added to x11/trayer,
since they install the same files:

CONFLICTS_INSTALL=      trayer-srg*

>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:
#
#	trayer-srg
#	trayer-srg/files
#	trayer-srg/files/patch-Makefile.common
#	trayer-srg/Makefile
#	trayer-srg/distinfo
#	trayer-srg/pkg-descr
#
echo c - trayer-srg
mkdir -p trayer-srg > /dev/null 2>&1
echo c - trayer-srg/files
mkdir -p trayer-srg/files > /dev/null 2>&1
echo x - trayer-srg/files/patch-Makefile.common
sed 's/^X//' >trayer-srg/files/patch-Makefile.common << '836d4c1dc4336e233c40423281bc2d29'
X--- Makefile.common.orig	2011-05-01 15:07:21.000000000 +0200
X+++ Makefile.common	2011-06-21 15:50:10.302230043 +0200
X@@ -15,10 +15,10 @@
X endif
X endif
X 
X-CC = gcc
X+CC ?= gcc
X LIBS = $(shell pkg-config --libs gtk+-2.0 gdk-pixbuf-2.0 gdk-pixbuf-xlib-2.0) -lX11 -L/usr/X11R6/lib  -lXmu
X INCS = $(shell pkg-config --cflags gtk+-2.0 gdk-pixbuf-2.0 gdk-pixbuf-xlib-2.0)
X-CFLAGS = -O2    # overwriten by command line or env. variable
X+CFLAGS ?= -O2    # overwriten by command line or env. variable
X CFLAGS += -Wall # always nice to have 
X ifneq (,$(DEVEL))
X CFLAGS := -g -Wall 
836d4c1dc4336e233c40423281bc2d29
echo x - trayer-srg/Makefile
sed 's/^X//' >trayer-srg/Makefile << '2080bdf9295aa9d12bbe59658f885e72'
X# New ports collection makefile for:   trayer-srg
X# Date created:	Jun 21, 2011
X# Whom:		Guido Falsi <mad@madpilot.net>
X# Based on the x11/trayer port Makefile from Alexey Mikhailov <karma@ez.pereslavl.ru>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	trayer
XPORTVERSION=	1.1.1
XCATEGORIES=	x11
XMASTER_SITES=	http://github.com/sargon/${PORTNAME}${PKGNAMESUFFIX}/tarball/${PORTNAME}-${PORTVERSION}/
XPKGNAMESUFFIX=	-srg
XDISTNAME=	sargon-${PORTNAME}${PKGNAMESUFFIX}-${PORTNAME}-${PORTVERSION}-${GITVERSION}
X
XMAINTAINER=	mad@madpilot.net
XCOMMENT=	Lightweight GTK2-based systray for UNIX desktop - sargon fork
X
XCONFLICTS_INSTALL=	trayer-1.0*
XGITVERSION=	0-g82d5d05
XFETCH_ARGS=	-pRr
XWRKSRC=		${WRKDIR}/sargon-${PORTNAME}${PKGNAMESUFFIX}-${GITVERSION:S/^0-g//}
XUSE_GNOME=	gtk20 glib20 pango atk
XUSE_ICONV=	yes
XUSE_XORG=	xmu
XUSE_GMAKE=	yes
XMAKE_ARGS=	"PREFIX=${PREFIX}"
X
X.if !defined(NOPORTDOCS)
XPORTDOCS=	README CREDITS CHANGELOG
X.endif
X
XPLIST_FILES=	bin/trayer
X
Xpost-patch:
X	@${REINPLACE_CMD} -e 's|-D.*_DISABLE_DEPRECATED||g' \
X		${WRKSRC}/Makefile.common
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X.for f in ${PORTDOCS}
X	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
X.endfor
X.endif
X
X.include <bsd.port.mk>
2080bdf9295aa9d12bbe59658f885e72
echo x - trayer-srg/distinfo
sed 's/^X//' >trayer-srg/distinfo << 'b56efaca2a81decc2dd9eb47a20fc0b7'
XSHA256 (sargon-trayer-srg-trayer-1.1.1-0-g82d5d05.tar.gz) = 94121f2c69d18e074982c6c2b808879076d0034fa70a144adf5d5dcb2b3c60eb
XSIZE (sargon-trayer-srg-trayer-1.1.1-0-g82d5d05.tar.gz) = 24645
b56efaca2a81decc2dd9eb47a20fc0b7
echo x - trayer-srg/pkg-descr
sed 's/^X//' >trayer-srg/pkg-descr << '818761e877e7b60c051e18f33ea9bcc0'
Xtrayer-srg was forked from trayer in january 2010 to add some
Xfancy features and clean up code.
X
Xtrayer is small program designed to provide systray functionality
Xpresent in GNOME/KDE desktop enviroments for window managers 
Xwhich doesn't support that function. It's similar to other 
Xapplications such as 'peksystray' and 'docker'.
X
Xtrayer code was extracted from fbpanel application, you can find more
Xabout it on it's homepage
X
XWWW: http://github.com/sargon/trayer-srg
818761e877e7b60c051e18f33ea9bcc0
exit

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



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