diff options
author | David Negroni <dnegroni.italy@gmail.com> | 2010-05-13 01:00:02 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-13 01:00:02 +0200 |
commit | 609f4595536d7f31f534abccd99dce6e25e69161 (patch) | |
tree | d06bc6ccc79f6b75b7deba7630a740600431efcc /network | |
parent | f986af338a4cfcceb99942550d1df4d049d752bd (diff) |
network/icecat: Added to 13.0 repository
Diffstat (limited to 'network')
-rw-r--r-- | network/icecat/README | 23 | ||||
-rw-r--r-- | network/icecat/icecat.SlackBuild | 65 | ||||
-rw-r--r-- | network/icecat/icecat.info | 10 | ||||
-rw-r--r-- | network/icecat/slack-desc | 19 |
4 files changed, 117 insertions, 0 deletions
diff --git a/network/icecat/README b/network/icecat/README new file mode 100644 index 0000000000000..05305be5051d2 --- /dev/null +++ b/network/icecat/README @@ -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. + diff --git a/network/icecat/icecat.SlackBuild b/network/icecat/icecat.SlackBuild new file mode 100644 index 0000000000000..132887343caeb --- /dev/null +++ b/network/icecat/icecat.SlackBuild @@ -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} diff --git a/network/icecat/icecat.info b/network/icecat/icecat.info new file mode 100644 index 0000000000000..ede5d037b476e --- /dev/null +++ b/network/icecat/icecat.info @@ -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" diff --git a/network/icecat/slack-desc b/network/icecat/slack-desc new file mode 100644 index 0000000000000..da2a04ef0132b --- /dev/null +++ b/network/icecat/slack-desc @@ -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: |