network/icecat: Added to 13.0 repository

This commit is contained in:
David Negroni 2010-05-13 01:00:02 +02:00 committed by David Somero
parent f986af338a
commit 609f459553
4 changed files with 117 additions and 0 deletions

23
network/icecat/README Normal file
View File

@ -0,0 +1,23 @@
GNU IceCat is the GNU version of the Firefox browser.
Its main advantage is an ethical one: it is entirely free software.
While the principal source code from the Mozilla project is free software, the distribution contains various problematic files,
the EULA they require for use of their binaries is troublesome, and they distribute and recommend non-free software as plug-ins.
In addition, GNU IceCat includes some privacy protection features, included in a separate addon:
1. Some sites refer to zero-size images on other hosts to keep track of cookies.
When IceCat detects this mechanism it blocks cookies from the site hosting the zero-length image file.
(It is possible to re-enable such a site by removing it from the blocked hosts list.)
2. Other sites rewrite the host name in links redirecting the user to another site, mainly to "spy" on clicks.
When this behavior is detected, IceCat shows a message alerting the user.
The default configuration of IceCat uses the following libraries:
libpango libpangoxft libpangoft2 libfreetype libxft libgtk2 libx11
You also need the libnotify library >= 0.4 ( http://www.galago-project.org/news/index.php )
Refer to your distro help as needed if the configure script fails to
find them.

View File

@ -0,0 +1,65 @@
#!/bin/sh
# Slackware build script for icecat
# Written by David Negroni <dnegroni.italy@gmail.com>
PRGNAM="icecat"
VERSION="3.6"
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
fi
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvjf $CWD/${PRGNAM}-$VERSION.tar.bz2 || exit 1
cd ${PRGNAM}-$VERSION
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
-exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
cp -v .mozconfig{,.orig}
sed '/--prefix/s:/usr/local:/usr:' .mozconfig.orig > .mozconfig
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--build=$ARCH-slackware-linux || exit 1
make || exit 1
make install DESTDIR=$PKG
rm -rf $PKG/usr/lib${LIBDIRSUFFIX}/icecat-devel-$VERSION
rm -rf $PKG/usr/include
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}

View File

@ -0,0 +1,10 @@
PRGNAM="icecat"
VERSION="3.6"
HOMEPAGE="http://www.gnu.org/software/gnuzilla/"
DOWNLOAD="http://ftp.gnu.org/gnu/gnuzilla/3.6/icecat-3.6.tar.bz2"
MD5SUM="81ec5a9c407a7206bbd65155054689dd"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="David Negroni"
EMAIL="dnegroni.italy@gmail.com"
APPROVED="dsomero"

19
network/icecat/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------------------------------------------------------|
icecat: icecat (GNU IceCat Browser)
icecat:
icecat: GNU IceCat is the GNU version of the Firefox browser.
icecat: It is entirely free software.
icecat:
icecat: Homepage: http://www.gnu.org/software/gnuzilla/
icecat:
icecat:
icecat:
icecat:
icecat: