r8405 - packages/tags/renpy/6.7.1/debian

Miriam Ruiz miriam at alioth.debian.org
Thu Nov 13 10:59:56 UTC 2008


Author: miriam
Date: 2008-11-13 10:59:56 +0000 (Thu, 13 Nov 2008)
New Revision: 8405

Modified:
   packages/tags/renpy/6.7.1/debian/control
   packages/tags/renpy/6.7.1/debian/copyright
   packages/tags/renpy/6.7.1/debian/renpy-doc.doc-base
   packages/tags/renpy/6.7.1/debian/rules
Log:
Fixed some stuff



Modified: packages/tags/renpy/6.7.1/debian/control
===================================================================
--- packages/tags/renpy/6.7.1/debian/control	2008-11-13 10:59:25 UTC (rev 8404)
+++ packages/tags/renpy/6.7.1/debian/control	2008-11-13 10:59:56 UTC (rev 8405)
@@ -3,11 +3,11 @@
 Priority: optional
 Maintainer: Debian Games Team <pkg-games-devel at lists.alioth.debian.org>
 Uploaders: Miriam Ruiz <little_miry at yahoo.es>
-Build-Depends: debhelper (>= 5.0.37.2), dpkg-dev (>= 1.13.19), quilt,
- python-dev, python-support (>= 0.4), python-pygame,
+Build-Depends: debhelper (>= 7), dpkg-dev (>= 1.13.19), quilt,
+ python-all-dev, python-support (>= 0.6.4), python-setuptools, python-pygame,
  libsdl1.2-dev, libsdl-image1.2-dev, libsdl-sound1.2-dev, libsdl-ttf2.0-dev,
  libmodplug-dev, libspeex-dev
-Standards-Version: 3.7.3
+Standards-Version: 3.8.0
 Homepage: http://www.renpy.org/
 Vcs-Svn: svn://svn.debian.org/svn/pkg-games/packages/trunk/renpy/
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-games/packages/trunk/renpy/?op=log

Modified: packages/tags/renpy/6.7.1/debian/copyright
===================================================================
--- packages/tags/renpy/6.7.1/debian/copyright	2008-11-13 10:59:25 UTC (rev 8404)
+++ packages/tags/renpy/6.7.1/debian/copyright	2008-11-13 10:59:56 UTC (rev 8405)
@@ -5,27 +5,55 @@
 
 Copyright 2004-2008 PyTom <pytom at bishoujo.us>
 
-Permission is hereby granted, free of charge, to any person
-obtaining a copy of this software and associated documentation files
-(the "Software"), to deal in the Software without restriction,
-including without limitation the rights to use, copy, modify, merge,
-publish, distribute, sublicense, and/or sell copies of the Software,
-and to permit persons to whom the Software is furnished to do so,
-subject to the following conditions:
+    Permission is hereby granted, free of charge, to any person
+    obtaining a copy of this software and associated documentation files
+    (the "Software"), to deal in the Software without restriction,
+    including without limitation the rights to use, copy, modify, merge,
+    publish, distribute, sublicense, and/or sell copies of the Software,
+    and to permit persons to whom the Software is furnished to do so,
+    subject to the following conditions:
 
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
+    The above copyright notice and this permission notice shall be
+    included in all copies or substantial portions of the Software.
 
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+    EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+    MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+    NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+    LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+    OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+    WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 
+(MIT License)
+
 ----------------------------------------------------------------------
 
+module/native_midi.h:
+    Copyright (C) 2000  Florian 'Proff' Schulze
+module/native_midi_common.c
+    Copyright (C) 2000,2001  Florian 'Proff' Schulze
+module/native_midi_common.h
+    Copyright (C) 2000,2001  Florian 'Proff' Schulze & Max Horn
+module/native_midi_mac.c:
+    Copyright (C) 2001  Max Horn
+module/rwobject.c:
+    Copyright (C) 2000,2001  Pete Shinners
+
+    This library is free software; you can redistribute it and/or
+    modify it under the terms of the GNU Library General Public
+    License as published by the Free Software Foundation; either
+    version 2 of the License, or (at your option) any later version.
+
+    This library is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+    Library General Public License for more details.
+
+Licensed under the LGPL. On Debian systems, the complete text of the
+GNU General Public License can be found in `/usr/share/common-licenses/LGPL'.
+
+----------------------------------------------------------------------
+
 Fonts are (c) Bitstream (see below). DejaVu changes are in public domain.
 Glyphs imported from Arev fonts are (c) Tavmjung Bah (see below)
 
@@ -126,6 +154,19 @@
 
 ----------------------------------------------------------------------
 
+doc/*.css: MediaWiki 'monobook' style sheet for CSS2-capable browsers
+
+Copyright (C) 2004, 2005 by Gabriel Wicke
+
+Loosely based on http://www.positioniseverything.net/ordered-floats.html
+by Big John and the Plone 2.0 styles, see http://plone.org/
+(Alexander Limi, Joe Geldart & Tom Croucher, Michael Zeltner and Geir Bækholt)
+
+Licensed under the GPL. On Debian systems, the complete text of the
+GNU General Public License can be found in `/usr/share/common-licenses/GPL'.
+
+----------------------------------------------------------------------
+
 The Debian packaging is (C) 2007, Miriam Ruiz <little_miry at yahoo.es> and
 is licensed under the GPL. On Debian systems, the complete text of the
 GNU General Public License can be found in `/usr/share/common-licenses/GPL'.

Modified: packages/tags/renpy/6.7.1/debian/renpy-doc.doc-base
===================================================================
--- packages/tags/renpy/6.7.1/debian/renpy-doc.doc-base	2008-11-13 10:59:25 UTC (rev 8404)
+++ packages/tags/renpy/6.7.1/debian/renpy-doc.doc-base	2008-11-13 10:59:56 UTC (rev 8405)
@@ -3,7 +3,7 @@
 Author: PyTom <pytom at bishoujo.us>
 Abstract: This is the official documentation for Ren'Py,
  a framework for developing visual-novel type games.
-Section: Apps/Programming
+Section: Programming/Python
 
 Format: HTML
 Index: /usr/share/doc/renpy/html/index.html

Modified: packages/tags/renpy/6.7.1/debian/rules
===================================================================
--- packages/tags/renpy/6.7.1/debian/rules	2008-11-13 10:59:25 UTC (rev 8404)
+++ packages/tags/renpy/6.7.1/debian/rules	2008-11-13 10:59:56 UTC (rev 8405)
@@ -3,13 +3,11 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-CFLAGS = -Wall -g
+PYVERS=$(shell pyversions -vs)
 
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-	CFLAGS += -O0
-else
-	CFLAGS += -O2
-endif
+patch:
+	dh_testdir
+	$(MAKE) -f /usr/share/quilt/quilt.make patch
 
 configure: configure-stamp
 configure-stamp:
@@ -19,16 +17,21 @@
 	touch configure-stamp
 
 build: build-stamp
-build-stamp: configure-stamp 
+build-stamp: configure $(PYVERS:%=build-python%)
 	dh_testdir
-	cd module; python setup.py build
-	#docbook-to-man debian/renpy.sgml > renpy.1
 	touch build-stamp
 
+build-python%: configure-stamp
+	dh_testdir
+	cd module && python$* setup.py build
+	touch $@
+
 clean: configure
 	dh_testdir
 	dh_testroot
+	rm -rf `find . -name "*.rpyc"`
 	rm -f build-stamp configure-stamp
+	rm -f build-python* install-python*
 	cd module; python setup.py clean
 	rm -rf module/build/
 	$(MAKE) -f /usr/share/quilt/quilt.make unpatch
@@ -76,10 +79,16 @@
 
 	dh_install -prenpy-doc doc/* usr/share/doc/renpy/html
 
-install-arch:
-	# module/ - Contains the source code for the _renpy module.
-	cd module; python setup.py install --root=$(CURDIR)/debian/python-renpy
+install-arch: build $(PYVERS:%=install-python%)
 
+install-python%:
+	dh_testdir
+	dh_testroot
+	cd module && python$* setup.py install \
+		--no-compile \
+		--root=$(CURDIR)/debian/python-renpy \
+		;
+	touch $@
 
 install: install-arch install-indep
 
@@ -122,65 +131,5 @@
 	dh_md5sums -a
 	dh_builddeb -a
 
-# Dynamic upstream renpy version detection
-#
-# RENPY_VERSION = $(shell uscan --dehs --report-status | \ 
-# 	grep upstream-version | sed 's/<.*>\(.*\)<.*>/\1/g')
-#
-# Dynamic current renpy version detection
-#
-# RENPY_VERSION = $(shell head -1 debian/changelog | \
-# 	sed 's/.*(\(.*\)\.ds.*/\1/')
-#
-# Static renpy version assignment
-RENPY_VERSION = 6.6.2
-DEBIAN_VERSION = $(RENPY_VERSION).dfsg1
-
-get-orig-source:
-	dh_testdir
-	dh_testroot
-	rm -rf "renpy-$(RENPY_VERSION)"
-	echo "Downloading Ren'Py..."
-	test -e "renpy-$(RENPY_VERSION)-full.tar.bz2" || \
-		wget "http://www.renpy.org/dl/$(RENPY_VERSION)/renpy-$(RENPY_VERSION)-full.tar.bz2"
-	tar xvfj "renpy-$(RENPY_VERSION)-full.tar.bz2"
-	rm -f "renpy-$(RENPY_VERSION)-full.tar.bz2"
-	rm -f "renpy_$(DEBIAN_VERSION).orig.tar.gz"
-	cd "renpy-$(RENPY_VERSION)"; \
-		rm -rf `find . -name "*.dll"` ; \
-		rm -rf `find . -name "*.exe"` ; \
-		rm -rf `find . -name "*.rpyc"` ; \
-		rm -rf editor lib renpy.app renpy.code
-	tar cvfz "renpy_$(DEBIAN_VERSION).orig.tar.gz" "renpy-$(RENPY_VERSION)"
-	rm -rf "renpy-$(RENPY_VERSION)"
-	mv "renpy_$(DEBIAN_VERSION).orig.tar.gz" ..
-
-get-doc:
-	dh_testdir
-	dh_testroot
-	mkdir tmp-doc
-	cd tmp-doc && \
-		wget --page-requisites --recursive --no-parent --convert-links --html-extension \
-			--no-host-directories \
-			--cut-dirs=3 --execute robots=off \
-			--include-directories='/wiki/renpy/doc,/w' \
-			http://www.renpy.org/wiki/renpy/doc/reference \
-			http://www.renpy.org/wiki/renpy/doc/tutorials \
-			http://www.renpy.org/wiki/renpy/Features \
-			http://www.renpy.org/wiki/renpy/License
-	cd tmp-doc && \
-		find . -name "*.html" | while read f; do \
-			cp "$$f" tmp1.html ; \
-			awk '/<!-- start content -->/,/<!-- Saved in parser cache/' tmp1.html \
-				| grep -v '<!-- start content -->' \
-				| grep -v '<!-- Saved in parser cache' \
-				| grep -v 'http://www.renpy.org/wiki/renpy/Home_Page?action=AttachFile&amp;do=get&amp;target=launcher.png' \
-				> tmp2.html ; \
-			sed --regexp-extended 's,<span class="editsection">\[.*\] *</span>,,g' \
-				tmp2.html >tmp3.html ; \
-			tidy tmp3.html > "$$f" ; \
-			rm -f tmp* ; \
-		done
-
 binary: binary-indep binary-arch
 .PHONY: build clean binary-indep binary-arch binary install-indep install-arch install configure get-doc get-orig-source




More information about the Pkg-games-commits mailing list