Subversion Repositories pyscrabble

Compare Revisions

Ignore whitespace Rev 2 → Rev 1

/trunk/debian/pyscrabble.desktop
File deleted
/trunk/debian/pyscrabble-server.install
File deleted
/trunk/debian/watch
File deleted
/trunk/debian/pyscrabble-server.README.Debian
File deleted
/trunk/debian/copyright
File deleted
/trunk/debian/pyscrabble-server.postinst
File deleted
/trunk/debian/pyscrabble-server.default
File deleted
/trunk/debian/pyscrabble-server.postrm
File deleted
/trunk/debian/control
File deleted
/trunk/debian/pyscrabble-common.install
File deleted
/trunk/debian/compat
File deleted
/trunk/debian/pyscrabble.svg
File deleted
/trunk/debian/changelog
File deleted
/trunk/debian/patches/10_installation.dpatch
File deleted
Property changes:
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: debian/patches/00list
===================================================================
--- debian/patches/00list (revision 2)
+++ debian/patches/00list (nonexistent)
@@ -1 +0,0 @@
-10_installation
Index: debian/pyscrabble.menu
===================================================================
--- debian/pyscrabble.menu (revision 2)
+++ debian/pyscrabble.menu (nonexistent)
@@ -1,8 +0,0 @@
-?package(pyscrabble):\
- needs="X11"\
- section="Games/Board"\
- title="PyScrabble"\
- longtitle="A classic word game"\
- command="/usr/games/pyscrabble"\
- icon16x16="/usr/share/pixmaps/pyscrabble-16x16.xpm"\
- icon32x32="/usr/share/pixmaps/pyscrabble-32x32.xpm"
Index: debian/rules
===================================================================
--- debian/rules (revision 2)
+++ debian/rules (nonexistent)
@@ -1,95 +0,0 @@
-#!/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
-
-DESTDIR=$(CURDIR)/debian/tmp
-ICON_SIZES=16 22 32 48 64 96
-PIXMAP_SIZES=16 32
-
-include /usr/share/dpatch/dpatch.make
-
-clean: clean-patched unpatch
- dh_clean
-
-clean-patched:
- dh_testdir
- dh_testroot
- rm -f build-stamp configure-stamp
- rm -f pyscrabble-*.png pyscrabble-*.xpm
-
- python setup.py clean -a
- find -name '*.pyc' -delete
-
-build: $(DPATCH_STAMPFN)
- python setup.py build
-
- for size in $(ICON_SIZES); do \
- rsvg -h $$size -w $$size debian/pyscrabble.svg pyscrabble-$$size.png; \
- done
- for size in $(PIXMAP_SIZES); do \
- convert pyscrabble-$$size.png pyscrabble-$${size}x$${size}.xpm; \
- done
-
-install: build
- dh_testdir
- dh_testroot
- dh_clean -k
-
- python setup.py install --no-compile --root=$(DESTDIR) \
- --install-scripts=/usr/games \
- --confdir=/etc/pyscrabble \
- --logdir=/var/log/pyscrabble \
- --dbdir=/var/lib/pyscrabble
- mv $(DESTDIR)/usr/games/pyscrabble-main.py $(DESTDIR)/usr/games/pyscrabble
- mv $(DESTDIR)/usr/games/server_console.py $(DESTDIR)/usr/games/pyscrabble-server
-# rm $(DESTDIR)/usr/bin/db_upgrade.py
- install -m755 -d $(DESTDIR)/usr/share/pixmaps
- install -m644 pyscrabble-*.xpm $(DESTDIR)/usr/share/pixmaps
- install -m755 -d $(DESTDIR)/usr/share/icons/hicolor/scalable/apps
- gzip < debian/pyscrabble.svg > $(DESTDIR)/usr/share/icons/hicolor/scalable/apps/pyscrabble.svgz
- for size in $(ICON_SIZES); do \
- install -m755 -d $(DESTDIR)/usr/share/icons/hicolor/$${size}x$${size}/apps; \
- install -m644 pyscrabble-$$size.png \
- $(DESTDIR)/usr/share/icons/hicolor/$${size}x$${size}/apps/pyscrabble.png; \
- done
- install -d -m755 $(DESTDIR)/usr/share/applications/
- install -m644 debian/pyscrabble.desktop $(DESTDIR)/usr/share/applications/
-
-
-
-# Build architecture-dependent files here.
-binary-arch:
-# We have nothing to do by default.
-
-# Build architecture-independent files here.
-binary-indep: build install
- dh_testdir
- dh_testroot
- dh_install --sourcedir=debian/tmp
- dh_link
- dh_pycentral
- dh_installchangelogs CHANGELOG.txt
- dh_installdocs
- dh_installexamples
- dh_installman
- dh_installinit
- dh_installmenu
- dh_desktop
- dh_strip
- dh_compress
- dh_fixperms
- 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
/debian/rules
Property changes:
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: debian/pyscrabble.install
===================================================================
--- debian/pyscrabble.install (revision 2)
+++ debian/pyscrabble.install (nonexistent)
@@ -1,10 +0,0 @@
-usr/games/pyscrabble
-usr/lib/python*/site-packages/pyscrabble/gui
-usr/lib/python*/site-packages/pyscrabble/net/client.py
-usr/lib/python*/site-packages/pyscrabble/gtk*.py
-usr/share/icons
-usr/share/pixmaps
-usr/share/applications
-usr/share/games/pyscrabble/sounds
-usr/share/games/pyscrabble/images
-usr/share/games/pyscrabble/locale
Index: debian/pyscrabble-server.init
===================================================================
--- debian/pyscrabble-server.init (revision 2)
+++ debian/pyscrabble-server.init (nonexistent)
@@ -1,104 +0,0 @@
-#!/bin/sh
-### BEGIN INIT INFO
-# Provides: pyscrabble
-# Required-Start: $local_fs $remote_fs
-# Required-Stop: $local_fs $remote_fs
-# Default-Start: 2 3 4 5
-# Default-Stop: S 0 1 6
-# Short-Description: PyScrabble server
-# Description: Controls the PyScrabble server
-### END INIT INFO
-#
-# Author: Will Gray <graywh@gmail.com>
-# Version: 1
-#
-
-set -e
-
-PATH=/sbin:/bin:/usr/bin
-DESC="PyScrabble server"
-NAME=python
-NAME2=pyscrabble-server
-DAEMON=/usr/games/pyscrabble-server
-PIDFILE=/var/run/$NAME2.pid
-SCRIPTNAME=/etc/init.d/$NAME2
-
-# Gracefully exit if the package has been removed.
-test -x $DAEMON || exit 0
-
-USER="pyscrabble"
-
-# Read config file if it is present.
-if [ -r /etc/default/$NAME2 ]
-then
- . /etc/default/$NAME2
-fi
-
-#
-# Function that starts the daemon/service.
-#
-d_start() {
- start-stop-daemon --start --quiet --background --make-pidfile --pidfile $PIDFILE \
- --chuid "$USER" --exec $DAEMON \
- || echo -n " already running"
-}
-
-#
-# Function that stops the daemon/service.
-#
-d_stop() {
- start-stop-daemon --stop --quiet --pidfile $PIDFILE \
- --name $NAME \
- || echo -n " not running"
- rm -f $PIDFILE
-}
-
-case "$1" in
- start)
- echo -n "Starting $DESC: $NAME2"
- d_start
- echo "."
- ;;
- stop)
- echo -n "Stopping $DESC: $NAME2"
- d_stop
- echo "."
- ;;
- #reload)
- #
- # If the daemon can reload its configuration without
- # restarting (for example, when it is sent a SIGHUP),
- # then implement that here.
- #
- # If the daemon responds to changes in its config file
- # directly anyway, make this an "exit 0".
- #
- # echo -n "Reloading $DESC configuration..."
- # d_reload
- # echo "done."
- #;;
- restart|force-reload)
- #
- # If the "reload" option is implemented, move the "force-reload"
- # option to the "reload" entry above. If not, "force-reload" is
- # just the same as "restart".
- #
- echo -n "Restarting $DESC: $NAME2"
- d_stop
- # One second might not be time enough for a daemon to stop,
- # if this happens, d_start will fail (and dpkg will break if
- # the package is being upgraded). Change the timeout if needed
- # be, or change d_stop to have start-stop-daemon use --retry.
- # Notice that using --retry slows down the shutdown process somewhat.
- sleep 1
- d_start
- echo "."
- ;;
- *)
- # echo "Usage: $SCRIPTNAME {start|stop|restart|reload|force-reload}" >&2
- echo "Usage: $SCRIPTNAME {start|stop|restart|force-reload}" >&2
- exit 1
- ;;
-esac
-
-exit 0
Index: debian
===================================================================
--- debian (revision 2)
+++ debian (nonexistent)
/debian
Property changes:
Deleted: mergeWithUpstream
## -1 +0,0 ##
-1
\ No newline at end of property