Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Oct 2003 14:21:46 -0500 (CDT)
From:      Jeremy Messenger <mezz7@cox.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/58392: New port: net/gnome-btdownload, A simple Gnome interface designed as a mime-sink for BitTorrent files
Message-ID:  <200310221921.h9MJLkJh003051@ns1.mezzweb.com>
Resent-Message-ID: <200310221950.h9MJoIUV059586@freefall.freebsd.org>

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

>Number:         58392
>Category:       ports
>Synopsis:       New port: net/gnome-btdownload, A simple Gnome interface designed as a mime-sink for BitTorrent files
>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:   Wed Oct 22 12:50:16 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Mezz
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
>Environment:
System: FreeBSD ns1.mezzweb.com 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Wed Aug 13
22:39:47 CDT 2003 mezz@mezz.mezzweb.com:/usr/obj/usr/src/sys/BSDROCKS i386

>Description:
Gnome interface for 'executing' BitTorrent files. It is designed as a mime-sink
for BitTorrent files. Not a front-end, more-or-less just a session dialog. See
net/py-bittorrent for more information.

This is a nice app, you can use Nautilus and double click on one of torrent
file to exec gnome-btdownload and start to download. If you don't use Nautilus,
you still can done this by command line, gnome-btdownload <file>.

>How-To-Repeat:
n/a

>Fix:
Please commit ports/58345 first, before you commit here.

--- gnome-btdownload.shar begins here ---
# 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:
#
#	gnome-btdownload
#	gnome-btdownload/distinfo
#	gnome-btdownload/Makefile
#	gnome-btdownload/pkg-plist
#	gnome-btdownload/pkg-descr
#	gnome-btdownload/files
#	gnome-btdownload/files/patch-src::gnome-btdownload
#
echo c - gnome-btdownload
mkdir -p gnome-btdownload > /dev/null 2>&1
echo x - gnome-btdownload/distinfo
sed 's/^X//' >gnome-btdownload/distinfo << 'END-of-gnome-btdownload/distinfo'
XMD5 (gnome-btdownload-0.0.6.tar.bz2) = 02a2754533ea2366430dac0e5f705839
END-of-gnome-btdownload/distinfo
echo x - gnome-btdownload/Makefile
sed 's/^X//' >gnome-btdownload/Makefile << 'END-of-gnome-btdownload/Makefile'
X# New ports collection makefile for:	gnome-btdownload
X# Date created:				21 October 2003
X# Whom:					Mezz <mezz7@cox.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	gnome-btdownload
XPORTVERSION=	0.0.6
XCATEGORIES=	net gnome
XMASTER_SITES=	http://omapi.sourceforge.net/extra/${PORTNAME}/
X
XMAINTAINER=	mezz7@cox.net
XCOMMENT=	A simple Gnome interface designed as a mime-sink for BitTorrent files
X
XRUN_DEPENDS=	${PYTHON_SITELIBDIR}/BitTorrent/__init__.py:${PORTSDIR}/net/py-bittorrent-core \
X		${PYTHON_SITELIBDIR}/gtk-2.0/gnome/__init__.py:${PORTSDIR}/x11-toolkits/py-gnome2
X
XUSE_BZIP2=	yes
XUSE_GMAKE=	yes
XUSE_PYTHON=	yes
XUSE_X_PREFIX=	yes
XUSE_GNOME=	gnomehack gnomeprefix
XGNU_CONFIGURE=	yes
X
XMAN1=		gnome-btdownload.1
X
Xpost-patch:
X	@${REINPLACE_CMD} -e 's|%%X11PREFIX%%|${PREFIX}|g' \
X		${WRKSRC}/src/${PORTNAME}
X
X.include <bsd.port.mk>
END-of-gnome-btdownload/Makefile
echo x - gnome-btdownload/pkg-plist
sed 's/^X//' >gnome-btdownload/pkg-plist << 'END-of-gnome-btdownload/pkg-plist'
Xbin/gnome-btdownload
Xshare/gnome/application-registry/gnome-btdownload.applications
Xshare/gnome/gnome-btdownload/glade/dlsession.glade
Xshare/gnome/gnome-btdownload/glade/errdiag.glade
Xshare/gnome/gnome-btdownload/pixmaps/download.png
Xshare/gnome/mime-info/gnome-btdownload.keys
Xshare/gnome/mime-info/gnome-btdownload.mime
X@dirrm share/gnome/gnome-btdownload/pixmaps
X@dirrm share/gnome/gnome-btdownload/glade
X@dirrm share/gnome/gnome-btdownload
END-of-gnome-btdownload/pkg-plist
echo x - gnome-btdownload/pkg-descr
sed 's/^X//' >gnome-btdownload/pkg-descr << 'END-of-gnome-btdownload/pkg-descr'
XGnome interface for 'executing' BitTorrent files. It is designed as a mime-sink
Xfor BitTorrent files. Not a front-end, more-or-less just a session dialog. See
Xnet/py-bittorrent for more information.
X
XWWW: http://omapi.sourceforge.net/extra/gnome-btdownload/
END-of-gnome-btdownload/pkg-descr
echo c - gnome-btdownload/files
mkdir -p gnome-btdownload/files > /dev/null 2>&1
echo x - gnome-btdownload/files/patch-src::gnome-btdownload
sed 's/^X//' >gnome-btdownload/files/patch-src::gnome-btdownload << 'END-of-gnome-btdownload/files/patch-src::gnome-btdownload'
X--- src/gnome-btdownload.orig	Wed Oct 22 12:43:59 2003
X+++ src/gnome-btdownload	Wed Oct 22 12:56:24 2003
X@@ -1,4 +1,4 @@
X-#!/usr/bin/python
X+#!/usr/bin/env python
X 
X import BitTorrent.download
X import os.path, threading, sys, time
X@@ -36,7 +36,7 @@
X if not locate_file:
X 	try:
X 		def fallback_locate_attempt_prefixes(path):
X-			prefixes = ['', 'usr/', 'usr/local/']
X+			prefixes = ['', '%%X11PREFIX%%/', 'usr/', 'usr/local/']
X 
X 			# Try them locally
X 			for prefix in prefixes:
END-of-gnome-btdownload/files/patch-src::gnome-btdownload
exit
--- gnome-btdownload.shar ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



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