ports/56870: New port: qtella 0.6.2
Jonathan Belson
mustek at FreeBSD-uk.eu.org
Sun Sep 14 16:50:16 UTC 2003
>Number: 56870
>Category: ports
>Synopsis: New port: qtella 0.6.2
>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: Sun Sep 14 09:50:14 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Jonathan Belson
>Release: FreeBSD 4.7-STABLE i386
>Organization:
>Environment:
System: FreeBSD dogma 4.7-STABLE FreeBSD 4.7-STABLE #0: Sat Nov 9 19:04:47 GMT 2002 ljohns at dogma:/usr/obj/usr/src/sys/DOGMA i386
>Description:
This is a port for Qtella 0.6.2, a Gnutella client using Qt. Tested under -STABLE and 5.0-RELEASE.
>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:
#
# qtella
# qtella/files
# qtella/files/patch-include::SHA1Storage.h
# qtella/files/patch-include::sha1.h
# qtella/files/patch-Interface.cpp
# qtella/pkg-plist
# qtella/distinfo
# qtella/pkg-descr
# qtella/Makefile
#
echo c - qtella
mkdir -p qtella > /dev/null 2>&1
echo c - qtella/files
mkdir -p qtella/files > /dev/null 2>&1
echo x - qtella/files/patch-include::SHA1Storage.h
sed 's/^X//' >qtella/files/patch-include::SHA1Storage.h << 'END-of-qtella/files/patch-include::SHA1Storage.h'
X--- include/SHA1Storage.h.orig Sun Jan 26 21:43:06 2003
X+++ include/SHA1Storage.h Sun Jan 26 21:41:40 2003
X@@ -7,7 +7,7 @@
X #include <qobject.h>
X #include <qstring.h>
X #include <qtimer.h>
X-#include <stdint.h>
X+#include <inttypes.h>
X
X #include "SharedFile.h"
X
END-of-qtella/files/patch-include::SHA1Storage.h
echo x - qtella/files/patch-include::sha1.h
sed 's/^X//' >qtella/files/patch-include::sha1.h << 'END-of-qtella/files/patch-include::sha1.h'
X--- include/sha1.h.orig Wed Oct 2 08:27:57 2002
X+++ include/sha1.h Mon Jan 27 17:24:25 2003
X@@ -5,7 +5,7 @@
X extern "C" {
X #endif
X
X-#include <stdint.h>
X+#include <inttypes.h>
X /*
X * If you do not have the ISO standard stdint.h header file, then you
X * must typdef the following:
X@@ -27,6 +27,11 @@
X };
X #endif
X #define SHA1HashSize 20
X+
X+#include <osreldate.h>
X+#if __FreeBSD_version < 500000
X+typedef uint32_t int_least16_t;
X+#endif
X
X /*
X * This structure will hold context information for the SHA-1
END-of-qtella/files/patch-include::sha1.h
echo x - qtella/files/patch-Interface.cpp
sed 's/^X//' >qtella/files/patch-Interface.cpp << 'END-of-qtella/files/patch-Interface.cpp'
X*** src/Interface.cpp.orig Sun Sep 7 20:30:56 2003
X--- src/Interface.cpp Sun Sep 7 20:31:05 2003
X***************
X*** 1,6 ****
X--- 1,7 ----
X #include "Interface.h"
X
X #if !defined(_WIN32)
X+ #include <sys/types.h>
X #include <sys/socket.h>
X #include <sys/ioctl.h>
X #include <netinet/in.h>
END-of-qtella/files/patch-Interface.cpp
echo x - qtella/pkg-plist
sed 's/^X//' >qtella/pkg-plist << 'END-of-qtella/pkg-plist'
Xbin/qtella
Xshare/qtella/pixmaps/ball_d.xpm
Xshare/qtella/pixmaps/ball_g.xpm
Xshare/qtella/pixmaps/ball_r.xpm
Xshare/qtella/pixmaps/ball_y.xpm
Xshare/qtella/pixmaps/down_icon.png
Xshare/qtella/pixmaps/flash_icon.png
Xshare/qtella/pixmaps/gsmile.xpm
Xshare/qtella/pixmaps/help_icon.png
Xshare/qtella/pixmaps/interrupt_icon.png
Xshare/qtella/pixmaps/lens_icon.png
Xshare/qtella/pixmaps/p2p.xpm
Xshare/qtella/pixmaps/smile.xpm
Xshare/qtella/pixmaps/research.xpm
Xshare/qtella/pixmaps/remove.xpm
Xshare/qtella/pixmaps/removeresearch.xpm
Xshare/qtella/pixmaps/shared_icon.png
Xshare/qtella/pixmaps/stats_icon.png
Xshare/qtella/pixmaps/up_icon.png
X at comment directories
X at dirrm share/qtella/pixmaps
X at dirrm share/qtella
END-of-qtella/pkg-plist
echo x - qtella/distinfo
sed 's/^X//' >qtella/distinfo << 'END-of-qtella/distinfo'
XMD5 (qtella-0.6.2.tar.gz) = 49e8ea44f090f7939f6c7a5fb3afa09f
END-of-qtella/distinfo
echo x - qtella/pkg-descr
sed 's/^X//' >qtella/pkg-descr << 'END-of-qtella/pkg-descr'
XA Gnutella client using Qt.
X
XWWW: http://qtella.sourceforge.net/
X
X- Jon Belson
Xjon at witchspace.com
END-of-qtella/pkg-descr
echo x - qtella/Makefile
sed 's/^X//' >qtella/Makefile << 'END-of-qtella/Makefile'
X# New ports collection makefile for: qtella
X# Date created: Sunday September 2nd, 2001
X# Whom: Jonathan Belson (jon at witchspace.com)
X#
X# $FreeBSD$
X#
X
XPORTNAME= qtella
XPORTVERSION= 0.6.2
XCATEGORIES= net
XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR= qtella
X
XMAINTAINER= jon at witchspace.com
XCOMMENT= A Gnutella client using Qt
X
XHAS_CONFIGURE= yes
XUSE_GMAKE= yes
XCONFIGURE_ARGS+= --prefix=${LOCALBASE} --with-qt-dir=${X11BASE} --with-qt-moc=${X11BASE}/bin
XCONFIGURE_ENV+= LDFLAGS=-pthread CXXFLAGS="${CXXFLAGS} -pthread"
XMAKE_ARGS+= -j2
X
XUSE_KDELIBS_VER=3
X
X.include <bsd.port.mk>
END-of-qtella/Makefile
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list