Merge lp:~chasedouglas/magictouch/packaging.dfsg into lp:~libavg-team/magictouch/trunk

Proposed by Chase Douglas
Status: Merged
Merged at revision: 15
Proposed branch: lp:~chasedouglas/magictouch/packaging.dfsg
Merge into: lp:~libavg-team/magictouch/trunk
Diff against target: 458 lines (+393/-0)
12 files modified
debian/changelog (+12/-0)
debian/compat (+1/-0)
debian/control (+20/-0)
debian/copyright (+49/-0)
debian/magictouch.6 (+29/-0)
debian/magictouch.desktop (+10/-0)
debian/magictouch.install (+2/-0)
debian/magictouch.xpm (+244/-0)
debian/pyversions (+1/-0)
debian/rules (+23/-0)
debian/source/format (+1/-0)
debian/watch (+1/-0)
To merge this branch: bzr merge lp:~chasedouglas/magictouch/packaging.dfsg
Reviewer Review Type Date Requested Status
OXullo Intersecans Approve
Review via email: mp+89559@code.launchpad.net

Description of the change

I think in the debian/rules you are trying to get around the font licensing by removing it before building the binary package. While this means the binary package is "Debian Free Software" (http://en.wikipedia.org/wiki/Debian_Free_Software_Guidelines), the source package is not because the font is still distributed in the orig tarball.

If you need to get around the font licensing, you will need to create a modified tarball. This branch ensures that the tarball created by "debian/rules get-packaged-orig-source" will create a suitably modified tarball without the DFSG-incompatible fonts.

Also in this branch, the get-orig-source rule has been renamed to get-packaged-orig-source. get-orig-source is supposed to get the latest upstream sources, while get-packaged-orig-source is supposed to the get source code pertaining to the current version specified in debian/changelog. With this change, you can:

$ bzr branch lp:~libavg-team/magictouch/packaging
$ bzr build-deb

The second step will automatically run get-packaged-orig-source to get the tarball for you :).

To post a comment you must log in.
Revision history for this message
OXullo Intersecans (oxullo) wrote :

Nifty! thanks as usual!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added directory 'debian'
2=== added file 'debian/changelog'
3--- debian/changelog 1970-01-01 00:00:00 +0000
4+++ debian/changelog 2012-01-22 01:21:23 +0000
5@@ -0,0 +1,12 @@
6+magictouch (0.1+svn6821+dfsg-0ubuntu2) UNRELEASED; urgency=low
7+
8+ * Remove DFSG incompatible fonts
9+ * Rename debian/rules rule get-orig-source to get-packaged-orig-source
10+
11+ -- Chase Douglas <chase.douglas@ubuntu.com> Sat, 21 Jan 2012 17:04:03 -0800
12+
13+magictouch (0.1+svn6821-0ubuntu1) precise; urgency=low
14+
15+ * Initial release. (LP: #735764)
16+
17+ -- OXullo Intersecans <x@brainrapers.org> Wed, 07 Dec 2011 23:06:29 +0100
18
19=== added file 'debian/compat'
20--- debian/compat 1970-01-01 00:00:00 +0000
21+++ debian/compat 2012-01-22 01:21:23 +0000
22@@ -0,0 +1,1 @@
23+7
24
25=== added file 'debian/control'
26--- debian/control 1970-01-01 00:00:00 +0000
27+++ debian/control 2012-01-22 01:21:23 +0000
28@@ -0,0 +1,20 @@
29+Source: magictouch
30+Section: games
31+Priority: optional
32+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
33+XSBC-Original-Maintainer: OXullo Intersecans <x@brainrapers.org>
34+Vcs-Bzr: http://bazaar.launchpad.net/~libavg-team/magictouch/packaging
35+Vcs-Browser: http://bazaar.launchpad.net/~libavg-team/magictouch/packaging/files
36+Build-Depends: debhelper (>= 7.0.50~), python-support, python (>=2.6)
37+Standards-Version: 3.9.2
38+XS-Python-Version: >= 2.6
39+
40+Package: magictouch
41+Architecture: all
42+Depends: ${python:Depends}, ${misc:Depends}, python-libavg (>= 1.7.0), ttf-dejavu-extra
43+Description: Retro game goes multitouch: use two knobs to paint a picture
44+ Very simple but challenging game: you only have two knobs to control the pen.
45+ turn the knobs left knob to make the pen go up and down, use the right one
46+ to make the pen go left and right. you already figured it out: complex figures
47+ need complex turning.
48+
49
50=== added file 'debian/copyright'
51--- debian/copyright 1970-01-01 00:00:00 +0000
52+++ debian/copyright 2012-01-22 01:21:23 +0000
53@@ -0,0 +1,49 @@
54+Format: http://dep.debian.net/deps/dep5
55+Upstream-Name: magictouch
56+Upstream-Contact: Benedikt Seidl <Benedikt.Seidl@gmx.de>
57+Source: https://www.libavg.de/svn/trunk/avg_media/mtc/magictouch
58+
59+Files: *
60+Copyright: 2011 Benedikt Seidl <Benedikt.Seidl@gmx.de>
61+License: GPL-3+
62+ This program is free software: you can redistribute it and/or modify
63+ it under the terms of the GNU General Public License as published by
64+ the Free Software Foundation, either version 3 of the License, or
65+ (at your option) any later version.
66+ .
67+ This program is distributed in the hope that it will be useful,
68+ but WITHOUT ANY WARRANTY; without even the implied warranty of
69+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
70+ GNU General Public License for more details.
71+ .
72+ On Debian systems, the full text of the GNU General Public
73+ License version 3 can be found in the file
74+ `/usr/share/common-licenses/GPL-3'.
75+
76+Files: debian/*
77+Copyright: 2011 OXullo Intersecans <x@brainrapers.org>
78+License: BSD-2-clause
79+ Redistribution and use in source and binary forms, with or without modification, are
80+ permitted provided that the following conditions are met:
81+ .
82+ 1. Redistributions of source code must retain the above copyright notice, this list of
83+ conditions and the following disclaimer.
84+ .
85+ 2. Redistributions in binary form must reproduce the above copyright notice, this list
86+ of conditions and the following disclaimer in the documentation and/or other
87+ materials provided with the distribution.
88+ .
89+ THIS SOFTWARE IS PROVIDED BY OXullo Intersecans ``AS IS'' AND ANY EXPRESS OR IMPLIED
90+ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
91+ FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL OXullo Intersecans OR
92+ CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
93+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
94+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
95+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
96+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
97+ ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
98+ .
99+ The views and conclusions contained in the software and documentation are those of the
100+ authors and should not be interpreted as representing official policies, either
101+ expressed or implied, of OXullo Intersecans.
102+
103
104=== added file 'debian/magictouch.6'
105--- debian/magictouch.6 1970-01-01 00:00:00 +0000
106+++ debian/magictouch.6 2012-01-22 01:21:23 +0000
107@@ -0,0 +1,29 @@
108+.\"Created with GNOME Manpages Editor Wizard
109+.\"http://sourceforge.net/projects/gmanedit2
110+.TH magictouch 6 "January 23, 2011" "" "TROff"
111+
112+.SH NAME
113+magictouch \- A libavg based multitouch TRON clone
114+
115+.SH SYNOPSIS
116+.B magictouch
117+.RI [ options ]
118+.br
119+
120+.SH DESCRIPTION
121+Another old arcade classic.
122+
123+This is a multitouch version of TRON for up to four players.
124+Each player commands a line of light. It's speed is fixed, but turns left and right are
125+possible by pressing one of two buttons. If you run into another line, you lose.
126+
127+.SH OPTIONS
128+.B
129+.TP
130+\fB\-r \fIWIDTHxHEIGHT\fR
131+Explicitly set a resolution. The default behavior is to use the screen's resolution
132+.TP
133+\fB\-w\fR
134+Run in window mode. Default is fullscreen
135+
136+
137
138=== added file 'debian/magictouch.desktop'
139--- debian/magictouch.desktop 1970-01-01 00:00:00 +0000
140+++ debian/magictouch.desktop 2012-01-22 01:21:23 +0000
141@@ -0,0 +1,10 @@
142+[Desktop Entry]
143+Version=0.1
144+Type=Application
145+Terminal=false
146+Name=MagicTouch
147+Icon=magictouch
148+GenericName=MagicTouch
149+Exec=magictouch
150+Categories=Game;
151+Comment=Retro game goes multitouch: use two knobs to paint a picture
152
153=== added file 'debian/magictouch.install'
154--- debian/magictouch.install 1970-01-01 00:00:00 +0000
155+++ debian/magictouch.install 2012-01-22 01:21:23 +0000
156@@ -0,0 +1,2 @@
157+debian/magictouch.xpm /usr/share/pixmaps
158+debian/magictouch.desktop /usr/share/applications
159
160=== added file 'debian/magictouch.xpm'
161--- debian/magictouch.xpm 1970-01-01 00:00:00 +0000
162+++ debian/magictouch.xpm 2012-01-22 01:21:23 +0000
163@@ -0,0 +1,244 @@
164+/* XPM */
165+static char * magictouch_xpm[] = {
166+"32 32 209 2",
167+" c None",
168+". c #A21818",
169+"+ c #A01414",
170+"@ c #950E0E",
171+"# c #A31515",
172+"$ c #9F1313",
173+"% c #A21414",
174+"& c #9D1212",
175+"* c #970F0F",
176+"= c #A31414",
177+"- c #9A1111",
178+"; c #940E0E",
179+"> c #A21A1A",
180+", c #9B1111",
181+"' c #B01717",
182+") c #A61313",
183+"! c #A61515",
184+"~ c #A71616",
185+"{ c #A81919",
186+"] c #A91C1C",
187+"^ c #AA1E1E",
188+"/ c #AB2222",
189+"( c #A42424",
190+"_ c #AF2D2D",
191+": c #B03232",
192+"< c #B23838",
193+"[ c #B54040",
194+"} c #AC4141",
195+"| c #B94C4C",
196+"1 c #BC5252",
197+"2 c #BE5858",
198+"3 c #C05F5F",
199+"4 c #C16161",
200+"5 c #C96666",
201+"6 c #B76060",
202+"7 c #B76161",
203+"8 c #C26767",
204+"9 c #C16666",
205+"0 c #C46969",
206+"a c #B86565",
207+"b c #A41414",
208+"c c #A51111",
209+"d c #A51010",
210+"e c #AB1111",
211+"f c #9C0F0F",
212+"g c #AD1111",
213+"h c #C26565",
214+"i c #C26969",
215+"j c #A41212",
216+"k c #A41D1D",
217+"l c #A23535",
218+"m c #A13636",
219+"n c #A23636",
220+"o c #9A3333",
221+"p c #9E3535",
222+"q c #A03636",
223+"r c #A03535",
224+"s c #A53737",
225+"t c #AD4E4E",
226+"u c #A34A4A",
227+"v c #AC4E4E",
228+"w c #AD4D4D",
229+"x c #AE3838",
230+"y c #9B1414",
231+"z c #AF1C1C",
232+"A c #A81212",
233+"B c #9D0F0F",
234+"C c #A32E2E",
235+"D c #AB3939",
236+"E c #7C6C6C",
237+"F c #7C7575",
238+"G c #7B7474",
239+"H c #766E6E",
240+"I c #7B7373",
241+"J c #827A7A",
242+"K c #766F6F",
243+"L c #A74B4B",
244+"M c #AD4747",
245+"N c #B86262",
246+"O c #A31616",
247+"P c #9B0F0F",
248+"Q c #A61E1E",
249+"R c #7C7474",
250+"S c #939393",
251+"T c #9C9C9C",
252+"U c #999999",
253+"V c #9B9B9B",
254+"W c #B76262",
255+"X c #9A9A9A",
256+"Y c #989898",
257+"Z c #9D9D9D",
258+"` c #969696",
259+" . c #7B7B7B",
260+".. c #A34949",
261+"+. c #B11B1B",
262+"@. c #9E9E9E",
263+"#. c #848383",
264+"$. c #7D7C7C",
265+"%. c #A4A4A4",
266+"&. c #B65252",
267+"*. c #C86969",
268+"=. c #797171",
269+"-. c #A1A1A1",
270+";. c #959595",
271+">. c #AA4D4D",
272+",. c #A31010",
273+"'. c #B66060",
274+"). c #9F9F9F",
275+"!. c #868585",
276+"~. c #979797",
277+"{. c #B65D5D",
278+"]. c #B01A1A",
279+"^. c #A01313",
280+"/. c #9F3535",
281+"(. c #807F7F",
282+"_. c #7E7D7D",
283+":. c #7A7272",
284+"<. c #A71010",
285+"[. c #B55C5C",
286+"}. c #980F0F",
287+"|. c #A01010",
288+"1. c #A43737",
289+"2. c #8B8A8A",
290+"3. c #AB4D4D",
291+"4. c #818080",
292+"5. c #7A7373",
293+"6. c #AF1313",
294+"7. c #8A8989",
295+"8. c #949494",
296+"9. c #837B7B",
297+"0. c #B14C4C",
298+"a. c #828181",
299+"b. c #A0A0A0",
300+"c. c #7F7777",
301+"d. c #A71111",
302+"e. c #9D3434",
303+"f. c #858484",
304+"g. c #B74545",
305+"h. c #A81717",
306+"i. c #AB3B3B",
307+"j. c #A11010",
308+"k. c #A2A2A2",
309+"l. c #797272",
310+"m. c #888787",
311+"n. c #898888",
312+"o. c #A3A3A3",
313+"p. c #A73838",
314+"q. c #A93030",
315+"r. c #838282",
316+"s. c #787171",
317+"t. c #A21010",
318+"u. c #7D6D6D",
319+"v. c #827171",
320+"w. c #9A3232",
321+"x. c #A62525",
322+"y. c #807777",
323+"z. c #A11F1F",
324+"A. c #A61010",
325+"B. c #A62F2F",
326+"C. c #766666",
327+"D. c #817979",
328+"E. c #807878",
329+"F. c #9F0F0F",
330+"G. c #A51515",
331+"H. c #A21D1D",
332+"I. c #A83838",
333+"J. c #9B1C1C",
334+"K. c #AE1111",
335+"L. c #AC1111",
336+"M. c #9E0F0F",
337+"N. c #A91010",
338+"O. c #9E1616",
339+"P. c #A74343",
340+"Q. c #D9CCCC",
341+"R. c #CEC1C1",
342+"S. c #DDBABA",
343+"T. c #9F1010",
344+"U. c #E3D5D5",
345+"V. c #D8B6B6",
346+"W. c #A41010",
347+"X. c #6C5454",
348+"Y. c #AAAAAA",
349+"Z. c #E0D2D2",
350+"`. c #A81010",
351+" + c #6D5555",
352+".+ c #A91111",
353+"++ c #695252",
354+"@+ c #A81414",
355+"#+ c #652828",
356+"$+ c #6B5353",
357+"%+ c #725959",
358+"&+ c #A14141",
359+"*+ c #AA1111",
360+"=+ c #6A2A2A",
361+"-+ c #A34242",
362+";+ c #AE1212",
363+">+ c #990F0F",
364+",+ c #A81515",
365+"'+ c #9E1111",
366+")+ c #9A0F0F",
367+"!+ c #A21111",
368+"~+ c #9E1010",
369+"{+ c #AE1313",
370+"]+ c #A61111",
371+"^+ c #9C1515",
372+"/+ c #AB1919",
373+"(+ c #9A1010",
374+"_+ c #9B1212",
375+":+ c #A41919",
376+" . + @ # # # # # @ @ @ $ # # % # @ # & * = $ # - ; . ",
377+" > , ' ) ! ~ { ] ^ / ( _ : < [ } | 1 2 3 4 5 6 7 8 9 0 a b > ",
378+" # c d d e f d d e d d d d g f d f d d d d d d d d d d h i & ",
379+". j d d d k l m n o p n o q n r p s o t t t u u v w x d d h a y ",
380+"z A B d C D E F G H F F F F I J H F F F J F F K F E L M d f N O ",
381+"# P d Q n R F S T U T U T T T T T T T T V T T T S F H t x d W # ",
382+"# c d l E F T T X Y Z T T ` S T V T Y T T T U T U .F E ..d W +.",
383+"# c f n F S T @.T #.#.#.$.T S S S T S U S T T T T %.T F &.f *.# ",
384+"# c f r =.-.T T #.#.S T #.#.T %.;.U #.#.Y @.T T T T U F >.,.'.# ",
385+"# B d n R T T $.#.T -.Z Y $.S T #.#.T ).!.T ~.T T T T F u d {.].",
386+"^.c ,./.F T T S (.#.S T S #._.~.T #.S T #.T T T ` %.S :.t <.[.}.",
387+"# |.d 1.F T T T T #.#.#.;.S T T Y #.Y T 2.Y S T T T T F 3.d 3 # ",
388+"# c d n F X T T T Z ` T #.#.T T #.4.T T #.T T T T U T 5.t d 2 # ",
389+"# 6.d n F S T S T T T T $.#.S #.T T T 7.#.T 8.V X T T 9.u B 0.# ",
390+"# c d o F T T T T S T ~.#.Y U T T #.a.#.T b.T T %.T T c.n d | @ ",
391+"# d.d e.R T T S @.T ` ).#.).T T f.T T T ` ` @.S T T T F o d g.h.",
392+"@ P d n R T 8.%.;.V S @.#.T %.).#.2.S U T %.b.S T T T I n d i.^.",
393+"# c j.n F T @.%.S T 8.T f.#.T b.U (.#.#.U T T T ;.k.T F n d < # ",
394+"# c |.D l.S T S T ).T T ~.#.m.T S T n.#.T o.T T S T ;.I p.d q.# ",
395+"# 6.d n F S T T Y T S T b.` $.r.#.2.$.T T S 8.X Z Y U s.o d _ # ",
396+"# c t.l u.F ;.S X T T ;.T ~.S ` T T T T T %.Y ~.Z T 9.v.w.d x.# ",
397+"# c d k n y.K T T ;.T Z T T T T ` S T T T S T T Z F R o k d z.@ ",
398+"# P e A.B.e.C.=.F H J D.F F F K E.F F R F F F F 5.E n C d F.^ # ",
399+"G.c d d d H.w.n I.n r n n n o 1.m D n 1.n n o n n l J.d f d ] # ",
400+"# c K.d d d d t.d d ,.d d f L.f f d M.,.<.f d t.d d d d N.d O.# ",
401+"+.c d d d P.Q.R.S.L.d ,.d t.t.e B T.d d t.M.d P.U.Q.V.j.t.d ~ # ",
402+"# c d W.d X.%.Y.Z.|.K.d ,.d d d d f `.d W.d d +%.Y.Q.d F.T.! # ",
403+"O T..+d d X.Y.k.Q.d B L.d d t.d d d d d f M.`.++Y.Y.Q.F.d d @+O ",
404+". j d K.d #+$+%+&+*+f d d d d d d g K.d f ,.d =+X.X.-+f d ;+>+. ",
405+" + c W.d .+d <.d d f `.`.e d d f f d d ,.d `.f d d d d d c # ",
406+" > ,+'+)+!+.+c ~+c 6.c P T.c T.f {+P P c c !+c c c c ]+j b > ",
407+" ^+; # & - @ # # # # # /+# # }.@ # (+# # # _+# # O :+ "};
408
409=== added file 'debian/pyversions'
410--- debian/pyversions 1970-01-01 00:00:00 +0000
411+++ debian/pyversions 2012-01-22 01:21:23 +0000
412@@ -0,0 +1,1 @@
413+2.6-
414
415=== added file 'debian/rules'
416--- debian/rules 1970-01-01 00:00:00 +0000
417+++ debian/rules 2012-01-22 01:21:23 +0000
418@@ -0,0 +1,23 @@
419+#!/usr/bin/make -f
420+
421+override_dh_auto_install:
422+ dh_auto_install -- --install-lib /usr/share/games --install-script /usr/games/
423+
424+override_dh_installman:
425+ dh_installman debian/magictouch.6
426+
427+REV=$(shell dpkg-parsechangelog | sed -rne 's,^Version: .*[+~]svn([0-9]+).*,\1,p')
428+VER=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-]+).*,\1,p')
429+get-packaged-orig-source:
430+ rm -rf magictouch-$(VER).orig
431+ svn -q export -r $(REV) https://www.libavg.de/svn/trunk/avg_media/mtc/magictouch \
432+ magictouch-$(VER).orig
433+ # Delete DFSG incompatible fonts
434+ rm -r magictouch-$(VER).orig/magictouch/fonts
435+ GZIP=--best tar -cz --owner root --group root --mode a+rX \
436+ -f magictouch_$(VER).orig.tar.gz \
437+ magictouch-$(VER).orig
438+ rm -r magictouch-$(VER).orig
439+
440+%:
441+ dh $@
442
443=== added directory 'debian/source'
444=== added file 'debian/source/format'
445--- debian/source/format 1970-01-01 00:00:00 +0000
446+++ debian/source/format 2012-01-22 01:21:23 +0000
447@@ -0,0 +1,1 @@
448+3.0 (quilt)
449
450=== added file 'debian/watch'
451--- debian/watch 1970-01-01 00:00:00 +0000
452+++ debian/watch 2012-01-22 01:21:23 +0000
453@@ -0,0 +1,1 @@
454+# This package has no upstream releases
455
456=== removed directory 'magictouch/fonts'
457=== removed file 'magictouch/fonts/DejaVuSans-ExtraLight.ttf'
458Binary files magictouch/fonts/DejaVuSans-ExtraLight.ttf 2011-02-04 01:30:34 +0000 and magictouch/fonts/DejaVuSans-ExtraLight.ttf 1970-01-01 00:00:00 +0000 differ

Subscribers

People subscribed via source and target branches