Gentoo Archives: gentoo-commits

From: "Alin Nastac (mrness)" <mrness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-util/nsis: ChangeLog nsis-2.33.ebuild nsis-2.34.ebuild nsis-2.30.ebuild
Date: Sun, 30 Dec 2007 08:30:42
Message-Id: E1J8tZ5-0000iz-Qy@stork.gentoo.org
1 mrness 07/12/30 08:30:35
2
3 Modified: ChangeLog nsis-2.33.ebuild
4 Added: nsis-2.34.ebuild
5 Removed: nsis-2.30.ebuild
6 Log:
7 Remove old version. Stable on x86. Version bump.
8 (Portage version: 2.1.3.19)
9
10 Revision Changes Path
11 1.16 dev-util/nsis/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/nsis/ChangeLog?rev=1.16&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/nsis/ChangeLog?rev=1.16&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/nsis/ChangeLog?r1=1.15&r2=1.16
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-util/nsis/ChangeLog,v
20 retrieving revision 1.15
21 retrieving revision 1.16
22 diff -u -r1.15 -r1.16
23 --- ChangeLog 4 Dec 2007 14:06:13 -0000 1.15
24 +++ ChangeLog 30 Dec 2007 08:30:35 -0000 1.16
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-util/nsis
27 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-util/nsis/ChangeLog,v 1.15 2007/12/04 14:06:13 mrness Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-util/nsis/ChangeLog,v 1.16 2007/12/30 08:30:35 mrness Exp $
30 +
31 +*nsis-2.34 (30 Dec 2007)
32 +
33 + 30 Dec 2007; Alin Năstac <mrness@g.o> -nsis-2.30.ebuild,
34 + nsis-2.33.ebuild, +nsis-2.34.ebuild:
35 + Remove old version. Stable on x86. Version bump.
36
37 *nsis-2.33 (04 Dec 2007)
38
39
40
41
42 1.2 dev-util/nsis/nsis-2.33.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/nsis/nsis-2.33.ebuild?rev=1.2&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/nsis/nsis-2.33.ebuild?rev=1.2&content-type=text/plain
46 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/nsis/nsis-2.33.ebuild?r1=1.1&r2=1.2
47
48 Index: nsis-2.33.ebuild
49 ===================================================================
50 RCS file: /var/cvsroot/gentoo-x86/dev-util/nsis/nsis-2.33.ebuild,v
51 retrieving revision 1.1
52 retrieving revision 1.2
53 diff -u -r1.1 -r1.2
54 --- nsis-2.33.ebuild 4 Dec 2007 14:06:13 -0000 1.1
55 +++ nsis-2.33.ebuild 30 Dec 2007 08:30:35 -0000 1.2
56 @@ -1,6 +1,6 @@
57 # Copyright 1999-2007 Gentoo Foundation
58 # Distributed under the terms of the GNU General Public License v2
59 -# $Header: /var/cvsroot/gentoo-x86/dev-util/nsis/nsis-2.33.ebuild,v 1.1 2007/12/04 14:06:13 mrness Exp $
60 +# $Header: /var/cvsroot/gentoo-x86/dev-util/nsis/nsis-2.33.ebuild,v 1.2 2007/12/30 08:30:35 mrness Exp $
61
62 mingw32_variants=$(eval echo {,i{6,5,4,3}86-}mingw32)
63
64 @@ -10,7 +10,7 @@
65
66 LICENSE="as-is"
67 SLOT="0"
68 -KEYWORDS="~amd64 ~ppc ~x86"
69 +KEYWORDS="~amd64 ~ppc x86"
70 IUSE="bzip2 config-log zlib"
71
72 # NSIS Menu uses wxwindows but it's all broken, so disable for now
73
74
75
76 1.1 dev-util/nsis/nsis-2.34.ebuild
77
78 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/nsis/nsis-2.34.ebuild?rev=1.1&view=markup
79 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/nsis/nsis-2.34.ebuild?rev=1.1&content-type=text/plain
80
81 Index: nsis-2.34.ebuild
82 ===================================================================
83 # Copyright 1999-2007 Gentoo Foundation
84 # Distributed under the terms of the GNU General Public License v2
85 # $Header: /var/cvsroot/gentoo-x86/dev-util/nsis/nsis-2.34.ebuild,v 1.1 2007/12/30 08:30:35 mrness Exp $
86
87 mingw32_variants=$(eval echo {,i{6,5,4,3}86-}mingw32)
88
89 DESCRIPTION="Nullsoft Scriptable Install System"
90 HOMEPAGE="http://nsis.sourceforge.net/"
91 SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.bz2"
92
93 LICENSE="as-is"
94 SLOT="0"
95 KEYWORDS="~amd64 ~ppc ~x86"
96 IUSE="bzip2 config-log zlib"
97
98 # NSIS Menu uses wxwindows but it's all broken, so disable for now
99 # wxwindows? ( x11-libs/wxGTK )
100 RDEPEND="bzip2? ( app-arch/bzip2 )
101 zlib? ( sys-libs/zlib )"
102 DEPEND="${RDEPEND}
103 >=dev-util/scons-0.96.93"
104
105 S=${WORKDIR}/${P}-src
106
107 mingw_CTARGET() {
108 local i
109 for i in ${mingw32_variants} ; do
110 type -P ${i}-gcc > /dev/null && echo ${i} && return
111 done
112 }
113
114 pkg_setup() {
115 [[ -n $(mingw_CTARGET) ]] && return 0
116
117 local i
118 eerror "Before you could emerge nsis, you need to install mingw32."
119 eerror "Run the following command:"
120 eerror " emerge crossdev"
121 eerror "then run _one_ of the following commands:"
122 for i in ${mingw32_variants} ; do
123 eerror " crossdev ${i}"
124 done
125 die "mingw32 is needed"
126 }
127
128 get_additional_options() {
129 echo \
130 PREFIX=/usr \
131 PREFIX_CONF=/etc \
132 PREFIX_DOC=/usr/share/doc/${PF} \
133 PREFIX_DEST=\"${D}\" \
134 VERSION=${PV} \
135 DEBUG=no \
136 STRIP=no
137 echo \
138 SKIPSTUBS=\"$(use zlib || echo zlib) $(use bzip2 || echo bzip2)\" \
139 SKIPUTILS=\"NSIS Menu\"
140 use config-log && echo NSIS_CONFIG_LOG=yes
141 # remove the following line when nsis bug 1753070 will be fixed
142 use amd64 && echo APPEND_CCFLAGS=-m32 APPEND_LINKFLAGS=-m32
143 }
144
145 do_scons() {
146 local cmd=$1
147 eval set -- $(get_additional_options)
148 echo scons $(get_additional_options) ${cmd}
149 scons "$@" ${cmd}
150 }
151
152 src_compile() {
153 do_scons || die "scons failed"
154 }
155
156 src_install() {
157 do_scons install || die "scons failed"
158
159 fperms -R go-w,a-x,a+X /usr/share/${PN}/ /usr/share/doc/${PF}/ /etc/nsisconf.nsh
160
161 src_strip_win32
162 }
163
164 src_strip_win32() {
165 # need to strip win32 binaries ourselves ... should fold this
166 # back in to prepstrip at some point
167 local STRIP_PROG=$(mingw_CTARGET)-strip
168 local STRIP_FLAGS="--strip-unneeded"
169
170 echo
171 echo "strip: ${STRIP_PROG} ${STRIP_FLAGS}"
172 local FILE
173 for FILE in $(find "${D}" -iregex '.*\.\(dll\|exe\)$') ; do
174 echo " ${FILE#${D}}"
175 ${STRIP_PROG} ${STRIP_FLAGS} "${FILE}"
176 done
177 }
178
179
180
181 --
182 gentoo-commits@g.o mailing list