1 |
swift 14/05/01 20:24:54 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: scite-3.4.1.ebuild |
5 |
Log: |
6 |
Fix bug #508876 - Bump to scite 3.4.1 thanks to Ervin Peters |
7 |
|
8 |
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0x2EDD52403B68AF47) |
9 |
|
10 |
Revision Changes Path |
11 |
1.171 app-editors/scite/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/scite/ChangeLog?rev=1.171&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/scite/ChangeLog?rev=1.171&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/scite/ChangeLog?r1=1.170&r2=1.171 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/app-editors/scite/ChangeLog,v |
20 |
retrieving revision 1.170 |
21 |
retrieving revision 1.171 |
22 |
diff -u -r1.170 -r1.171 |
23 |
--- ChangeLog 16 Feb 2014 12:10:42 -0000 1.170 |
24 |
+++ ChangeLog 1 May 2014 20:24:54 -0000 1.171 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for app-editors/scite |
27 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/app-editors/scite/ChangeLog,v 1.170 2014/02/16 12:10:42 hwoarang Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/app-editors/scite/ChangeLog,v 1.171 2014/05/01 20:24:54 swift Exp $ |
30 |
+ |
31 |
+*scite-3.4.1 (01 May 2014) |
32 |
+ |
33 |
+ 01 May 2014; Sven Vermeulen <swift@g.o> +scite-3.4.1.ebuild: |
34 |
+ Bump for 3.4.1, thanks to Ervin Peters (bug #508876) |
35 |
|
36 |
16 Feb 2014; Markos Chandras <hwoarang@g.o> metadata.xml: |
37 |
Add Ervin Peters <ervin.peters@××××××.de> as maintainer |
38 |
|
39 |
|
40 |
|
41 |
1.1 app-editors/scite/scite-3.4.1.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/scite/scite-3.4.1.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/scite/scite-3.4.1.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: scite-3.4.1.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2014 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/app-editors/scite/scite-3.4.1.ebuild,v 1.1 2014/05/01 20:24:54 swift Exp $ |
51 |
|
52 |
EAPI="4" |
53 |
|
54 |
inherit toolchain-funcs eutils |
55 |
|
56 |
MY_PV=${PV//./} |
57 |
DESCRIPTION="A very powerful editor for programmers" |
58 |
HOMEPAGE="http://www.scintilla.org/SciTE.html" |
59 |
SRC_URI="mirror://sourceforge/scintilla/${PN}${MY_PV}.tgz" |
60 |
|
61 |
LICENSE="HPND lua? ( MIT )" |
62 |
SLOT="0" |
63 |
KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~arm-linux ~x86-linux" |
64 |
IUSE="lua" |
65 |
|
66 |
RDEPEND="dev-libs/glib |
67 |
x11-libs/cairo |
68 |
x11-libs/gtk+:2 |
69 |
x11-libs/gdk-pixbuf |
70 |
x11-libs/pango |
71 |
lua? ( >=dev-lang/lua-5 )" |
72 |
DEPEND="${RDEPEND} |
73 |
virtual/pkgconfig |
74 |
>=sys-apps/sed-4" |
75 |
|
76 |
S="${WORKDIR}/${PN}/gtk" |
77 |
|
78 |
src_prepare() { |
79 |
cd "${WORKDIR}/scintilla/gtk" |
80 |
sed -i makefile \ |
81 |
-e "s#^CXXFLAGS=#CXXFLAGS=${CXXFLAGS} #" \ |
82 |
-e "s#^\(CXXFLAGS=.*\)-Os#\1#" \ |
83 |
-e "s#^CC =\(.*\)#CC = $(tc-getCXX)#" \ |
84 |
-e "s#^CCOMP =\(.*\)#CCOMP = $(tc-getCC)#" \ |
85 |
-e "s#-Os##" \ |
86 |
|| die "error patching makefile" |
87 |
|
88 |
cd "${WORKDIR}/scite/gtk" |
89 |
sed -i makefile \ |
90 |
-e "s#-rdynamic#-rdynamic ${LDFLAGS}#" \ |
91 |
|| die "error patching makefile" |
92 |
|
93 |
cd "${S}" |
94 |
sed -i makefile \ |
95 |
-e 's#usr/local#usr#g' \ |
96 |
-e 's#/gnome/apps/Applications#/applications#' \ |
97 |
-e "s#^CXXFLAGS=#CXXFLAGS=${CXXFLAGS} #" \ |
98 |
-e "s#^\(CXXFLAGS=.*\)-Os#\1#" \ |
99 |
-e "s#^CC =\(.*\)#CC = $(tc-getCXX)#" \ |
100 |
-e "s#^CCOMP =\(.*\)#CCOMP = $(tc-getCC)#" \ |
101 |
-e 's#${D}##' \ |
102 |
-e 's#-g root#-g 0#' \ |
103 |
-e "s#-Os##" \ |
104 |
|| die "error patching makefile" |
105 |
cd "${WORKDIR}" |
106 |
epatch "${FILESDIR}/${PN}-3.0.1-no-lua.patch" |
107 |
} |
108 |
|
109 |
src_compile() { |
110 |
emake -C ../../scintilla/gtk AR="$(tc-getAR)" |
111 |
if use lua; then |
112 |
emake |
113 |
else |
114 |
emake NO_LUA=1 |
115 |
fi |
116 |
} |
117 |
|
118 |
src_install() { |
119 |
dodir /usr/bin |
120 |
dodir /usr/share/{pixmaps,applications} |
121 |
|
122 |
emake prefix="${ED}/usr" install |
123 |
|
124 |
# we have to keep this because otherwise it'll break upgrading |
125 |
mv "${ED}/usr/bin/SciTE" "${ED}/usr/bin/scite" || die |
126 |
dosym /usr/bin/scite /usr/bin/SciTE |
127 |
|
128 |
# replace .desktop file with our own working version |
129 |
rm -f "${ED}/usr/share/applications/SciTE.desktop" |
130 |
domenu "${FILESDIR}/scite.desktop" |
131 |
|
132 |
doman ../doc/scite.1 |
133 |
dodoc ../README |
134 |
} |