ports/51748: net/gnugadu: big update, 0.2.2 -> 1.0.0
Michal at pr93.lublin.sdi.tpnet.pl
Michal at pr93.lublin.sdi.tpnet.pl
Sun May 4 11:50:25 UTC 2003
>Number: 51748
>Category: ports
>Synopsis: net/gnugadu: big update, 0.2.2 -> 1.0.0
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Sun May 04 04:50:19 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Michal Pasternak
>Release: FreeBSD 4.8-RC2 i386
>Organization:
>Environment:
>Description:
"Big" update of net/gnugadu port.
I marked it as serious with high priority, because:
- old port WWW page doesn't exist
- old port DISTFILE has been moved
- port got mature and is 1.0.0 now
I send you shar(1) archive, not a diff, because I introduced some new
files.
Dear commiter, plese:
- edit scripts/configure.gg and add LIB_DEPENDS in "arts" section
(I am not arts user)
- change Makefile to automatically include Makefile.inc when the port
is compiled for the first time (I couldn't get this to work - everything
configures okay, when I break running compile proces and re-run it)
Thanks,
Michal Pasternak
>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:
#
# gnugadu
# gnugadu/scripts
# gnugadu/scripts/configure.gg
# gnugadu/files
# gnugadu/files/patch-Makefile.in
# gnugadu/Makefile
# gnugadu/distinfo
# gnugadu/pkg-descr
# gnugadu/pkg-plist
#
echo c - gnugadu
mkdir -p gnugadu > /dev/null 2>&1
echo c - gnugadu/scripts
mkdir -p gnugadu/scripts > /dev/null 2>&1
echo x - gnugadu/scripts/configure.gg
sed 's/^X//' >gnugadu/scripts/configure.gg << 'END-of-gnugadu/scripts/configure.gg'
X#!/bin/sh
X# $FreeBSD$
X
Xif [ -f ${WRKDIRPREFIX}${REALCURDIR}/Makefile.inc ]; then
X exit
Xfi
X
Xtempfile=`/usr/bin/mktemp -t checklist`
X
Xif [ "${BATCH}" ]; then
X if [ "${GNUGADU_OPTIONS}" ]; then
X set ${GNUGADU_OPTIONS}
X else
X set "esd"
X fi
Xelse
X /usr/bin/dialog --title "configuration options" --clear \
X --checklist "\n\
XPlease select desired options:" -1 -1 16 \
Xesd "esd support" ON \
Xarts "arts support" OFF \
Xgnome "GNOME support" OFF \
Xpanel "GNOME applet support" OFF \
Xdockapp "WindowMaker DockApp support" OFF \
Xdocklet "KDE docklet support" OFF \
Xxmms "XMMS Playlist support" OFF \
X2> $tempfile
X
X retval=$?
X
X if [ -s $tempfile ]; then
X set `cat $tempfile`
X fi
X rm -f $tempfile
X
X case $retval in
X 0) if [ -z "$*" ]; then
X echo "Nothing selected"
X fi
X ;;
X 1) echo "Cancel pressed."
X exit 1
X ;;
X esac
Xfi
X
X${MKDIR} ${WRKDIRPREFIX}${REALCURDIR}
Xexec > ${WRKDIRPREFIX}${REALCURDIR}/Makefile.inc
X
Xwhile [ "$1" ]; do
X case $1 in
X \"esd\")
X echo "USE_GNOME+= esound"
X echo "CONFIGURE_ARGS+= --enable-esd"
X esd="yes"
X ;;
X
X \"arts\")
X echo "CONFIGURE_ARGS+= --enable-arts"
X # TODO:
X # echo "LIB_DEPENDS="
X ;;
X \"gnome\")
X echo "CONFIGURE_ARGS+= --enable-panel"
X ;;
X \"panel\")
X echo "WANT_GNOME=yes"
X echo "CONFIGURE_ARGS+= --enable-gnome"
X ;;
X \"dockapp\")
X echo "CONFIGURE_ARGS+= --with-dockapp"
X ;;
X \"docklet\")
X echo "CONFIGURE_ARGS+= --enable-docklet"
X ;;
X \"xmms\")
X echo "CONFIGURE_ARGS+= --enable-xmms"
X ;;
X *)
X echo "Invalid option(s): $*" > /dev/stderr
X rm -f ${WRKDIRPREFIX}${REALCURDIR}/Makefile.inc
X exit 1
X ;;
X esac
X shift
Xdone
X
Xif [ -z "${esd}" ]; then
X echo "CONFIGURE_ARGS+= --disable-esd --without-esd"
Xfi
END-of-gnugadu/scripts/configure.gg
echo c - gnugadu/files
mkdir -p gnugadu/files > /dev/null 2>&1
echo x - gnugadu/files/patch-Makefile.in
sed 's/^X//' >gnugadu/files/patch-Makefile.in << 'END-of-gnugadu/files/patch-Makefile.in'
X--- src/Makefile.in~ Sun May 4 12:53:02 2003
X+++ src/Makefile.in Sun May 4 12:57:36 2003
X@@ -79,7 +79,7 @@
X GTKXMHTML_LIBS = @GTKXMHTML_LIBS@
X GTK_CFLAGS += @GTK_CFLAGS@ @GTK_CFLAGS@
X GTK_CONFIG = @GTK_CONFIG@
X-GTK_LIBS = @GTK_LIBS@
X+GTK_LIBS = @GTK_LIBS@ -lc_r
X HAVE_ESD_FALSE = @HAVE_ESD_FALSE@
X HAVE_ESD_TRUE = @HAVE_ESD_TRUE@
X HAVE_GNORBA_FALSE = @HAVE_GNORBA_FALSE@
END-of-gnugadu/files/patch-Makefile.in
echo x - gnugadu/Makefile
sed 's/^X//' >gnugadu/Makefile << 'END-of-gnugadu/Makefile'
X# Ports collection makefile for: gnugadu
X# Date created: 23 dec 2001
X# Whom: doc at lublin.t1.pl
X#
X# $FreeBSD: ports/net/gnugadu/Makefile,v 1.7 2003/04/20 19:37:55 marcus Exp $
X#
X
XPORTNAME= gnugadu
XPORTVERSION= 1.0.0
X
XCATEGORIES= net
XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR= ggadu
XDISTNAME= gg-${PORTVERSION}
X
XMAINTAINER= dotz at irc.pl
XCOMMENT= A GaduGadu client for X11/GTK
X
XUSE_GMAKE= yes
XUSE_GNOME= gtk12
XGNU_CONFIGURE= yes
X
XSCRIPTS_ENV= WRKDIRPREFIX="${WRKDIRPREFIX}" \
X TOUCH="${TOUCH}" \
X MKDIR="${MKDIR}" \
X CAT="${CAT}" \
X GNUGADU_OPTIONS="${GNUGADU_OPTIONS}" \
X REALCURDIR="${.CURDIR}"
X
Xpre-fetch:
X @${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure.gg
X
Xpost-patch:
X @${PERL} -pi -e 's,CFLAGS =, CFLAGS += \@GTK_CFLAGS\@,; \
X s,GTK_ CFLAGS,GTK_CFLAGS,' ${WRKSRC}/Makefile.in \
X ${WRKSRC}/src/Makefile.in
X @${PERL} -pi -e 's,-O2,,; s,gtk-config,${GTK_CONFIG},' \
X ${WRKSRC}/configure
X
Xpost-install:
X strip ${PREFIX}/bin/gg
X
Xpost-clean:
X @${RM} -f ${WRKDIRPREFIX}${.CURDIR}/Makefile.inc
X
X#TODO: this won't notice Makefile.inc when run 1st time
X.if exists(${WRKDIRPREFIX}${.CURDIR}/Makefile.inc)
X.include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc"
X.endif
X
X.include <bsd.port.mk>
END-of-gnugadu/Makefile
echo x - gnugadu/distinfo
sed 's/^X//' >gnugadu/distinfo << 'END-of-gnugadu/distinfo'
XMD5 (gg-1.0.0.tar.gz) = 7b32d4c866ef59dfe22373a83b1a9a2a
END-of-gnugadu/distinfo
echo x - gnugadu/pkg-descr
sed 's/^X//' >gnugadu/pkg-descr << 'END-of-gnugadu/pkg-descr'
XA GaduGadu client for X11/GTK. GaduGadu is an ICQ-like messenger for the
XPolish language.
X
XWWW: http://ggadu.sourceforge.net/
END-of-gnugadu/pkg-descr
echo x - gnugadu/pkg-plist
sed 's/^X//' >gnugadu/pkg-plist << 'END-of-gnugadu/pkg-plist'
Xbin/gg
Xshare/gg/pixmaps/arrow.xpm
Xshare/gg/pixmaps/away-descr.xpm
Xshare/gg/pixmaps/away-mobile-descr.xpm
Xshare/gg/pixmaps/away-mobile.xpm
Xshare/gg/pixmaps/away.xpm
Xshare/gg/pixmaps/cell.xpm
Xshare/gg/pixmaps/cellphone.xpm
Xshare/gg/pixmaps/chat.xpm
Xshare/gg/pixmaps/config.xpm
Xshare/gg/pixmaps/empty.xpm
Xshare/gg/pixmaps/gg-logo.xpm
Xshare/gg/pixmaps/gg.xpm
Xshare/gg/pixmaps/go-chat.xpm
Xshare/gg/pixmaps/go-msg.xpm
Xshare/gg/pixmaps/ignored.xpm
Xshare/gg/pixmaps/invisible-descr.xpm
Xshare/gg/pixmaps/invisible.xpm
Xshare/gg/pixmaps/malehead.xpm
Xshare/gg/pixmaps/mobile.xpm
Xshare/gg/pixmaps/msg.xpm
Xshare/gg/pixmaps/new-msg.xpm
Xshare/gg/pixmaps/offline-descr.xpm
Xshare/gg/pixmaps/offline-mobile-descr.xpm
Xshare/gg/pixmaps/offline-mobile.xpm
Xshare/gg/pixmaps/offline.xpm
Xshare/gg/pixmaps/online-descr.xpm
Xshare/gg/pixmaps/online-mobile-descr.xpm
Xshare/gg/pixmaps/online-mobile.xpm
Xshare/gg/pixmaps/online.xpm
Xshare/gg/pixmaps/online_connecting.xpm
Xshare/gg/pixmaps/pubdir_info.xpm
Xshare/gg/pixmaps/search.xpm
Xshare/gg/pixmaps/search_unknown.xpm
Xshare/gg/pixmaps/wmexit.xpm
Xshare/gg/pixmaps/wmmsg.xpm
Xshare/gg/sounds/msg.wav
Xshare/gg/sounds/usr.wav
Xshare/gg/sounds/yahoo.wav
X at dirrm share/gg/sounds
X at dirrm share/gg/pixmaps
X at dirrm share/gg
END-of-gnugadu/pkg-plist
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list