aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2007-02-09 06:33:28 +0800
committermiwi <miwi@FreeBSD.org>2007-02-09 06:33:28 +0800
commit67ecd8235d230d2200c39781cd35108b2446fdbc (patch)
treea5b8bcaed64db36170dbbdbd3b36604b29a95d82
parenta70d6409ee9fb3eef6a37f5c71433596f9b2861a (diff)
downloadfreebsd-ports-gnome-67ecd8235d230d2200c39781cd35108b2446fdbc.tar.gz
freebsd-ports-gnome-67ecd8235d230d2200c39781cd35108b2446fdbc.tar.zst
freebsd-ports-gnome-67ecd8235d230d2200c39781cd35108b2446fdbc.zip
- Update to 0.7.0
PR: 108886 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
-rw-r--r--net-p2p/qtella/Makefile37
-rw-r--r--net-p2p/qtella/distinfo6
-rw-r--r--net-p2p/qtella/files/patch-include__SHA1Storage.h14
-rw-r--r--net-p2p/qtella/files/patch-include__sha1.h15
-rw-r--r--net-p2p/qtella/files/patch-libyahoo__Makefile.in11
-rw-r--r--net-p2p/qtella/files/patch-src__Interface.cpp15
-rw-r--r--net-p2p/qtella/files/patch-src__MessengerThread.cpp14
-rw-r--r--net-p2p/qtella/pkg-plist41
8 files changed, 111 insertions, 42 deletions
diff --git a/net-p2p/qtella/Makefile b/net-p2p/qtella/Makefile
index 2f6e69aa80d4..5d3054a950ae 100644
--- a/net-p2p/qtella/Makefile
+++ b/net-p2p/qtella/Makefile
@@ -5,27 +5,26 @@
# $FreeBSD$
#
-PORTNAME= qtella
-PORTVERSION= 0.6.4
-PORTREVISION= 4
-CATEGORIES= net-p2p
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= qtella
+PORTNAME= qtella
+PORTVERSION= 0.7.0
+CATEGORIES= net-p2p
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
-MAINTAINER= ports@FreeBSD.org
-COMMENT= A Gnutella client using Qt
+MAINTAINER= ports@FreeBSD.org
+COMMENT= A Gnutella client using Qt
-HAS_CONFIGURE= yes
-USE_GMAKE= yes
-CONFIGURE_ARGS+= --with-qt-dir=${X11BASE} --with-qt-moc=${X11BASE}/bin
-CONFIGURE_ENV+= LDFLAGS=-pthread CXXFLAGS="${CXXFLAGS} -pthread"
+LIB_DEPENDS= id3-3.8.3:${PORTSDIR}/audio/id3lib \
+ vorbis.3:${PORTSDIR}/audio/libvorbis
-USE_KDELIBS_VER=3
+USE_KDELIBS_VER= 3
+USE_GNOME= gnometarget
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --with-ogg-dir=${LOCALBASE} \
+ --with-id3-dir=${LOCALBASE}
-.include <bsd.port.pre.mk>
+QTCPPFLAGS+= ${PTHREAD_CFLAGS}
+QTCFGLIBS+= ${PTHREAD_LIBS}
-.if ${OSVERSION} < 500000
-BROKEN= "Does not compile on FreeBSD 4.x"
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/net-p2p/qtella/distinfo b/net-p2p/qtella/distinfo
index 2623189e07ff..4e0ab26e185f 100644
--- a/net-p2p/qtella/distinfo
+++ b/net-p2p/qtella/distinfo
@@ -1,3 +1,3 @@
-MD5 (qtella-0.6.4.tar.gz) = 64504b71f8aa73e0f868f092d0656fdc
-SHA256 (qtella-0.6.4.tar.gz) = 9b9974569f6ce0bb5bd05b1ac24059cd6755a5469de4ce9ee209706ddc7032ba
-SIZE (qtella-0.6.4.tar.gz) = 512207
+MD5 (qtella-0.7.0.tar.gz) = 43f59fcf6366db64f8b6b3fc3d6b0fa3
+SHA256 (qtella-0.7.0.tar.gz) = d985e3ee9749016c3bbc8bd90c4c01af6533bff5c88407068b25fbe3107d597c
+SIZE (qtella-0.7.0.tar.gz) = 672916
diff --git a/net-p2p/qtella/files/patch-include__SHA1Storage.h b/net-p2p/qtella/files/patch-include__SHA1Storage.h
new file mode 100644
index 000000000000..7540153889f2
--- /dev/null
+++ b/net-p2p/qtella/files/patch-include__SHA1Storage.h
@@ -0,0 +1,14 @@
+--- include/SHA1Storage.h.orig Fri May 21 01:14:16 2004
++++ include/SHA1Storage.h Mon Jan 29 22:00:47 2007
+@@ -7,7 +7,11 @@
+ #include <qobject.h>
+ #include <qstring.h>
+ #include <qtimer.h>
++#ifdef HAVE_STDINT_H
+ #include <stdint.h>
++#else
++#include <inttypes.h>
++#endif
+
+ #include "SharedFile.h"
+
diff --git a/net-p2p/qtella/files/patch-include__sha1.h b/net-p2p/qtella/files/patch-include__sha1.h
new file mode 100644
index 000000000000..90f64bc43f8f
--- /dev/null
+++ b/net-p2p/qtella/files/patch-include__sha1.h
@@ -0,0 +1,15 @@
+--- include/sha1.h.orig Fri May 21 01:14:16 2004
++++ include/sha1.h Mon Jan 29 22:02:09 2007
+@@ -5,7 +5,12 @@
+ extern "C" {
+ #endif
+
++#ifdef HAVE_STDINT_H
+ #include <stdint.h>
++#else
++#include <inttypes.h>
++#define int_least16_t int16_t
++#endif
+ /*
+ * If you do not have the ISO standard stdint.h header file, then you
+ * must typdef the following:
diff --git a/net-p2p/qtella/files/patch-libyahoo__Makefile.in b/net-p2p/qtella/files/patch-libyahoo__Makefile.in
new file mode 100644
index 000000000000..660d00a36fa1
--- /dev/null
+++ b/net-p2p/qtella/files/patch-libyahoo__Makefile.in
@@ -0,0 +1,11 @@
+--- libyahoo/Makefile.in.orig Fri May 28 04:47:01 2004
++++ libyahoo/Makefile.in Tue Jan 30 01:44:43 2007
+@@ -403,7 +403,7 @@
+
+ install-data-am:
+
+-install-exec-am: install-libLIBRARIES
++install-exec-am:
+
+ install-info: install-info-am
+
diff --git a/net-p2p/qtella/files/patch-src__Interface.cpp b/net-p2p/qtella/files/patch-src__Interface.cpp
new file mode 100644
index 000000000000..bf530fb1d6de
--- /dev/null
+++ b/net-p2p/qtella/files/patch-src__Interface.cpp
@@ -0,0 +1,15 @@
+--- src/Interface.cpp.orig Fri May 21 01:14:12 2004
++++ src/Interface.cpp Mon Jan 29 20:24:53 2007
+@@ -1,9 +1,11 @@
+ #include "Interface.h"
+
+ #if !defined(_WIN32)
++#include <sys/types.h>
+ #include <sys/socket.h>
+-#include <sys/ioctl.h>
+ #include <netinet/in.h>
++#include <arpa/inet.h>
++#include <sys/ioctl.h>
+ #endif
+
+ #if !defined(_WIN32)
diff --git a/net-p2p/qtella/files/patch-src__MessengerThread.cpp b/net-p2p/qtella/files/patch-src__MessengerThread.cpp
new file mode 100644
index 000000000000..ae994a50fb83
--- /dev/null
+++ b/net-p2p/qtella/files/patch-src__MessengerThread.cpp
@@ -0,0 +1,14 @@
+--- src/MessengerThread.cpp.orig Fri May 28 05:02:18 2004
++++ src/MessengerThread.cpp Mon Jan 29 21:58:13 2007
+@@ -2,8 +2,10 @@
+ #include "MessengerContacts.h"
+ #include <iostream>
+ #include <netdb.h>
+-#include <sys/time.h>
++#include <errno.h>
+ #include <sys/types.h>
++#include <sys/time.h>
++#include <unistd.h>
+ #include <sys/socket.h>
+ #include <netinet/in.h>
+ #include <arpa/inet.h>
diff --git a/net-p2p/qtella/pkg-plist b/net-p2p/qtella/pkg-plist
index 9367bb3fbf1a..b38251600b38 100644
--- a/net-p2p/qtella/pkg-plist
+++ b/net-p2p/qtella/pkg-plist
@@ -1,21 +1,22 @@
bin/qtella
-share/qtella/pixmaps/p2p.xpm
-share/qtella/pixmaps/down_icon.png
-share/qtella/pixmaps/flash_icon.png
-share/qtella/pixmaps/help_icon.png
-share/qtella/pixmaps/interrupt_icon.png
-share/qtella/pixmaps/lens_icon.png
-share/qtella/pixmaps/shared_icon.png
-share/qtella/pixmaps/stats_icon.png
-share/qtella/pixmaps/up_icon.png
-share/qtella/pixmaps/ball_d.xpm
-share/qtella/pixmaps/ball_g.xpm
-share/qtella/pixmaps/ball_r.xpm
-share/qtella/pixmaps/ball_y.xpm
-share/qtella/pixmaps/gsmile.xpm
-share/qtella/pixmaps/remove.xpm
-share/qtella/pixmaps/removeresearch.xpm
-share/qtella/pixmaps/research.xpm
-share/qtella/pixmaps/smile.xpm
-@dirrm share/qtella/pixmaps
-@dirrm share/qtella
+%%DATADIR%%/pixmaps/ball_d.xpm
+%%DATADIR%%/pixmaps/ball_g.xpm
+%%DATADIR%%/pixmaps/ball_r.xpm
+%%DATADIR%%/pixmaps/ball_y.xpm
+%%DATADIR%%/pixmaps/down_icon.png
+%%DATADIR%%/pixmaps/flash_icon.png
+%%DATADIR%%/pixmaps/gsmile.xpm
+%%DATADIR%%/pixmaps/help_icon.png
+%%DATADIR%%/pixmaps/interrupt_icon.png
+%%DATADIR%%/pixmaps/lens_icon.png
+%%DATADIR%%/pixmaps/messeng_icon.png
+%%DATADIR%%/pixmaps/p2p.xpm
+%%DATADIR%%/pixmaps/remove.xpm
+%%DATADIR%%/pixmaps/removeresearch.xpm
+%%DATADIR%%/pixmaps/research.xpm
+%%DATADIR%%/pixmaps/shared_icon.png
+%%DATADIR%%/pixmaps/smile.xpm
+%%DATADIR%%/pixmaps/stats_icon.png
+%%DATADIR%%/pixmaps/up_icon.png
+@dirrm %%DATADIR%%/pixmaps
+@dirrm %%DATADIR%%