Gentoo Archives: gentoo-commits

From: "Tony Vroon (chainsaw)" <chainsaw@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/lcdtest: ChangeLog lcdtest-1.08-r1.ebuild lcdtest-1.08.ebuild
Date: Mon, 22 Oct 2007 21:41:31
Message-Id: E1Ik51V-0007Vk-G6@stork.gentoo.org
1 chainsaw 07/10/22 21:41:21
2
3 Modified: ChangeLog
4 Added: lcdtest-1.08-r1.ebuild
5 Removed: lcdtest-1.08.ebuild
6 Log:
7 Add patch for help option by Thomas A. (Arch Tester) <gentoofan23@×××××.com>. Write a build system in the ebuild as scons is freaking out. This negates earlier keywording, delete 1.08 ebuild and restart keywording from scratch.
8 (Portage version: 2.1.3.15)
9
10 Revision Changes Path
11 1.8 sys-apps/lcdtest/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/lcdtest/ChangeLog?rev=1.8&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/lcdtest/ChangeLog?rev=1.8&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/lcdtest/ChangeLog?r1=1.7&r2=1.8
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-apps/lcdtest/ChangeLog,v
20 retrieving revision 1.7
21 retrieving revision 1.8
22 diff -u -r1.7 -r1.8
23 --- ChangeLog 22 Oct 2007 15:19:19 -0000 1.7
24 +++ ChangeLog 22 Oct 2007 21:41:20 -0000 1.8
25 @@ -1,6 +1,16 @@
26 # ChangeLog for sys-apps/lcdtest
27 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/lcdtest/ChangeLog,v 1.7 2007/10/22 15:19:19 chainsaw Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/lcdtest/ChangeLog,v 1.8 2007/10/22 21:41:20 chainsaw Exp $
30 +
31 +*lcdtest-1.08-r1 (22 Oct 2007)
32 +
33 + 22 Oct 2007; Tony Vroon <chainsaw@g.o>
34 + +files/1.08-help-option.patch, -lcdtest-1.08.ebuild,
35 + +lcdtest-1.08-r1.ebuild:
36 + Add patch for help option by Thomas A. (Arch Tester)
37 + <gentoofan23@×××××.com>. Write a build system in the ebuild as scons is
38 + freaking out. This negates earlier keywording, delete 1.08 ebuild and
39 + restart keywording from scratch.
40
41 22 Oct 2007; Tony Vroon <chainsaw@g.o> lcdtest-1.08.ebuild:
42 Mark stable on X86 as per bug #195218.
43
44
45
46 1.1 sys-apps/lcdtest/lcdtest-1.08-r1.ebuild
47
48 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/lcdtest/lcdtest-1.08-r1.ebuild?rev=1.1&view=markup
49 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/lcdtest/lcdtest-1.08-r1.ebuild?rev=1.1&content-type=text/plain
50
51 Index: lcdtest-1.08-r1.ebuild
52 ===================================================================
53 # Copyright 1999-2007 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 # $Header: /var/cvsroot/gentoo-x86/sys-apps/lcdtest/lcdtest-1.08-r1.ebuild,v 1.1 2007/10/22 21:41:20 chainsaw Exp $
56
57 inherit eutils toolchain-funcs
58
59 DESCRIPTION="Displays test patterns to spot dead/hot pixels on LCD screens"
60 HOMEPAGE="http://www.brouhaha.com/~eric/software/lcdtest/"
61 SRC_URI="http://www.brouhaha.com/~eric/software/lcdtest/download/${P}.tar.gz"
62 LICENSE="GPL-2"
63 SLOT="0"
64 KEYWORDS="~amd64 ~x86 ~ppc ~ppc64"
65 IUSE=""
66 RDEPEND=">=media-libs/libsdl-1.2.7-r2
67 >=media-libs/sdl-image-1.2.3-r1"
68 DEPEND="$RDEPEND
69 >=media-libs/netpbm-10.28
70 >=sys-apps/sed-4.1.4"
71
72 src_unpack() {
73 unpack "${A}"
74 cd "${S}"
75 epatch "${FILESDIR}/${PV}-help-option.patch"
76 }
77
78 src_compile() {
79 tc-export CC CXX
80 cd "${S}/src"
81 ebegin "Running first stage compilation"
82 "${CC}" -o lcdtest.o -c ${CFLAGS} -DRELEASE=${PV} lcdtest.c || die lcdtest compilation failed
83 "${CC}" -o SFont.o -c ${CFLAGS} -DRELEASE=${PV} SFont.c || die SFont compilation failed
84 eend $?
85 einfo "Generating font"
86 pngtopnm 14P_Arial_Plain_Red.png > help_font.ppm || pngtopnm failed
87 ppmtoxpm -name `basename help_font.ppm .ppm`_xpm help_font.ppm |
88 sed 's/static //;s/black/#000000/;s/magenta/#FF00FF/;s/#E40808/#009900/' > help_font.c || ppmtoxpm failed
89 ebegin "Running final stage compilation"
90 "${CC}" -o help_font.o -c ${CFLAGS} -DRELEASE=${PV} help_font.c || die help_font compilation failed
91 "${CC}" -o lcdtest lcdtest.o SFont.o help_font.o -lSDL -lSDL_image || die final link failed
92 eend $?
93 }
94
95 src_install() {
96 dobin src/lcdtest
97 doman man/lcdtest.1
98 dodoc README
99 }
100
101
102
103 --
104 gentoo-commits@g.o mailing list