summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlastair Tse <liquidx@gentoo.org>2004-01-09 01:41:11 +0000
committerAlastair Tse <liquidx@gentoo.org>2004-01-09 01:41:11 +0000
commitdeafb4cfb44fbd4d2eab8328429b5ed52c67ca84 (patch)
treed8a7279ddaf7502063c1275736453dcf5fa7969f /app-editors/scite
parentoops, forgot this one yesterday - improvements for 2.4.2 (diff)
downloadhistorical-deafb4cfb44fbd4d2eab8328429b5ed52c67ca84.tar.gz
historical-deafb4cfb44fbd4d2eab8328429b5ed52c67ca84.tar.bz2
historical-deafb4cfb44fbd4d2eab8328429b5ed52c67ca84.zip
version bump. modified ebuild submitted by Adam Chodorowski <adam@chodorowski.com> (bug #35493)
Diffstat (limited to 'app-editors/scite')
-rw-r--r--app-editors/scite/ChangeLog8
-rw-r--r--app-editors/scite/Manifest4
-rw-r--r--app-editors/scite/files/digest-scite-1.5.71
-rw-r--r--app-editors/scite/scite-1.5.7.ebuild74
4 files changed, 85 insertions, 2 deletions
diff --git a/app-editors/scite/ChangeLog b/app-editors/scite/ChangeLog
index a76a91375ea7..08803e65e705 100644
--- a/app-editors/scite/ChangeLog
+++ b/app-editors/scite/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-editors/scite
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/scite/ChangeLog,v 1.14 2003/11/08 16:36:24 liquidx Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/scite/ChangeLog,v 1.15 2004/01/09 01:41:11 liquidx Exp $
+
+*scite-1.5.7 (09 Jan 2004)
+
+ 09 Jan 2004; Alastair Tse <liquidx@gentoo.org> scite-1.5.7.ebuild:
+ version bump. modified ebuild submitted by Adam Chodorowski
+ <adam@chodorowski.com> (bug #35493)
*scite-1.5.6 (08 Nov 2003)
diff --git a/app-editors/scite/Manifest b/app-editors/scite/Manifest
index bb2cfe6ce018..e4260126da7e 100644
--- a/app-editors/scite/Manifest
+++ b/app-editors/scite/Manifest
@@ -1,11 +1,13 @@
-MD5 da02db46a9d5bc1c53f158a2e27932c4 ChangeLog 2416
+MD5 1ae97d38cf35b8da0f5a304408836eb4 ChangeLog 2614
MD5 8f906ffe0aa837e5e26fe03af3043461 metadata.xml 219
MD5 9b99c735833410c4d863b47c0ee61d60 scite-1.4.9.ebuild 1329
MD5 7954463b548282c780a5674346e39c54 scite-1.5.1.ebuild 1330
MD5 eb336b16dcbf235faeb51eabf76314a1 scite-1.5.4.ebuild 1680
MD5 337f3df268594b57158f494e3e8a3c6b scite-1.5.6.ebuild 1681
+MD5 86496f3e231540fa6e35089a88eb1ce0 scite-1.5.7.ebuild 1864
MD5 e21b1647de51e2cea2682beaf5522ea7 files/digest-scite-1.4.9 57
MD5 9ee947d9de84f03b11e6b1f7f195d87a files/digest-scite-1.5.1 57
MD5 8f703db06b0c2938ae6349c2970ead59 files/digest-scite-1.5.4 57
MD5 80608721073d877a62ab114df64994fe files/digest-scite-1.5.6 57
+MD5 db1df48699c3abfa8938d151233eaefc files/digest-scite-1.5.7 57
MD5 2561568c62ec3edc2b46be6638c80427 files/scite.desktop 169
diff --git a/app-editors/scite/files/digest-scite-1.5.7 b/app-editors/scite/files/digest-scite-1.5.7
new file mode 100644
index 000000000000..322b61c4fea5
--- /dev/null
+++ b/app-editors/scite/files/digest-scite-1.5.7
@@ -0,0 +1 @@
+MD5 d8d18de553555437791996daed9ff7ec scite157.tgz 904012
diff --git a/app-editors/scite/scite-1.5.7.ebuild b/app-editors/scite/scite-1.5.7.ebuild
new file mode 100644
index 000000000000..a410e7214abb
--- /dev/null
+++ b/app-editors/scite/scite-1.5.7.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-editors/scite/scite-1.5.7.ebuild,v 1.1 2004/01/09 01:41:11 liquidx Exp $
+
+
+MY_PV=$(echo ${PV} | sed 's:\.::g')
+
+DESCRIPTION="A very powerful editor for programmers"
+SRC_URI="mirror://sourceforge/scintilla/${PN}${MY_PV}.tgz"
+HOMEPAGE="http://www.scintilla.org"
+
+DEPEND="gtk2? ( >=x11-libs/gtk+-2 ) : ( =x11-libs/gtk+-1.2* )
+ >=sys-apps/sed-4"
+
+S=${WORKDIR}/${PN}/gtk
+
+SLOT="0"
+LICENSE="PYTHON"
+KEYWORDS="~x86 ~ppc ~sparc"
+IUSE="gtk2 gnome"
+
+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 = ${CXX:-g++}#" \
+ || 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 = ${CXX:-g++}#" \
+ -e 's#${D}##' \
+ || die "error patching makefile"
+
+}
+
+src_compile() {
+ local makeopts
+ use gtk2 && makeopts="GTK2=1"
+ #use debug && makeopts="${makeopts} DEBUG=1"
+
+ make -C ../../scintilla/gtk ${makeopts} || die "prep make failed"
+ emake ${makeopts} || die "make failed"
+}
+
+src_install () {
+ dodir /usr
+ dodir /usr/bin
+ dodir /usr/share
+ dodir /usr/share/pixmaps
+ dodir /usr/share/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 ../License.txt ../README
+
+}
+