/trunk/debian/patches/10_installation.dpatch |
File deleted |
|
Property changes: |
Deleted: svn:executable |
## -1 +0,0 ## |
-* |
\ No newline at end of property |
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 |
=================================================================== |
--- debian (revision 2) |
+++ debian (nonexistent) |
/debian |
Property changes: |
Deleted: mergeWithUpstream |
## -1 +0,0 ## |
-1 |
\ No newline at end of property |