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