* [gentoo-commits] gentoo-x86 commit in app-editors/scite: ChangeLog scite-2.24.ebuild scite-2.23.ebuild
@ 2011-03-03 14:51 Krzysztof Pawlik (nelchael)
0 siblings, 0 replies; only message in thread
From: Krzysztof Pawlik (nelchael) @ 2011-03-03 14:51 UTC (permalink / raw
To: gentoo-commits
nelchael 11/03/03 14:51:36
Modified: ChangeLog
Added: scite-2.24.ebuild
Removed: scite-2.23.ebuild
Log:
Version bump.
(Portage version: 2.1.9.42/cvs/Linux x86_64)
Revision Changes Path
1.110 app-editors/scite/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/scite/ChangeLog?rev=1.110&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/scite/ChangeLog?rev=1.110&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/scite/ChangeLog?r1=1.109&r2=1.110
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-editors/scite/ChangeLog,v
retrieving revision 1.109
retrieving revision 1.110
diff -u -r1.109 -r1.110
--- ChangeLog 6 Feb 2011 17:20:13 -0000 1.109
+++ ChangeLog 3 Mar 2011 14:51:36 -0000 1.110
@@ -1,6 +1,12 @@
# ChangeLog for app-editors/scite
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/scite/ChangeLog,v 1.109 2011/02/06 17:20:13 nelchael Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/scite/ChangeLog,v 1.110 2011/03/03 14:51:36 nelchael Exp $
+
+*scite-2.24 (03 Mar 2011)
+
+ 03 Mar 2011; Krzysztof Pawlik <nelchael@gentoo.org> -scite-2.23.ebuild,
+ +scite-2.24.ebuild:
+ Version bump.
06 Feb 2011; Krzysztof Pawlik <nelchael@gentoo.org> -scite-2.03.ebuild,
-scite-2.12.ebuild:
1.1 app-editors/scite/scite-2.24.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/scite/scite-2.24.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/scite/scite-2.24.ebuild?rev=1.1&content-type=text/plain
Index: scite-2.24.ebuild
===================================================================
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-editors/scite/scite-2.24.ebuild,v 1.1 2011/03/03 14:51:36 nelchael Exp $
inherit toolchain-funcs eutils
MY_PV=${PV//./}
DESCRIPTION="A very powerful editor for programmers"
HOMEPAGE="http://www.scintilla.org/SciTE.html"
SRC_URI="mirror://sourceforge/scintilla/${PN}${MY_PV}.tgz"
LICENSE="Scintilla"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~x86-fbsd"
IUSE="lua"
RDEPEND=">=x11-libs/gtk+-2
lua? ( >=dev-lang/lua-5 )"
DEPEND="${RDEPEND}
dev-util/pkgconfig
>=sys-apps/sed-4"
S="${WORKDIR}/${PN}/gtk"
src_unpack() {
unpack ${A}
cd "${WORKDIR}/scintilla/gtk"
sed -i makefile \
-e "s#^CXXFLAGS=#CXXFLAGS=${CXXFLAGS} #" \
-e "s#^\(CXXFLAGS=.*\)-Os#\1#" \
-e "s#^CC =\(.*\)#CC = $(tc-getCXX)#" \
-e "s#-Os##" \
|| die "error patching makefile"
cd "${WORKDIR}/scite/gtk"
sed -i makefile \
-e "s#-rdynamic#-rdynamic ${LDFLAGS}#" \
|| die "error patching makefile"
cd "${S}"
sed -i makefile \
-e 's#usr/local#usr#g' \
-e 's#/gnome/apps/Applications#/applications#' \
-e "s#^CXXFLAGS=#CXXFLAGS=${CXXFLAGS} #" \
-e "s#^\(CXXFLAGS=.*\)-Os#\1#" \
-e "s#^CC =\(.*\)#CC = $(tc-getCXX)#" \
-e 's#${D}##' \
-e 's#-g root#-g 0#' \
-e "s#-Os##" \
|| die "error patching makefile"
cd "${WORKDIR}"
epatch "${FILESDIR}/${PN}-2.12-install.patch"
epatch "${FILESDIR}/${PN}-2.12-no-lua.patch"
}
src_compile() {
make -C ../../scintilla/gtk || die "prep make failed"
if use lua; then
emake || die "make failed"
else
emake NO_LUA=1 || die "make failed"
fi
}
src_install() {
dodir /usr/bin
dodir /usr/share/{pixmaps,applications}
make prefix="${D}/usr" install || die
# we have to keep this because otherwise it'll break upgrading
mv "${D}/usr/bin/SciTE" "${D}/usr/bin/scite"
dosym /usr/bin/scite /usr/bin/SciTE
# replace .desktop file with our own working version
insinto /usr/share/applications
rm -f "${D}/usr/share/applications/SciTE.desktop"
doins "${FILESDIR}/scite.desktop"
doman ../doc/scite.1
dodoc ../README
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-03-03 14:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-03 14:51 [gentoo-commits] gentoo-x86 commit in app-editors/scite: ChangeLog scite-2.24.ebuild scite-2.23.ebuild Krzysztof Pawlik (nelchael)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox