network/freerapid: Updated for version 0.9u4.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
Edinaldo P. Silva 2018-05-25 20:54:53 +01:00 committed by Willy Sudiarto Raharjo
parent 274afdec82
commit 17c7f340b1
5 changed files with 25 additions and 32 deletions

View File

@ -1,25 +1,17 @@
freerapid (Java downloader manager)
FreeRapid is an easy to use Java downloader that supports downloading
from Rapidshare, Youtube, Facebook, Picasa and other file-sharing
from Rapidshare, Youtube, Facebook, Picasa and other file-sharing
services, include the new ones like mega.co.nz.
Simply copy a nd paste your links from a browser to this application.
Simply copy and paste your links from a browser to this application.
FreeRapid Downloader will handle the rest itself. No more clicking or
uncomfortable waiting.
To use smooth fonts (better appearance), the options
"-Dawt.useSystemAAFontSettings=on -Dswing.aatext=true" should be used.
In some distros, the option "-Djava.net.preferIPv4Stack=true -Xmx160m"
should be used.
To reduce CPU usage, option "-Dsun.java2d.opengl=true" should be used.
The options mentioned were added in /usr/bin/freerapid for convenience,
Other start options were added into /usr/bin/freerapid for convenience,
simply uncomment the desired option.
Please add /usr/lib{64}/java/bin into your $PATH.
NOTE: add /usr/lib{64}/java/bin into your $PATH.
Main Features:

View File

@ -2,25 +2,25 @@
# default option.
if [ -x "`which java`" ]; then
cd /usr/share/freerapid-0.9.4/ && exec java -jar frd.jar "$@"
cd /usr/share/freerapid/ && exec java -jar frd.jar "$@"
fi
# less CPU usage.
#if [ -x "`which java`" ]; then
# cd /usr/share/freerapid-0.9.4/ && exec java -Dsun.java2d.opengl=true -jar frd.jar "$@"
# cd /usr/share/freerapid/ && exec java -Dsun.java2d.opengl=true -jar frd.jar "$@"
#fi
# needed for some distros.
#if [ -x "`which java`" ]; then
# cd /usr/share/freerapid-0.9.4/ && exec java -Djava.net.preferIPv4Stack=true -Xmx160m -jar frd.jar "$@"
# cd /usr/share/freerapid/ && exec java -Djava.net.preferIPv4Stack=true -Xmx160m -jar frd.jar "$@"
#fi
# better fonts appearance (smooth fonts).
#if [ -x "`which java`" ]; then
# cd /usr/share/freerapid-0.9.4/ && exec java -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true -Djava.net.preferIPv4Stack=true -Xmx160m -jar frd.jar "$@"
# cd /usr/share/freerapid/ && exec java -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true -Djava.net.preferIPv4Stack=true -Xmx160m -jar frd.jar "$@"
#fi
# all options combined.
#if [ -x "`which java`" ]; then
# cd /usr/share/freerapid-0.9.4/ && exec java -Dsun.java2d.opengl=true -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true -Djava.net.preferIPv4Stack=true -Xmx160m -jar frd.jar "$@"
# cd /usr/share/freerapid/ && exec java -Dsun.java2d.opengl=true -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true -Djava.net.preferIPv4Stack=true -Xmx160m -jar frd.jar "$@"
#fi

View File

@ -2,7 +2,7 @@
#
# Slackware build script for freerapid.
#
# Copyright 2015-2017 Edinaldo P. Silva, Rio de Janeiro, Brazil.
# Copyright 2015-2018 Edinaldo P. Silva, Rio de Janeiro, Brazil.
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -24,9 +24,8 @@
PRGNAM=freerapid
SRCNAM=FreeRapid
VERSION=${VERSION:-0.9.4}
SRCVER=${SRCVER:-0.9u4}
BUILD=${BUILD:-3}
VERSION=${VERSION:-0.9u4}
BUILD=${BUILD:-4}
TAG=${TAG:-_SBo}
ARCH=noarch
@ -42,8 +41,8 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
unzip $CWD/${SRCNAM}-${SRCVER}.zip
mv $SRCNAM-$SRCVER $PRGNAM-$VERSION
unzip $CWD/${SRCNAM}-${VERSION}.zip
mv $SRCNAM-$VERSION $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@ -52,20 +51,22 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# remove MS Windows files.
find -regex '.*\.\(exe\|bat\|chm\|ico\)$' | xargs rm -f
rm -rf tools/gocr
install -d $PKG/usr/bin
install -D -m755 $CWD/frd.sh $PKG/usr/bin/freerapid
install -d $PKG/usr/share/{applications,pixmaps}
install -D -m644 $CWD/freerapid.desktop $PKG/usr/share/applications/freerapid.desktop
install -D -m644 frd.png $PKG/usr/share/pixmaps/freerapid.png
mkdir -p $PKG/usr/share/$PRGNAM-$VERSION
cp -a {lib,lookandfeel,search,tools,frd.*,instplgs.dat,objectdb.conf,startup.properties,syscmd.properties} \
$PKG/usr/share/$PRGNAM-$VERSION
DOCS="doc/changes.txt doc/readme.* copyright License"
mkdir -p $PKG/usr/share/$PRGNAM
cp -r {lib,lookandfeel,search,tools,frd.jar,objectdb.conf,startup.properties,syscmd.properties} \
$PKG/usr/share/$PRGNAM
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
cp copyright License doc/{changes.txt,readme.*} $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install

View File

@ -1,7 +1,7 @@
PRGNAM="freerapid"
VERSION="0.9.4"
VERSION="0.9u4"
HOMEPAGE="http://wordrider.net/freerapid/index.html"
DOWNLOAD="https://www.dropbox.com/s/dmgv444n2bhocfh/FreeRapid-0.9u4.zip"
DOWNLOAD="http://slackware.uk/sbosrcarch/by-md5/a/0/a067ecbd37ac7c83a795c34a3dc6388f/FreeRapid-0.9u4.zip"
MD5SUM="a067ecbd37ac7c83a795c34a3dc6388f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""

View File

@ -9,7 +9,7 @@
freerapid: freerapid (Java downloader manager)
freerapid:
freerapid: FreeRapid is an easy to use Java downloader that supports downloading
freerapid: from Rapidshare, Youtube, Facebook, Picasa and other file-sharing
freerapid: from Rapidshare, Youtube, Facebook, Picasa and other file-sharing
freerapid: services, include the new ones like mega.co.nz.
freerapid:
freerapid: Home page: http://wordrider.net/freerapid/index.html/