network/flock: Added to 12.1 repository

This commit is contained in:
Vincent Batts 2010-05-11 22:54:47 +02:00 committed by Robby Workman
parent b5793a1e3c
commit dc79f87c1c
9 changed files with 182 additions and 0 deletions

9
network/flock/README Normal file
View file

@ -0,0 +1,9 @@
flock (social mozilla web browser)
Flock is a free web browser. Built on Mozilla's Firefox,
Flock enables you to instantly upload photos,
share photos and videos.
This build script was adapted from slackware's
mozilla-firefox.SlackBuild, and therefore does not
compile flock but repackages the binaries.

Binary file not shown.

Binary file not shown.

View file

@ -0,0 +1,70 @@
#!/bin/sh
# This script is a modified version of what is available on
# slackware-12.1/source/xap/mozilla-firefox/
#
# Modified by Vincent Batts, vbatts@gmail.com
PRGNAM="flock"
VERSION=2.0.1
ARCH=${ARCH:-i686}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
mkdir -p $PKG/usr/lib
cd $PKG/usr/lib
tar xvf $CWD/${PRGNAM}_afc2D752E58ECCE-$VERSION.en-US.linux-i686.tar.bz2
chown -R root:root .
mv ${PRGNAM} $PRGNAM-$VERSION
ln -sf $PRGNAM-$VERSION ${PRGNAM}
cd $PRGNAM-$VERSION
zcat $CWD/$PRGNAM-simple.diff.gz | patch -p0
zcat $CWD/$PRGNAM-thunderbird.diff.gz | patch -p0
zcat $CWD/$PRGNAM.moz_plugin_path.diff.gz | patch -p0
rm -f defaults/pref/$PRGNAM.js.orig
mv ${PRGNAM}-browser ${PRGNAM}
cd -
mkdir -p $PKG/usr/bin
( cd $PKG/usr/bin
ln -sf /usr/lib/$PRGNAM-$VERSION/${PRGNAM} $PRGNAM
)
mkdir -p $PKG/usr/lib/mozilla/plugins
mkdir -p $PKG/usr/share/applications
cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop
mkdir -p $PKG/usr/share/pixmaps
cat $CWD/${PRGNAM}.png > $PKG/usr/share/pixmaps/$PRGNAM.png
# These files/directories are usually created if Flock is run as root, which on many
# systems might (and possibly should) be never. Therefore, if we don't see them we'll
# put stubs in place to prevent startup errors.
cd $PKG/usr/lib/$PRGNAM-$VERSION
if [ -d extensions/talkback\@mozilla.org ]; then
if [ ! -r extensions/talkback\@mozilla.org/chrome.manifest ]; then
echo > extensions/talkback\@mozilla.org/chrome.manifest
fi
fi
if [ ! -d updates ]; then
mkdir -p updates/0
fi
cd -
mkdir $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz

View file

@ -0,0 +1,76 @@
[Desktop Entry]
Encoding=UTF-8
Exec=flock %u
Icon=/usr/share/pixmaps/flock.png
Type=Application
Categories=Application;Network;
Name=Flock
GenericName=Web Browser
GenericName[af]=Web Blaaier
GenericName[ar]=متصفح ويب
GenericName[az]=Veb Səyyahı
GenericName[bg]=Браузър
GenericName[bn]=
GenericName[br]=Furcher ar Gwiad
GenericName[bs]=WWW Preglednik
GenericName[ca]=Fullejador web
GenericName[cs]=WWW prohlížeč
GenericName[cy]=Porydd Gwe
GenericName[da]=Browser
GenericName[de]=Web-Browser
GenericName[el]=Περιηγητής Ιστού
GenericName[eo]=TTT-legilo
GenericName[es]=Navegador web
GenericName[et]=Veebilehitseja
GenericName[eu]=Web arakatzailea
GenericName[fa]=مرورگر وب
GenericName[fi]=WWW-selain
GenericName[fo]=Alnótsfar
GenericName[fr]=Navigateur web
GenericName[gl]=Navegador Web
GenericName[he]=דפדפן אינטרנט
GenericName[hi]=
GenericName[hr]=Web preglednik
GenericName[hu]=Webböngésző
GenericName[is]=Vafri
GenericName[it]=Browser Web
GenericName[ja]=
GenericName[ko]=
GenericName[lo]=
GenericName[lt]=Žiniatinklio naršyklė
GenericName[lv]=Web Pārlūks
GenericName[mk]=Прелистувач на Интернет
GenericName[mn]=Веб-Хөтөч
GenericName[nb]=Nettleser
GenericName[nds]=Nettkieker
GenericName[nl]=Webbrowser
GenericName[nn]=Nettlesar
GenericName[nso]=Seinyakisi sa Web
GenericName[pa]=
GenericName[pl]=Przeglądarka WWW
GenericName[pt]=Navegador Web
GenericName[pt_BR]=Navegador Web
GenericName[ro]=Navigator de web
GenericName[ru]=Веб-браузер
GenericName[se]=Fierpmádatlogan
GenericName[sk]=Webový prehliadač
GenericName[sl]=Spletni brskalnik
GenericName[sr]=Веб претраживач
GenericName[sr@Latn]=Veb pretraživač
GenericName[ss]=Ibrawuza yeWeb
GenericName[sv]=Webbläsare
GenericName[ta]= ி
GenericName[tg]=Тафсиргари вэб
GenericName[th]=
GenericName[tr]=Web Tarayıcı
GenericName[uk]=Навігатор Тенет
GenericName[uz]=Веб-браузер
GenericName[ven]=Buronza ya Webu
GenericName[vi]=Trình duyt Web
GenericName[wa]=Betchteu waibe
GenericName[xh]=Umkhangeli zincwadi we Web
GenericName[zh_CN]=
GenericName[zh_TW]=
GenericName[zu]=Umcingi we-Web
MimeType=text/html
X-KDE-StartupNotify=true

8
network/flock/flock.info Normal file
View file

@ -0,0 +1,8 @@
PRGNAM="flock"
VERSION="2.0.1"
HOMEPAGE="http://www.flock.com/"
DOWNLOAD="http://mirror2.flock.com/releases/2.0.1/bundle/flock-afc2D752E58ECCE/flock_afc2D752E58ECCE-2.0.1.en-US.linux-i686.tar.bz2"
MD5SUM="b5d16461ff8becfd19fae4472862c1af"
MAINTAINER="Vincent Batts"
EMAIL="vbatts@hashbangbash.com"
APPROVED="rworkman"

Binary file not shown.

BIN
network/flock/flock.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

19
network/flock/slack-desc Normal file
View file

@ -0,0 +1,19 @@
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description. Line
# up the first '|' above the ':' following the base package name, and the '|' on
# the right side marks the last column you can put a character in. You must make
# exactly 11 lines for the formatting to be correct. It's also customary to
# leave one space after the ':'.
|-----handy-ruler------------------------------------------------------|
flock: flock (Mozilla based Web browser)
flock:
flock: This project is a social web browser,
flock: backboned by the Mozilla project.
flock:
flock: Visit the flock project online:
flock: http://www.flock.com/
flock:
flock:
flock:
flock: