Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Dec 1998 21:34:21 -0600 (CST)
From:      Glenn Johnson <gljohns@bellsouth.net>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/9006: new port of libPropListgnome
Message-ID:  <199812080334.VAA02038@gforce.johnson.home>

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

>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 <gljohns@bellsouth.net>
>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 <bsd.port.pre.mk>
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 <bsd.port.post.mk>
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 <bsd.lib.mk>
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



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