From owner-freebsd-ports Mon Dec 7 19:40:02 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA02083 for freebsd-ports-outgoing; Mon, 7 Dec 1998 19:40:02 -0800 (PST) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA02027 for ; Mon, 7 Dec 1998 19:40:00 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from Unknown UID 563@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id TAA18570; Mon, 7 Dec 1998 19:40:00 -0800 (PST) Received: from mail.lig.bellsouth.net (mail.lig.bellsouth.net [205.152.0.50]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA01536 for ; Mon, 7 Dec 1998 19:34:40 -0800 (PST) (envelope-from gljohns@bellsouth.net) Received: from gforce.johnson.home (host-209-214-146-4.msy.bellsouth.net [209.214.146.4]) by mail.lig.bellsouth.net (8.8.8-spamdog/8.8.5) with ESMTP id WAA26497 for ; Mon, 7 Dec 1998 22:34:29 -0500 (EST) Received: (from glenn@localhost) by gforce.johnson.home (8.9.1/8.9.1) id VAA02038; Mon, 7 Dec 1998 21:34:21 -0600 (CST) (envelope-from glenn) Message-Id: <199812080334.VAA02038@gforce.johnson.home> Date: Mon, 7 Dec 1998 21:34:21 -0600 (CST) From: Glenn Johnson To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: ports/9006: new port of libPropListgnome Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 9006 >Category: ports >Synopsis: New port of libPropListgnome >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Dec 7 19:40:00 PST 1998 >Last-Modified: >Originator: Glenn Johnson >Organization: >Release: FreeBSD 3.0-CURRENT i386 >Environment: >Description: This is a new port of libPropListgnome. Some gnome software uses libPropList for property settings. Window Maker also uses libPropList, as does wdm. However, there seem to be some differences between the two and nevertheless, it would not be good to have future gnome ports depend on Window Maker. I made this port from the libPropList found on the gnome ftp sites; the distribution file is called libPropList-0.7.1gnome, but it builds the library by default as libPropList. This conflicts with the libPropList installed by Window Maker, so I made this port build the library as libPropListgnome. So any future gnome ports that need libPropList should link against libPropListgnome instead. >How-To-Repeat: >Fix: Extract the following into ports/x11: # 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: # # libPropListgnome # libPropListgnome/Makefile # libPropListgnome/files # libPropListgnome/files/makefile.lib # libPropListgnome/files/md5 # libPropListgnome/pkg # libPropListgnome/pkg/COMMENT # libPropListgnome/pkg/DESCR # libPropListgnome/pkg/PLIST # echo c - libPropListgnome mkdir -p libPropListgnome > /dev/null 2>&1 echo x - libPropListgnome/Makefile sed 's/^X//' >libPropListgnome/Makefile << 'END-of-libPropListgnome/Makefile' X# New ports collection makefile for: libPropListgnome X# Version required: 2.6 X# Date Created: 6 December 1998 X# Whom: Glenn Johnson X# X# $Id$ X# X XDISTNAME= libPropList-0.7.1gnome XPKGNAME= libPropListgnome-0.7.1 XCATEGORIES= x11 XMASTER_SITES= ftp://ftp.jimpick.com/pub/mirrors/gnome/sources/ \ X ftp://ftp.gnome.org/pub/GNOME/sources/ X XMAINTAINER= gljohns@bellsouth.net X XWRKSRC= ${WRKDIR}/libPropList XUSE_X_PREFIX= yes X X.include X Xpre-build: X ${CP} ${FILESDIR}/makefile.lib ${WRKSRC}/Makefile X bison -d ${WRKSRC}/proplist.y -o ${WRKSRC}/proplist.tab.c X flex -t -B ${WRKSRC}/proplist.l > ${WRKSRC}/lex.pl.c X Xpost-install: X ${LDCONFIG} -m ${X11BASE}/lib X if [ "${PORTOBJFORMAT}" = "aout" ]; then \ X ${LN} -sf libPropListgnome.so.1.0 ${X11BASE}/lib/libPropListgnome.so; \ X fi X X.include END-of-libPropListgnome/Makefile echo c - libPropListgnome/files mkdir -p libPropListgnome/files > /dev/null 2>&1 echo x - libPropListgnome/files/makefile.lib sed 's/^X//' >libPropListgnome/files/makefile.lib << 'END-of-libPropListgnome/files/makefile.lib' XLIBDIR= ${X11BASE}/lib XNOPROFILE= no XCFLAGS+= -DPACKAGE=\"libPropListgnome\" -DVERSION=\"0.7.1\" \ X -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_FILE_H=1 \ X -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DTIME_WITH_SYS_TIME=1 \ X -DRETSIGTYPE=void -DHAVE_GETHOSTNAME=1 -DHAVE_GETHOSTBYNAME=1 \ X -DHAVE_GETTIMEOFDAY=1 -DHAVE_MKDIR=1 -DHAVE_RMDIR=1 \ X -DHAVE_SELECT=1 -DHAVE_STRDUP=1 -DHAVE_STRSTR=1 \ X -DHAVE_SOCKET=1 -DDAEMON_PATH=\"${PREFIX}/bin/gsdd\" -I. X XSHLIB_MAJOR= 1 XSHLIB_MINOR= 0 X XLIB= PropListgnome X XSRCS= comparing.c daemon.c filehandling.c getting.c \ X modifying.c memhandling.c util.c proplist.tab.c lex.pl.c X X.include END-of-libPropListgnome/files/makefile.lib echo x - libPropListgnome/files/md5 sed 's/^X//' >libPropListgnome/files/md5 << 'END-of-libPropListgnome/files/md5' XMD5 (libPropList-0.7.1gnome.tar.gz) = c9c1347220765200d36f9644822f064c END-of-libPropListgnome/files/md5 echo c - libPropListgnome/pkg mkdir -p libPropListgnome/pkg > /dev/null 2>&1 echo x - libPropListgnome/pkg/COMMENT sed 's/^X//' >libPropListgnome/pkg/COMMENT << 'END-of-libPropListgnome/pkg/COMMENT' XProperty library for gnome END-of-libPropListgnome/pkg/COMMENT echo x - libPropListgnome/pkg/DESCR sed 's/^X//' >libPropListgnome/pkg/DESCR << 'END-of-libPropListgnome/pkg/DESCR' XThis library is necessary for property settings for some gnome applications. X XThe purpose of PL is to closely mimick the behaviour of the property Xlists used in GNUstep/OPENSTEP (there formed with the NSString, XNSData, NSArray and NSDictionary classes) and to be compatible with Xit. PL enables programs that use configuration or preference files to Xmake these compatible with GNUstep/OPENSTEP's user defaults handling Xmechanism, without needing to use Objective-C or GNUstep/OPENSTEP Xthemselves. END-of-libPropListgnome/pkg/DESCR echo x - libPropListgnome/pkg/PLIST sed 's/^X//' >libPropListgnome/pkg/PLIST << 'END-of-libPropListgnome/pkg/PLIST' Xlib/libPropListgnome.a Xlib/libPropListgnome.so.1 Xlib/libPropListgnome.so X@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B X@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R END-of-libPropListgnome/pkg/PLIST exit >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message