Fix FTBFS. #789108
Markus Koschany
8 years ago
0 | raincat (1.1.1.2-2) UNRELEASED; urgency=low | |
0 | raincat (1.1.1.2-2) unstable; urgency=medium | |
1 | 1 | |
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 ] | |
2 | 19 | * Correct Vcs-* URLs to point to anonscm.debian.org |
3 | 20 | |
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 | |
5 | 22 | |
6 | 23 | raincat (1.1.1.2-1) unstable; urgency=low |
7 | 24 |
1 | 1 | Section: games |
2 | 2 | Priority: optional |
3 | 3 | 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 | |
12 | 26 | Homepage: http://raincat.bysusanlin.com/ |
13 | 27 | 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/ | |
15 | 29 | |
16 | 30 | Package: raincat |
17 | 31 | 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} | |
20 | 36 | Description: 2D puzzle game featuring a fuzzy little cat |
21 | 37 | Raincat is a 2d puzzle game similar to the Incredible Machine and Lemmings |
22 | 38 | series. Your goal is simple: guide the cat safe and dry to the end of each |
24 | 40 | |
25 | 41 | Package: raincat-data |
26 | 42 | Architecture: all |
27 | Depends: ${misc:Depends} | |
28 | Recommends: raincat | |
43 | Depends: | |
44 | ${misc:Depends} | |
45 | Recommends: | |
46 | raincat | |
29 | 47 | Description: 2D puzzle game featuring a fuzzy little cat - data files |
30 | 48 | Raincat is a 2d puzzle game similar to the Incredible Machine and Lemmings |
31 | 49 | series. Your goal is simple: guide the cat safe and dry to the end of each |
33 | 51 | . |
34 | 52 | This package contains the data files. |
35 | 53 | |
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. |
1 | 1 | Upstream-Name: Raincat |
2 | 2 | Upstream-Contact: Garrick Chin <gchin@cmu.edu> |
3 | 3 | Source: http://hackage.haskell.org/packages/archive/Raincat/1.1.1.2/Raincat-1.1.1.2.tar.gz |
4 | Comment: | |
4 | Comment: | |
5 | 5 | 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 | |
8 | 8 | |
9 | 9 | Files: * |
10 | 10 | Copyright: Copyright (c) 2010, Garrick Chin |
11 | License: BSD | |
11 | License: BSD-3-clause | |
12 | 12 | |
13 | 13 | Files: data/* |
14 | 14 | Copyright: Copyright (c) 2010, Garrick Chin |
15 | License: CC-by-sa-3.0 | |
15 | License: CC-BY-SA-3.0 | |
16 | 16 | Comment: |
17 | 17 | The Raincat program graphics and music are distributed under the |
18 | 18 | Creative Commons Version Attribution-Share Alike 3.0 license |
20 | 20 | |
21 | 21 | Files: debian/* |
22 | 22 | 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 | |
27 | 26 | Redistribution and use in source and binary forms, with or without |
28 | 27 | modification, are permitted provided that the following conditions are |
29 | 28 | met: |
49 | 48 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
50 | 49 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
51 | 50 | |
52 | License: CC-by-sa-3.0 | |
51 | License: CC-BY-SA-3.0 | |
53 | 52 | THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE |
54 | 53 | COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY |
55 | 54 | 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 |
2 | 2 | Name=Raincat |
3 | 3 | GenericName=Logic Game |
4 | 4 | GenericName[es]=Juego de lógica |
5 | GenericName[de]=Denkspiel | |
5 | 6 | Comment=2D puzzle game featuring a fuzzy little cat |
6 | 7 | Comment[es]=Rompecabezas en 2D protagonizado por un lindo gatito |
8 | Comment[de]=Puzzlespiel in 2D mit einer kleinen, flauschigen Katze | |
7 | 9 | Icon=raincat |
8 | 10 | Exec=raincat |
9 | 11 | Terminal=false |
10 | 12 | Categories=Game;KidsGame; |
13 | Keywords=cat;lemmings;puzzle;kids; |