Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Oct 2005 12:28:07 -0600 (CST)
From:      Stephen Hurd <shurd@sasktel.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/88088: New port: misc/freeguide Java-based GUI TV listing viewer 
Message-ID:  <200510271828.j9RIS7SS014157@tw2.thebbs.org>
Resent-Message-ID: <200510271830.j9RIUCIg062093@freefall.freebsd.org>

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

>Number:         88088
>Category:       ports
>Synopsis:       New port: misc/freeguide Java-based GUI TV listing viewer
>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:   Thu Oct 27 18:30:11 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Stephen Hurd
>Release:        FreeBSD 5.4-STABLE i386
>Organization:
>Environment:
System: FreeBSD server.hurd.local 5.4-STABLE FreeBSD 5.4-STABLE #1: Fri Jul 1 17:26:20 CST 2005 admin@server.hurd.local:/usr/obj/usr/src/sys/SERVER i386

	
>Description:
	FreeGuide is a TV guide program. It uses parser programs to extract TV
	information from web pages and stores them for viewing without the need to
	connect to the Internet. The viewer allows the user to view television listings
	and create customised TV guides by selecting programmes and by buildingup a
	favourites list.

	
>How-To-Repeat:
	N/A
	
>Fix:

	

--- freeguide.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:
#
#	freeguide
#	freeguide/files
#	freeguide/files/patch-build.xml
#	freeguide/files/patch-freeguide
#	freeguide/files/patch-ViewerFrame.java
#	freeguide/Makefile
#	freeguide/distinfo
#	freeguide/pkg-descr
#	freeguide/pkg-plist
#
echo c - freeguide
mkdir -p freeguide > /dev/null 2>&1
echo c - freeguide/files
mkdir -p freeguide/files > /dev/null 2>&1
echo x - freeguide/files/patch-build.xml
sed 's/^X//' >freeguide/files/patch-build.xml << 'END-of-freeguide/files/patch-build.xml'
X--- ../../work-old/FreeGuide-0.8.6/build.xml	Thu Oct 27 00:18:55 2005
X+++ build.xml	Thu Oct 27 02:00:10 2005
X@@ -39,10 +39,7 @@
X             install_real_doc_dir = /usr/doc/freeguide
X         -->
X         
X-        <property name="install_jar_dir"
X-            location="${install_share_dir}/freeguide" />
X-
X-        <property name="install_pixmap_dir" location="${install_share_dir}/pixmaps/freeguide" />
X+        <property name="install_pixmap_dir" location="${install_java_share_dir}/pixmaps/freeguide" />
X         
X         <mkdir dir="${install_jar_dir}" />
X         <copy file="${dist}/${freeguideversion}-Linux-NoXMLTV.jar"
X@@ -58,11 +55,13 @@
X             </fileset>
X         </copy>
X         
X-        <copy tofile="${install_share_dir}/pixmaps/freeguide.png" file="${src}/images/logo-32x32.png" />
X+        <copy tofile="${install_java_share_dir}/pixmaps/freeguide.png" file="${src}/images/logo-32x32.png" />
X         
X         <!-- Creating the launch script: first we need to copy the source launch script, then we replace the string "__ANT_DOC_DIRECTORY__" with the docs directory, and then we move it into place and make it executable. -->
X         <copy file="${src}/install/linux/freeguide" tofile="${src}/install/linux/freeguide.tmp" />
X         <replace file="${src}/install/linux/freeguide.tmp" token="__ANT_DOC_DIRECTORY__" value="${install_real_doc_dir}" />
X+        <replace file="${src}/install/linux/freeguide.tmp" token="__ANT_JAR_PATH__" value="${install_jar_dir}/FreeGuide.jar" />
X+        <replace file="${src}/install/linux/freeguide.tmp" token="__ANT_JAVA_BIN__" value="${install_java_bin}" />
X         <mkdir dir="${install_bin_dir}" />
X         <move file="${src}/install/linux/freeguide.tmp" tofile="${install_bin_dir}/freeguide" />
X         <chmod file="${install_bin_dir}/freeguide" perm="a+x" />
X@@ -79,7 +78,6 @@
X                 <include name="*.html" />
X                 <include name="*.png" />
X                 <include name="*.css" />
X-                <include name="COPYING" />
X                 <include name="TODO" />
X                 <exclude name="bugreport.html" />
X             </fileset>
END-of-freeguide/files/patch-build.xml
echo x - freeguide/files/patch-freeguide
sed 's/^X//' >freeguide/files/patch-freeguide << 'END-of-freeguide/files/patch-freeguide'
X--- ../../work-old/FreeGuide-0.8.6/src/install/linux/freeguide	Thu Oct 27 00:18:55 2005
X+++ src/install/linux/freeguide	Thu Oct 27 01:10:30 2005
X@@ -1,11 +1,11 @@
X #!/bin/sh
X-FREEGUIDE_JAR=/usr/share/freeguide/FreeGuide.jar
X+FREEGUIDE_JAR=__ANT_JAR_PATH__
X # Load default settings from config file (if it exists)
X if [ -f "$HOME/.freeguiderc" ]; then
X 	. "$HOME/.freeguiderc"
X fi
X if [ -z "$JAVACMD" ]; then
X-	JAVACMD=java
X+	JAVACMD=__ANT_JAVA_BIN__
X fi
X $JAVACMD $FREEGUIDE_OPTS -jar $FREEGUIDE_JAR \
X     --doc_directory "__ANT_DOC_DIRECTORY__" "$@"
END-of-freeguide/files/patch-freeguide
echo x - freeguide/files/patch-ViewerFrame.java
sed 's/^X//' >freeguide/files/patch-ViewerFrame.java << 'END-of-freeguide/files/patch-ViewerFrame.java'
X--- ../../work-old/FreeGuide-0.8.6/src/program/gui/viewer/ViewerFrame.java	Thu Oct 27 00:18:55 2005
X+++ src/program/gui/viewer/ViewerFrame.java	Thu Oct 27 00:34:18 2005
X@@ -1502,7 +1502,7 @@
X         String[] cmds = Utils.substitute(
X             FreeGuide.prefs.commandline.getStrings( "browser_command" ),
X             "%filename%",
X-            programme.getLink().toString().replace("%","%%") );
X+            programme.getLink().toString().replaceAll("%","%%") );
X             
X         Utils.execNoWait(cmds);
X 
END-of-freeguide/files/patch-ViewerFrame.java
echo x - freeguide/Makefile
sed 's/^X//' >freeguide/Makefile << 'END-of-freeguide/Makefile'
X# New ports collection makefile for:	freeguide
X# Date Created:		27 October 2005
X# Whom:			Stephen Hurd <shurd@sasktel.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	freeguide
XPORTVERSION=	0.8.6
XCATEGORIES=	misc java
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	${PORTNAME}
XDISTNAME=	FreeGuide-${PORTVERSION}
X
XMAINTAINER=	shurd@sasktel.net
XCOMMENT=	An interactive TV guide which will create personalized TV listings
X
XUSE_JAVA=	yes
XJAVA_VERSION=	1.4+
XUSE_ANT=	yes
XMANCOMPRESSED=	yes
XMAN1=		freeguide.1
XRUN_DEPENDS=	tv_cat:${PORTSDIR}/textproc/p5-xmltv
X
XMAKE_ARGS=	-Dinstall_share_dir=${PREFIX}/share \
X		-Dinstall_java_bin=${JAVA} \
X		-Dinstall_real_doc_dir=${PREFIX}/share/doc/freeguide \
X		-Dinstall_bin_dir=${PREFIX}/bin \
X		-Dinstall_doc_dir=${PREFIX}/share/doc/freeguide \
X		-Dinstall_java_share_dir=${JAVASHAREDIR} \
X		-Dinstall_jar_dir=${JAVAJARDIR}
XALL_TARGET=	FreeGuide-Linux-NoXMLTV
XINSTALL_TARGET=	install-Linux-NoXMLTV-files
X
Xdo-install:
X		@(cd ${BUILD_WRKSRC}; \
X			${ANT} ${MAKE_ARGS} ${INSTALL_TARGET})
X
X.include <bsd.port.mk>
END-of-freeguide/Makefile
echo x - freeguide/distinfo
sed 's/^X//' >freeguide/distinfo << 'END-of-freeguide/distinfo'
XMD5 (FreeGuide-0.8.6.tar.gz) = 447a958355e30a0c964fb78348b99769
XSIZE (FreeGuide-0.8.6.tar.gz) = 7574967
END-of-freeguide/distinfo
echo x - freeguide/pkg-descr
sed 's/^X//' >freeguide/pkg-descr << 'END-of-freeguide/pkg-descr'
XFreeGuide is a TV guide program. It uses parser programs to extract TV
Xinformation from web pages and stores them for viewing without the need to
Xconnect to the Internet. The viewer allows the user to view television listings
Xand create customised TV guides by selecting programmes and by building up a
Xfavourites list.
X
XIt works with listings for many countries.
X
XWWW: http://freeguide-tv.sf.net/
END-of-freeguide/pkg-descr
echo x - freeguide/pkg-plist
sed 's/^X//' >freeguide/pkg-plist << 'END-of-freeguide/pkg-plist'
Xbin/freeguide
Xshare/applications/freeguide.desktop
Xshare/doc/freeguide/COPYING
Xshare/doc/freeguide/FAQ.html
Xshare/doc/freeguide/FreeGuide-0_7-Linux-MetalLookAndFeel.png
Xshare/doc/freeguide/INSTALL-linux-noxmltv.html
Xshare/doc/freeguide/LookAndFeel.html
Xshare/doc/freeguide/README.html
Xshare/doc/freeguide/TODO
Xshare/doc/freeguide/contributors.html
Xshare/doc/freeguide/design.html
Xshare/doc/freeguide/developers-compiling.html
Xshare/doc/freeguide/developers-cvs.html
Xshare/doc/freeguide/developers-translating.html
Xshare/doc/freeguide/developers.html
Xshare/doc/freeguide/index.html
Xshare/doc/freeguide/stylesheet.css
Xshare/doc/freeguide/timezone.html
Xshare/doc/freeguide/userguide.html
Xshare/java/classes/FreeGuide.jar
Xshare/java/pixmaps/freeguide.png
Xshare/java/pixmaps/freeguide/logo-16x16.png
Xshare/java/pixmaps/freeguide/logo-32x32.png
Xshare/java/pixmaps/freeguide/logo-48x48.png
Xshare/java/pixmaps/freeguide/logo-64x64.png
Xshare/java/pixmaps/freeguide/logo-72x72.png
Xshare/java/pixmaps/freeguide/logo-96x96.png
Xshare/man/man1/freeguide.1.gz
Xshare/nls/POSIX
Xshare/nls/en_US.US-ASCII
X@dirrm share/java/pixmaps/freeguide
X@dirrm share/doc/freeguide
END-of-freeguide/pkg-plist
exit
--- freeguide.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?200510271828.j9RIS7SS014157>