Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Feb 1999 07:35:45 -0800 (PST)
From:      cpiazza@home.net
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/10279: [new port] gtimer 
Message-ID:  <199902261535.HAA00582@norn.ca.eu.org>

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

>Number:         10279
>Category:       ports
>Synopsis:       [new port] gtimer
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 26 10:10:07 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Chris Piazza
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
n/a 
>Environment:

FreeBSD norn.ca.eu.org 4.0-CURRENT

>Description:

A GTK app that keeps track of time used throughout the day.

Comments welcome.

>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:
#
#	gtimer
#	gtimer/patches
#	gtimer/patches/patch-aa
#	gtimer/Makefile
#	gtimer/files
#	gtimer/files/md5
#	gtimer/pkg
#	gtimer/pkg/PLIST
#	gtimer/pkg/COMMENT
#	gtimer/pkg/DESCR
#
echo c - gtimer
mkdir -p gtimer > /dev/null 2>&1
echo c - gtimer/patches
mkdir -p gtimer/patches > /dev/null 2>&1
echo x - gtimer/patches/patch-aa
sed 's/^X//' >gtimer/patches/patch-aa << 'END-of-gtimer/patches/patch-aa'
X--- Makefile.orig	Wed Feb 24 17:15:53 1999
X+++ Makefile	Thu Feb 25 22:34:29 1999
X@@ -21,27 +21,27 @@
X #
X 
X #CFLAGS	= -O2 -Wall
X-CFLAGS	= `gtk-config --cflags`
X+CFLAGS	+= `gtk11d-config --cflags`
X LIBS	=
X 
X-# determine LDFLAGS using "gtk-config --libs"
X-STATIC_LDFLAGS = -static `gtk-config --libs`
X-LDFLAGS = `gtk-config --libs`
X+# determine LDFLAGS using "gtk11d-config --libs"
X+STATIC_LDFLAGS = -static `gtk11d-config --libs`
X+LDFLAGS = `gtk11d-config --libs`
X VERSION = unknown
X DIR	= gtimer-$(VERSION)
X-DESTDIR = /usr/X11R6/bin
X+DESTDIR = $(PREFIX)/bin
X 
X # default
X default:
X-	make "CFLAGS=`gtk-config --cflags`" "LDFLAGS=`gtk-config --libs`" "LIBS=" gtimer
X+	make "CFLAGS=`gtk11d-config --cflags`" "LDFLAGS=`gtk11d-config --libs`" "LIBS=" gtimer
X 
X # to build this, you need the memdebug library I wrote.
X debug:
X-	make "CFLAGS=`gtk-config --cflags` -g -Wall -DGTIMER_MEMDEBUG" "LIBS=memdebug/libmd.a" gtimer
X+	make "CFLAGS=`gtk11d-config --cflags` -g -Wall -DGTIMER_MEMDEBUG" "LIBS=memdebug/libmd.a" gtimer
X 
X # build a static version
X static:
X-	make "CFLAGS=`gtk-config --cflags` -g -Wall -DGTIMER_MEMDEBUG" "LDFLAGS=$(STATIC_LDFLAGS)" gtimer
X+	make "CFLAGS=`gtk11d-config --cflags` -g -Wall -DGTIMER_MEMDEBUG" "LDFLAGS=$(STATIC_LDFLAGS)" gtimer
X 	strip gtimer
X 
X 
X@@ -142,9 +142,10 @@
X distclean: clean
X 
X install:
X-	install -o root -m 0755 `pwd`/gtimer $(DESTDIR)
X+	install -c -s -o root -m 0755 gtimer $(DESTDIR)
X+	install -c -o root -m 644 gtimer.1 $(PREFIX)/man/man1
X 
X-all: clean gtimer install
X+all: gtimer
X 
X makefile:
X 	@sed -n '1,/^# DEPEND/ p' Makefile > Makefile.new; \
END-of-gtimer/patches/patch-aa
echo x - gtimer/Makefile
sed 's/^X//' >gtimer/Makefile << 'END-of-gtimer/Makefile'
X# New ports collection makefile for:	gtimer
X# Version required:    1.1.1
X# Date created:        25 February 1999
X# Whom:                Chris Piazza <cpiazza@home.net>
X#
X# $Id$
X#
X
XDISTNAME=	gtimer-1.1.1
XCATEGORIES=	misc
XMASTER_SITES=	http://www.radix.net/~cknudsen/gtimer/
X
XMAINTAINER=	cpiazza@home.net
X
XLIB_DEPENDS=	gtk11d.1:${PORTSDIR}/x11-toolkits/gtk11-devel
X
XUSE_BZIP2=	YES
XMAN1=		gtimer.1
X
X.include <bsd.port.mk>
END-of-gtimer/Makefile
echo c - gtimer/files
mkdir -p gtimer/files > /dev/null 2>&1
echo x - gtimer/files/md5
sed 's/^X//' >gtimer/files/md5 << 'END-of-gtimer/files/md5'
XMD5 (gtimer-1.1.1.tar.bz2) = 3633f27776e4bb9ec51ea294835810f1
END-of-gtimer/files/md5
echo c - gtimer/pkg
mkdir -p gtimer/pkg > /dev/null 2>&1
echo x - gtimer/pkg/PLIST
sed 's/^X//' >gtimer/pkg/PLIST << 'END-of-gtimer/pkg/PLIST'
Xbin/gtimer
END-of-gtimer/pkg/PLIST
echo x - gtimer/pkg/COMMENT
sed 's/^X//' >gtimer/pkg/COMMENT << 'END-of-gtimer/pkg/COMMENT'
XA timer for your personal activities.
END-of-gtimer/pkg/COMMENT
echo x - gtimer/pkg/DESCR
sed 's/^X//' >gtimer/pkg/DESCR << 'END-of-gtimer/pkg/DESCR'
Xgtimer is an application built with GTK that keeps track of all
Xyour activities and the amount of time spent on those activities.
X
XHomepage:
Xhttp://www.radix.net/~cknudsen/gtimer/
XAuthor:
XCraig Knudsen <cknudsen@radix.net>
X
X-Chris Piazza
Xcpiazza@home.net
END-of-gtimer/pkg/DESCR
exit

-Chris


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


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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