From 56bd759df1d0c750a065b8c845e93d5dfa6b549d Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Sat, 8 Aug 2015 13:49:04 -0700 Subject: proj/gentoo: Initial commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson X-Thanks: Alec Warner - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring - wrote much python to improve cvs2svn X-Thanks: Rich Freeman - validation scripts X-Thanks: Patrick Lauer - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed --- .../monsterz/files/monsterz-0.7.1-64bit.patch | 26 ++++++++++++++++++ .../monsterz/files/monsterz-0.7.1-blit.patch | 32 ++++++++++++++++++++++ .../monsterz/files/monsterz-0.7.1-gentoo.patch | 20 ++++++++++++++ 3 files changed, 78 insertions(+) create mode 100644 games-puzzle/monsterz/files/monsterz-0.7.1-64bit.patch create mode 100644 games-puzzle/monsterz/files/monsterz-0.7.1-blit.patch create mode 100644 games-puzzle/monsterz/files/monsterz-0.7.1-gentoo.patch (limited to 'games-puzzle/monsterz/files') diff --git a/games-puzzle/monsterz/files/monsterz-0.7.1-64bit.patch b/games-puzzle/monsterz/files/monsterz-0.7.1-64bit.patch new file mode 100644 index 000000000000..64d6527768f8 --- /dev/null +++ b/games-puzzle/monsterz/files/monsterz-0.7.1-64bit.patch @@ -0,0 +1,26 @@ +Index: monsterz-0.7.1/monsterz.py +=================================================================== +--- monsterz-0.7.1.orig/monsterz.py 2008-05-09 16:35:25.000000000 +0000 ++++ monsterz-0.7.1/monsterz.py 2008-05-09 16:35:33.000000000 +0000 +@@ -108,7 +108,9 @@ + M = int(max(r, g, b)) + m = int(min(r, g, b)) + val = (2 * M + r + g + b) / 5 +- p[:] = (val + r) / 2, (val + g) / 2, (val + b) / 2 ++ p[0] = (val + r) / 2 ++ p[1] = (val + g) / 2 ++ p[2] = (val + b) / 2 + if alpha[y][x] >= 250: + alpha[y][x] = 255 - (M - m) * 3 / 4 + del pixels +@@ -129,7 +131,9 @@ + r, g, b = p + M = int(max(r, g, b)) + m = int(min(r, g, b)) +- p[:] = (m + r) / 2, (m + g) / 2, (m + b) / 2 ++ p[0] = (m + r) / 2 ++ p[1] = (m + g) / 2 ++ p[2] = (m + b) / 2 + if alpha[y][x] >= 250: + alpha[y][x] = 255 - M * 2 / 3 + del pixels diff --git a/games-puzzle/monsterz/files/monsterz-0.7.1-blit.patch b/games-puzzle/monsterz/files/monsterz-0.7.1-blit.patch new file mode 100644 index 000000000000..8e55b23a327c --- /dev/null +++ b/games-puzzle/monsterz/files/monsterz-0.7.1-blit.patch @@ -0,0 +1,32 @@ +--- monsterz.py ++++ monsterz.py +@@ -829,10 +829,10 @@ + pass + else: + for x in range(4): +- for y, p in enumerate(alpha[x]): +- alpha[x][y] = p * x / 4 +- for y, p in enumerate(alpha[406 - x - 1]): +- alpha[406 - x - 1][y] = p * x / 4 ++ for y in range(len(alpha[x])): ++ alpha[x][y] = alpha[x][y] * x / 4 ++ for y in range(len(alpha[406 - x - 1])): ++ alpha[406 - x - 1][y] = alpha[406 - x - 1][y] * x / 4 + for col in alpha: + l = len(col) + for y in range(4): +@@ -1287,10 +1287,10 @@ + pass + else: + for x in range(10): +- for y, p in enumerate(alpha[x]): +- alpha[x][y] = p * x / 12 +- for y, p in enumerate(alpha[406 - x - 1]): +- alpha[406 - x - 1][y] = p * x / 12 ++ for y in range(len(alpha[x])): ++ alpha[x][y] = alpha[x][y] * x / 12 ++ for y in range(len(alpha[406 - x - 1])): ++ alpha[406 - x - 1][y] = alpha[406 - x - 1][y] * x / 12 + del alpha + scroll.unlock() + system.blit(scroll, (13, 437)) diff --git a/games-puzzle/monsterz/files/monsterz-0.7.1-gentoo.patch b/games-puzzle/monsterz/files/monsterz-0.7.1-gentoo.patch new file mode 100644 index 000000000000..652450bf190b --- /dev/null +++ b/games-puzzle/monsterz/files/monsterz-0.7.1-gentoo.patch @@ -0,0 +1,20 @@ +--- monsterz.py.orig 2006-05-12 18:55:51.000000000 -0400 ++++ monsterz.py 2006-05-12 18:57:44.000000000 -0400 +@@ -1907,7 +1906,7 @@ + print ' (C) Mike Kershaw ' + + print 'This program is free software; you can redistribute it and/or modify it under' +- print 'the terms of the Do What The Fuck You Want To Public License, Version 2, as' ++ print 'the terms of the WTFPL, Version 2, as' + print 'published by Sam Hocevar. See http://sam.zoy.org/wtfpl/ for more details.' + print 'The sound effects are released under their own licences: applause.wav and' + print 'pop.wav are covered by the LGPL, the others are covered by the GPL.' +@@ -1932,7 +1931,7 @@ + global system, data, settings, fonter, monsterz + override = {} + scorefile = None +- sharedir = dirname(argv[0]) ++ sharedir = "GENTOO_DATADIR" + outfd = None + try: + long = ['help', 'version', 'music', 'sound', 'fullscreen', -- cgit v1.2.3-65-gdbad