[renpy] 04/04: Fixed some stuff

Markus Koschany apo-guest at moszumanska.debian.org
Tue Jan 12 19:42:27 UTC 2016


This is an automated email from the git hooks/post-receive script.

apo-guest pushed a commit to annotated tag debian/6.7.1
in repository renpy.

commit 271eae3dbb5634f7aa27f2a5af1a81beba63b09c
Author: Miriam Ruiz <miriam at debian.org>
Date:   Thu Nov 13 10:59:56 2008 +0000

    Fixed some stuff
---
 debian/control            |  6 +--
 debian/copyright          | 77 ++++++++++++++++++++++++++++++---------
 debian/renpy-doc.doc-base |  2 +-
 debian/rules              | 93 +++++++++++------------------------------------
 4 files changed, 84 insertions(+), 94 deletions(-)

diff --git a/debian/control b/debian/control
index 5087fab..a311f54 100644
--- a/debian/control
+++ b/debian/control
@@ -3,11 +3,11 @@ Section: games
 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
diff --git a/debian/copyright b/debian/copyright
index 2543ae4..1c1fbeb 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -5,24 +5,52 @@ It was downloaded from http://www.renpy.org/
 
 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:
-
-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.
+    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 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'.
 
 ----------------------------------------------------------------------
 
@@ -126,6 +154,19 @@ from Tavmjong Bah. For further information, contact: tavmjong @ free
 
 ----------------------------------------------------------------------
 
+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'.
diff --git a/debian/renpy-doc.doc-base b/debian/renpy-doc.doc-base
index b60e34d..8abd00d 100644
--- a/debian/renpy-doc.doc-base
+++ b/debian/renpy-doc.doc-base
@@ -3,7 +3,7 @@ Title: Ren'Py Documentation
 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
diff --git a/debian/rules b/debian/rules
index 0f5cecc..8f06a6d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -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 @@ configure-stamp:
 	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 @@ install-indep:
 
 	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 @@ binary-arch: build install-arch
 	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&do=get&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

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/renpy.git



More information about the Pkg-games-commits mailing list