public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ian Delaney" <idella4@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/scite/
Date: Sun, 20 Sep 2015 06:29:00 +0000 (UTC)	[thread overview]
Message-ID: <1442730524.f0c5e38217993b03361288c08164eff62742ee35.idella4@gentoo> (raw)

commit:     f0c5e38217993b03361288c08164eff62742ee35
Author:     Ian Delaney <idella4 <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 20 06:27:53 2015 +0000
Commit:     Ian Delaney <idella4 <AT> gentoo <DOT> org>
CommitDate: Sun Sep 20 06:28:44 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0c5e382

app-editors/scite: bump to -3.6.1, closes bug #560512

Package-Manager: portage-2.2.20.1

 app-editors/scite/Manifest           |  1 +
 app-editors/scite/scite-3.6.1.ebuild | 85 ++++++++++++++++++++++++++++++++++++
 2 files changed, 86 insertions(+)

diff --git a/app-editors/scite/Manifest b/app-editors/scite/Manifest
index 122c10a..268cc79 100644
--- a/app-editors/scite/Manifest
+++ b/app-editors/scite/Manifest
@@ -1,3 +1,4 @@
 DIST scite352.tgz 2277393 SHA256 d1b9a12f1b8ea80f28564a1695146a59b4a03099c8ca8693e3a9ce02bb0a2836 SHA512 01bf36dbb4d02f3693a759f778110b913dfbb733d0a5d006c5de78cb627c3511e821b62fa0a410174c09917a09d41d9a94535a14b7a4c77801eafaace15a586d WHIRLPOOL ee39f57944ef60182a3ac8a409cfd4829cfdee85a7b9b91b2722bd3d9d8b2a6f480cd8db1281826f4a9543575ae99dfc66cfe905592a2acae9ad7728d5862695
 DIST scite354.tgz 2301246 SHA256 96041bb6a3aed321e353db7c8fcde720b99cab98cbfa2ef62a5e07dd523e1495 SHA512 213f9d3ac359541f8ae2ec6166770b6cd20631ffc82e9de3b0a23753c2913f232544b4a8001a697042ff7bb4dec72f1d0b1148124fea386d925a7d394b8995e7 WHIRLPOOL 348c64b4d7019935cac018d1f2fcb8aac4713762ffdd766c309a8d7114bbe58f769709a3e5d8d446d58f60f8715d4b1e0ef04dc36b69096d7f9ce0f2c7d50a30
 DIST scite355.tgz 2302137 SHA256 20515597ac986f1727c97bda2c27d88487ddb79cfe330b0b890b5e25330b7d9f SHA512 cdd9d3aa621f5d31632cfb9f71524255a4b47b70a654bf4bc8a25a76f8a2dbe098a48e0cd4587ced8ca8455be7e809973e212fcbcde5b62087aa0f9528f7f40d WHIRLPOOL c901804481042b859be68f44ab728544e97975d61219a4bb576ba3da00bd663c8877e9b23b981a0295d759cae3e9afd037d981923086c6850ff29f01c43ec9f6
+DIST scite361.tgz 2347061 SHA256 bdffdc28c501dbb5e3dc6cbfe3808da2d574df983790c6ddfc2643040023a010 SHA512 5ead063ba98798ec5aa188735f219a19e788fbfaf12c84bce61a08c356e85e73cbbac412731cfdec02266bb8fa94d2a461239ffaba14b99ea65c31eb770dfcc3 WHIRLPOOL 8279b3fea54d2ef266dc5d5cb2b16896731e75d20bcdedaa59570e49d8b201fe7085ecac8f63cb06f2511ebd817d137b5189834d19ee7d4ffae43eaf06d465a7

diff --git a/app-editors/scite/scite-3.6.1.ebuild b/app-editors/scite/scite-3.6.1.ebuild
new file mode 100644
index 0000000..f17d015
--- /dev/null
+++ b/app-editors/scite/scite-3.6.1.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+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="HPND lua? ( MIT )"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~arm-linux ~x86-linux"
+IUSE="lua"
+
+RDEPEND="dev-libs/glib:2
+	x11-libs/cairo
+	x11-libs/gtk+:2
+	x11-libs/gdk-pixbuf
+	x11-libs/pango
+	lua? ( >=dev-lang/lua-5:0= )"
+DEPEND="${RDEPEND}
+	virtual/pkgconfig
+	>=sys-apps/sed-4"
+
+S="${WORKDIR}/${PN}/gtk"
+
+src_prepare() {
+	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#^CCOMP =\(.*\)#CCOMP = $(tc-getCC)#" \
+		-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#^CCOMP =\(.*\)#CCOMP = $(tc-getCC)#" \
+		-e 's#${D}##' \
+		-e 's#-g root#-g 0#' \
+		-e "s#-Os##" \
+		|| die "error patching makefile"
+}
+
+src_compile() {
+	emake -C ../../scintilla/gtk AR="$(tc-getAR)"
+	if use lua; then
+		emake
+	else
+		emake NO_LUA=1
+	fi
+}
+
+src_install() {
+	dodir /usr/bin
+	dodir /usr/share/{pixmaps,applications}
+
+	emake prefix="${ED}/usr" install
+
+	# we have to keep this because otherwise it'll break upgrading
+	mv "${ED}/usr/bin/SciTE" "${ED}/usr/bin/scite" || die
+	dosym /usr/bin/scite /usr/bin/SciTE
+
+	# replace .desktop file with our own working version
+	rm -f "${ED}/usr/share/applications/SciTE.desktop" || die
+	domenu "${FILESDIR}/scite.desktop"
+
+	doman ../doc/scite.1
+	dodoc ../README
+}


             reply	other threads:[~2015-09-20  6:29 UTC|newest]

Thread overview: 69+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-20  6:29 Ian Delaney [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-05-29 12:30 [gentoo-commits] repo/gentoo:master commit in: app-editors/scite/ Joonas Niilola
2023-05-27 10:47 Sam James
2023-05-25  8:04 Arthur Zamarin
2023-05-25  8:02 Arthur Zamarin
2023-04-23  8:02 Sam James
2023-04-23  8:02 Sam James
2023-04-23  5:02 Sam James
2022-11-18 17:44 Arthur Zamarin
2022-11-14  7:44 Joonas Niilola
2022-11-14  7:44 Joonas Niilola
2022-09-12 13:40 Joonas Niilola
2022-09-12 13:40 Joonas Niilola
2022-09-01 17:50 Matt Turner
2022-08-29  7:22 Joonas Niilola
2022-08-29  7:22 Joonas Niilola
2022-07-23 12:50 Joonas Niilola
2022-07-23 12:50 Joonas Niilola
2022-05-17  5:34 Sam James
2021-12-20 11:06 Joonas Niilola
2021-12-20 11:06 Joonas Niilola
2021-12-20 11:06 Joonas Niilola
2021-12-11 19:10 Arthur Zamarin
2021-12-11 14:42 Jakov Smolić
2021-12-11 12:45 Jakov Smolić
2021-10-29 13:31 Yixun Lan
2021-10-04 12:33 Joonas Niilola
2021-09-21 16:35 Sam James
2021-09-19 22:12 Sam James
2021-09-19 22:12 Sam James
2021-09-10  7:22 Joonas Niilola
2021-09-10  7:22 Joonas Niilola
2021-09-10  7:22 Joonas Niilola
2020-12-03 22:58 Marek Szuba
2020-08-21  7:15 Joonas Niilola
2020-08-21  7:15 Joonas Niilola
2020-08-21  7:15 Joonas Niilola
2020-04-28  7:44 Joonas Niilola
2020-04-21  8:18 Joonas Niilola
2020-02-03 15:24 Agostino Sarubbo
2020-02-03 12:38 Agostino Sarubbo
2020-02-03 12:30 Agostino Sarubbo
2019-11-09  8:00 Joonas Niilola
2019-10-27  9:12 Michał Górny
2019-10-27  9:12 Michał Górny
2019-08-03 11:38 Jonas Stein
2019-06-04 20:54 Agostino Sarubbo
2019-06-04 14:45 Thomas Deutschmann
2019-03-20 18:26 Aaron Bauman
2019-02-15 15:04 Agostino Sarubbo
2018-05-20  0:16 Aaron Bauman
2018-04-16 21:26 Sergei Trofimovich
2018-03-31 21:46 Aaron Bauman
2018-02-11 10:01 Michał Górny
2017-11-18  1:26 Jonas Stein
2017-11-17  0:11 Jonas Stein
2017-11-16 22:40 Jonas Stein
2017-11-13 19:51 Jonas Stein
2017-08-23 16:07 Michał Górny
2017-01-29 14:38 Fabian Groffen
2016-07-04  0:05 Göktürk Yüksek
2016-05-13 16:04 Ian Delaney
2016-05-05  8:06 Ian Delaney
2016-05-05  8:06 Ian Delaney
2016-05-03 10:55 Sam Jorna
2016-04-10  6:59 Ian Delaney
2015-12-28 15:06 Agostino Sarubbo
2015-09-25 14:11 Ian Delaney
2015-09-19 12:32 Agostino Sarubbo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1442730524.f0c5e38217993b03361288c08164eff62742ee35.idella4@gentoo \
    --to=idella4@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox