Codebase list raincat / 3f5211d
Fix FTBFS. #789108 Markus Koschany 8 years ago
8 changed file(s) with 105 addition(s) and 41 deletion(s). Raw diff Collapse all Expand all
0 raincat (1.1.1.2-2) UNRELEASED; urgency=low
0 raincat (1.1.1.2-2) unstable; urgency=medium
11
2 * Team upload.
3
4 [ Markus Koschany ]
5 * Add opengl-2.9.patch and fix FTBFS with newer versions of OpenGL.
6 (Closes: #789108)
7 * Declare compliance with Debian Policy 3.9.6.
8 * raincat.desktop: Add keywords and GenericName and Comment in German.
9 * Fix debian/copyright syntax to silence Lintian warnings.
10 * Drop raincat-dbg package because it is not of sufficient use for most
11 users. It also appears that the debug file did not contain debug
12 symbols.
13 * Remove dh-buildinfo from Build-Depends. It is no strictly required
14 build-dependency.
15 * wrap-and-sort -sa.
16 * Vcs-Browser: Use https.
17
18 [ Evgeni Golov ]
219 * Correct Vcs-* URLs to point to anonscm.debian.org
320
4 -- Evgeni Golov <evgeni@debian.org> Mon, 15 Jul 2013 22:22:01 +0200
21 -- Markus Koschany <apo@gambaru.de> Tue, 27 Oct 2015 21:54:22 +0100
522
623 raincat (1.1.1.2-1) unstable; urgency=low
724
11 Section: games
22 Priority: optional
33 Maintainer: Debian Games Team <pkg-games-devel@lists.alioth.debian.org>
4 Uploaders: Miriam Ruiz <little_miry@yahoo.es>, Barry deFreese <bdefreese@debian.org>
5 Build-Depends: debhelper (>= 9), dh-buildinfo, sng, ghc,
6 freeglut3-dev, libgl1-mesa-dev, libglu1-mesa-dev,
7 libsdl1.2-dev, libsdl-image1.2-dev, libsdl-mixer1.2-dev,
8 libghc-mtl-dev, libghc-extensible-exceptions-dev,
9 libghc-glut-dev, libghc-opengl-dev, libghc-random-dev, libghc-sdl-dev,
10 libghc-sdl-image-dev, libghc-sdl-mixer-dev
11 Standards-Version: 3.9.4
4 Uploaders:
5 Miriam Ruiz <little_miry@yahoo.es>,
6 Barry deFreese <bdefreese@debian.org>
7 Build-Depends:
8 debhelper (>= 9),
9 freeglut3-dev,
10 ghc,
11 libghc-extensible-exceptions-dev,
12 libghc-glut-dev,
13 libghc-mtl-dev,
14 libghc-opengl-dev,
15 libghc-random-dev,
16 libghc-sdl-dev,
17 libghc-sdl-image-dev,
18 libghc-sdl-mixer-dev,
19 libgl1-mesa-dev,
20 libglu1-mesa-dev,
21 libsdl-image1.2-dev,
22 libsdl-mixer1.2-dev,
23 libsdl1.2-dev,
24 sng
25 Standards-Version: 3.9.6
1226 Homepage: http://raincat.bysusanlin.com/
1327 Vcs-Svn: svn://anonscm.debian.org/pkg-games/packages/trunk/raincat/
14 Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-games/packages/trunk/raincat/
28 Vcs-Browser: https://anonscm.debian.org/viewvc/pkg-games/packages/trunk/raincat/
1529
1630 Package: raincat
1731 Architecture: any
18 Depends: raincat-data (>= ${source:Version}), ${shlibs:Depends}, ${misc:Depends}
19 Suggests: raincat-dbg (= ${binary:Version})
32 Depends:
33 raincat-data (>= ${source:Version}),
34 ${misc:Depends},
35 ${shlibs:Depends}
2036 Description: 2D puzzle game featuring a fuzzy little cat
2137 Raincat is a 2d puzzle game similar to the Incredible Machine and Lemmings
2238 series. Your goal is simple: guide the cat safe and dry to the end of each
2440
2541 Package: raincat-data
2642 Architecture: all
27 Depends: ${misc:Depends}
28 Recommends: raincat
43 Depends:
44 ${misc:Depends}
45 Recommends:
46 raincat
2947 Description: 2D puzzle game featuring a fuzzy little cat - data files
3048 Raincat is a 2d puzzle game similar to the Incredible Machine and Lemmings
3149 series. Your goal is simple: guide the cat safe and dry to the end of each
3351 .
3452 This package contains the data files.
3553
36 Package: raincat-dbg
37 Section: debug
38 Priority: extra
39 Architecture: any
40 Depends: raincat (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
41 Description: 2D puzzle game featuring a fuzzy little cat - debug
42 Raincat is a 2d puzzle game similar to the Incredible Machine and Lemmings
43 series. Your goal is simple: guide the cat safe and dry to the end of each
44 level. Just mind the rain, puddles, and loose fire hydrants in your path!
45 .
46 This package contains the debugging symbols.
11 Upstream-Name: Raincat
22 Upstream-Contact: Garrick Chin <gchin@cmu.edu>
33 Source: http://hackage.haskell.org/packages/archive/Raincat/1.1.1.2/Raincat-1.1.1.2.tar.gz
4 Comment:
4 Comment:
55 Old source was http://www.contrib.andrew.cmu.edu/~gchin/downloads/Raincat.tar.gz
6 Debianized-By: Miriam Ruiz <little_miry@yahoo.es>
7 Debianized-Date: Sat, 30 Jan 2010 19:15:17 +0100
6 Debianized-By: Miriam Ruiz <little_miry@yahoo.es>
7 Debianized-Date: Sat, 30 Jan 2010 19:15:17 +0100
88
99 Files: *
1010 Copyright: Copyright (c) 2010, Garrick Chin
11 License: BSD
11 License: BSD-3-clause
1212
1313 Files: data/*
1414 Copyright: Copyright (c) 2010, Garrick Chin
15 License: CC-by-sa-3.0
15 License: CC-BY-SA-3.0
1616 Comment:
1717 The Raincat program graphics and music are distributed under the
1818 Creative Commons Version Attribution-Share Alike 3.0 license
2020
2121 Files: debian/*
2222 Copyright: Copyright (C) 2010, Miriam Ruiz <little_miry@yahoo.es>
23 License: BSD
24 The Debian packaging is licensed under the same license as the program.
25
26 License: BSD
23 License: BSD-3-clause
24
25 License: BSD-3-clause
2726 Redistribution and use in source and binary forms, with or without
2827 modification, are permitted provided that the following conditions are
2928 met:
4948 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
5049 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
5150
52 License: CC-by-sa-3.0
51 License: CC-BY-SA-3.0
5352 THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE
5453 COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY
5554 COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS
0 From: Markus Koschany <apo@gambaru.de>
1 Date: Sat, 22 Aug 2015 13:59:06 +0200
2 Subject: opengl 2.9
3
4 Taken from
5 https://github.com/styx/Raincat/commit/307c24681421b316add18f7c1dfa85c123f836c0
6
7 Fixes FTBFS with newer version of OpenGL.
8
9 Bug: https://bugs.debian.org/789108
10 Forwarded: no
11 ---
12 src/Nxt/Graphics.hs | 9 ++++++++-
13 1 file changed, 8 insertions(+), 1 deletion(-)
14
15 diff --git a/src/Nxt/Graphics.hs b/src/Nxt/Graphics.hs
16 index 981d6df..384fbd8 100644
17 --- a/src/Nxt/Graphics.hs
18 +++ b/src/Nxt/Graphics.hs
19 @@ -1,3 +1,4 @@
20 +{-# LANGUAGE CPP #-}
21 module Nxt.Graphics
22 (begin,
23 end,
24 @@ -88,7 +89,13 @@ loadTexture textureFilePath = do
25 surfacePixels <- surfaceGetPixels surface
26
27 let pixelData = PixelData RGBA UnsignedByte surfacePixels
28 - texImage2D Nothing NoProxy 0 RGBA' surfaceSize 0 pixelData
29 + texImage2D
30 +#if MIN_VERSION_OpenGL(2,9,0)
31 + Texture2D
32 +#else
33 + Nothing
34 +#endif
35 + NoProxy 0 RGBA' surfaceSize 0 pixelData
36
37 freeSurface surface
38
0 opengl-2.9.patch
22 Name=Raincat
33 GenericName=Logic Game
44 GenericName[es]=Juego de lógica
5 GenericName[de]=Denkspiel
56 Comment=2D puzzle game featuring a fuzzy little cat
67 Comment[es]=Rompecabezas en 2D protagonizado por un lindo gatito
8 Comment[de]=Puzzlespiel in 2D mit einer kleinen, flauschigen Katze
79 Icon=raincat
810 Exec=raincat
911 Terminal=false
1012 Categories=Game;KidsGame;
13 Keywords=cat;lemmings;puzzle;kids;
0 debian/*.desktop usr/share/applications/
1 debian/*.png usr/share/pixmaps/
2 debian/*.xpm usr/share/pixmaps/
03 dist/build/raincat/raincat usr/games/
1 debian/*.xpm usr/share/pixmaps/
2 debian/*.png usr/share/pixmaps/
3 debian/*.desktop usr/share/applications/
1414 if [ -x Setup ]; then ./Setup clean; fi
1515 rm -f Setup Setup.o Setup.hi
1616
17 override_dh_strip:
18 dh_strip --dbg-package=raincat-dbg