[debian-edu-commits] r80063 - in trunk/src: . firefox-tuning firefox-tuning/debian

pere at alioth.debian.org pere at alioth.debian.org
Thu May 16 07:22:43 UTC 2013


Author: pere
Date: 2013-05-16 07:22:43 +0000 (Thu, 16 May 2013)
New Revision: 80063

Added:
   trunk/src/firefox-tuning/
   trunk/src/firefox-tuning/debian/
   trunk/src/firefox-tuning/debian/changelog
   trunk/src/firefox-tuning/debian/compat
   trunk/src/firefox-tuning/debian/conffiles
   trunk/src/firefox-tuning/debian/control
   trunk/src/firefox-tuning/debian/copyright
   trunk/src/firefox-tuning/debian/docs
   trunk/src/firefox-tuning/debian/postrm
   trunk/src/firefox-tuning/debian/preinst
   trunk/src/firefox-tuning/debian/rules
   trunk/src/firefox-tuning/iceweasel.sh
Log:
Add firefox-tuning version 1.1-1 from http://rp.skolelinux.de/packages/firefox-tuning/firefox-tuning_1.1-1.dsc (The Skolelinux-RLP project).

Added: trunk/src/firefox-tuning/debian/changelog
===================================================================
--- trunk/src/firefox-tuning/debian/changelog	                        (rev 0)
+++ trunk/src/firefox-tuning/debian/changelog	2013-05-16 07:22:43 UTC (rev 80063)
@@ -0,0 +1,12 @@
+firefox-tuning (1.1-1) unstable; urgency=low
+
+  * Use --delete in order to reflect deleted plugins etc.
+  * Make sure that /tmp/user/.mozilla exists
+
+ -- Klaus Knopper <knoppix at knopper.net>  Thu, 12 Nov 2009 16:48:19 +0100
+
+firefox-tuning (1.0-1) unstable; urgency=low
+
+  * Initial release
+
+ -- Klaus Knopper <knoppix at knopper.net>  Tue, 03 Nov 2009 16:48:19 +0100

Added: trunk/src/firefox-tuning/debian/compat
===================================================================
--- trunk/src/firefox-tuning/debian/compat	                        (rev 0)
+++ trunk/src/firefox-tuning/debian/compat	2013-05-16 07:22:43 UTC (rev 80063)
@@ -0,0 +1 @@
+4

Added: trunk/src/firefox-tuning/debian/conffiles
===================================================================
Added: trunk/src/firefox-tuning/debian/control
===================================================================
--- trunk/src/firefox-tuning/debian/control	                        (rev 0)
+++ trunk/src/firefox-tuning/debian/control	2013-05-16 07:22:43 UTC (rev 80063)
@@ -0,0 +1,11 @@
+Source: firefox-tuning
+Section: misc
+Priority: optional
+Maintainer: Klaus Knopper <knoppix at knopper.net>
+Build-Depends: debhelper (>= 4.0.0)
+Standards-Version: 3.6.2
+
+Package: firefox-tuning
+Architecture: all
+Depends: bash, rsync, ${misc:Depends}
+Description: Makes firefox behave better on slow networks

Added: trunk/src/firefox-tuning/debian/copyright
===================================================================
--- trunk/src/firefox-tuning/debian/copyright	                        (rev 0)
+++ trunk/src/firefox-tuning/debian/copyright	2013-05-16 07:22:43 UTC (rev 80063)
@@ -0,0 +1,8 @@
+This package was debianized by Klaus Knopper <knoppix at knopper.net> on
+Tue, 03 Nov 2009 02:09:28 +0100.
+
+It was downloaded from http://knopper.net/knoppix/sources/
+
+Copyright Holder: Klaus Knopper <knoppix at knopper.net>
+
+License: GPL V2

Added: trunk/src/firefox-tuning/debian/docs
===================================================================
Added: trunk/src/firefox-tuning/debian/postrm
===================================================================
--- trunk/src/firefox-tuning/debian/postrm	                        (rev 0)
+++ trunk/src/firefox-tuning/debian/postrm	2013-05-16 07:22:43 UTC (rev 80063)
@@ -0,0 +1,22 @@
+#!/bin/bash
+
+case "$1" in
+       purge|remove|disappear)
+       	dpkg-divert --package firefox-tuning --rename --remove /usr/lib/iceweasel/iceweasel
+
+        ;;
+       upgrade|failed-upgrade|abort-install|abort-upgrade)
+        ;;
+
+    *)
+        echo "postrm called with unknown argument \`$1'" >&2
+        exit 1
+
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0

Added: trunk/src/firefox-tuning/debian/preinst
===================================================================
--- trunk/src/firefox-tuning/debian/preinst	                        (rev 0)
+++ trunk/src/firefox-tuning/debian/preinst	2013-05-16 07:22:43 UTC (rev 80063)
@@ -0,0 +1,22 @@
+#!/bin/bash
+
+case "$1" in
+    install|upgrade)
+       	dpkg-divert --package firefox-tuning --divert /usr/lib/iceweasel/iceweasel.real --rename /usr/lib/iceweasel/iceweasel
+    ;;
+
+    abort-upgrade)
+    ;;
+
+    *)
+        echo "preinst called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0

Added: trunk/src/firefox-tuning/debian/rules
===================================================================
--- trunk/src/firefox-tuning/debian/rules	                        (rev 0)
+++ trunk/src/firefox-tuning/debian/rules	2013-05-16 07:22:43 UTC (rev 80063)
@@ -0,0 +1,96 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+export PACKAGE=firefox-tuning
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else
+	CFLAGS += -O2
+endif
+
+configure: configure-stamp
+configure-stamp:
+	dh_testdir
+	# Add here commands to configure the package.
+
+	touch configure-stamp
+
+
+build: build-stamp
+
+build-stamp: configure-stamp 
+	dh_testdir
+
+	# Add here commands to compile the package.
+	# $(MAKE)
+	#docbook-to-man debian/$(PACKAGE).sgml > $(PACKAGE).1
+
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp configure-stamp
+
+	# Add here commands to clean up after the build process.
+	-$(MAKE) clean
+
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+
+	# Add here commands to install the package into debian/$(PACKAGE).
+	install -m 755 -d $(CURDIR)/debian/$(PACKAGE)/usr/lib/iceweasel
+	cp -af iceweasel.sh $(CURDIR)/debian/$(PACKAGE)/usr/lib/iceweasel/iceweasel
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs 
+	dh_installdocs
+	dh_installexamples
+#	dh_install
+#	dh_installmenu
+#	dh_installdebconf	
+#	dh_installlogrotate
+#	dh_installemacsen
+#	dh_installpam
+#	dh_installmime
+#	dh_installinit
+#	dh_installcron
+#	dh_installinfo
+	dh_installman
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+#	dh_perl
+#	dh_python
+#	dh_makeshlibs
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure


Property changes on: trunk/src/firefox-tuning/debian/rules
___________________________________________________________________
Added: svn:executable
   + *

Added: trunk/src/firefox-tuning/iceweasel.sh
===================================================================
--- trunk/src/firefox-tuning/iceweasel.sh	                        (rev 0)
+++ trunk/src/firefox-tuning/iceweasel.sh	2013-05-16 07:22:43 UTC (rev 80063)
@@ -0,0 +1,64 @@
+#!/bin/bash
+# /etc/X11/Xsession.d/95mklocal
+#
+# (C) by Klaus Knopper 27 Oct 2009
+# License: GPL V2
+
+[ -n "$USER" ] || USER="`id -un`"
+TMPHOME="/tmp/$USER"
+
+# To distinguish between workstation and TS client, do this:
+# if [ "$DISPLAY" = ":0" ]; then
+# Actually, we want to do this regardless where the user sits
+
+mklocal(){
+ 
+ # If already present, do nothing.
+ [ -d "$TMPHOME"/.mozilla  -a -L "$HOME"/.mozilla -a "$(readlink "$HOME"/.mozilla)" = "$TMPHOME"/.mozilla ] && return 0
+
+ # Create local temp directory
+ [ -d "$TMPHOME"/.mozilla ] || mkdir -p "$TMPHOME"/.mozilla
+
+ # Copy users data to temp, and rename .mozilla to .mozilla.real
+ for orig in .mozilla.real .mozilla; do
+  if [ -d "$HOME"/"$orig" -a ! -L "$HOME"/"$orig" ]; then
+    rsync -HaS --delete --exclude=Cache/ --exclude=OfflineCache/ "$HOME"/"$orig"/ "$TMPHOME"/.mozilla
+    [ ! -d "$HOME"/.mozilla.real ] && mv -f "$HOME"/"$orig" "$HOME"/.mozilla.real
+    break
+  fi
+ done
+
+ # Now remove any pending link or directory.
+ rm -rf "$HOME"/.mozilla
+
+ # Link users .mozilla to temp
+ ln -snf "$TMPHOME"/.mozilla "$HOME"/.mozilla
+
+ # Clean locks in .mozilla
+ find "$TMPHOME/.mozilla" -name \*lock -exec rm -f {} \;
+}
+
+copyback(){
+ [ -d "$HOME"/.mozilla.real ] || mkdir -p "$HOME"/.mozilla.real
+ rsync -HaS --delete --exclude=Cache/ --exclude=OfflineCache/ --exclude=lock --exclude=.parentlock "$TMPHOME"/.mozilla/ "$HOME"/.mozilla.real
+}
+
+### MAIN
+
+# Make .mozilla a local directory
+mklocal
+
+# Call mozilla
+REAL_FIREFOX=/usr/lib/iceweasel/iceweasel.real
+if [ -x "$REAL_FIREFOX" ]; then
+ "$REAL_FIREFOX" "$@"
+ RC="$?"
+else
+ echo "$REAL_FIREFOX does not exist." >&2
+ RC="1"
+fi
+
+# Copy changes back
+copyback
+
+exit "$RC"


Property changes on: trunk/src/firefox-tuning/iceweasel.sh
___________________________________________________________________
Added: svn:executable
   + *




More information about the debian-edu-commits mailing list