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.30.ebuild nsis-2.31.ebuild nsis-2.28.ebuild nsis-2.29.ebuild
Date: Mon, 22 Oct 2007 22:46:31
Message-Id: E1Ik5qc-00083m-4V@stork.gentoo.org
1 mrness 07/10/22 22:34:10
2
3 Modified: ChangeLog nsis-2.30.ebuild
4 Added: nsis-2.31.ebuild
5 Removed: nsis-2.28.ebuild nsis-2.29.ebuild
6 Log:
7 Remove old versions. Mark stable on x86. Version bump.
8 (Portage version: 2.1.3.9)
9
10 Revision Changes Path
11 1.14 dev-util/nsis/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/nsis/ChangeLog?rev=1.14&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/nsis/ChangeLog?rev=1.14&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/nsis/ChangeLog?r1=1.13&r2=1.14
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-util/nsis/ChangeLog,v
20 retrieving revision 1.13
21 retrieving revision 1.14
22 diff -u -r1.13 -r1.14
23 --- ChangeLog 1 Sep 2007 20:04:44 -0000 1.13
24 +++ ChangeLog 22 Oct 2007 22:34:09 -0000 1.14
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.13 2007/09/01 20:04:44 mrness Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-util/nsis/ChangeLog,v 1.14 2007/10/22 22:34:09 mrness Exp $
30 +
31 +*nsis-2.31 (22 Oct 2007)
32 +
33 + 22 Oct 2007; Alin Năstac <mrness@g.o> -nsis-2.28.ebuild,
34 + -nsis-2.29.ebuild, nsis-2.30.ebuild, +nsis-2.31.ebuild:
35 + Remove old versions. Mark stable on x86. Version bump.
36
37 *nsis-2.30 (01 Sep 2007)
38
39
40
41
42 1.2 dev-util/nsis/nsis-2.30.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/nsis/nsis-2.30.ebuild?rev=1.2&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/nsis/nsis-2.30.ebuild?rev=1.2&content-type=text/plain
46 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/nsis/nsis-2.30.ebuild?r1=1.1&r2=1.2
47
48 Index: nsis-2.30.ebuild
49 ===================================================================
50 RCS file: /var/cvsroot/gentoo-x86/dev-util/nsis/nsis-2.30.ebuild,v
51 retrieving revision 1.1
52 retrieving revision 1.2
53 diff -u -r1.1 -r1.2
54 --- nsis-2.30.ebuild 1 Sep 2007 20:04:44 -0000 1.1
55 +++ nsis-2.30.ebuild 22 Oct 2007 22:34:09 -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.30.ebuild,v 1.1 2007/09/01 20:04:44 mrness Exp $
60 +# $Header: /var/cvsroot/gentoo-x86/dev-util/nsis/nsis-2.30.ebuild,v 1.2 2007/10/22 22:34:09 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.31.ebuild
77
78 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/nsis/nsis-2.31.ebuild?rev=1.1&view=markup
79 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/nsis/nsis-2.31.ebuild?rev=1.1&content-type=text/plain
80
81 Index: nsis-2.31.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.31.ebuild,v 1.1 2007/10/22 22:34:09 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 SKIPPLUGINS=\"\" \
140 SKIPUTILS=\"NSIS Menu\" \
141 SKIPMISC=\"\"
142 use config-log && echo NSIS_CONFIG_LOG=yes
143 # remove the following line when nsis bug 1753070 will be fixed
144 use amd64 && echo APPEND_CCFLAGS=-m32 APPEND_LINKFLAGS=-m32
145 }
146
147 do_scons() {
148 local cmd=$1
149 eval set -- $(get_additional_options)
150 echo scons $(get_additional_options) ${cmd}
151 scons "$@" ${cmd}
152 }
153
154 src_compile() {
155 do_scons || die "scons failed"
156 }
157
158 src_install() {
159 do_scons install || die "scons failed"
160
161 fperms -R go-w,a-x,a+X /usr/share/${PN}/ /usr/share/doc/${PF}/ /etc/nsisconf.nsh
162
163 src_strip_win32
164 }
165
166 src_strip_win32() {
167 # need to strip win32 binaries ourselves ... should fold this
168 # back in to prepstrip at some point
169 local STRIP_PROG=$(mingw_CTARGET)-strip
170 local STRIP_FLAGS="--strip-unneeded"
171
172 echo
173 echo "strip: ${STRIP_PROG} ${STRIP_FLAGS}"
174 local FILE
175 for FILE in $(find "${D}" -iregex '.*\.\(dll\|exe\)$') ; do
176 echo " ${FILE#${D}}"
177 ${STRIP_PROG} ${STRIP_FLAGS} "${FILE}"
178 done
179 }
180
181
182
183 --
184 gentoo-commits@g.o mailing list