1 |
vapier 08/08/22 00:38:16 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: nsis-2.39.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
(Portage version: 2.2_rc8/cvs/Linux 2.6.26.2 x86_64, RepoMan options: --force) |
8 |
|
9 |
Revision Changes Path |
10 |
1.23 dev-util/nsis/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/nsis/ChangeLog?rev=1.23&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/nsis/ChangeLog?rev=1.23&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/nsis/ChangeLog?r1=1.22&r2=1.23 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-util/nsis/ChangeLog,v |
19 |
retrieving revision 1.22 |
20 |
retrieving revision 1.23 |
21 |
diff -u -r1.22 -r1.23 |
22 |
--- ChangeLog 20 Jun 2008 21:01:37 -0000 1.22 |
23 |
+++ ChangeLog 22 Aug 2008 00:38:15 -0000 1.23 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for dev-util/nsis |
26 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-util/nsis/ChangeLog,v 1.22 2008/06/20 21:01:37 mrness Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-util/nsis/ChangeLog,v 1.23 2008/08/22 00:38:15 vapier Exp $ |
29 |
+ |
30 |
+*nsis-2.39 (22 Aug 2008) |
31 |
+ |
32 |
+ 22 Aug 2008; Mike Frysinger <vapier@g.o> +nsis-2.39.ebuild: |
33 |
+ Version bump. |
34 |
|
35 |
20 Jun 2008; Alin Năstac <mrness@g.o> -nsis-2.31.ebuild, |
36 |
nsis-2.37.ebuild: |
37 |
|
38 |
|
39 |
|
40 |
1.1 dev-util/nsis/nsis-2.39.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/nsis/nsis-2.39.ebuild?rev=1.1&view=markup |
43 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/nsis/nsis-2.39.ebuild?rev=1.1&content-type=text/plain |
44 |
|
45 |
Index: nsis-2.39.ebuild |
46 |
=================================================================== |
47 |
# Copyright 1999-2008 Gentoo Foundation |
48 |
# Distributed under the terms of the GNU General Public License v2 |
49 |
# $Header: /var/cvsroot/gentoo-x86/dev-util/nsis/nsis-2.39.ebuild,v 1.1 2008/08/22 00:38:15 vapier Exp $ |
50 |
|
51 |
mingw32_variants=$(eval echo {,i{6,5,4,3}86-}mingw32) |
52 |
|
53 |
DESCRIPTION="Nullsoft Scriptable Install System" |
54 |
HOMEPAGE="http://nsis.sourceforge.net/" |
55 |
SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.bz2 |
56 |
prebuilt-system? ( mirror://sourceforge/${PN}/${P}.zip )" |
57 |
|
58 |
LICENSE="as-is" |
59 |
SLOT="0" |
60 |
KEYWORDS="~amd64 ~ppc ~x86" |
61 |
IUSE="bzip2 config-log prebuilt-system zlib" |
62 |
|
63 |
# NSIS Menu uses wxwindows but it's all broken, so disable for now |
64 |
# wxwindows? ( x11-libs/wxGTK ) |
65 |
RDEPEND="bzip2? ( app-arch/bzip2 ) |
66 |
zlib? ( sys-libs/zlib )" |
67 |
DEPEND="${RDEPEND} |
68 |
>=dev-util/scons-0.98" |
69 |
|
70 |
S=${WORKDIR}/${P}-src |
71 |
|
72 |
mingw_CTARGET() { |
73 |
local i |
74 |
for i in ${mingw32_variants} ; do |
75 |
type -P ${i}-gcc > /dev/null && echo ${i} && return |
76 |
done |
77 |
} |
78 |
|
79 |
pkg_setup() { |
80 |
[[ -n $(mingw_CTARGET) ]] && return 0 |
81 |
|
82 |
local i |
83 |
eerror "Before you could emerge nsis, you need to install mingw32." |
84 |
eerror "Run the following command:" |
85 |
eerror " emerge crossdev" |
86 |
eerror "then run _one_ of the following commands:" |
87 |
for i in ${mingw32_variants} ; do |
88 |
eerror " crossdev ${i}" |
89 |
done |
90 |
die "mingw32 is needed" |
91 |
} |
92 |
|
93 |
get_additional_options() { |
94 |
echo \ |
95 |
PREFIX=/usr \ |
96 |
PREFIX_CONF=/etc \ |
97 |
PREFIX_DOC=/usr/share/doc/${PF} \ |
98 |
PREFIX_DEST=\"${D}\" \ |
99 |
VERSION=${PV} \ |
100 |
DEBUG=no \ |
101 |
STRIP=no |
102 |
echo \ |
103 |
SKIPSTUBS=\"$(use zlib || echo zlib) $(use bzip2 || echo bzip2)\" \ |
104 |
SKIPUTILS=\"NSIS Menu\" |
105 |
use config-log && echo NSIS_CONFIG_LOG=yes |
106 |
# remove the following line when nsis bug 1753070 will be fixed |
107 |
use amd64 && echo APPEND_CCFLAGS=-m32 APPEND_LINKFLAGS=-m32 |
108 |
} |
109 |
|
110 |
do_scons() { |
111 |
local cmd=$1 |
112 |
eval set -- $(get_additional_options) |
113 |
echo scons $(get_additional_options) ${cmd} |
114 |
scons "$@" ${cmd} |
115 |
} |
116 |
|
117 |
src_compile() { |
118 |
do_scons || die "scons failed" |
119 |
} |
120 |
|
121 |
src_install() { |
122 |
do_scons install || die "scons failed" |
123 |
if use prebuilt-system ; then |
124 |
insinto /usr/share/nsis/Plugins |
125 |
doins "${WORKDIR}"/${P}/Plugins/System.dll || die |
126 |
fi |
127 |
|
128 |
fperms -R go-w,a-x,a+X /usr/share/${PN}/ /usr/share/doc/${PF}/ /etc/nsisconf.nsh |
129 |
|
130 |
src_strip_win32 |
131 |
} |
132 |
|
133 |
src_strip_win32() { |
134 |
# need to strip win32 binaries ourselves ... should fold this |
135 |
# back in to prepstrip at some point |
136 |
local STRIP_PROG=$(mingw_CTARGET)-strip |
137 |
local STRIP_FLAGS="--strip-unneeded" |
138 |
|
139 |
echo |
140 |
echo "strip: ${STRIP_PROG} ${STRIP_FLAGS}" |
141 |
local FILE |
142 |
for FILE in $(find "${D}" -iregex '.*\.\(dll\|exe\)$') ; do |
143 |
echo " ${FILE#${D}}" |
144 |
${STRIP_PROG} ${STRIP_FLAGS} "${FILE}" |
145 |
done |
146 |
} |