Merge lp:~trldp/supertux/supertux-debian-trunk into lp:~supertux-dev/supertux/supertux-debian-trunk

Proposed by trldp
Status: Merged
Approved by: Liviu Andronic
Approved revision: 7
Merged at revision: 2
Proposed branch: lp:~trldp/supertux/supertux-debian-trunk
Merge into: lp:~supertux-dev/supertux/supertux-debian-trunk
Diff against target: 306 lines (+75/-146)
13 files modified
debian/README.source (+0/-31)
debian/changelog (+6/-0)
debian/compat (+1/-1)
debian/control (+5/-5)
debian/copyright (+38/-25)
debian/dirs (+0/-2)
debian/docs (+0/-2)
debian/menu (+0/-3)
debian/rules (+25/-66)
debian/supertux-data.debhelper.log (+0/-3)
debian/supertux-data.dirs (+0/-1)
debian/supertux-svn-data.debhelper.log (+0/-1)
debian/watch (+0/-6)
To merge this branch: bzr merge lp:~trldp/supertux/supertux-debian-trunk
Reviewer Review Type Date Requested Status
Liviu Andronic Approve
Review via email: mp+219117@code.launchpad.net

Commit message

Clean up packaging, bump version and fix daily builds

Description of the change

I updated the debian files and fixed some errors. In debian/control, I removed some packages that are not used anymore and removed the non-standard field XSBC-Original-Maintainer. I changed debian/rules and debian/changelog to a more standard format (as described on https://www.debian.org/doc/manuals/maint-guide/dreq.en.html#defaultrules and https://www.debian.org/doc/manuals/maint-guide/dreq.en.html#copyright). I also removed some files, since I don't know what they do exactly.

The changes are tested using the receipe https://code.launchpad.net/~trldp/+recipe/supertux-git-daily.

To post a comment you must log in.
Revision history for this message
Liviu Andronic (landronimirc) wrote :

Thanks for working on this! Do I understand correctly that this fixes the build issues that plagued the daily builds during the past weeks?

Also, I notice that you've modified in debian/changelog the versioning scheme:
`supertux (0.3.4-1build1~git)`

Even if not perfectly according to the standard, I very much prefer to have it in a style similar to:
`supertux (0.3.4~git-1build1)`

0.3.4 hasn't yet been released, and the `0.3.4~git` allows for a clear identification of the "daily build" nature of the package. And once 0.3.4 is actually released, then `apt` will play nicely with the update. Can you address this in your patch?

6. By trldp

Change version number

7. By trldp

Forgot to add something like -1 to the version number

Revision history for this message
trldp (trldp) wrote :

This patch should indeed fix the build issues for the daily builds.

Actually, 0.3.4 has already been released and included in trusty (and utopic). I changed the version number to make sure the git version was newer than the 0.3.4-1build1 in trusty. Now, I changed it now to 0.3.5~git-1, which is also newer than the version included in trusty.

Revision history for this message
Liviu Andronic (landronimirc) wrote :

Ooops, I'm clearly out-of-date with Supertux developments.

The revision looks good now. How exactly do I perform the merge? (On github you have a big green Accept Pull Request button, but I'm not sure how things work on Launchpad.)

review: Approve
Revision history for this message
trldp (trldp) wrote :

It seems you can't merge using the website (see https://help.launchpad.net/Code/Review). According to http://doc.bazaar.canonical.com/bzr.dev/en/user-guide/merging_changes.html, you have to run a command like
 $ bzr merge lp:~trldp/supertux/supertux-debian-trunk
from your local copy of your bzr branch. Then, commit and push it onto lauchpad.

Oh, and could you also activate Trusty and Utopic in your daily build receipe (so I can remove mine)?

Revision history for this message
Liviu Andronic (landronimirc) wrote :

I've now created a SuperTux Team https://launchpad.net/~supertux-dev (not yet associated with SuperTux Project on Launchpad as I don't own that), and added you as a member. I further switched ownership of the relevant branches to `supertux-dev`, so now you should be able to perform the merge yourself. I also activated Trusty and Utopic in the daily build recipe. I also created a new PPA for the daily builds, now owned by `supertux-dev` (in time I will probably disable https://code.launchpad.net/~landronimirc/+archive/supertux-git ). It is a bit inconvenient to change PPAs, but perhaps it is better for the long-term as other contributors could join.

Does this work for you?

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== removed file 'debian/README.source'
2--- debian/README.source 2012-12-12 22:11:56 +0000
3+++ debian/README.source 1970-01-01 00:00:00 +0000
4@@ -1,31 +0,0 @@
5-This package uses dpatch in order to apply patches to the upstream source.
6-Patches are stored in debian/patches and their filenames usually end in .dpatch .
7-For further details, see the man pages for dpatch and dpatch-edit-patch.
8-
9-All commands described below should be run from the top directory of the
10-package source tree, unless otherwise stated.
11-
12- * To generate the fully patched source, in a form ready for
13- editing, that would be built to create Debian packages, run:
14-
15- dpatch apply-all
16-
17- Note: This should happen automatically when you run
18- dpkg-source -x on a dpatch source package.
19-
20- * To modify the source and save those modifications so that
21- they will be applied when building the package, pick a
22- suitably informative patch file name, for example
23- 01_add_README.source_file.dpatch, and then run:
24-
25- dpatch-edit-patch 01_add_README.source_file.dpatch
26-
27- This will place you in a new shell in a temporary copy of the
28- source tree. Make your desired modifications to it, and then
29- exit the shell to create the patch file containing them (this
30- file will appear in debian/patches).
31-
32- * To remove source modifications that are currently being
33- applied when building the package, run:
34-
35- dpatch unapply-all
36
37=== modified file 'debian/changelog'
38--- debian/changelog 2012-12-12 22:11:56 +0000
39+++ debian/changelog 2014-05-15 07:56:28 +0000
40@@ -1,3 +1,9 @@
41+supertux (0.3.5~git-1) UNRELEASED; urgency=low
42+
43+ * Update and cleanup of the debian directory
44+
45+ -- Tobe Deprez <tobedeprez@hotmail.com> Sat, 10 May 2014 12:41:06 +0200
46+
47 supertux (0.3.4~git-1~precise~ppa1) precise; urgency=low
48
49 * Initial import for daily builds.
50
51=== modified file 'debian/compat'
52--- debian/compat 2012-12-12 22:11:56 +0000
53+++ debian/compat 2014-05-15 07:56:28 +0000
54@@ -1,1 +1,1 @@
55-5
56+9
57
58=== modified file 'debian/control'
59--- debian/control 2012-12-12 22:11:56 +0000
60+++ debian/control 2014-05-15 07:56:28 +0000
61@@ -2,10 +2,10 @@
62 Section: games
63 Priority: optional
64 Maintainer: Liviu Andronic <landronimirc@gmail.com>
65-XSBC-Original-Maintainer: Gürkan Sengün <gurkan@linuks.mine.nu>
66-Uploaders: Bartosz Fenski <fenio@debian.org>
67-Build-Depends: autotools-dev, debhelper (>= 7.0.50~), cmake, quilt (>= 0.46-7~), libsdl1.2-dev, libsdl-image1.2-dev, libsdl-mixer1.2-dev, libphysfs-dev, libopenal-dev, libvorbis-dev, libogg-dev, libcurl4-gnutls-dev, libboost-dev, libglew-dev
68-Standards-Version: 3.8.0
69+Uploaders: Bartosz Fenski <fenio@debian.org>, Tobe Deprez (trldp) <tobedeprez@hotmail.com>
70+Build-Depends: debhelper (>= 9), cmake, libsdl1.2-dev, libsdl-image1.2-dev, libphysfs-dev, libopenal-dev,
71+ libvorbis-dev, libogg-dev, libboost-dev, libglew-dev
72+Standards-Version: 3.9.5
73 Homepage: http://supertux.lethargik.org
74
75 Package: supertux-git
76@@ -17,7 +17,7 @@
77 style like the original SuperMario games. This release of SuperTux
78 features 9 enemies, 26 playable levels, software and OpenGL rendering
79 modes, configurable joystick and keyboard input, new music and
80- completly redone graphics.
81+ completely redone graphics.
82 .
83 This is a development snapshot of SuperTux. It may suffer from
84 critical bugs and has not been fully tested. Use `supertux-stable',
85
86=== modified file 'debian/copyright'
87--- debian/copyright 2012-12-12 22:11:56 +0000
88+++ debian/copyright 2014-05-15 07:56:28 +0000
89@@ -1,25 +1,38 @@
90-This package was debianized by Gürkan Sengün <gurkan@linuks.mine.nu> on
91-Thu, 6 May 2004 10:36:38 +0200.
92-
93-It was downloaded from http://super-tux.sourceforge.net/
94-
95-Upstream Authors: Tobias Glaesser <tobi.web@gmx.de>,
96- Bill Kendrick <nbs@sonic.net>,
97- Ricardo Cruz <rick2@aeiou.pt>,
98- Ingo Ruhnke <grumbel@gmx.de>,
99- Duong-Khang NGUYEN <neoneurone@users.sourceforge.net>,
100- Matthias Braun <matze@braunis.de>,
101- Ryan Flegel <xxdigitalhellxx@hotmail.com>
102-
103- Graphics:
104- Ingo Ruhnke <grumbel@gmx.de>,
105- Christopher A. Webber <creat0r@lingocomic.com>
106-
107- Level Desgin:
108- Ingo Ruhnke <grumbel@gmx.de>,
109- Marek Moeckel <wansti@gmx.de>
110-
111-Copyright by authors mentioned above.
112-
113-Released under the GNU GPL.
114-Please see /usr/share/common-licenses/GPL for the full license.
115+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
116+Upstream-Name: supertux
117+Source: <http://supertux.lethargik.org/>
118+
119+Files: *
120+Copyright: Tobias Glaesser <tobi.web@gmx.de>
121+ Bill Kendrick <nbs@sonic.net>,
122+ Ricardo Cruz <rick2@aeiou.pt>,
123+ Ingo Ruhnke <grumbel@gmx.de>,
124+ Duong-Khang NGUYEN <neoneurone@users.sourceforge.net>,
125+ Matthias Braun <matze@braunis.de>,
126+ Ryan Flegel <xxdigitalhellxx@hotmail.com>
127+ Christopher A. Webber <creat0r@lingocomic.com>
128+ Marek Moeckel <wansti@gmx.de>
129+License: GPL-3.0+
130+
131+Files: debian/*
132+Copyright: 2004 Gürkan Sengün <gurkan@linuks.mine.nu>
133+ 2012 Liviu Andronic <landronimirc@gmail.com>
134+ 2014 Tobe Deprez <tobedeprez@hotmail.com>
135+License: GPL-3.0+
136+
137+License: GPL-3.0+
138+ This program is free software: you can redistribute it and/or modify
139+ it under the terms of the GNU General Public License as published by
140+ the Free Software Foundation, either version 3 of the License, or
141+ (at your option) any later version.
142+ .
143+ This package is distributed in the hope that it will be useful,
144+ but WITHOUT ANY WARRANTY; without even the implied warranty of
145+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
146+ GNU General Public License for more details.
147+ .
148+ You should have received a copy of the GNU General Public License
149+ along with this program. If not, see <http://www.gnu.org/licenses/>.
150+ .
151+ On Debian systems, the complete text of the GNU General
152+ Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
153
154=== removed file 'debian/dirs'
155--- debian/dirs 2012-12-12 22:11:56 +0000
156+++ debian/dirs 1970-01-01 00:00:00 +0000
157@@ -1,2 +0,0 @@
158-usr/games
159-usr/share/applications
160
161=== removed file 'debian/docs'
162--- debian/docs 2012-12-12 22:11:56 +0000
163+++ debian/docs 1970-01-01 00:00:00 +0000
164@@ -1,2 +0,0 @@
165-README
166-WHATSNEW.txt
167
168=== removed file 'debian/menu'
169--- debian/menu 2012-12-12 22:11:56 +0000
170+++ debian/menu 1970-01-01 00:00:00 +0000
171@@ -1,3 +0,0 @@
172-?package(supertux):needs="X11" section="Games/Arcade"\
173- title="SuperTux" command="/usr/games/supertux"\
174- icon="/usr/share/games/supertux/images/icon.xpm"
175
176=== modified file 'debian/rules'
177--- debian/rules 2012-12-12 22:11:56 +0000
178+++ debian/rules 2014-05-15 07:56:28 +0000
179@@ -1,71 +1,30 @@
180 #!/usr/bin/make -f
181
182+##
183+# Debian rules file for supertux
184+# Copyright (C) 2014 Tobe Deprez
185+#
186+# This file is part of supertux
187+#
188+# Supertux is free software: you can redistribute it and/or modify it
189+# under the terms of the GNU General Public License as published by the
190+# Free Software Foundation, either version 3 of the License, or
191+# (at your option) any later version.
192+#
193+# Supertux is distributed in the hope that it will be useful, but
194+# WITHOUT ANY WARRANTY; without even the implied warranty of
195+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
196+# See the GNU General Public License for more details.
197+#
198+# You should have received a copy of the GNU General Public License along
199+# with this program. If not, see <http://www.gnu.org/licenses/>.
200+##
201
202-# Uncomment this to turn on verbose mode.
203+#Uncomment to turn on verbose mode
204 #export DH_VERBOSE=1
205
206-
207-# These are used for cross-compiling and for saving the configure script
208-# from having to guess our platform (since we know it already)
209-DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
210-DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
211-
212-CFLAGS = -Wall -g
213-
214-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
215- CFLAGS += -O0
216-else
217- CFLAGS += -O2
218-endif
219-ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
220- INSTALL_PROGRAM += -s
221-endif
222-
223-config.status:
224- dh_testdir
225- cmake . -DCMAKE_BUILD_TYPE=Release -DINSTALL_SUBDIR_BIN=games -DINSTALL_SUBDIR_SHARE=share/games/supertux2 -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_CXX_FLAGS_RELEASE=-DNDEBUG -O2
226-
227-
228-build: build-stamp
229-
230-build-stamp: config.status
231- dh_testdir
232- $(MAKE)
233- touch build-stamp
234-
235-clean:
236- dh_testdir
237- dh_testroot
238- rm -f build-stamp
239- -$(MAKE) clean
240- dh_clean
241-
242-install: build
243- dh_testdir
244- dh_testroot
245- dh_clean -k
246- dh_installdirs
247- $(MAKE) PREFIX=/usr DESTDIR=$RPM_BUILD_ROOT DESTDIR=$(CURDIR)/debian/supertux-git/ install
248-
249-binary-indep: build install
250-
251-binary-arch: build install
252- dh_testdir
253- dh_testroot
254- dh_installchangelogs
255- dh_installdocs
256- dh_installexamples
257- dh_installmenu
258- dh_installman
259- dh_link
260- dh_strip
261- dh_compress
262- dh_fixperms
263- dh_installdeb
264- dh_shlibdeps
265- dh_gencontrol
266- dh_md5sums
267- dh_builddeb
268-
269-binary: binary-indep binary-arch
270-.PHONY: build clean binary-indep binary-arch binary install
271+%:
272+ dh $@
273+
274+override_dh_auto_configure:
275+ dh_auto_configure --buildsystem=cmake -- -DCMAKE_BUILD_TYPE=Release
276
277=== removed file 'debian/supertux-data.debhelper.log'
278--- debian/supertux-data.debhelper.log 2012-12-12 22:11:56 +0000
279+++ debian/supertux-data.debhelper.log 1970-01-01 00:00:00 +0000
280@@ -1,3 +0,0 @@
281-dh_link
282-dh_link
283-dh_link
284
285=== removed file 'debian/supertux-data.dirs'
286--- debian/supertux-data.dirs 2012-12-12 22:11:56 +0000
287+++ debian/supertux-data.dirs 1970-01-01 00:00:00 +0000
288@@ -1,1 +0,0 @@
289-usr/share/games/supertux
290
291=== removed file 'debian/supertux-svn-data.debhelper.log'
292--- debian/supertux-svn-data.debhelper.log 2012-12-12 22:11:56 +0000
293+++ debian/supertux-svn-data.debhelper.log 1970-01-01 00:00:00 +0000
294@@ -1,1 +0,0 @@
295-dh_installdirs
296
297=== removed file 'debian/watch'
298--- debian/watch 2012-12-12 22:11:56 +0000
299+++ debian/watch 1970-01-01 00:00:00 +0000
300@@ -1,6 +0,0 @@
301-version=3
302-
303-opts=downloadurlmangle=s/prdownload/download/ \
304- http://developer.berlios.de/project/showfiles.php?group_id=3467 \
305- http://prdownload.berlios.de/supertux/supertux-([0-9].*)\.tar\.bz2 \
306- debian uupdate

Subscribers

People subscribed via source and target branches

to all changes: