diff options
Diffstat (limited to 'net-p2p/giftui')
-rw-r--r-- | net-p2p/giftui/Makefile | 48 | ||||
-rw-r--r-- | net-p2p/giftui/distinfo | 3 | ||||
-rw-r--r-- | net-p2p/giftui/files/patch-Makefile.in | 11 | ||||
-rw-r--r-- | net-p2p/giftui/files/patch-gtkcellrendererprogress | 141 | ||||
-rw-r--r-- | net-p2p/giftui/files/patch-src::io.c | 10 | ||||
-rw-r--r-- | net-p2p/giftui/pkg-descr | 7 | ||||
-rw-r--r-- | net-p2p/giftui/pkg-plist | 21 |
7 files changed, 241 insertions, 0 deletions
diff --git a/net-p2p/giftui/Makefile b/net-p2p/giftui/Makefile new file mode 100644 index 000000000..c63ffa54e --- /dev/null +++ b/net-p2p/giftui/Makefile @@ -0,0 +1,48 @@ +# New ports collection makefile for: giFTui +# Date Created: 23 May 2004 +# Whom: Joel Diaz <joeldiaz@bellsouth.net> +# +# $FreeBSD$ +# + +PORTNAME= giFTui +PORTVERSION= 0.4.1 +PORTREVISION= 5 +CATEGORIES= net-p2p +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= giftui +DISTNAME= giftui-0.4.1 + +MAINTAINER= joeldiaz@bellsouth.net +COMMENT= GTK2 client for giFT daemon + +LIB_DEPENDS= gift.0:${PORTSDIR}/net-p2p/gift + +USE_BZIP2= yes +USE_XLIB= yes +USE_GNOME= gnomehack gnomeprefix gconf2 gtk20 +USE_GMAKE= yes +GNU_CONFIGURE= yes + +GCONF_SCHEMAS= giftui.schemas + +.if !defined(NOPORTDOCS) +PORTDOCS= AUTHORS COPYING ChangeLog NEWS README TODO +.endif + +post-patch: + @${REINPLACE_CMD} -e 's|^giftuidatadir=.*|giftuidatadir=$${datadir}/giftui|g ; \ + s|^giftuiicondir=.*|giftuiicondir=$${datadir}/pixmaps|g' \ + ${WRKSRC}/configure + @${REINPLACE_CMD} -e 's|^giftuidocdir =.*|giftuidocdir =${DOCSDIR}|g' \ + ${WRKSRC}/Makefile.in + @${REINPLACE_CMD} -e 's|/usr/share/pixmaps/||g' \ + ${WRKSRC}/data/giftui.desktop + +post-install: +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} +.endif + +.include <bsd.port.mk> diff --git a/net-p2p/giftui/distinfo b/net-p2p/giftui/distinfo new file mode 100644 index 000000000..d70ccace7 --- /dev/null +++ b/net-p2p/giftui/distinfo @@ -0,0 +1,3 @@ +MD5 (giftui-0.4.1.tar.bz2) = de834779fde3f2edb002631f4110f1b9 +SHA256 (giftui-0.4.1.tar.bz2) = 1a28bb483ba6f02853280dc2520b28e6c1ca34b2935e8f4e3b5ecd069699f583 +SIZE (giftui-0.4.1.tar.bz2) = 220208 diff --git a/net-p2p/giftui/files/patch-Makefile.in b/net-p2p/giftui/files/patch-Makefile.in new file mode 100644 index 000000000..61ad79a8f --- /dev/null +++ b/net-p2p/giftui/files/patch-Makefile.in @@ -0,0 +1,11 @@ +--- Makefile.in.orig Sun May 16 22:26:53 2004 ++++ Makefile.in Sun Mar 20 11:43:00 2005 +@@ -513,7 +513,7 @@ + + info-am: + +-install-data-am: install-giftuidocDATA ++install-data-am: + + install-exec-am: + diff --git a/net-p2p/giftui/files/patch-gtkcellrendererprogress b/net-p2p/giftui/files/patch-gtkcellrendererprogress new file mode 100644 index 000000000..dc899abbc --- /dev/null +++ b/net-p2p/giftui/files/patch-gtkcellrendererprogress @@ -0,0 +1,141 @@ +Index: src/Makefile.am +=================================================================== +RCS file: /cvsroot/giftui/giftui/src/Makefile.am,v +retrieving revision 1.2 +retrieving revision 1.3 +diff -u -p -r1.2 -r1.3 +--- src/Makefile.am 15 May 2004 05:45:36 -0000 1.2 ++++ src/Makefile.am 27 Jul 2004 08:18:09 -0000 1.3 +@@ -10,7 +10,6 @@ giftui_SOURCES = \ + io.c io.h\ + main.c main.h\ + util.c util.h\ +- gtkcellrendererprogress.c gtkcellrendererprogress.h\ + ui_parent.c ui_parent.h\ + ui_child.c ui_child.h\ + ui.h\ +Index: src/Makefile.in +=================================================================== +RCS file: /cvsroot/giftui/giftui/src/Makefile.in,v +retrieving revision 1.2 +retrieving revision 1.3 +diff -u -p -r1.2 -r1.3 +--- src/Makefile.in 15 May 2004 05:45:36 -0000 1.2 ++++ src/Makefile.in 27 Jul 2004 08:18:09 -0000 1.3 +@@ -147,7 +147,6 @@ giftui_SOURCES = \ + io.c io.h\ + main.c main.h\ + util.c util.h\ +- gtkcellrendererprogress.c gtkcellrendererprogress.h\ + ui_parent.c ui_parent.h\ + ui_child.c ui_child.h\ + ui.h\ +@@ -175,13 +174,12 @@ bin_PROGRAMS = giftui$(EXEEXT) + PROGRAMS = $(bin_PROGRAMS) + + am_giftui_OBJECTS = configure.$(OBJEXT) event.$(OBJEXT) io.$(OBJEXT) \ +- main.$(OBJEXT) util.$(OBJEXT) gtkcellrendererprogress.$(OBJEXT) \ +- ui_parent.$(OBJEXT) ui_child.$(OBJEXT) ui_menu.$(OBJEXT) \ +- ui_notebook.$(OBJEXT) ui_about.$(OBJEXT) ui_browse.$(OBJEXT) \ +- ui_connect.$(OBJEXT) ui_icon.$(OBJEXT) ui_pref.$(OBJEXT) \ +- ui_search.$(OBJEXT) ui_search_cb.$(OBJEXT) \ +- ui_transfer.$(OBJEXT) ui_transfer_cb.$(OBJEXT) \ +- ui_util.$(OBJEXT) ++ main.$(OBJEXT) util.$(OBJEXT) ui_parent.$(OBJEXT) \ ++ ui_child.$(OBJEXT) ui_menu.$(OBJEXT) ui_notebook.$(OBJEXT) \ ++ ui_about.$(OBJEXT) ui_browse.$(OBJEXT) ui_connect.$(OBJEXT) \ ++ ui_icon.$(OBJEXT) ui_pref.$(OBJEXT) ui_search.$(OBJEXT) \ ++ ui_search_cb.$(OBJEXT) ui_transfer.$(OBJEXT) \ ++ ui_transfer_cb.$(OBJEXT) ui_util.$(OBJEXT) + giftui_OBJECTS = $(am_giftui_OBJECTS) + giftui_DEPENDENCIES = + giftui_LDFLAGS = +@@ -190,7 +188,6 @@ DEFAULT_INCLUDES = -I. -I$(srcdir) -I. + depcomp = $(SHELL) $(top_srcdir)/depcomp + am__depfiles_maybe = depfiles + @AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/configure.Po ./$(DEPDIR)/event.Po \ +-@AMDEP_TRUE@ ./$(DEPDIR)/gtkcellrendererprogress.Po \ + @AMDEP_TRUE@ ./$(DEPDIR)/io.Po ./$(DEPDIR)/main.Po \ + @AMDEP_TRUE@ ./$(DEPDIR)/ui_about.Po ./$(DEPDIR)/ui_browse.Po \ + @AMDEP_TRUE@ ./$(DEPDIR)/ui_child.Po ./$(DEPDIR)/ui_connect.Po \ +@@ -272,7 +269,6 @@ distclean-compile: + + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/configure.Po@am__quote@ + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/event.Po@am__quote@ +-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gtkcellrendererprogress.Po@am__quote@ + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/io.Po@am__quote@ + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/main.Po@am__quote@ + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ui_about.Po@am__quote@ +Index: src/main.c +=================================================================== +RCS file: /cvsroot/giftui/giftui/src/main.c,v +retrieving revision 1.1.1.1 +retrieving revision 1.2 +diff -u -p -r1.1.1.1 -r1.2 +--- src/main.c 6 May 2004 06:55:02 -0000 1.1.1.1 ++++ src/main.c 27 Jul 2004 08:18:09 -0000 1.2 +@@ -32,6 +32,7 @@ + #include "ui.h" + #include "ui_connect.h" + #include "ui_menu.h" ++#include "ui_transfer.h" + + static GtkWidget *window; + +Index: src/ui_transfer.c +=================================================================== +RCS file: /cvsroot/giftui/giftui/src/ui_transfer.c,v +retrieving revision 1.2 +retrieving revision 1.3 +diff -u -p -r1.2 -r1.3 +--- src/ui_transfer.c 15 May 2004 05:45:36 -0000 1.2 ++++ src/ui_transfer.c 27 Jul 2004 08:18:09 -0000 1.3 +@@ -24,8 +24,6 @@ + #include <gdk/gdkkeysyms.h> + #include <gtk/gtk.h> + +-#include "gtkcellrendererprogress.h" +- + #include "io.h" + #include "event.h" + #include "configure.h" +Index: src/ui_transfer.h +=================================================================== +RCS file: /cvsroot/giftui/giftui/src/ui_transfer.h,v +retrieving revision 1.1.1.1 +retrieving revision 1.2 +diff -u -p -r1.1.1.1 -r1.2 +--- src/ui_transfer.h 6 May 2004 06:55:01 -0000 1.1.1.1 ++++ src/ui_transfer.h 27 Jul 2004 08:18:09 -0000 1.2 +@@ -38,6 +38,14 @@ + + #define GIFTUI_TRANSFERFILE(arg) ((GiftuiTransferFile_t *) (arg)) + ++typedef enum ++{ ++ GTK_CELL_RENDERER_PROGRESS_ACTIVE, ++ GTK_CELL_RENDERER_PROGRESS_COMPLETED, ++ GTK_CELL_RENDERER_PROGRESS_PAUSED, ++ GTK_CELL_RENDERER_PROGRESS_CANCELED ++} GtkCellRendererProgressColor; ++ + typedef struct _GiftuiTransfer GiftuiTransfer; + typedef struct _GiftuiTransferClass GiftuiTransferClass; + +Index: src/ui_transfer_cb.c +=================================================================== +RCS file: /cvsroot/giftui/giftui/src/ui_transfer_cb.c,v +retrieving revision 1.1.1.1 +retrieving revision 1.2 +diff -u -p -r1.1.1.1 -r1.2 +--- src/ui_transfer_cb.c 6 May 2004 06:54:58 -0000 1.1.1.1 ++++ src/ui_transfer_cb.c 27 Jul 2004 08:31:49 -0000 1.2 +@@ -23,8 +23,6 @@ + #include <libgift/libgift.h> + #include <gtk/gtk.h> + +-#include "gtkcellrendererprogress.h" +- + #include "io.h" + #include "event.h" + #include "configure.h" diff --git a/net-p2p/giftui/files/patch-src::io.c b/net-p2p/giftui/files/patch-src::io.c new file mode 100644 index 000000000..89f46fd29 --- /dev/null +++ b/net-p2p/giftui/files/patch-src::io.c @@ -0,0 +1,10 @@ +--- src/io.c.orig Wed May 26 09:23:51 2004 ++++ src/io.c Wed May 26 09:24:08 2004 +@@ -21,6 +21,7 @@ + + #include <stdio.h> + #include <stdarg.h> ++#include <sys/types.h> + #include <sys/socket.h> + #include <arpa/inet.h> + #include <netdb.h> diff --git a/net-p2p/giftui/pkg-descr b/net-p2p/giftui/pkg-descr new file mode 100644 index 000000000..ceb5f0e12 --- /dev/null +++ b/net-p2p/giftui/pkg-descr @@ -0,0 +1,7 @@ +giFTui is a tabbed based GTK+ frontend for the giftd daemon which handles file +sharing plugins. + +WWW: http://giftui.sourceforge.net + +- Joel +joeldiaz@bellsouth.net diff --git a/net-p2p/giftui/pkg-plist b/net-p2p/giftui/pkg-plist new file mode 100644 index 000000000..c52cc2709 --- /dev/null +++ b/net-p2p/giftui/pkg-plist @@ -0,0 +1,21 @@ +bin/giftui +share/gnome/applications/giftui.desktop +share/gnome/giftui/icons/fasttrack-down.png +share/gnome/giftui/icons/fasttrack-network.png +share/gnome/giftui/icons/fasttrack-search.png +share/gnome/giftui/icons/fasttrack-up.png +share/gnome/giftui/icons/gnutella-down.png +share/gnome/giftui/icons/gnutella-network.png +share/gnome/giftui/icons/gnutella-search.png +share/gnome/giftui/icons/gnutella-up.png +share/gnome/giftui/icons/openft-down.png +share/gnome/giftui/icons/openft-network.png +share/gnome/giftui/icons/openft-search.png +share/gnome/giftui/icons/openft-up.png +share/gnome/giftui/icons/opennap-down.png +share/gnome/giftui/icons/opennap-network.png +share/gnome/giftui/icons/opennap-search.png +share/gnome/giftui/icons/opennap-up.png +share/gnome/pixmaps/giftui.png +@dirrm share/gnome/giftui/icons +@dirrm share/gnome/giftui |