[gentoo-commits] repo/gentoo:master commit in: app-editors/scite/, app-editors/scite/files/

2023-05-29 Thread Joonas Niilola
commit: 876ec7aa5d2576271480de69e76ab7b89522fdc7
Author: Joonas Niilola  gentoo  org>
AuthorDate: Mon May 29 12:29:33 2023 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon May 29 12:30:39 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=876ec7aa

app-editors/scite: add gcc-13 fix from bgo#892431

Closes: https://bugs.gentoo.org/892431
Signed-off-by: Joonas Niilola  gentoo.org>

 .../files/scite-5.3.5-gcc-13-fix-bgo892431.patch   | 40 ++
 app-editors/scite/scite-5.3.5.ebuild   |  4 ++-
 2 files changed, 43 insertions(+), 1 deletion(-)

diff --git a/app-editors/scite/files/scite-5.3.5-gcc-13-fix-bgo892431.patch 
b/app-editors/scite/files/scite-5.3.5-gcc-13-fix-bgo892431.patch
new file mode 100644
index ..935fbdf0b8cd
--- /dev/null
+++ b/app-editors/scite/files/scite-5.3.5-gcc-13-fix-bgo892431.patch
@@ -0,0 +1,40 @@
+--- a/scite/scripts/HeaderOrder.txt2023-05-28 04:10:36.897378314 +0300
 b/scite/scripts/HeaderOrder.txt2023-05-28 04:11:48.740712313 +0300
+@@ -30,6 +30,7 @@
+ 
+ // C++ standard library
+ #include 
++#include 
+ #include 
+ #include 
+ #include 
+--- a/scite/src/MultiplexExtension.cxx 2023-05-28 04:16:48.680714993 +0300
 b/scite/src/MultiplexExtension.cxx 2023-05-28 04:17:58.230715597 +0300
+@@ -5,6 +5,7 @@
+ // Copyright 1998-2003 by Neil Hodgson 
+ // The License.txt file describes the conditions under which this software 
may be distributed.
+ 
++#include 
+ #include 
+ #include 
+ #include 
+--- a/scite/src/SciTEBase.cxx  2023-05-28 04:20:08.850716714 +0300
 b/scite/src/SciTEBase.cxx  2023-05-28 04:21:35.867384145 +0300
+@@ -15,6 +15,7 @@
+ #include 
+ #include 
+ 
++#include 
+ #include 
+ #include 
+ #include 
+--- a/scite/src/SciTEProps.cxx 2023-05-28 04:22:53.904051478 +0300
 b/scite/src/SciTEProps.cxx 2023-05-28 04:23:43.374051910 +0300
+@@ -13,6 +13,7 @@
+ #include 
+ #include 
+ 
++#include 
+ #include 
+ #include 
+ #include 

diff --git a/app-editors/scite/scite-5.3.5.ebuild 
b/app-editors/scite/scite-5.3.5.ebuild
index 1283d94ee015..1242ae6a372f 100644
--- a/app-editors/scite/scite-5.3.5.ebuild
+++ b/app-editors/scite/scite-5.3.5.ebuild
@@ -34,6 +34,8 @@ DOCS=( "../README" )
 
 S="${WORKDIR}/${PN}/gtk"
 
+PATCHES=( "${FILESDIR}"/scite-5.3.5-gcc-13-fix-bgo892431.patch )
+
 pkg_setup() {
use lua && lua-single_pkg_setup
 }
@@ -72,7 +74,7 @@ src_prepare() {
# Bug #576162
 
cd "${WORKDIR}" || die "couldn't cd into ${WORKDIR}"
-   eapply_user
+   default
 }
 
 src_compile() {



[gentoo-commits] repo/gentoo:master commit in: app-editors/scite/

2023-05-29 Thread Joonas Niilola
commit: d773db27f39839bbb59ca507a3e44be4bf9aa984
Author: Joonas Niilola  gentoo  org>
AuthorDate: Mon May 29 12:30:19 2023 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon May 29 12:30:39 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d773db27

app-editors/scite: drop 5.1.3, 5.2.4, 5.3.0

Signed-off-by: Joonas Niilola  gentoo.org>

 app-editors/scite/Manifest   |  3 --
 app-editors/scite/scite-5.1.3.ebuild | 97 
 app-editors/scite/scite-5.2.4.ebuild | 97 
 app-editors/scite/scite-5.3.0.ebuild | 97 
 4 files changed, 294 deletions(-)

diff --git a/app-editors/scite/Manifest b/app-editors/scite/Manifest
index 7764d11afc96..89177a5a6bac 100644
--- a/app-editors/scite/Manifest
+++ b/app-editors/scite/Manifest
@@ -1,4 +1 @@
-DIST scite-5.1.3.tgz 3427245 BLAKE2B 
ca765b61cb1fa96934c1e28d76a97cd7086a6c692ae33bb57591dfbc8637ffc94c4a3f20f9c6b55d11da8a76664f1d521f7e393bf6f31db55cbe02e0bf5052ba
 SHA512 
ef86a18f739062598d3c7bf19bcd2f38ca012e890b9b4685c1f1b809e928762ab60d24c33a1f45ca33133ce5007e3a22a76e80222b121c9a4089d3c57aa0bc4c
-DIST scite-5.2.4.tgz 3440615 BLAKE2B 
a98028774837f7c19a73d3ceef0e7cf945674b0b0d21eec7af4874a1fab1dcbfdad9255adcfb9d458dfc6549baeb27dee3fab207f0145b6c722794a9a96ec284
 SHA512 
ac3f25fbfe654f4b249c55b2bf97d5ea57483a484feeb30c3663e13366d1a569d9faa22c83b4eb5201154d00713fcd550478573db987084eba0a2e8ea22c57e9
-DIST scite-5.3.0.tgz 3499449 BLAKE2B 
b54a4eb5c9d669f840efa782d0b02e1b087b386aabbf58dcd37bdc314f42ff6597bf674329c64bbf40befecbc3d3d00aaf13bd03d0f18a28ab6a050049b25336
 SHA512 
3401ea04019f4fbbd15118a6b2aeffaaeff91382e742cff4df2dcd83ea59e4d43600b288869db9dbe44609fcfad979d29659edbd200b6b0edfa56eac5a9f577d
 DIST scite-5.3.5.tgz 3535798 BLAKE2B 
16bd6331b8ab5ef2d700a121d8d85078f6eea2f8c45cfd62c5b27c7c9622f853a871e98402ee3833c09652d869271ed05a61374ee1f55d58dbdcc0f5fcbd681c
 SHA512 
18ed3e802f6f5e66573f72c4ad42d592ea3f79e191e828a32d2d55aaf285a2cb9961e206c9e99f82c77f0975494e9105ac925394d7cf48223b954e253f1dee9c

diff --git a/app-editors/scite/scite-5.1.3.ebuild 
b/app-editors/scite/scite-5.1.3.ebuild
deleted file mode 100644
index 56eaa7f3c945..
--- a/app-editors/scite/scite-5.1.3.ebuild
+++ /dev/null
@@ -1,97 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-LUA_COMPAT=( lua5-1 )
-
-inherit lua-single toolchain-funcs xdg
-
-DESCRIPTION="A very powerful, highly configurable, small editor with syntax 
coloring"
-HOMEPAGE="https://www.scintilla.org/SciTE.html;
-SRC_URI="https://www.scintilla.org/${PN}${PV//./}.tgz -> ${P}.tgz"
-
-LICENSE="HPND lua? ( MIT )"
-SLOT="0"
-KEYWORDS="amd64 ppc ~riscv x86 ~amd64-linux ~arm-linux ~x86-linux"
-IUSE="lua"
-
-REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )"
-
-RDEPEND="
-   dev-libs/atk
-   dev-libs/glib:2
-   x11-libs/cairo
-   x11-libs/gdk-pixbuf:2
-   x11-libs/gtk+:3
-   x11-libs/pango
-   lua? ( ${LUA_DEPS} )"
-
-DEPEND="${RDEPEND}"
-
-BDEPEND="
-   virtual/pkgconfig"
-
-DOCS=("../README")
-
-S="${WORKDIR}/${PN}/gtk"
-
-pkg_setup() {
-   use lua && lua-single_pkg_setup
-}
-
-src_prepare() {
-   tc-export AR CC CXX RANLIB
-
-   # remove hardcoded CC, Optimizations and clang unknown flags
-   sed -i "${WORKDIR}/scintilla/gtk/makefile" \
-   -e "s#^CC = gcc#CC = ${CC}#" \
-   -e "s#^CC = clang#CC = ${CC}#" \
-   -e "s#^CXX = clang++#CXX = ${CXX}#" \
-   -e "s#-Os##" \
-   -e "s#-Wno-misleading-indentation##" \
-   || die "error patching /scintilla/gtk/makefile"
-
-   sed -i "${S}/makefile" \
-   -e "s#^CC = clang#CC = ${CC}#" \
-   -e "s#^CXX = clang++#CXX = ${CXX}#" \
-   -e "s#-rdynamic#-rdynamic ${LDFLAGS}#" \
-   -e "s#-Os##" \
-   || die "error patching gtk/makefile"
-
-   # repair and enhance the .desktop file
-   sed -i "${S}/SciTE.desktop" \
-   -e "s#text/plain#text/\*;application/xhtml+xml#" \
-   -e "s#^Categories=\(.*\)#Categories=Development;#" \
-   || die "error patching /scite/gtk/SciTe.desktop"
-
-   #  add the ebuild suffix as shell type for working with ebuilds
-   sed -i "${WORKDIR}/scite/src/perl.properties" \
-   -e "s#\*.sh;\*.bsh;#\*.ebuild;\*.sh;\*.bsh;#" \
-   || die "error patching /scite/src/perl.properties"
-
-   # it seems that pwd here is ${S}, but user patches are relative to 
${workdir}
-   # Bug #576162
-
-   cd "${WORKDIR}" || die "couldn't cd into ${WORKDIR}"
-   eapply_user
-}
-
-src_compile() {
-   # prepare make options
-   local emake_pars=("GTK3=1")
-
-   tc-is-clang && emake_pars+=("CLANG=1")
-   use !lua&& emake_pars+=("NO_LUA=1")
-
-   emake -C "${WORKDIR}/lexilla/src" "${emake_pars[@]}"
-   emake -C "${WORKDIR}/scintilla/gtk" "${emake_pars[@]}"
-   emake "${emake_pars[@]}"
-}
-
-# want to use 

[gentoo-commits] repo/gentoo:master commit in: app-editors/scite/

2023-05-27 Thread Sam James
commit: 39cd6d5bd3351432311e6d7731f205c76de75114
Author: Sam James  gentoo  org>
AuthorDate: Sat May 27 10:47:02 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat May 27 10:47:02 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39cd6d5b

app-editors/scite: Stabilize 5.3.5 ppc, #907141

Signed-off-by: Sam James  gentoo.org>

 app-editors/scite/scite-5.3.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-editors/scite/scite-5.3.5.ebuild 
b/app-editors/scite/scite-5.3.5.ebuild
index 09a0f36a2bf4..1283d94ee015 100644
--- a/app-editors/scite/scite-5.3.5.ebuild
+++ b/app-editors/scite/scite-5.3.5.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://www.scintilla.org/${PN}${PV//./}.tgz -> 
${P}.tgz"
 
 LICENSE="HPND lua? ( MIT )"
 SLOT="0"
-KEYWORDS="amd64 ~ppc ~riscv x86 ~amd64-linux ~arm-linux ~x86-linux"
+KEYWORDS="amd64 ppc ~riscv x86 ~amd64-linux ~arm-linux ~x86-linux"
 IUSE="lua"
 
 REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )"



[gentoo-commits] repo/gentoo:master commit in: app-editors/scite/

2023-05-25 Thread Arthur Zamarin
commit: ceba7bb9ea328e2af151be3a380166dcfb3abb7d
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu May 25 08:03:54 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu May 25 08:03:54 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ceba7bb9

app-editors/scite: Stabilize 5.3.5 amd64, #907141

Signed-off-by: Arthur Zamarin  gentoo.org>

 app-editors/scite/scite-5.3.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-editors/scite/scite-5.3.5.ebuild 
b/app-editors/scite/scite-5.3.5.ebuild
index c6a2ff91263e..09a0f36a2bf4 100644
--- a/app-editors/scite/scite-5.3.5.ebuild
+++ b/app-editors/scite/scite-5.3.5.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://www.scintilla.org/${PN}${PV//./}.tgz -> 
${P}.tgz"
 
 LICENSE="HPND lua? ( MIT )"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~riscv x86 ~amd64-linux ~arm-linux ~x86-linux"
+KEYWORDS="amd64 ~ppc ~riscv x86 ~amd64-linux ~arm-linux ~x86-linux"
 IUSE="lua"
 
 REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )"



[gentoo-commits] repo/gentoo:master commit in: app-editors/scite/

2023-05-25 Thread Arthur Zamarin
commit: e12b0e71c1fa351dbde1d5e858c5a137783c5279
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu May 25 08:02:21 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu May 25 08:02:21 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e12b0e71

app-editors/scite: Stabilize 5.3.5 x86, #907141

Signed-off-by: Arthur Zamarin  gentoo.org>

 app-editors/scite/scite-5.3.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-editors/scite/scite-5.3.5.ebuild 
b/app-editors/scite/scite-5.3.5.ebuild
index 0eab49a0696b..c6a2ff91263e 100644
--- a/app-editors/scite/scite-5.3.5.ebuild
+++ b/app-editors/scite/scite-5.3.5.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://www.scintilla.org/${PN}${PV//./}.tgz -> 
${P}.tgz"
 
 LICENSE="HPND lua? ( MIT )"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~riscv ~x86 ~amd64-linux ~arm-linux ~x86-linux"
+KEYWORDS="~amd64 ~ppc ~riscv x86 ~amd64-linux ~arm-linux ~x86-linux"
 IUSE="lua"
 
 REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )"



[gentoo-commits] repo/gentoo:master commit in: app-editors/scite/

2023-04-23 Thread Sam James
commit: e58afb9d71fcc31bb697dc93e65ad311c35a8c30
Author: Sam James  gentoo  org>
AuthorDate: Sun Apr 23 08:01:24 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Apr 23 08:01:24 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e58afb9d

app-editors/scite: fixup atk dep

Signed-off-by: Sam James  gentoo.org>

 app-editors/scite/scite-5.3.5.ebuild | 12 +---
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/app-editors/scite/scite-5.3.5.ebuild 
b/app-editors/scite/scite-5.3.5.ebuild
index c761fa526ceb..0eab49a0696b 100644
--- a/app-editors/scite/scite-5.3.5.ebuild
+++ b/app-editors/scite/scite-5.3.5.ebuild
@@ -19,20 +19,18 @@ IUSE="lua"
 REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )"
 
 RDEPEND="
-   dev-libs/atk
+   >=app-accessibility/at-spi2-core-2.46.0
dev-libs/glib:2
x11-libs/cairo
x11-libs/gdk-pixbuf:2
x11-libs/gtk+:3
x11-libs/pango
-   lua? ( ${LUA_DEPS} )"
-
+   lua? ( ${LUA_DEPS} )
+"
 DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
 
-BDEPEND="
-   virtual/pkgconfig"
-
-DOCS=("../README")
+DOCS=( "../README" )
 
 S="${WORKDIR}/${PN}/gtk"
 



[gentoo-commits] repo/gentoo:master commit in: app-editors/scite/

2023-04-23 Thread Sam James
commit: 3a10082fde0b039efcf32e87a459ce413f70d891
Author: Ervin Peters  ervnet  de>
AuthorDate: Sun Mar 12 05:53:23 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Apr 23 08:00:43 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a10082f

app-editors/scite: add 5.3.5

Closes: https://bugs.gentoo.org/892551
Signed-off-by: Ervin Peters  ervnet.de>
Signed-off-by: Sam James  gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/30067

 app-editors/scite/Manifest   |  1 +
 app-editors/scite/scite-5.3.5.ebuild | 97 
 2 files changed, 98 insertions(+)

diff --git a/app-editors/scite/Manifest b/app-editors/scite/Manifest
index cbe9a89da1df..7764d11afc96 100644
--- a/app-editors/scite/Manifest
+++ b/app-editors/scite/Manifest
@@ -1,3 +1,4 @@
 DIST scite-5.1.3.tgz 3427245 BLAKE2B 
ca765b61cb1fa96934c1e28d76a97cd7086a6c692ae33bb57591dfbc8637ffc94c4a3f20f9c6b55d11da8a76664f1d521f7e393bf6f31db55cbe02e0bf5052ba
 SHA512 
ef86a18f739062598d3c7bf19bcd2f38ca012e890b9b4685c1f1b809e928762ab60d24c33a1f45ca33133ce5007e3a22a76e80222b121c9a4089d3c57aa0bc4c
 DIST scite-5.2.4.tgz 3440615 BLAKE2B 
a98028774837f7c19a73d3ceef0e7cf945674b0b0d21eec7af4874a1fab1dcbfdad9255adcfb9d458dfc6549baeb27dee3fab207f0145b6c722794a9a96ec284
 SHA512 
ac3f25fbfe654f4b249c55b2bf97d5ea57483a484feeb30c3663e13366d1a569d9faa22c83b4eb5201154d00713fcd550478573db987084eba0a2e8ea22c57e9
 DIST scite-5.3.0.tgz 3499449 BLAKE2B 
b54a4eb5c9d669f840efa782d0b02e1b087b386aabbf58dcd37bdc314f42ff6597bf674329c64bbf40befecbc3d3d00aaf13bd03d0f18a28ab6a050049b25336
 SHA512 
3401ea04019f4fbbd15118a6b2aeffaaeff91382e742cff4df2dcd83ea59e4d43600b288869db9dbe44609fcfad979d29659edbd200b6b0edfa56eac5a9f577d
+DIST scite-5.3.5.tgz 3535798 BLAKE2B 
16bd6331b8ab5ef2d700a121d8d85078f6eea2f8c45cfd62c5b27c7c9622f853a871e98402ee3833c09652d869271ed05a61374ee1f55d58dbdcc0f5fcbd681c
 SHA512 
18ed3e802f6f5e66573f72c4ad42d592ea3f79e191e828a32d2d55aaf285a2cb9961e206c9e99f82c77f0975494e9105ac925394d7cf48223b954e253f1dee9c

diff --git a/app-editors/scite/scite-5.3.5.ebuild 
b/app-editors/scite/scite-5.3.5.ebuild
new file mode 100644
index ..c761fa526ceb
--- /dev/null
+++ b/app-editors/scite/scite-5.3.5.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LUA_COMPAT=( lua5-4 )
+
+inherit lua-single toolchain-funcs xdg
+
+DESCRIPTION="A very powerful, highly configurable, small editor with syntax 
coloring"
+HOMEPAGE="https://www.scintilla.org/SciTE.html;
+SRC_URI="https://www.scintilla.org/${PN}${PV//./}.tgz -> ${P}.tgz"
+
+LICENSE="HPND lua? ( MIT )"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~riscv ~x86 ~amd64-linux ~arm-linux ~x86-linux"
+IUSE="lua"
+
+REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )"
+
+RDEPEND="
+   dev-libs/atk
+   dev-libs/glib:2
+   x11-libs/cairo
+   x11-libs/gdk-pixbuf:2
+   x11-libs/gtk+:3
+   x11-libs/pango
+   lua? ( ${LUA_DEPS} )"
+
+DEPEND="${RDEPEND}"
+
+BDEPEND="
+   virtual/pkgconfig"
+
+DOCS=("../README")
+
+S="${WORKDIR}/${PN}/gtk"
+
+pkg_setup() {
+   use lua && lua-single_pkg_setup
+}
+
+src_prepare() {
+   tc-export AR CC CXX RANLIB
+
+   # remove hardcoded CC, Optimizations and clang unknown flags
+   sed -i "${WORKDIR}/scintilla/gtk/makefile" \
+   -e "s#^CC = gcc#CC = ${CC}#" \
+   -e "s#^CC = clang#CC = ${CC}#" \
+   -e "s#^CXX = clang++#CXX = ${CXX}#" \
+   -e "s#-Os##" \
+   -e "s#-Wno-misleading-indentation##" \
+   || die "error patching /scintilla/gtk/makefile"
+
+   sed -i "${S}/makefile" \
+   -e "s#^CC = clang#CC = ${CC}#" \
+   -e "s#^CXX = clang++#CXX = ${CXX}#" \
+   -e "s#-rdynamic#-rdynamic ${LDFLAGS}#" \
+   -e "s#-Os##" \
+   || die "error patching gtk/makefile"
+
+   # repair and enhance the .desktop file
+   sed -i "${S}/SciTE.desktop" \
+   -e "s#text/plain#text/\*;application/xhtml+xml#" \
+   -e "s#^Categories=\(.*\)#Categories=Development;#" \
+   || die "error patching /scite/gtk/SciTe.desktop"
+
+   #  add the ebuild suffix as shell type for working with ebuilds
+   sed -i "${WORKDIR}/scite/src/perl.properties" \
+   -e "s#\*.sh;\*.bsh;#\*.ebuild;\*.sh;\*.bsh;#" \
+   || die "error patching /scite/src/perl.properties"
+
+   # it seems that pwd here is ${S}, but user patches are relative to 
${workdir}
+   # Bug #576162
+
+   cd "${WORKDIR}" || die "couldn't cd into ${WORKDIR}"
+   eapply_user
+}
+
+src_compile() {
+   # prepare make options
+   local emake_pars=("GTK3=1")
+
+   tc-is-clang && emake_pars+=("CLANG=1")
+   use !lua&& emake_pars+=("NO_LUA=1")
+
+   emake -C "${WORKDIR}/lexilla/src" "${emake_pars[@]}"
+   emake -C "${WORKDIR}/scintilla/gtk" "${emake_pars[@]}"
+   emake "${emake_pars[@]}"
+}
+
+# want to use the base src_install() as base_src_install()
+

[gentoo-commits] repo/gentoo:master commit in: app-editors/scite/

2023-04-22 Thread Sam James
commit: ea4c755b4da14d4d46cc30e622618b05395bc15a
Author: Sam James  gentoo  org>
AuthorDate: Sun Apr 23 05:01:37 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Apr 23 05:01:37 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea4c755b

app-editors/scite: drop to maintainer-needed

Bug: https://bugs.gentoo.org/633068
Signed-off-by: Sam James  gentoo.org>

 app-editors/scite/metadata.xml | 9 +
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/app-editors/scite/metadata.xml b/app-editors/scite/metadata.xml
index 7694337e8744..ae6d6c4b2c1f 100644
--- a/app-editors/scite/metadata.xml
+++ b/app-editors/scite/metadata.xml
@@ -1,14 +1,7 @@
 
 https://www.gentoo.org/dtd/metadata.dtd;>
 
-   
-   ervin.pet...@ervnet.de
-   Ervin Peters
-   
-   
-   proxy-ma...@gentoo.org
-   Proxy Maintainers
-   
+   

scintilla




[gentoo-commits] repo/gentoo:master commit in: app-editors/scite/

2022-11-18 Thread Arthur Zamarin
commit: ab5e6b749b92f3e11d2774f719d21fc71adc0a32
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Nov 18 17:43:59 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Nov 18 17:43:59 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab5e6b74

app-editors/scite: Stabilize 5.3.0 ppc, #881049

Signed-off-by: Arthur Zamarin  gentoo.org>

 app-editors/scite/scite-5.3.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-editors/scite/scite-5.3.0.ebuild 
b/app-editors/scite/scite-5.3.0.ebuild
index 3cf3d6aca8a5..351ecb41df39 100644
--- a/app-editors/scite/scite-5.3.0.ebuild
+++ b/app-editors/scite/scite-5.3.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://www.scintilla.org/${PN}${PV//./}.tgz -> 
${P}.tgz"
 
 LICENSE="HPND lua? ( MIT )"
 SLOT="0"
-KEYWORDS="amd64 ~ppc ~riscv x86 ~amd64-linux ~arm-linux ~x86-linux"
+KEYWORDS="amd64 ppc ~riscv x86 ~amd64-linux ~arm-linux ~x86-linux"
 IUSE="lua"
 
 REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )"



[gentoo-commits] repo/gentoo:master commit in: app-editors/scite/

2022-11-13 Thread Joonas Niilola
commit: 1f53c1766b00f31ff9fd7f055a04e6bdbe87eec5
Author: Joonas Niilola  gentoo  org>
AuthorDate: Mon Nov 14 07:43:12 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Nov 14 07:43:12 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f53c176

app-editors/scite: Stabilize 5.3.0 amd64, #881049

Signed-off-by: Joonas Niilola  gentoo.org>

 app-editors/scite/scite-5.3.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-editors/scite/scite-5.3.0.ebuild 
b/app-editors/scite/scite-5.3.0.ebuild
index 19bb5f74a12c..ad6dd477d146 100644
--- a/app-editors/scite/scite-5.3.0.ebuild
+++ b/app-editors/scite/scite-5.3.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://www.scintilla.org/${PN}${PV//./}.tgz -> 
${P}.tgz"
 
 LICENSE="HPND lua? ( MIT )"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~riscv ~x86 ~amd64-linux ~arm-linux ~x86-linux"
+KEYWORDS="amd64 ~ppc ~riscv ~x86 ~amd64-linux ~arm-linux ~x86-linux"
 IUSE="lua"
 
 REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )"



[gentoo-commits] repo/gentoo:master commit in: app-editors/scite/

2022-11-13 Thread Joonas Niilola
commit: c598ca5675903b4915b4db5aa014d95e996271fa
Author: Joonas Niilola  gentoo  org>
AuthorDate: Mon Nov 14 07:43:50 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Nov 14 07:43:50 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c598ca56

app-editors/scite: Stabilize 5.3.0 x86, #881049

Signed-off-by: Joonas Niilola  gentoo.org>

 app-editors/scite/scite-5.3.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-editors/scite/scite-5.3.0.ebuild 
b/app-editors/scite/scite-5.3.0.ebuild
index ad6dd477d146..3cf3d6aca8a5 100644
--- a/app-editors/scite/scite-5.3.0.ebuild
+++ b/app-editors/scite/scite-5.3.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://www.scintilla.org/${PN}${PV//./}.tgz -> 
${P}.tgz"
 
 LICENSE="HPND lua? ( MIT )"
 SLOT="0"
-KEYWORDS="amd64 ~ppc ~riscv ~x86 ~amd64-linux ~arm-linux ~x86-linux"
+KEYWORDS="amd64 ~ppc ~riscv x86 ~amd64-linux ~arm-linux ~x86-linux"
 IUSE="lua"
 
 REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )"



[gentoo-commits] repo/gentoo:master commit in: app-editors/scite/

2022-09-12 Thread Joonas Niilola
commit: 705b06787d35c2be4ef7b17fd409ca09236a6758
Author: Ervin Peters  ervnet  de>
AuthorDate: Sun Aug 28 19:05:16 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Sep 12 13:40:02 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=705b0678

app-editors/scite: bump to scite-5.3.0

Actual enhancements and upstream bugfixes. See
http://www.scintilla.org/ScintillaHistory.html

Signed-off-by: Ervin Peters  ervnet.de>
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Closes: https://github.com/gentoo/gentoo/pull/27049
Signed-off-by: Joonas Niilola  gentoo.org>

 app-editors/scite/Manifest   |  1 +
 app-editors/scite/scite-5.3.0.ebuild | 97 
 2 files changed, 98 insertions(+)

diff --git a/app-editors/scite/Manifest b/app-editors/scite/Manifest
index 95f5b72013ca..cbe9a89da1df 100644
--- a/app-editors/scite/Manifest
+++ b/app-editors/scite/Manifest
@@ -1,2 +1,3 @@
 DIST scite-5.1.3.tgz 3427245 BLAKE2B 
ca765b61cb1fa96934c1e28d76a97cd7086a6c692ae33bb57591dfbc8637ffc94c4a3f20f9c6b55d11da8a76664f1d521f7e393bf6f31db55cbe02e0bf5052ba
 SHA512 
ef86a18f739062598d3c7bf19bcd2f38ca012e890b9b4685c1f1b809e928762ab60d24c33a1f45ca33133ce5007e3a22a76e80222b121c9a4089d3c57aa0bc4c
 DIST scite-5.2.4.tgz 3440615 BLAKE2B 
a98028774837f7c19a73d3ceef0e7cf945674b0b0d21eec7af4874a1fab1dcbfdad9255adcfb9d458dfc6549baeb27dee3fab207f0145b6c722794a9a96ec284
 SHA512 
ac3f25fbfe654f4b249c55b2bf97d5ea57483a484feeb30c3663e13366d1a569d9faa22c83b4eb5201154d00713fcd550478573db987084eba0a2e8ea22c57e9
+DIST scite-5.3.0.tgz 3499449 BLAKE2B 
b54a4eb5c9d669f840efa782d0b02e1b087b386aabbf58dcd37bdc314f42ff6597bf674329c64bbf40befecbc3d3d00aaf13bd03d0f18a28ab6a050049b25336
 SHA512 
3401ea04019f4fbbd15118a6b2aeffaaeff91382e742cff4df2dcd83ea59e4d43600b288869db9dbe44609fcfad979d29659edbd200b6b0edfa56eac5a9f577d

diff --git a/app-editors/scite/scite-5.3.0.ebuild 
b/app-editors/scite/scite-5.3.0.ebuild
new file mode 100644
index ..19bb5f74a12c
--- /dev/null
+++ b/app-editors/scite/scite-5.3.0.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LUA_COMPAT=( lua5-4 )
+
+inherit lua-single toolchain-funcs xdg
+
+DESCRIPTION="A very powerful, highly configurable, small editor with syntax 
coloring"
+HOMEPAGE="https://www.scintilla.org/SciTE.html;
+SRC_URI="https://www.scintilla.org/${PN}${PV//./}.tgz -> ${P}.tgz"
+
+LICENSE="HPND lua? ( MIT )"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~riscv ~x86 ~amd64-linux ~arm-linux ~x86-linux"
+IUSE="lua"
+
+REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )"
+
+RDEPEND="
+   dev-libs/atk
+   dev-libs/glib:2
+   x11-libs/cairo
+   x11-libs/gdk-pixbuf:2
+   x11-libs/gtk+:3
+   x11-libs/pango
+   lua? ( ${LUA_DEPS} )"
+
+DEPEND="${RDEPEND}"
+
+BDEPEND="
+   virtual/pkgconfig"
+
+DOCS=("../README")
+
+S="${WORKDIR}/${PN}/gtk"
+
+pkg_setup() {
+   use lua && lua-single_pkg_setup
+}
+
+src_prepare() {
+   tc-export AR CC CXX RANLIB
+
+   # remove hardcoded CC, Optimizations and clang unknown flags
+   sed -i "${WORKDIR}/scintilla/gtk/makefile" \
+   -e "s#^CC = gcc#CC = ${CC}#" \
+   -e "s#^CC = clang#CC = ${CC}#" \
+   -e "s#^CXX = clang++#CXX = ${CXX}#" \
+   -e "s#-Os##" \
+   -e "s#-Wno-misleading-indentation##" \
+   || die "error patching /scintilla/gtk/makefile"
+
+   sed -i "${S}/makefile" \
+   -e "s#^CC = clang#CC = ${CC}#" \
+   -e "s#^CXX = clang++#CXX = ${CXX}#" \
+   -e "s#-rdynamic#-rdynamic ${LDFLAGS}#" \
+   -e "s#-Os##" \
+   || die "error patching gtk/makefile"
+
+   # repair and enhance the .desktop file
+   sed -i "${S}/SciTE.desktop" \
+   -e "s#text/plain#text/\*;application/xhtml+xml#" \
+   -e "s#^Categories=\(.*\)#Categories=Development;#" \
+   || die "error patching /scite/gtk/SciTe.desktop"
+
+   #  add the ebuild suffix as shell type for working with ebuilds
+   sed -i "${WORKDIR}/scite/src/perl.properties" \
+   -e "s#\*.sh;\*.bsh;#\*.ebuild;\*.sh;\*.bsh;#" \
+   || die "error patching /scite/src/perl.properties"
+
+   # it seems that pwd here is ${S}, but user patches are relative to 
${workdir}
+   # Bug #576162
+
+   cd "${WORKDIR}" || die "couldn't cd into ${WORKDIR}"
+   eapply_user
+}
+
+src_compile() {
+   # prepare make options
+   local emake_pars=("GTK3=1")
+
+   tc-is-clang && emake_pars+=("CLANG=1")
+   use !lua&& emake_pars+=("NO_LUA=1")
+
+   emake -C "${WORKDIR}/lexilla/src" "${emake_pars[@]}"
+   emake -C "${WORKDIR}/scintilla/gtk" "${emake_pars[@]}"
+   emake "${emake_pars[@]}"
+}
+
+# want to use the base src_install() as base_src_install()
+
+src_install() {
+   GTK3=1 default
+   dosym SciTE /usr/bin/scite
+}



[gentoo-commits] repo/gentoo:master commit in: app-editors/scite/

2022-09-12 Thread Joonas Niilola
commit: ba84bc3f03b7f2067d3fb3bb059cdd1745fb7eff
Author: Ervin Peters  ervnet  de>
AuthorDate: Sun Aug 28 19:02:07 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Sep 12 13:40:02 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba84bc3f

app-editors/scite: cleanup older versions

Signed-off-by: Ervin Peters  ervnet.de>
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Joonas Niilola  gentoo.org>

 app-editors/scite/Manifest   |  2 -
 app-editors/scite/scite-5.1.1.ebuild | 97 
 app-editors/scite/scite-5.1.6.ebuild | 97 
 3 files changed, 196 deletions(-)

diff --git a/app-editors/scite/Manifest b/app-editors/scite/Manifest
index 25bd3f96c50e..95f5b72013ca 100644
--- a/app-editors/scite/Manifest
+++ b/app-editors/scite/Manifest
@@ -1,4 +1,2 @@
-DIST scite-5.1.1.tgz 3374717 BLAKE2B 
b7a45a86008eb592adacc8fde90cb637cc7cac821f339bb65920aaf912ee10d52badde3ed2e71118a7ce4690a0536b298c5fe5f673b886902ad4634b3a1ffaa6
 SHA512 
4d6c9b3ca4caed4fcb70a6b1c86a2ace13b023241f16d6faa01b3f692bcbfa14e0ce186bb08776ee0cf62768b2b77c4ffcae610ddbb6b04dcb7584fd8b3f27bb
 DIST scite-5.1.3.tgz 3427245 BLAKE2B 
ca765b61cb1fa96934c1e28d76a97cd7086a6c692ae33bb57591dfbc8637ffc94c4a3f20f9c6b55d11da8a76664f1d521f7e393bf6f31db55cbe02e0bf5052ba
 SHA512 
ef86a18f739062598d3c7bf19bcd2f38ca012e890b9b4685c1f1b809e928762ab60d24c33a1f45ca33133ce5007e3a22a76e80222b121c9a4089d3c57aa0bc4c
-DIST scite-5.1.6.tgz 3436413 BLAKE2B 
3bf578d750c844cebc187662d658556ba58934929872b74012b299e10f6057352d184542e37433e3e031fa566b28e91d51a5d00687c6a4df35301d8ceb75a795
 SHA512 
3983034e5a14d696a455375eb4ca922c458c9f74fd1d2e6c7b1735914a733978b65119b9370167227e50d20d4c6f636b96bb4d1d8eb8fe8ae1d7f7ca1c143e20
 DIST scite-5.2.4.tgz 3440615 BLAKE2B 
a98028774837f7c19a73d3ceef0e7cf945674b0b0d21eec7af4874a1fab1dcbfdad9255adcfb9d458dfc6549baeb27dee3fab207f0145b6c722794a9a96ec284
 SHA512 
ac3f25fbfe654f4b249c55b2bf97d5ea57483a484feeb30c3663e13366d1a569d9faa22c83b4eb5201154d00713fcd550478573db987084eba0a2e8ea22c57e9

diff --git a/app-editors/scite/scite-5.1.1.ebuild 
b/app-editors/scite/scite-5.1.1.ebuild
deleted file mode 100644
index 55863b5a601e..
--- a/app-editors/scite/scite-5.1.1.ebuild
+++ /dev/null
@@ -1,97 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-LUA_COMPAT=( lua5-1 )
-
-inherit lua-single toolchain-funcs xdg
-
-DESCRIPTION="A very powerful, highly configurable, small editor with syntax 
coloring"
-HOMEPAGE="https://www.scintilla.org/SciTE.html;
-SRC_URI="https://www.scintilla.org/${PN}${PV//./}.tgz -> ${P}.tgz"
-
-LICENSE="HPND lua? ( MIT )"
-SLOT="0"
-KEYWORDS="amd64 ppc x86 ~amd64-linux ~arm-linux ~x86-linux"
-IUSE="lua"
-
-REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )"
-
-RDEPEND="
-   dev-libs/atk
-   dev-libs/glib:2
-   x11-libs/cairo
-   x11-libs/gdk-pixbuf:2
-   x11-libs/gtk+:3
-   x11-libs/pango
-   lua? ( ${LUA_DEPS} )"
-
-DEPEND="${RDEPEND}"
-
-BDEPEND="
-   virtual/pkgconfig"
-
-DOCS=("../README")
-
-S="${WORKDIR}/${PN}/gtk"
-
-pkg_setup() {
-   use lua && lua-single_pkg_setup
-}
-
-src_prepare() {
-   tc-export AR CC CXX RANLIB
-
-   # remove hardcoded CC, Optimizations and clang unknown flags
-   sed -i "${WORKDIR}/scintilla/gtk/makefile" \
-   -e "s#^CC = gcc#CC = ${CC}#" \
-   -e "s#^CC = clang#CC = ${CC}#" \
-   -e "s#^CXX = clang++#CXX = ${CXX}#" \
-   -e "s#-Os##" \
-   -e "s#-Wno-misleading-indentation##" \
-   || die "error patching /scintilla/gtk/makefile"
-
-   sed -i "${S}/makefile" \
-   -e "s#^CC = clang#CC = ${CC}#" \
-   -e "s#^CXX = clang++#CXX = ${CXX}#" \
-   -e "s#-rdynamic#-rdynamic ${LDFLAGS}#" \
-   -e "s#-Os##" \
-   || die "error patching gtk/makefile"
-
-   # repair and enhance the .desktop file
-   sed -i "${S}/SciTE.desktop" \
-   -e "s#text/plain#text/\*;application/xhtml+xml#" \
-   -e "s#^Categories=\(.*\)#Categories=Development;#" \
-   || die "error patching /scite/gtk/SciTe.desktop"
-
-   #  add the ebuild suffix as shell type for working with ebuilds
-   sed -i "${WORKDIR}/scite/src/perl.properties" \
-   -e "s#\*.sh;\*.bsh;#\*.ebuild;\*.sh;\*.bsh;#" \
-   || die "error patching /scite/src/perl.properties"
-
-   # it seems that pwd here is ${S}, but user patches are relative to 
${workdir}
-   # Bug #576162
-
-   cd "${WORKDIR}" || die "couldn't cd into ${WORKDIR}"
-   eapply_user
-}
-
-src_compile() {
-   # prepare make options
-   local emake_pars=("GTK3=1")
-
-   tc-is-clang && emake_pars+=("CLANG=1")
-   use !lua&& emake_pars+=("NO_LUA=1")
-
-   emake -C "${WORKDIR}/lexilla/src" "${emake_pars[@]}"
-   emake -C "${WORKDIR}/scintilla/gtk" "${emake_pars[@]}"
-   emake "${emake_pars[@]}"
-}
-
-# want to use the 

[gentoo-commits] repo/gentoo:master commit in: app-editors/scite/

2022-09-01 Thread Matt Turner
commit: 4a0d492f8e30c7b8685a1d2cc77e349ac1eca5c6
Author: Matt Turner  gentoo  org>
AuthorDate: Thu Sep  1 17:47:26 2022 +
Commit: Matt Turner  gentoo  org>
CommitDate: Thu Sep  1 17:47:40 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a0d492f

app-editors/scite: Stabilize 5.2.4 ppc, #867193

Signed-off-by: Matt Turner  gentoo.org>

 app-editors/scite/scite-5.2.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-editors/scite/scite-5.2.4.ebuild 
b/app-editors/scite/scite-5.2.4.ebuild
index 3cf3d6aca8a5..351ecb41df39 100644
--- a/app-editors/scite/scite-5.2.4.ebuild
+++ b/app-editors/scite/scite-5.2.4.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://www.scintilla.org/${PN}${PV//./}.tgz -> 
${P}.tgz"
 
 LICENSE="HPND lua? ( MIT )"
 SLOT="0"
-KEYWORDS="amd64 ~ppc ~riscv x86 ~amd64-linux ~arm-linux ~x86-linux"
+KEYWORDS="amd64 ppc ~riscv x86 ~amd64-linux ~arm-linux ~x86-linux"
 IUSE="lua"
 
 REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )"



[gentoo-commits] repo/gentoo:master commit in: app-editors/scite/

2022-08-29 Thread Joonas Niilola
commit: 1a061e31a2ba1d0c53d0ede77ac3fb24aa856c9a
Author: Joonas Niilola  gentoo  org>
AuthorDate: Mon Aug 29 07:14:34 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Aug 29 07:22:00 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a061e31

app-editors/scite: Stabilize 5.2.4 x86, #867193

Signed-off-by: Joonas Niilola  gentoo.org>

 app-editors/scite/scite-5.2.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-editors/scite/scite-5.2.4.ebuild 
b/app-editors/scite/scite-5.2.4.ebuild
index ad6dd477d146..3cf3d6aca8a5 100644
--- a/app-editors/scite/scite-5.2.4.ebuild
+++ b/app-editors/scite/scite-5.2.4.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://www.scintilla.org/${PN}${PV//./}.tgz -> 
${P}.tgz"
 
 LICENSE="HPND lua? ( MIT )"
 SLOT="0"
-KEYWORDS="amd64 ~ppc ~riscv ~x86 ~amd64-linux ~arm-linux ~x86-linux"
+KEYWORDS="amd64 ~ppc ~riscv x86 ~amd64-linux ~arm-linux ~x86-linux"
 IUSE="lua"
 
 REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )"



[gentoo-commits] repo/gentoo:master commit in: app-editors/scite/

2022-08-29 Thread Joonas Niilola
commit: f56b00c7dda08d50fb7856461c0fa30366a9097c
Author: Joonas Niilola  gentoo  org>
AuthorDate: Mon Aug 29 07:13:48 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Aug 29 07:21:59 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f56b00c7

app-editors/scite: Stabilize 5.2.4 amd64, #867193

Signed-off-by: Joonas Niilola  gentoo.org>

 app-editors/scite/scite-5.2.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-editors/scite/scite-5.2.4.ebuild 
b/app-editors/scite/scite-5.2.4.ebuild
index 19bb5f74a12c..ad6dd477d146 100644
--- a/app-editors/scite/scite-5.2.4.ebuild
+++ b/app-editors/scite/scite-5.2.4.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://www.scintilla.org/${PN}${PV//./}.tgz -> 
${P}.tgz"
 
 LICENSE="HPND lua? ( MIT )"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~riscv ~x86 ~amd64-linux ~arm-linux ~x86-linux"
+KEYWORDS="amd64 ~ppc ~riscv ~x86 ~amd64-linux ~arm-linux ~x86-linux"
 IUSE="lua"
 
 REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )"



[gentoo-commits] repo/gentoo:master commit in: app-editors/scite/

2022-07-23 Thread Joonas Niilola
commit: eb63f5442ec78632b0da8254638cdf898f9e46eb
Author: Ervin Peters  ervnet  de>
AuthorDate: Sun Jul 10 08:23:54 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sat Jul 23 12:50:17 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb63f544

app-editors/scite: Version Bump to 5.2.4.

Actual enhancements and upstream bugfixes. See
http://www.scintilla.org/ScintillaHistory.html

Signed-off-by: Ervin Peters  ervnet.de>
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Joonas Niilola  gentoo.org>

 app-editors/scite/Manifest   |  1 +
 app-editors/scite/scite-5.2.4.ebuild | 97 
 2 files changed, 98 insertions(+)

diff --git a/app-editors/scite/Manifest b/app-editors/scite/Manifest
index 2bd2582cc3ae..25bd3f96c50e 100644
--- a/app-editors/scite/Manifest
+++ b/app-editors/scite/Manifest
@@ -1,3 +1,4 @@
 DIST scite-5.1.1.tgz 3374717 BLAKE2B 
b7a45a86008eb592adacc8fde90cb637cc7cac821f339bb65920aaf912ee10d52badde3ed2e71118a7ce4690a0536b298c5fe5f673b886902ad4634b3a1ffaa6
 SHA512 
4d6c9b3ca4caed4fcb70a6b1c86a2ace13b023241f16d6faa01b3f692bcbfa14e0ce186bb08776ee0cf62768b2b77c4ffcae610ddbb6b04dcb7584fd8b3f27bb
 DIST scite-5.1.3.tgz 3427245 BLAKE2B 
ca765b61cb1fa96934c1e28d76a97cd7086a6c692ae33bb57591dfbc8637ffc94c4a3f20f9c6b55d11da8a76664f1d521f7e393bf6f31db55cbe02e0bf5052ba
 SHA512 
ef86a18f739062598d3c7bf19bcd2f38ca012e890b9b4685c1f1b809e928762ab60d24c33a1f45ca33133ce5007e3a22a76e80222b121c9a4089d3c57aa0bc4c
 DIST scite-5.1.6.tgz 3436413 BLAKE2B 
3bf578d750c844cebc187662d658556ba58934929872b74012b299e10f6057352d184542e37433e3e031fa566b28e91d51a5d00687c6a4df35301d8ceb75a795
 SHA512 
3983034e5a14d696a455375eb4ca922c458c9f74fd1d2e6c7b1735914a733978b65119b9370167227e50d20d4c6f636b96bb4d1d8eb8fe8ae1d7f7ca1c143e20
+DIST scite-5.2.4.tgz 3440615 BLAKE2B 
a98028774837f7c19a73d3ceef0e7cf945674b0b0d21eec7af4874a1fab1dcbfdad9255adcfb9d458dfc6549baeb27dee3fab207f0145b6c722794a9a96ec284
 SHA512 
ac3f25fbfe654f4b249c55b2bf97d5ea57483a484feeb30c3663e13366d1a569d9faa22c83b4eb5201154d00713fcd550478573db987084eba0a2e8ea22c57e9

diff --git a/app-editors/scite/scite-5.2.4.ebuild 
b/app-editors/scite/scite-5.2.4.ebuild
new file mode 100644
index ..f2887e4b0f91
--- /dev/null
+++ b/app-editors/scite/scite-5.2.4.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LUA_COMPAT=( lua5-4 )
+
+inherit lua-single toolchain-funcs xdg
+
+DESCRIPTION="A very powerful, highly configurable, small editor with syntax 
coloring"
+HOMEPAGE="https://www.scintilla.org/SciTE.html;
+SRC_URI="https://www.scintilla.org/${PN}${PV//./}.tgz -> ${P}.tgz"
+
+LICENSE="HPND lua? ( MIT )"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~riscv ~x86 ~amd64-linux ~arm-linux ~x86-linux"
+IUSE="lua"
+
+REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )"
+
+RDEPEND="
+   dev-libs/atk
+   dev-libs/glib:2
+   x11-libs/cairo
+   x11-libs/gdk-pixbuf:2
+   x11-libs/gtk+:3
+   x11-libs/pango
+   lua? ( ${LUA_DEPS} )"
+
+DEPEND="${RDEPEND}"
+
+BDEPEND="
+   virtual/pkgconfig"
+
+DOCS=("../README")
+
+S="${WORKDIR}/${PN}/gtk"
+
+pkg_setup() {
+   use lua && lua-single_pkg_setup
+}
+
+src_prepare() {
+   tc-export AR CC CXX RANLIB
+
+   # remove hardcoded CC, Optimizations and clang unknown flags
+   sed -i "${WORKDIR}/scintilla/gtk/makefile" \
+   -e "s#^CC = gcc#CC = ${CC}#" \
+   -e "s#^CC = clang#CC = ${CC}#" \
+   -e "s#^CXX = clang++#CXX = ${CXX}#" \
+   -e "s#-Os##" \
+   -e "s#-Wno-misleading-indentation##" \
+   || die "error patching /scintilla/gtk/makefile"
+
+   sed -i "${S}/makefile" \
+   -e "s#^CC = clang#CC = ${CC}#" \
+   -e "s#^CXX = clang++#CXX = ${CXX}#" \
+   -e "s#-rdynamic#-rdynamic ${LDFLAGS}#" \
+   -e "s#-Os##" \
+   || die "error patching gtk/makefile"
+
+   # repair and enhance the .desktop file
+   sed -i "${S}/SciTE.desktop" \
+   -e "s#text/plain#text/\*;application/xhtml+xml#" \
+   -e "s#^Categories=\(.*\)#Categories=Development;#" \
+   || die "error patching /scite/gtk/SciTe.desktop"
+
+   #  add the ebuild suffix as shell type for working with ebuilds
+   sed -i "${WORKDIR}/scite/src/perl.properties" \
+   -e "s#\*.sh;\*.bsh;#\*.ebuild;\*.sh;\*.bsh;#" \
+   || die "error patching /scite/src/perl.properties"
+
+   # it seems that pwd here is ${S}, but user patches are relative to 
${workdir}
+   # Bug #576162
+
+   cd "${WORKDIR}" || die "couldn't cd into ${WORKDIR}"
+   eapply_user
+}
+
+src_compile() {
+   # prepare make options
+   local emake_pars=("GTK3=1")
+
+   tc-is-clang && emake_pars+=("CLANG=1")
+   use !lua&& emake_pars+=("NO_LUA=1")
+
+   emake -C "${WORKDIR}/lexilla/src" "${emake_pars[@]}"
+   emake -C "${WORKDIR}/scintilla/gtk" "${emake_pars[@]}"
+   emake "${emake_pars[@]}"
+}

[gentoo-commits] repo/gentoo:master commit in: app-editors/scite/

2022-07-23 Thread Joonas Niilola
commit: 68b7958f5d02e5eb5213796be5790b6603017b9b
Author: Ervin Peters  ervnet  de>
AuthorDate: Mon Jul 11 15:51:57 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sat Jul 23 12:50:17 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68b7958f

app-editors/scite: Add Fix from bug #765151

fixes desktop files not installed when gtk2 not found.

Signed-off-by: Ervin Peters  ervnet.de>
Closes: https://bugs.gentoo.org/765151
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Closes: https://github.com/gentoo/gentoo/pull/26321
Signed-off-by: Joonas Niilola  gentoo.org>

 app-editors/scite/scite-5.2.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-editors/scite/scite-5.2.4.ebuild 
b/app-editors/scite/scite-5.2.4.ebuild
index f2887e4b0f91..19bb5f74a12c 100644
--- a/app-editors/scite/scite-5.2.4.ebuild
+++ b/app-editors/scite/scite-5.2.4.ebuild
@@ -92,6 +92,6 @@ src_compile() {
 # want to use the base src_install() as base_src_install()
 
 src_install() {
-   default
+   GTK3=1 default
dosym SciTE /usr/bin/scite
 }



[gentoo-commits] repo/gentoo:master commit in: app-editors/scite/

2022-05-16 Thread Sam James
commit: 542edce19adc5c8d219224f56d861fa5a08ff9d7
Author: Sam James  gentoo  org>
AuthorDate: Tue May 17 01:48:22 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue May 17 05:33:50 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=542edce1

app-editors/scite: [QA] drop (very) stale GCC version checks

Signed-off-by: Sam James  gentoo.org>

 app-editors/scite/scite-5.1.1.ebuild | 20 +---
 app-editors/scite/scite-5.1.3.ebuild | 20 +---
 app-editors/scite/scite-5.1.6.ebuild | 20 +---
 3 files changed, 3 insertions(+), 57 deletions(-)

diff --git a/app-editors/scite/scite-5.1.1.ebuild 
b/app-editors/scite/scite-5.1.1.ebuild
index c3e280ecf802..55863b5a601e 100644
--- a/app-editors/scite/scite-5.1.1.ebuild
+++ b/app-editors/scite/scite-5.1.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -36,24 +36,6 @@ DOCS=("../README")
 
 S="${WORKDIR}/${PN}/gtk"
 
-pkg_pretend() {
-   if tc-is-clang ; then
-   # need c++17 features
-   [[ "${MERGE_TYPE}" != "binary" &&
-   $(clang-major-version) -lt 5 ]] &&
-   die "Sorry, SCiTE uses C++17 Features and needs 
>sys-devel/clang-5
-   ($(clang-major-version))."
-
-   elif tc-is-gcc; then
-   # older gcc is not supported
-   [[ "${MERGE_TYPE}" != "binary" &&
-   $(gcc-major-version) -lt 7 ]] &&
-   die "Sorry, Scite uses C++17 Features, need >sys-devel/gcc-7."
-   else
-   die "Either gcc or clang should be configured for building 
scite"
-   fi
-}
-
 pkg_setup() {
use lua && lua-single_pkg_setup
 }

diff --git a/app-editors/scite/scite-5.1.3.ebuild 
b/app-editors/scite/scite-5.1.3.ebuild
index 3defc2beced6..56eaa7f3c945 100644
--- a/app-editors/scite/scite-5.1.3.ebuild
+++ b/app-editors/scite/scite-5.1.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -36,24 +36,6 @@ DOCS=("../README")
 
 S="${WORKDIR}/${PN}/gtk"
 
-pkg_pretend() {
-   if tc-is-clang ; then
-   # need c++17 features
-   [[ "${MERGE_TYPE}" != "binary" &&
-   $(clang-major-version) -lt 5 ]] &&
-   die "Sorry, SCiTE uses C++17 Features and needs 
>sys-devel/clang-5
-   ($(clang-major-version))."
-
-   elif tc-is-gcc; then
-   # older gcc is not supported
-   [[ "${MERGE_TYPE}" != "binary" &&
-   $(gcc-major-version) -lt 7 ]] &&
-   die "Sorry, Scite uses C++17 Features, need >sys-devel/gcc-7."
-   else
-   die "Either gcc or clang should be configured for building 
scite"
-   fi
-}
-
 pkg_setup() {
use lua && lua-single_pkg_setup
 }

diff --git a/app-editors/scite/scite-5.1.6.ebuild 
b/app-editors/scite/scite-5.1.6.ebuild
index f04689f90329..f2887e4b0f91 100644
--- a/app-editors/scite/scite-5.1.6.ebuild
+++ b/app-editors/scite/scite-5.1.6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -36,24 +36,6 @@ DOCS=("../README")
 
 S="${WORKDIR}/${PN}/gtk"
 
-pkg_pretend() {
-   if tc-is-clang ; then
-   # need c++17 features
-   [[ "${MERGE_TYPE}" != "binary" &&
-   $(clang-major-version) -lt 5 ]] &&
-   die "Sorry, SCiTE uses C++17 Features and needs 
>sys-devel/clang-5
-   ($(clang-major-version))."
-
-   elif tc-is-gcc; then
-   # older gcc is not supported
-   [[ "${MERGE_TYPE}" != "binary" &&
-   $(gcc-major-version) -lt 7 ]] &&
-   die "Sorry, Scite uses C++17 Features, need >sys-devel/gcc-7."
-   else
-   die "Either gcc or clang should be configured for building 
scite"
-   fi
-}
-
 pkg_setup() {
use lua && lua-single_pkg_setup
 }



[gentoo-commits] repo/gentoo:master commit in: app-editors/scite/

2021-12-20 Thread Joonas Niilola
commit: 994ea441e7f3adb4a8107cace724bbbf25c29bbb
Author: Ervin Peters  ervnet  de>
AuthorDate: Sat Dec 11 09:47:47 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Dec 20 11:05:01 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=994ea441

app-editors/scite: remove 4.4.4-r10 due to compile bugs

There is an error in compiling with current glib-2
and a stable 5.x.x is available which fixes this.

Signed-off-by: Ervin Peters  ervnet.de>
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Joonas Niilola  gentoo.org>

 app-editors/scite/Manifest   |   1 -
 app-editors/scite/scite-4.4.4-r10.ebuild | 123 ---
 2 files changed, 124 deletions(-)

diff --git a/app-editors/scite/Manifest b/app-editors/scite/Manifest
index 8c3caadf3bd2..e4c9669085d3 100644
--- a/app-editors/scite/Manifest
+++ b/app-editors/scite/Manifest
@@ -1,3 +1,2 @@
-DIST scite-4.4.4.tgz 2775628 BLAKE2B 
a7607b53bf529c56f6525d44b052a08c914d8aa1d90d475dcf46927ac5ce83c06d68b70e8d8e8969c77c367240ba1e7ac10d599c77002575e84b9baf6445d03b
 SHA512 
1e8529286206d542e0c07353b73ab38aa9ee2e2256ed8e15328965e00a33eb026f79bd7d330253e8743cf5503fadb32c64162973ad21da16993f11e124842ec0
 DIST scite-5.1.1.tgz 3374717 BLAKE2B 
b7a45a86008eb592adacc8fde90cb637cc7cac821f339bb65920aaf912ee10d52badde3ed2e71118a7ce4690a0536b298c5fe5f673b886902ad4634b3a1ffaa6
 SHA512 
4d6c9b3ca4caed4fcb70a6b1c86a2ace13b023241f16d6faa01b3f692bcbfa14e0ce186bb08776ee0cf62768b2b77c4ffcae610ddbb6b04dcb7584fd8b3f27bb
 DIST scite-5.1.3.tgz 3427245 BLAKE2B 
ca765b61cb1fa96934c1e28d76a97cd7086a6c692ae33bb57591dfbc8637ffc94c4a3f20f9c6b55d11da8a76664f1d521f7e393bf6f31db55cbe02e0bf5052ba
 SHA512 
ef86a18f739062598d3c7bf19bcd2f38ca012e890b9b4685c1f1b809e928762ab60d24c33a1f45ca33133ce5007e3a22a76e80222b121c9a4089d3c57aa0bc4c

diff --git a/app-editors/scite/scite-4.4.4-r10.ebuild 
b/app-editors/scite/scite-4.4.4-r10.ebuild
deleted file mode 100644
index 1f2fd9e64c95..
--- a/app-editors/scite/scite-4.4.4-r10.ebuild
+++ /dev/null
@@ -1,123 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-LUA_COMPAT=( lua5-1 )
-
-inherit lua-single toolchain-funcs xdg-utils
-
-DESCRIPTION="A very powerful, highly configurable, small editor with syntax 
coloring"
-HOMEPAGE="https://www.scintilla.org/SciTE.html;
-SRC_URI="https://www.scintilla.org/${PN}${PV//./}.tgz -> ${P}.tgz"
-
-LICENSE="HPND lua? ( MIT )"
-SLOT="0"
-KEYWORDS="amd64 ppc x86 ~amd64-linux ~arm-linux ~x86-linux"
-IUSE="lua"
-
-REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )"
-
-RDEPEND="
-   dev-libs/glib:2
-   x11-libs/cairo
-   x11-libs/gdk-pixbuf
-   x11-libs/gtk+:3
-   x11-libs/pango
-   lua? ( ${LUA_DEPS} )"
-
-DEPEND="${RDEPEND}"
-
-BDEPEND="
-   virtual/pkgconfig"
-
-DOCS=("../README")
-
-S="${WORKDIR}/${PN}/gtk"
-
-pkg_pretend() {
-   if tc-is-clang ; then
-   # need c++17 features
-   [[ "${MERGE_TYPE}" != "binary" &&
-   $(clang-major-version) -lt 5 ]] &&
-   die "Sorry, SCiTE uses C++17 Features and needs 
>sys-devel/clang-5
-   ($(clang-major-version))."
-
-   elif tc-is-gcc; then
-   # older gcc is not supported
-   [[ "${MERGE_TYPE}" != "binary" &&
-   $(gcc-major-version) -lt 7 ]] &&
-   die "Sorry, Scite uses C++17 Features, need >sys-devel/gcc-7."
-   else
-   die "Either gcc or clang should be configured for building 
scite"
-   fi
-}
-
-pkg_setup() {
-   use lua && lua-single_pkg_setup
-}
-
-src_prepare() {
-   tc-export AR CC CXX RANLIB
-
-   # remove hardcoded CC, Optimizations and clang unknown flags
-   sed -i "${WORKDIR}/scintilla/gtk/makefile" \
-   -e "s#^CC = gcc#CC = ${CC}#" \
-   -e "s#^CC = clang#CC = ${CC}#" \
-   -e "s#^CXX = clang++#CXX = ${CXX}#" \
-   -e "s#-Os##" \
-   -e "s#-Wno-misleading-indentation##" \
-   || die "error patching /scintilla/gtk/makefile"
-
-   sed -i "${S}/makefile" \
-   -e "s#^CC = clang#CC = ${CC}#" \
-   -e "s#^CXX = clang++#CXX = ${CXX}#" \
-   -e "s#-rdynamic#-rdynamic ${LDFLAGS}#" \
-   -e "s#-Os##" \
-   || die "error patching gtk/makefile"
-
-   # repair and enhance the .desktop file
-   sed -i "${S}/SciTE.desktop" \
-   -e "s#text/plain#text/\*;application/xhtml+xml#" \
-   -e "s#^Categories=\(.*\)#Categories=Development;#" \
-   || die "error patching /scite/gtk/SciTe.desktop"
-
-   #  add the ebuild suffix as shell type for working with ebuilds
-   sed -i "${WORKDIR}/scite/src/perl.properties" \
-   -e "s#\*.sh;\*.bsh;#\*.ebuild;\*.sh;\*.bsh;#" \
-   || die "error patching /scite/src/perl.properties"
-
-   # it seems that pwd here is ${S}, but user patches are relative to 
${workdir}
-   # Bug #576162
-
-   cd "${WORKDIR}" || die 

[gentoo-commits] repo/gentoo:master commit in: app-editors/scite/

2021-12-20 Thread Joonas Niilola
commit: 34d729d3794d1a27e1952e87893caac28127ec4b
Author: Joonas Niilola  gentoo  org>
AuthorDate: Mon Dec 20 11:06:12 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Dec 20 11:06:12 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34d729d3

app-editors/scite: keyword 5.1.6 for ~riscv

Signed-off-by: Joonas Niilola  gentoo.org>

 app-editors/scite/scite-5.1.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-editors/scite/scite-5.1.6.ebuild 
b/app-editors/scite/scite-5.1.6.ebuild
index 94d9b0ce9c3e..f04689f90329 100644
--- a/app-editors/scite/scite-5.1.6.ebuild
+++ b/app-editors/scite/scite-5.1.6.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://www.scintilla.org/${PN}${PV//./}.tgz -> 
${P}.tgz"
 
 LICENSE="HPND lua? ( MIT )"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~arm-linux ~x86-linux"
+KEYWORDS="~amd64 ~ppc ~riscv ~x86 ~amd64-linux ~arm-linux ~x86-linux"
 IUSE="lua"
 
 REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )"



[gentoo-commits] repo/gentoo:master commit in: app-editors/scite/

2021-12-20 Thread Joonas Niilola
commit: cf17a10a2aca10a9be193f16fec81907c1831fcf
Author: Ervin Peters  ervnet  de>
AuthorDate: Sat Dec 11 09:55:13 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Dec 20 11:05:18 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf17a10a

app-editors/scite: Version bump to 5.1.6

Enhancement and upstream fixes:
https://www.scintilla.org/SciTEHistory.html

Signed-off-by: Ervin Peters  ervnet.de>
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Closes: https://github.com/gentoo/gentoo/pull/23253
Signed-off-by: Joonas Niilola  gentoo.org>

 app-editors/scite/Manifest   |   1 +
 app-editors/scite/scite-5.1.6.ebuild | 115 +++
 2 files changed, 116 insertions(+)

diff --git a/app-editors/scite/Manifest b/app-editors/scite/Manifest
index e4c9669085d3..2bd2582cc3ae 100644
--- a/app-editors/scite/Manifest
+++ b/app-editors/scite/Manifest
@@ -1,2 +1,3 @@
 DIST scite-5.1.1.tgz 3374717 BLAKE2B 
b7a45a86008eb592adacc8fde90cb637cc7cac821f339bb65920aaf912ee10d52badde3ed2e71118a7ce4690a0536b298c5fe5f673b886902ad4634b3a1ffaa6
 SHA512 
4d6c9b3ca4caed4fcb70a6b1c86a2ace13b023241f16d6faa01b3f692bcbfa14e0ce186bb08776ee0cf62768b2b77c4ffcae610ddbb6b04dcb7584fd8b3f27bb
 DIST scite-5.1.3.tgz 3427245 BLAKE2B 
ca765b61cb1fa96934c1e28d76a97cd7086a6c692ae33bb57591dfbc8637ffc94c4a3f20f9c6b55d11da8a76664f1d521f7e393bf6f31db55cbe02e0bf5052ba
 SHA512 
ef86a18f739062598d3c7bf19bcd2f38ca012e890b9b4685c1f1b809e928762ab60d24c33a1f45ca33133ce5007e3a22a76e80222b121c9a4089d3c57aa0bc4c
+DIST scite-5.1.6.tgz 3436413 BLAKE2B 
3bf578d750c844cebc187662d658556ba58934929872b74012b299e10f6057352d184542e37433e3e031fa566b28e91d51a5d00687c6a4df35301d8ceb75a795
 SHA512 
3983034e5a14d696a455375eb4ca922c458c9f74fd1d2e6c7b1735914a733978b65119b9370167227e50d20d4c6f636b96bb4d1d8eb8fe8ae1d7f7ca1c143e20

diff --git a/app-editors/scite/scite-5.1.6.ebuild 
b/app-editors/scite/scite-5.1.6.ebuild
new file mode 100644
index ..94d9b0ce9c3e
--- /dev/null
+++ b/app-editors/scite/scite-5.1.6.ebuild
@@ -0,0 +1,115 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LUA_COMPAT=( lua5-4 )
+
+inherit lua-single toolchain-funcs xdg
+
+DESCRIPTION="A very powerful, highly configurable, small editor with syntax 
coloring"
+HOMEPAGE="https://www.scintilla.org/SciTE.html;
+SRC_URI="https://www.scintilla.org/${PN}${PV//./}.tgz -> ${P}.tgz"
+
+LICENSE="HPND lua? ( MIT )"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~arm-linux ~x86-linux"
+IUSE="lua"
+
+REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )"
+
+RDEPEND="
+   dev-libs/atk
+   dev-libs/glib:2
+   x11-libs/cairo
+   x11-libs/gdk-pixbuf:2
+   x11-libs/gtk+:3
+   x11-libs/pango
+   lua? ( ${LUA_DEPS} )"
+
+DEPEND="${RDEPEND}"
+
+BDEPEND="
+   virtual/pkgconfig"
+
+DOCS=("../README")
+
+S="${WORKDIR}/${PN}/gtk"
+
+pkg_pretend() {
+   if tc-is-clang ; then
+   # need c++17 features
+   [[ "${MERGE_TYPE}" != "binary" &&
+   $(clang-major-version) -lt 5 ]] &&
+   die "Sorry, SCiTE uses C++17 Features and needs 
>sys-devel/clang-5
+   ($(clang-major-version))."
+
+   elif tc-is-gcc; then
+   # older gcc is not supported
+   [[ "${MERGE_TYPE}" != "binary" &&
+   $(gcc-major-version) -lt 7 ]] &&
+   die "Sorry, Scite uses C++17 Features, need >sys-devel/gcc-7."
+   else
+   die "Either gcc or clang should be configured for building 
scite"
+   fi
+}
+
+pkg_setup() {
+   use lua && lua-single_pkg_setup
+}
+
+src_prepare() {
+   tc-export AR CC CXX RANLIB
+
+   # remove hardcoded CC, Optimizations and clang unknown flags
+   sed -i "${WORKDIR}/scintilla/gtk/makefile" \
+   -e "s#^CC = gcc#CC = ${CC}#" \
+   -e "s#^CC = clang#CC = ${CC}#" \
+   -e "s#^CXX = clang++#CXX = ${CXX}#" \
+   -e "s#-Os##" \
+   -e "s#-Wno-misleading-indentation##" \
+   || die "error patching /scintilla/gtk/makefile"
+
+   sed -i "${S}/makefile" \
+   -e "s#^CC = clang#CC = ${CC}#" \
+   -e "s#^CXX = clang++#CXX = ${CXX}#" \
+   -e "s#-rdynamic#-rdynamic ${LDFLAGS}#" \
+   -e "s#-Os##" \
+   || die "error patching gtk/makefile"
+
+   # repair and enhance the .desktop file
+   sed -i "${S}/SciTE.desktop" \
+   -e "s#text/plain#text/\*;application/xhtml+xml#" \
+   -e "s#^Categories=\(.*\)#Categories=Development;#" \
+   || die "error patching /scite/gtk/SciTe.desktop"
+
+   #  add the ebuild suffix as shell type for working with ebuilds
+   sed -i "${WORKDIR}/scite/src/perl.properties" \
+   -e "s#\*.sh;\*.bsh;#\*.ebuild;\*.sh;\*.bsh;#" \
+   || die "error patching /scite/src/perl.properties"
+
+   # it seems that pwd here is ${S}, but user patches are relative to 
${workdir}
+   # Bug #576162
+
+   cd "${WORKDIR}" || 

[gentoo-commits] repo/gentoo:master commit in: app-editors/scite/

2021-12-11 Thread Arthur Zamarin
commit: 1ccf51ab3dbfc3fbf78e73444db3138f90b711ea
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Dec 11 19:09:50 2021 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Dec 11 19:10:18 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ccf51ab

app-editors/scite: Stabilize 5.1.3 ppc, #828328

Signed-off-by: Arthur Zamarin  gentoo.org>

 app-editors/scite/scite-5.1.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-editors/scite/scite-5.1.3.ebuild 
b/app-editors/scite/scite-5.1.3.ebuild
index 70cb41ec90a1..3defc2beced6 100644
--- a/app-editors/scite/scite-5.1.3.ebuild
+++ b/app-editors/scite/scite-5.1.3.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://www.scintilla.org/${PN}${PV//./}.tgz -> 
${P}.tgz"
 
 LICENSE="HPND lua? ( MIT )"
 SLOT="0"
-KEYWORDS="amd64 ~ppc ~riscv x86 ~amd64-linux ~arm-linux ~x86-linux"
+KEYWORDS="amd64 ppc ~riscv x86 ~amd64-linux ~arm-linux ~x86-linux"
 IUSE="lua"
 
 REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )"



[gentoo-commits] repo/gentoo:master commit in: app-editors/scite/

2021-12-11 Thread Jakov Smolić
commit: 72a91382bea23d0716a62605ad8dc1a4cd74266c
Author: Jakov Smolić  gentoo  org>
AuthorDate: Sat Dec 11 14:41:49 2021 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Sat Dec 11 14:41:49 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72a91382

app-editors/scite: Stabilize 5.1.3 x86, #828328

Signed-off-by: Jakov Smolić  gentoo.org>

 app-editors/scite/scite-5.1.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-editors/scite/scite-5.1.3.ebuild 
b/app-editors/scite/scite-5.1.3.ebuild
index 34b997763fd9..70cb41ec90a1 100644
--- a/app-editors/scite/scite-5.1.3.ebuild
+++ b/app-editors/scite/scite-5.1.3.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://www.scintilla.org/${PN}${PV//./}.tgz -> 
${P}.tgz"
 
 LICENSE="HPND lua? ( MIT )"
 SLOT="0"
-KEYWORDS="amd64 ~ppc ~riscv ~x86 ~amd64-linux ~arm-linux ~x86-linux"
+KEYWORDS="amd64 ~ppc ~riscv x86 ~amd64-linux ~arm-linux ~x86-linux"
 IUSE="lua"
 
 REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )"



[gentoo-commits] repo/gentoo:master commit in: app-editors/scite/

2021-12-11 Thread Jakov Smolić
commit: a0f3fd6b7aeaac368ba3621283516e6da9719f79
Author: Jakov Smolić  gentoo  org>
AuthorDate: Sat Dec 11 12:45:09 2021 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Sat Dec 11 12:45:09 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0f3fd6b

app-editors/scite: Stabilize 5.1.3 amd64, #828328

Signed-off-by: Jakov Smolić  gentoo.org>

 app-editors/scite/scite-5.1.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-editors/scite/scite-5.1.3.ebuild 
b/app-editors/scite/scite-5.1.3.ebuild
index 54999f9fff31..34b997763fd9 100644
--- a/app-editors/scite/scite-5.1.3.ebuild
+++ b/app-editors/scite/scite-5.1.3.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://www.scintilla.org/${PN}${PV//./}.tgz -> 
${P}.tgz"
 
 LICENSE="HPND lua? ( MIT )"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~riscv ~x86 ~amd64-linux ~arm-linux ~x86-linux"
+KEYWORDS="amd64 ~ppc ~riscv ~x86 ~amd64-linux ~arm-linux ~x86-linux"
 IUSE="lua"
 
 REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )"



[gentoo-commits] repo/gentoo:master commit in: app-editors/scite/

2021-10-29 Thread Yixun Lan
commit: a5f28cf3d528768172edb4be3a19033be3b5be37
Author: Yongxiang Liang  gmail  com>
AuthorDate: Wed Oct 27 18:11:42 2021 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Fri Oct 29 13:29:18 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5f28cf3

app-editors/scite: keyword ~riscv

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Yongxiang Liang  gmail.com>
Signed-off-by: Yixun Lan  gentoo.org>

 app-editors/scite/scite-5.1.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-editors/scite/scite-5.1.3.ebuild 
b/app-editors/scite/scite-5.1.3.ebuild
index d206fb1266d..54999f9fff3 100644
--- a/app-editors/scite/scite-5.1.3.ebuild
+++ b/app-editors/scite/scite-5.1.3.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://www.scintilla.org/${PN}${PV//./}.tgz -> 
${P}.tgz"
 
 LICENSE="HPND lua? ( MIT )"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~arm-linux ~x86-linux"
+KEYWORDS="~amd64 ~ppc ~riscv ~x86 ~amd64-linux ~arm-linux ~x86-linux"
 IUSE="lua"
 
 REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )"



[gentoo-commits] repo/gentoo:master commit in: app-editors/scite/

2021-10-04 Thread Joonas Niilola
commit: bac27c86014d36523781c64c8defcfec8d551a8d
Author: Ervin Peters  ervnet  de>
AuthorDate: Fri Sep 24 17:29:34 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Oct  4 12:32:57 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bac27c86

app-editors/scite: Version Bump to 5.1.3.

Actual enhancements and upstream bugfixes. See
http://www.scintilla.org/ScintillaHistory.html

Signed-off-by: Ervin Peters  ervnet.de>
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Closes: https://github.com/gentoo/gentoo/pull/22389
Signed-off-by: Joonas Niilola  gentoo.org>

 app-editors/scite/Manifest   |   1 +
 app-editors/scite/scite-5.1.3.ebuild | 115 +++
 2 files changed, 116 insertions(+)

diff --git a/app-editors/scite/Manifest b/app-editors/scite/Manifest
index f1e5139c084..8c3caadf3bd 100644
--- a/app-editors/scite/Manifest
+++ b/app-editors/scite/Manifest
@@ -1,2 +1,3 @@
 DIST scite-4.4.4.tgz 2775628 BLAKE2B 
a7607b53bf529c56f6525d44b052a08c914d8aa1d90d475dcf46927ac5ce83c06d68b70e8d8e8969c77c367240ba1e7ac10d599c77002575e84b9baf6445d03b
 SHA512 
1e8529286206d542e0c07353b73ab38aa9ee2e2256ed8e15328965e00a33eb026f79bd7d330253e8743cf5503fadb32c64162973ad21da16993f11e124842ec0
 DIST scite-5.1.1.tgz 3374717 BLAKE2B 
b7a45a86008eb592adacc8fde90cb637cc7cac821f339bb65920aaf912ee10d52badde3ed2e71118a7ce4690a0536b298c5fe5f673b886902ad4634b3a1ffaa6
 SHA512 
4d6c9b3ca4caed4fcb70a6b1c86a2ace13b023241f16d6faa01b3f692bcbfa14e0ce186bb08776ee0cf62768b2b77c4ffcae610ddbb6b04dcb7584fd8b3f27bb
+DIST scite-5.1.3.tgz 3427245 BLAKE2B 
ca765b61cb1fa96934c1e28d76a97cd7086a6c692ae33bb57591dfbc8637ffc94c4a3f20f9c6b55d11da8a76664f1d521f7e393bf6f31db55cbe02e0bf5052ba
 SHA512 
ef86a18f739062598d3c7bf19bcd2f38ca012e890b9b4685c1f1b809e928762ab60d24c33a1f45ca33133ce5007e3a22a76e80222b121c9a4089d3c57aa0bc4c

diff --git a/app-editors/scite/scite-5.1.3.ebuild 
b/app-editors/scite/scite-5.1.3.ebuild
new file mode 100644
index 000..d206fb1266d
--- /dev/null
+++ b/app-editors/scite/scite-5.1.3.ebuild
@@ -0,0 +1,115 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LUA_COMPAT=( lua5-1 )
+
+inherit lua-single toolchain-funcs xdg
+
+DESCRIPTION="A very powerful, highly configurable, small editor with syntax 
coloring"
+HOMEPAGE="https://www.scintilla.org/SciTE.html;
+SRC_URI="https://www.scintilla.org/${PN}${PV//./}.tgz -> ${P}.tgz"
+
+LICENSE="HPND lua? ( MIT )"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~arm-linux ~x86-linux"
+IUSE="lua"
+
+REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )"
+
+RDEPEND="
+   dev-libs/atk
+   dev-libs/glib:2
+   x11-libs/cairo
+   x11-libs/gdk-pixbuf:2
+   x11-libs/gtk+:3
+   x11-libs/pango
+   lua? ( ${LUA_DEPS} )"
+
+DEPEND="${RDEPEND}"
+
+BDEPEND="
+   virtual/pkgconfig"
+
+DOCS=("../README")
+
+S="${WORKDIR}/${PN}/gtk"
+
+pkg_pretend() {
+   if tc-is-clang ; then
+   # need c++17 features
+   [[ "${MERGE_TYPE}" != "binary" &&
+   $(clang-major-version) -lt 5 ]] &&
+   die "Sorry, SCiTE uses C++17 Features and needs 
>sys-devel/clang-5
+   ($(clang-major-version))."
+
+   elif tc-is-gcc; then
+   # older gcc is not supported
+   [[ "${MERGE_TYPE}" != "binary" &&
+   $(gcc-major-version) -lt 7 ]] &&
+   die "Sorry, Scite uses C++17 Features, need >sys-devel/gcc-7."
+   else
+   die "Either gcc or clang should be configured for building 
scite"
+   fi
+}
+
+pkg_setup() {
+   use lua && lua-single_pkg_setup
+}
+
+src_prepare() {
+   tc-export AR CC CXX RANLIB
+
+   # remove hardcoded CC, Optimizations and clang unknown flags
+   sed -i "${WORKDIR}/scintilla/gtk/makefile" \
+   -e "s#^CC = gcc#CC = ${CC}#" \
+   -e "s#^CC = clang#CC = ${CC}#" \
+   -e "s#^CXX = clang++#CXX = ${CXX}#" \
+   -e "s#-Os##" \
+   -e "s#-Wno-misleading-indentation##" \
+   || die "error patching /scintilla/gtk/makefile"
+
+   sed -i "${S}/makefile" \
+   -e "s#^CC = clang#CC = ${CC}#" \
+   -e "s#^CXX = clang++#CXX = ${CXX}#" \
+   -e "s#-rdynamic#-rdynamic ${LDFLAGS}#" \
+   -e "s#-Os##" \
+   || die "error patching gtk/makefile"
+
+   # repair and enhance the .desktop file
+   sed -i "${S}/SciTE.desktop" \
+   -e "s#text/plain#text/\*;application/xhtml+xml#" \
+   -e "s#^Categories=\(.*\)#Categories=Development;#" \
+   || die "error patching /scite/gtk/SciTe.desktop"
+
+   #  add the ebuild suffix as shell type for working with ebuilds
+   sed -i "${WORKDIR}/scite/src/perl.properties" \
+   -e "s#\*.sh;\*.bsh;#\*.ebuild;\*.sh;\*.bsh;#" \
+   || die "error patching /scite/src/perl.properties"
+
+   # it seems that pwd here is ${S}, but user patches are relative to 
${workdir}
+   # Bug #576162
+
+   cd 

[gentoo-commits] repo/gentoo:master commit in: app-editors/scite/

2021-09-21 Thread Sam James
commit: 5d025a5541d455e84e319d740e266c7b295ea1bf
Author: Sam James  gentoo  org>
AuthorDate: Tue Sep 21 16:33:50 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Sep 21 16:33:50 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d025a55

app-editors/scite: Stabilize 5.1.1 ppc, #786447

Signed-off-by: Sam James  gentoo.org>

 app-editors/scite/scite-5.1.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-editors/scite/scite-5.1.1.ebuild 
b/app-editors/scite/scite-5.1.1.ebuild
index b7bd1bf0877..c3e280ecf80 100644
--- a/app-editors/scite/scite-5.1.1.ebuild
+++ b/app-editors/scite/scite-5.1.1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://www.scintilla.org/${PN}${PV//./}.tgz -> 
${P}.tgz"
 
 LICENSE="HPND lua? ( MIT )"
 SLOT="0"
-KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~arm-linux ~x86-linux"
+KEYWORDS="amd64 ppc x86 ~amd64-linux ~arm-linux ~x86-linux"
 IUSE="lua"
 
 REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )"



[gentoo-commits] repo/gentoo:master commit in: app-editors/scite/

2021-09-19 Thread Sam James
commit: 559327401a3406ed9fab6e0f9d414745fd519074
Author: Sam James  gentoo  org>
AuthorDate: Sun Sep 19 22:10:09 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Sep 19 22:10:09 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55932740

app-editors/scite: Stabilize 5.1.1 x86, #786447

Signed-off-by: Sam James  gentoo.org>

 app-editors/scite/scite-5.1.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-editors/scite/scite-5.1.1.ebuild 
b/app-editors/scite/scite-5.1.1.ebuild
index d206fb1266d..4a6987556a2 100644
--- a/app-editors/scite/scite-5.1.1.ebuild
+++ b/app-editors/scite/scite-5.1.1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://www.scintilla.org/${PN}${PV//./}.tgz -> 
${P}.tgz"
 
 LICENSE="HPND lua? ( MIT )"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~arm-linux ~x86-linux"
+KEYWORDS="~amd64 ~ppc x86 ~amd64-linux ~arm-linux ~x86-linux"
 IUSE="lua"
 
 REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )"



[gentoo-commits] repo/gentoo:master commit in: app-editors/scite/

2021-09-19 Thread Sam James
commit: 3f28c2513bba2e84d6af5f9a815a90370704cbae
Author: Sam James  gentoo  org>
AuthorDate: Sun Sep 19 22:11:02 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Sep 19 22:11:02 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f28c251

app-editors/scite: Stabilize 5.1.1 amd64, #786447

Signed-off-by: Sam James  gentoo.org>

 app-editors/scite/scite-5.1.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-editors/scite/scite-5.1.1.ebuild 
b/app-editors/scite/scite-5.1.1.ebuild
index 4a6987556a2..b7bd1bf0877 100644
--- a/app-editors/scite/scite-5.1.1.ebuild
+++ b/app-editors/scite/scite-5.1.1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://www.scintilla.org/${PN}${PV//./}.tgz -> 
${P}.tgz"
 
 LICENSE="HPND lua? ( MIT )"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc x86 ~amd64-linux ~arm-linux ~x86-linux"
+KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~arm-linux ~x86-linux"
 IUSE="lua"
 
 REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )"



[gentoo-commits] repo/gentoo:master commit in: app-editors/scite/

2021-09-10 Thread Joonas Niilola
commit: 944c2547a0ac1729be6ecdf9d1af0e2d09cce038
Author: Ervin Peters  ervnet  de>
AuthorDate: Sat Sep  4 07:15:31 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Fri Sep 10 07:22:23 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=944c2547

app-editors/scite: version bump to 5.1.1

Upstream Bugfixes extracted lexer lib,
compatible with gcc-11 (bug #786447)

Bug: https://bugs.gentoo.org/786447
Signed-off-by: Ervin Peters  ervnet.de>
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Closes: https://github.com/gentoo/gentoo/pull/22211
Signed-off-by: Joonas Niilola  gentoo.org>

 app-editors/scite/Manifest   |   1 +
 app-editors/scite/scite-5.1.1.ebuild | 124 +++
 2 files changed, 125 insertions(+)

diff --git a/app-editors/scite/Manifest b/app-editors/scite/Manifest
index 23796f2da8a..f1e5139c084 100644
--- a/app-editors/scite/Manifest
+++ b/app-editors/scite/Manifest
@@ -1 +1,2 @@
 DIST scite-4.4.4.tgz 2775628 BLAKE2B 
a7607b53bf529c56f6525d44b052a08c914d8aa1d90d475dcf46927ac5ce83c06d68b70e8d8e8969c77c367240ba1e7ac10d599c77002575e84b9baf6445d03b
 SHA512 
1e8529286206d542e0c07353b73ab38aa9ee2e2256ed8e15328965e00a33eb026f79bd7d330253e8743cf5503fadb32c64162973ad21da16993f11e124842ec0
+DIST scite-5.1.1.tgz 3374717 BLAKE2B 
b7a45a86008eb592adacc8fde90cb637cc7cac821f339bb65920aaf912ee10d52badde3ed2e71118a7ce4690a0536b298c5fe5f673b886902ad4634b3a1ffaa6
 SHA512 
4d6c9b3ca4caed4fcb70a6b1c86a2ace13b023241f16d6faa01b3f692bcbfa14e0ce186bb08776ee0cf62768b2b77c4ffcae610ddbb6b04dcb7584fd8b3f27bb

diff --git a/app-editors/scite/scite-5.1.1.ebuild 
b/app-editors/scite/scite-5.1.1.ebuild
new file mode 100644
index 000..e00df8c904a
--- /dev/null
+++ b/app-editors/scite/scite-5.1.1.ebuild
@@ -0,0 +1,124 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+LUA_COMPAT=( lua5-1 )
+
+inherit lua-single toolchain-funcs xdg-utils
+
+DESCRIPTION="A very powerful, highly configurable, small editor with syntax 
coloring"
+HOMEPAGE="https://www.scintilla.org/SciTE.html;
+SRC_URI="https://www.scintilla.org/${PN}${PV//./}.tgz -> ${P}.tgz"
+
+LICENSE="HPND lua? ( MIT )"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~arm-linux ~x86-linux"
+IUSE="lua"
+
+REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )"
+
+RDEPEND="
+   dev-libs/glib:2
+   x11-libs/cairo
+   x11-libs/gdk-pixbuf
+   x11-libs/gtk+:3
+   x11-libs/pango
+   lua? ( ${LUA_DEPS} )"
+
+DEPEND="${RDEPEND}"
+
+BDEPEND="
+   virtual/pkgconfig"
+
+DOCS=("../README")
+
+S="${WORKDIR}/${PN}/gtk"
+
+pkg_pretend() {
+   if tc-is-clang ; then
+   # need c++17 features
+   [[ "${MERGE_TYPE}" != "binary" &&
+   $(clang-major-version) -lt 5 ]] &&
+   die "Sorry, SCiTE uses C++17 Features and needs 
>sys-devel/clang-5
+   ($(clang-major-version))."
+
+   elif tc-is-gcc; then
+   # older gcc is not supported
+   [[ "${MERGE_TYPE}" != "binary" &&
+   $(gcc-major-version) -lt 7 ]] &&
+   die "Sorry, Scite uses C++17 Features, need >sys-devel/gcc-7."
+   else
+   die "Either gcc or clang should be configured for building 
scite"
+   fi
+}
+
+pkg_setup() {
+   use lua && lua-single_pkg_setup
+}
+
+src_prepare() {
+   tc-export AR CC CXX RANLIB
+
+   # remove hardcoded CC, Optimizations and clang unknown flags
+   sed -i "${WORKDIR}/scintilla/gtk/makefile" \
+   -e "s#^CC = gcc#CC = ${CC}#" \
+   -e "s#^CC = clang#CC = ${CC}#" \
+   -e "s#^CXX = clang++#CXX = ${CXX}#" \
+   -e "s#-Os##" \
+   -e "s#-Wno-misleading-indentation##" \
+   || die "error patching /scintilla/gtk/makefile"
+
+   sed -i "${S}/makefile" \
+   -e "s#^CC = clang#CC = ${CC}#" \
+   -e "s#^CXX = clang++#CXX = ${CXX}#" \
+   -e "s#-rdynamic#-rdynamic ${LDFLAGS}#" \
+   -e "s#-Os##" \
+   || die "error patching gtk/makefile"
+
+   # repair and enhance the .desktop file
+   sed -i "${S}/SciTE.desktop" \
+   -e "s#text/plain#text/\*;application/xhtml+xml#" \
+   -e "s#^Categories=\(.*\)#Categories=Development;#" \
+   || die "error patching /scite/gtk/SciTe.desktop"
+
+   #  add the ebuild suffix as shell type for working with ebuilds
+   sed -i "${WORKDIR}/scite/src/perl.properties" \
+   -e "s#\*.sh;\*.bsh;#\*.ebuild;\*.sh;\*.bsh;#" \
+   || die "error patching /scite/src/perl.properties"
+
+   # it seems that pwd here is ${S}, but user patches are relative to 
${workdir}
+   # Bug #576162
+
+   cd "${WORKDIR}" || die "couldn't cd into ${WORKDIR}"
+   eapply_user
+}
+
+src_compile() {
+   # prepare make options
+   local emake_pars=("GTK3=1")
+
+   tc-is-clang && emake_pars+=("CLANG=1")
+   use !lua&& emake_pars+=("NO_LUA=1")
+
+   emake -C "${WORKDIR}/lexilla/src" 

[gentoo-commits] repo/gentoo:master commit in: app-editors/scite/

2021-09-10 Thread Joonas Niilola
commit: 7c5497ebd682c50be1d84c30093c8c75fc39a5cd
Author: Joonas Niilola  gentoo  org>
AuthorDate: Fri Sep 10 06:45:47 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Fri Sep 10 07:22:24 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c5497eb

app-editors/scite: add missing deps for 5.1.1

Signed-off-by: Joonas Niilola  gentoo.org>

 app-editors/scite/scite-5.1.1.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/app-editors/scite/scite-5.1.1.ebuild 
b/app-editors/scite/scite-5.1.1.ebuild
index 29dbe573050..d206fb1266d 100644
--- a/app-editors/scite/scite-5.1.1.ebuild
+++ b/app-editors/scite/scite-5.1.1.ebuild
@@ -19,9 +19,10 @@ IUSE="lua"
 REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )"
 
 RDEPEND="
+   dev-libs/atk
dev-libs/glib:2
x11-libs/cairo
-   x11-libs/gdk-pixbuf
+   x11-libs/gdk-pixbuf:2
x11-libs/gtk+:3
x11-libs/pango
lua? ( ${LUA_DEPS} )"



[gentoo-commits] repo/gentoo:master commit in: app-editors/scite/

2021-09-10 Thread Joonas Niilola
commit: 9f2d47ce48d23a56b1129c30141047132f7b5696
Author: Joonas Niilola  gentoo  org>
AuthorDate: Fri Sep 10 06:45:20 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Fri Sep 10 07:22:23 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f2d47ce

app-editors/scite: update EAPI 7 -> 8

Signed-off-by: Joonas Niilola  gentoo.org>

 app-editors/scite/scite-5.1.1.ebuild | 14 ++
 1 file changed, 2 insertions(+), 12 deletions(-)

diff --git a/app-editors/scite/scite-5.1.1.ebuild 
b/app-editors/scite/scite-5.1.1.ebuild
index e00df8c904a..29dbe573050 100644
--- a/app-editors/scite/scite-5.1.1.ebuild
+++ b/app-editors/scite/scite-5.1.1.ebuild
@@ -1,11 +1,11 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 LUA_COMPAT=( lua5-1 )
 
-inherit lua-single toolchain-funcs xdg-utils
+inherit lua-single toolchain-funcs xdg
 
 DESCRIPTION="A very powerful, highly configurable, small editor with syntax 
coloring"
 HOMEPAGE="https://www.scintilla.org/SciTE.html;
@@ -112,13 +112,3 @@ src_install() {
default
dosym SciTE /usr/bin/scite
 }
-
-pkg_postinst() {
-   xdg_icon_cache_update
-   xdg_desktop_database_update
-}
-
-pkg_postrm() {
-   xdg_icon_cache_update
-   xdg_desktop_database_update
-}



[gentoo-commits] repo/gentoo:master commit in: app-editors/scite/, profiles/

2020-12-07 Thread Joonas Niilola
commit: b2abc9c8da4427601dd4d03f8c7f007e4acaabcc
Author: Joonas Niilola  gentoo  org>
AuthorDate: Mon Dec  7 13:46:06 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Dec  7 13:46:06 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2abc9c8

app-editors/scite: migrate to lua-single.eclass

Closes: https://bugs.gentoo.org/752531
Signed-off-by: Joonas Niilola  gentoo.org>

 app-editors/scite/scite-4.4.4-r10.ebuild | 119 +++
 profiles/package.mask|   1 +
 2 files changed, 120 insertions(+)

diff --git a/app-editors/scite/scite-4.4.4-r10.ebuild 
b/app-editors/scite/scite-4.4.4-r10.ebuild
new file mode 100644
index 000..cc44dcb5cad
--- /dev/null
+++ b/app-editors/scite/scite-4.4.4-r10.ebuild
@@ -0,0 +1,119 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+LUA_COMPAT=( lua5-1 )
+
+inherit lua-single toolchain-funcs xdg-utils
+
+DESCRIPTION="A very powerful, highly configurable, small editor with syntax 
coloring"
+HOMEPAGE="https://www.scintilla.org/SciTE.html;
+SRC_URI="https://www.scintilla.org/${PN}${PV//./}.tgz -> ${P}.tgz"
+
+LICENSE="HPND lua? ( MIT )"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~arm-linux ~x86-linux"
+IUSE="lua"
+
+REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )"
+
+RDEPEND="
+   dev-libs/glib:2
+   x11-libs/cairo
+   x11-libs/gdk-pixbuf
+   x11-libs/gtk+:3
+   x11-libs/pango
+   lua? ( ${LUA_DEPS} )"
+
+DEPEND="${RDEPEND}"
+
+BDEPEND="
+   virtual/pkgconfig"
+
+DOCS=("../README")
+
+S="${WORKDIR}/${PN}/gtk"
+
+pkg_pretend() {
+   if tc-is-clang ; then
+   # need c++17 features
+   [[ "${MERGE_TYPE}" != "binary" &&
+   $(clang-major-version) -lt 5 ]] &&
+   die "Sorry, SCiTE uses C++17 Features and needs 
>sys-devel/clang-5
+   ($(clang-major-version))."
+
+   elif tc-is-gcc; then
+   # older gcc is not supported
+   [[ "${MERGE_TYPE}" != "binary" &&
+   $(gcc-major-version) -lt 7 ]] &&
+   die "Sorry, Scite uses C++17 Features, need >sys-devel/gcc-7."
+   else
+   die "Either gcc or clang should be configured for building 
scite"
+   fi
+}
+
+src_prepare() {
+   tc-export AR CC CXX RANLIB
+
+   # remove hardcoded CC, Optimizations and clang unknown flags
+   sed -i "${WORKDIR}/scintilla/gtk/makefile" \
+   -e "s#^CC = gcc#CC = ${CC}#" \
+   -e "s#^CC = clang#CC = ${CC}#" \
+   -e "s#^CXX = clang++#CXX = ${CXX}#" \
+   -e "s#-Os##" \
+   -e "s#-Wno-misleading-indentation##" \
+   || die "error patching /scintilla/gtk/makefile"
+
+   sed -i "${S}/makefile" \
+   -e "s#^CC = clang#CC = ${CC}#" \
+   -e "s#^CXX = clang++#CXX = ${CXX}#" \
+   -e "s#-rdynamic#-rdynamic ${LDFLAGS}#" \
+   -e "s#-Os##" \
+   || die "error patching gtk/makefile"
+
+   # repair and enhance the .desktop file
+   sed -i "${S}/SciTE.desktop" \
+   -e "s#text/plain#text/\*;application/xhtml+xml#" \
+   -e "s#^Categories=\(.*\)#Categories=Development;#" \
+   || die "error patching /scite/gtk/SciTe.desktop"
+
+   #  add the ebuild suffix as shell type for working with ebuilds
+   sed -i "${WORKDIR}/scite/src/perl.properties" \
+   -e "s#\*.sh;\*.bsh;#\*.ebuild;\*.sh;\*.bsh;#" \
+   || die "error patching /scite/src/perl.properties"
+
+   # it seems that pwd here is ${S}, but user patches are relative to 
${workdir}
+   # Bug #576162
+
+   cd "${WORKDIR}" || die "couldn't cd into ${WORKDIR}"
+   eapply_user
+}
+
+src_compile() {
+   # prepare make options
+   local emake_pars=("GTK3=1")
+
+   tc-is-clang && emake_pars+=("CLANG=1")
+   use !lua&& emake_pars+=("NO_LUA=1")
+
+   emake -C "${WORKDIR}/scintilla/gtk" "${emake_pars[@]}"
+   emake "${emake_pars[@]}"
+}
+
+# want to use the base src_install() as base_src_install()
+
+src_install() {
+   default
+   dosym SciTE /usr/bin/scite
+}
+
+pkg_postinst() {
+   xdg_icon_cache_update
+   xdg_desktop_database_update
+}
+
+pkg_postrm() {
+   xdg_icon_cache_update
+   xdg_desktop_database_update
+}

diff --git a/profiles/package.mask b/profiles/package.mask
index ac51af5d9ea..dc77a49acb7 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -519,6 +519,7 @@ gnome-base/orbit
 >=app-benchmarks/wrk-4.1.0-r100
 >=app-crypt/cardpeek-0.8.4
 >=app-crypt/ekeyd-1.1.5-r100
+=app-editors/scite-4.4.4-r10
 >=app-misc/worker-3.8.3-r100
 >=dev-games/cegui-0.8.7-r100
 =dev-games/openscenegraph-openmw-3.4_p20200425-r100



[gentoo-commits] repo/gentoo:master commit in: app-editors/scite/

2020-12-03 Thread Marek Szuba
commit: 4b58f0b00088f9b87e808a9f67420066aefeabef
Author: Marek Szuba  gentoo  org>
AuthorDate: Thu Dec  3 22:24:29 2020 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Thu Dec  3 22:55:25 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b58f0b0

app-editors/scite: limit unmigrated ebuilds to dev-lang/lua:0

Signed-off-by: Marek Szuba  gentoo.org>

 app-editors/scite/scite-4.2.1.ebuild | 2 +-
 app-editors/scite/scite-4.3.3.ebuild | 2 +-
 app-editors/scite/scite-4.4.4.ebuild | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/app-editors/scite/scite-4.2.1.ebuild 
b/app-editors/scite/scite-4.2.1.ebuild
index 648761d8d38..b235fe2b806 100644
--- a/app-editors/scite/scite-4.2.1.ebuild
+++ b/app-editors/scite/scite-4.2.1.ebuild
@@ -21,7 +21,7 @@ RDEPEND="
x11-libs/gdk-pixbuf
x11-libs/gtk+:3=
x11-libs/pango
-   lua? ( >=dev-lang/lua-5:= )"
+   lua? ( >=dev-lang/lua-5:0= )"
 
 DEPEND="${RDEPEND}
virtual/pkgconfig"

diff --git a/app-editors/scite/scite-4.3.3.ebuild 
b/app-editors/scite/scite-4.3.3.ebuild
index 9878fd6a6b6..791fb5eabe6 100644
--- a/app-editors/scite/scite-4.3.3.ebuild
+++ b/app-editors/scite/scite-4.3.3.ebuild
@@ -20,7 +20,7 @@ RDEPEND="
x11-libs/gdk-pixbuf
x11-libs/gtk+:3
x11-libs/pango
-   lua? ( >=dev-lang/lua-5:= )"
+   lua? ( >=dev-lang/lua-5:0= )"
 
 DEPEND="${RDEPEND}"
 

diff --git a/app-editors/scite/scite-4.4.4.ebuild 
b/app-editors/scite/scite-4.4.4.ebuild
index 9878fd6a6b6..791fb5eabe6 100644
--- a/app-editors/scite/scite-4.4.4.ebuild
+++ b/app-editors/scite/scite-4.4.4.ebuild
@@ -20,7 +20,7 @@ RDEPEND="
x11-libs/gdk-pixbuf
x11-libs/gtk+:3
x11-libs/pango
-   lua? ( >=dev-lang/lua-5:= )"
+   lua? ( >=dev-lang/lua-5:0= )"
 
 DEPEND="${RDEPEND}"
 



[gentoo-commits] repo/gentoo:master commit in: app-editors/scite/

2020-08-21 Thread Joonas Niilola
commit: dbe0cbd3f6fd845bd57ab2e41d006f24f5be1e6f
Author: Ervin Peters  ervnet  de>
AuthorDate: Tue Aug 11 13:29:56 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Fri Aug 21 07:14:44 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dbe0cbd3

app-editors/scite: sed fixes

fixed makefile CXX var errors

Bug: https://bugs.gentoo.org/728426
CLOSES: https://bugs.gentoo.org/728426
Signed-off-by: Ervin Peters  ervnet.de>
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Joonas Niilola  gentoo.org>

 app-editors/scite/scite-4.2.1.ebuild | 8 +---
 app-editors/scite/scite-4.3.3.ebuild | 8 +---
 2 files changed, 10 insertions(+), 6 deletions(-)

diff --git a/app-editors/scite/scite-4.2.1.ebuild 
b/app-editors/scite/scite-4.2.1.ebuild
index 6b9aa913c83..648761d8d38 100644
--- a/app-editors/scite/scite-4.2.1.ebuild
+++ b/app-editors/scite/scite-4.2.1.ebuild
@@ -47,18 +47,20 @@ pkg_pretend() {
 }
 
 src_prepare() {
+   tc-export AR CC CXX RANLIB
+
# remove hardcoded CC, Optimizations and clang unknown flags
sed -i "${WORKDIR}/scintilla/gtk/makefile" \
-e "s#^CC = gcc#CC = ${CC}#" \
-e "s#^CC = clang#CC = ${CC}#" \
-   -e "s#^CXX = clang++#CC = ${CXX}#" \
+   -e "s#^CXX = clang++#CXX = ${CXX}#" \
-e "s#-Os##" \
-e "s#-Wno-misleading-indentation##" \
|| die "error patching /scintilla/gtk/makefile"
 
sed -i "${S}/makefile" \
-e "s#^CC = clang#CC = ${CC}#" \
-   -e "s#^CXX = clang++#CC = ${CXX}#" \
+   -e "s#^CXX = clang++#CXX = ${CXX}#" \
-e "s#-rdynamic#-rdynamic ${LDFLAGS}#" \
-e "s#-Os##" \
|| die "error patching gtk/makefile"
@@ -72,7 +74,7 @@ src_prepare() {
#  add the ebuild suffix as shell type for working with ebuilds
sed -i "${WORKDIR}/scite/src/perl.properties" \
-e "s#\*.sh;\*.bsh;#\*.ebuild;\*.sh;\*.bsh;#" \
-   || die "error patching /scite/src/perl.prperties"
+   || die "error patching /scite/src/perl.properties"
 
# it seems that pwd here is ${S}, but user patches are relative to 
${workdir}
# Bug #576162

diff --git a/app-editors/scite/scite-4.3.3.ebuild 
b/app-editors/scite/scite-4.3.3.ebuild
index 186e3d50d59..9878fd6a6b6 100644
--- a/app-editors/scite/scite-4.3.3.ebuild
+++ b/app-editors/scite/scite-4.3.3.ebuild
@@ -50,18 +50,20 @@ pkg_pretend() {
 }
 
 src_prepare() {
+   tc-export AR CC CXX RANLIB
+
# remove hardcoded CC, Optimizations and clang unknown flags
sed -i "${WORKDIR}/scintilla/gtk/makefile" \
-e "s#^CC = gcc#CC = ${CC}#" \
-e "s#^CC = clang#CC = ${CC}#" \
-   -e "s#^CXX = clang++#CC = ${CXX}#" \
+   -e "s#^CXX = clang++#CXX = ${CXX}#" \
-e "s#-Os##" \
-e "s#-Wno-misleading-indentation##" \
|| die "error patching /scintilla/gtk/makefile"
 
sed -i "${S}/makefile" \
-e "s#^CC = clang#CC = ${CC}#" \
-   -e "s#^CXX = clang++#CC = ${CXX}#" \
+   -e "s#^CXX = clang++#CXX = ${CXX}#" \
-e "s#-rdynamic#-rdynamic ${LDFLAGS}#" \
-e "s#-Os##" \
|| die "error patching gtk/makefile"
@@ -75,7 +77,7 @@ src_prepare() {
#  add the ebuild suffix as shell type for working with ebuilds
sed -i "${WORKDIR}/scite/src/perl.properties" \
-e "s#\*.sh;\*.bsh;#\*.ebuild;\*.sh;\*.bsh;#" \
-   || die "error patching /scite/src/perl.prperties"
+   || die "error patching /scite/src/perl.properties"
 
# it seems that pwd here is ${S}, but user patches are relative to 
${workdir}
# Bug #576162



[gentoo-commits] repo/gentoo:master commit in: app-editors/scite/

2020-08-21 Thread Joonas Niilola
commit: 1b9b17c1c1f3d15213987f4093ed7dc572467488
Author: Ervin Peters  ervnet  de>
AuthorDate: Tue Aug 11 11:58:12 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Fri Aug 21 07:14:43 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b9b17c1

app-editors/scite: removed old versions

Signed-off-by: Ervin Peters  ervnet.de>
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Joonas Niilola  gentoo.org>

 app-editors/scite/Manifest   |   3 -
 app-editors/scite/scite-4.1.3.ebuild | 119 ---
 app-editors/scite/scite-4.2.0.ebuild | 119 ---
 app-editors/scite/scite-4.3.2.ebuild | 113 -
 4 files changed, 354 deletions(-)

diff --git a/app-editors/scite/Manifest b/app-editors/scite/Manifest
index 212ac9a7c22..add9116f568 100644
--- a/app-editors/scite/Manifest
+++ b/app-editors/scite/Manifest
@@ -1,5 +1,2 @@
-DIST scite-4.1.3.tgz 2546247 BLAKE2B 
9c0cd767e6aff861bb706500eebf5fa431d5ce608f37a9b19d2af7d558698eb3073a33fcdd0900abb549aa9ed65981a9f217dc1dae4b21be919c380d20d4ee8f
 SHA512 
875dd44785e9c96a264df9061830c7ab51296061da7765084ec4445d7f529dabecebcfadc5a1d8cab9074ffd588903ca056ed5de0ae974d60a5c57b13d61550d
-DIST scite-4.2.0.tgz 2629884 BLAKE2B 
f9801146a086faefb38b72d28e00da055191c44254e5a6d34ade06462febd6a2b596aa572dd7e16c7541b0fcc23ff5f97f462b8869440782fd51f71ddd16d4c9
 SHA512 
d0a46ed2a21057a4fa866ae9305c9893360376d8591a9414eab96f9cb91991a43f3bf824bbb9a00c606555686aafdc0dc4b4bb41bcc94fe5dc90064342914c5a
 DIST scite-4.2.1.tgz 2633438 BLAKE2B 
cddf23f60eb1791266e38eba03ed8708aa02e0d91470344b19bfad7519930691a4b6a79b1eed3ac06234509b20fbd6b299c13c48a6990e0d8ced1a99a1d01220
 SHA512 
b2ad499f1c4d1a15b009516d24186c7d84f48ccdd40d2e9ca614de3cf36725a710523beaacda499186f040869e87339c2292e23eec959c2cdaa5fedfbb94d565
-DIST scite-4.3.2.tgz 2710026 BLAKE2B 
dd53eb2c3214033976ae4c5f63f75ea19d691ac9362e9d8ed527aff6b34d16e029d404d9731e3097cdf36d4c4594b427aa26bc9b83cb6a6ed05741e61fe4dfd4
 SHA512 
fd29369787f16c8357ae4bfd82b7f621ebb399e93e77c7540296c2a3c8b4e403071359f67f59bb5bd59216ae7e9cfa8aabfc38e200d59bea2c13e96991a3c9b8
 DIST scite-4.3.3.tgz 2714086 BLAKE2B 
f31db7147c102ea19317d5a0bfb64e2ccd34914a8b615cd6c02f2e79f1788433dd3ecd6a565599d43a0c4da34ac30e9434037a042d77170f14969d3b008a742f
 SHA512 
85bc76bc9bb817fb0f7ddecad5e01d83d7090e788c2f74b9b23a86284f452a62c2fed64d0cf7c24cb57043228b8c91212742b644756d2ab185b10ead8785b82b

diff --git a/app-editors/scite/scite-4.1.3.ebuild 
b/app-editors/scite/scite-4.1.3.ebuild
deleted file mode 100644
index 01cbf1b3637..000
--- a/app-editors/scite/scite-4.1.3.ebuild
+++ /dev/null
@@ -1,119 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit gnome2-utils toolchain-funcs xdg-utils
-
-MY_PV=${PV//./}
-DESCRIPTION="A very powerful, highly configurable, small editor with syntax 
coloring"
-HOMEPAGE="https://www.scintilla.org/SciTE.html;
-SRC_URI="https://www.scintilla.org/${PN}${MY_PV}.tgz -> ${P}.tgz"
-
-LICENSE="HPND lua? ( MIT )"
-SLOT="0"
-KEYWORDS="amd64 ppc x86 ~amd64-linux ~arm-linux ~x86-linux"
-IUSE="lua"
-
-RDEPEND="
-   dev-libs/glib:=
-   x11-libs/cairo
-   x11-libs/gdk-pixbuf
-   x11-libs/gtk+:3=
-   x11-libs/pango
-   lua? ( >=dev-lang/lua-5:= )
-"
-
-DEPEND="${RDEPEND}
-   virtual/pkgconfig"
-
-S="${WORKDIR}/${PN}/gtk"
-
-pkg_pretend() {
-   if tc-is-clang ; then
-   # need c++17 features
-   [[ "${MERGE_TYPE}" != "binary" &&
-   $(clang-major-version) -lt 5 ]] &&
-   die "Sorry, SCiTE uses C++17 Features and needs 
>sys-devel/clang-5
-   ($(clang-major-version))."
-
-   elif tc-is-gcc; then
-   # older gcc is not supported
-   [[ "${MERGE_TYPE}" != "binary" &&
-   $(gcc-major-version) -lt 7 ]] &&
-   die "Sorry, Scite uses C++17 Features, need >sys-devel/gcc-7."
-   else
-   die "Either gcc or clang should be configured for building 
scite"
-   fi
-}
-
-src_prepare() {
-   # remove hardcoded CC, Optimizations and clang unknown flags
-   sed -i "${WORKDIR}/scintilla/gtk/makefile" \
-   -e "s#^CC = gcc#CC = ${CC}#" \
-   -e "s#^CC = clang#CC = ${CC}#" \
-   -e "s#^CXX = clang++#CC = ${CXX}#" \
-   -e "s#-Os##" \
-   -e "s#-Wno-misleading-indentation##" \
-   || die "error patching /scintilla/gtk/makefile"
-
-   sed -i "${S}/makefile" \
-   -e "s#^CC = clang#CC = ${CC}#" \
-   -e "s#^CXX = clang++#CC = ${CXX}#" \
-   -e "s#-rdynamic#-rdynamic ${LDFLAGS}#" \
-   -e "s#-Os##" \
-   || die "error patching gtk/makefile"
-
-   # repair and enhance the .desktop file
-   sed -i "${S}/SciTE.desktop" \
-   -e 

[gentoo-commits] repo/gentoo:master commit in: app-editors/scite/

2020-08-21 Thread Joonas Niilola
commit: 68824c1fc81fa72c1fac0f7369af575a5a52a001
Author: Ervin Peters  ervnet  de>
AuthorDate: Tue Aug 11 13:52:19 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Fri Aug 21 07:14:44 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68824c1f

app-editors/scite: Version bump to 4.4.4

Actual enhancements and upstream bugfixes. See
http://www.scintilla.org/ScintillaHistory.html

Signed-off-by: Ervin Peters  ervnet.de>
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Closes: https://github.com/gentoo/gentoo/pull/17080
Signed-off-by: Joonas Niilola  gentoo.org>

 app-editors/scite/Manifest   |   1 +
 app-editors/scite/scite-4.4.4.ebuild | 115 +++
 2 files changed, 116 insertions(+)

diff --git a/app-editors/scite/Manifest b/app-editors/scite/Manifest
index add9116f568..e80bd581f72 100644
--- a/app-editors/scite/Manifest
+++ b/app-editors/scite/Manifest
@@ -1,2 +1,3 @@
 DIST scite-4.2.1.tgz 2633438 BLAKE2B 
cddf23f60eb1791266e38eba03ed8708aa02e0d91470344b19bfad7519930691a4b6a79b1eed3ac06234509b20fbd6b299c13c48a6990e0d8ced1a99a1d01220
 SHA512 
b2ad499f1c4d1a15b009516d24186c7d84f48ccdd40d2e9ca614de3cf36725a710523beaacda499186f040869e87339c2292e23eec959c2cdaa5fedfbb94d565
 DIST scite-4.3.3.tgz 2714086 BLAKE2B 
f31db7147c102ea19317d5a0bfb64e2ccd34914a8b615cd6c02f2e79f1788433dd3ecd6a565599d43a0c4da34ac30e9434037a042d77170f14969d3b008a742f
 SHA512 
85bc76bc9bb817fb0f7ddecad5e01d83d7090e788c2f74b9b23a86284f452a62c2fed64d0cf7c24cb57043228b8c91212742b644756d2ab185b10ead8785b82b
+DIST scite-4.4.4.tgz 2775628 BLAKE2B 
a7607b53bf529c56f6525d44b052a08c914d8aa1d90d475dcf46927ac5ce83c06d68b70e8d8e8969c77c367240ba1e7ac10d599c77002575e84b9baf6445d03b
 SHA512 
1e8529286206d542e0c07353b73ab38aa9ee2e2256ed8e15328965e00a33eb026f79bd7d330253e8743cf5503fadb32c64162973ad21da16993f11e124842ec0

diff --git a/app-editors/scite/scite-4.4.4.ebuild 
b/app-editors/scite/scite-4.4.4.ebuild
new file mode 100644
index 000..9878fd6a6b6
--- /dev/null
+++ b/app-editors/scite/scite-4.4.4.ebuild
@@ -0,0 +1,115 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs xdg-utils
+
+DESCRIPTION="A very powerful, highly configurable, small editor with syntax 
coloring"
+HOMEPAGE="https://www.scintilla.org/SciTE.html;
+SRC_URI="https://www.scintilla.org/${PN}${PV//./}.tgz -> ${P}.tgz"
+
+LICENSE="HPND lua? ( MIT )"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~arm-linux ~x86-linux"
+IUSE="lua"
+
+RDEPEND="
+   dev-libs/glib:2
+   x11-libs/cairo
+   x11-libs/gdk-pixbuf
+   x11-libs/gtk+:3
+   x11-libs/pango
+   lua? ( >=dev-lang/lua-5:= )"
+
+DEPEND="${RDEPEND}"
+
+BDEPEND="
+   virtual/pkgconfig"
+
+DOCS=("../README")
+
+S="${WORKDIR}/${PN}/gtk"
+
+pkg_pretend() {
+   if tc-is-clang ; then
+   # need c++17 features
+   [[ "${MERGE_TYPE}" != "binary" &&
+   $(clang-major-version) -lt 5 ]] &&
+   die "Sorry, SCiTE uses C++17 Features and needs 
>sys-devel/clang-5
+   ($(clang-major-version))."
+
+   elif tc-is-gcc; then
+   # older gcc is not supported
+   [[ "${MERGE_TYPE}" != "binary" &&
+   $(gcc-major-version) -lt 7 ]] &&
+   die "Sorry, Scite uses C++17 Features, need >sys-devel/gcc-7."
+   else
+   die "Either gcc or clang should be configured for building 
scite"
+   fi
+}
+
+src_prepare() {
+   tc-export AR CC CXX RANLIB
+
+   # remove hardcoded CC, Optimizations and clang unknown flags
+   sed -i "${WORKDIR}/scintilla/gtk/makefile" \
+   -e "s#^CC = gcc#CC = ${CC}#" \
+   -e "s#^CC = clang#CC = ${CC}#" \
+   -e "s#^CXX = clang++#CXX = ${CXX}#" \
+   -e "s#-Os##" \
+   -e "s#-Wno-misleading-indentation##" \
+   || die "error patching /scintilla/gtk/makefile"
+
+   sed -i "${S}/makefile" \
+   -e "s#^CC = clang#CC = ${CC}#" \
+   -e "s#^CXX = clang++#CXX = ${CXX}#" \
+   -e "s#-rdynamic#-rdynamic ${LDFLAGS}#" \
+   -e "s#-Os##" \
+   || die "error patching gtk/makefile"
+
+   # repair and enhance the .desktop file
+   sed -i "${S}/SciTE.desktop" \
+   -e "s#text/plain#text/\*;application/xhtml+xml#" \
+   -e "s#^Categories=\(.*\)#Categories=Development;#" \
+   || die "error patching /scite/gtk/SciTe.desktop"
+
+   #  add the ebuild suffix as shell type for working with ebuilds
+   sed -i "${WORKDIR}/scite/src/perl.properties" \
+   -e "s#\*.sh;\*.bsh;#\*.ebuild;\*.sh;\*.bsh;#" \
+   || die "error patching /scite/src/perl.properties"
+
+   # it seems that pwd here is ${S}, but user patches are relative to 
${workdir}
+   # Bug #576162
+
+   cd "${WORKDIR}" || die "couldn't cd into ${WORKDIR}"
+   eapply_user
+}
+
+src_compile() {
+   # prepare make options
+   local 

[gentoo-commits] repo/gentoo:master commit in: app-editors/scite/

2020-04-28 Thread Joonas Niilola
commit: d8203d919d35887d010802415afdc220d066b7da
Author: Ervin Peters  ervnet  de>
AuthorDate: Mon Apr 27 04:51:52 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Tue Apr 28 07:44:07 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8203d91

app-editors/scite: Version Bump to 4.3.3.

Actual enhancements and upstream bugfixes. See
http://www.scintilla.org/ScintillaHistory.html

Signed-off-by: Ervin Peters  ervnet.de>
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Closes: https://github.com/gentoo/gentoo/pull/15538
Signed-off-by: Joonas Niilola  gentoo.org>

 app-editors/scite/Manifest   |   1 +
 app-editors/scite/scite-4.3.3.ebuild | 113 +++
 2 files changed, 114 insertions(+)

diff --git a/app-editors/scite/Manifest b/app-editors/scite/Manifest
index 808dd3f0d0e..212ac9a7c22 100644
--- a/app-editors/scite/Manifest
+++ b/app-editors/scite/Manifest
@@ -2,3 +2,4 @@ DIST scite-4.1.3.tgz 2546247 BLAKE2B 
9c0cd767e6aff861bb706500eebf5fa431d5ce608f3
 DIST scite-4.2.0.tgz 2629884 BLAKE2B 
f9801146a086faefb38b72d28e00da055191c44254e5a6d34ade06462febd6a2b596aa572dd7e16c7541b0fcc23ff5f97f462b8869440782fd51f71ddd16d4c9
 SHA512 
d0a46ed2a21057a4fa866ae9305c9893360376d8591a9414eab96f9cb91991a43f3bf824bbb9a00c606555686aafdc0dc4b4bb41bcc94fe5dc90064342914c5a
 DIST scite-4.2.1.tgz 2633438 BLAKE2B 
cddf23f60eb1791266e38eba03ed8708aa02e0d91470344b19bfad7519930691a4b6a79b1eed3ac06234509b20fbd6b299c13c48a6990e0d8ced1a99a1d01220
 SHA512 
b2ad499f1c4d1a15b009516d24186c7d84f48ccdd40d2e9ca614de3cf36725a710523beaacda499186f040869e87339c2292e23eec959c2cdaa5fedfbb94d565
 DIST scite-4.3.2.tgz 2710026 BLAKE2B 
dd53eb2c3214033976ae4c5f63f75ea19d691ac9362e9d8ed527aff6b34d16e029d404d9731e3097cdf36d4c4594b427aa26bc9b83cb6a6ed05741e61fe4dfd4
 SHA512 
fd29369787f16c8357ae4bfd82b7f621ebb399e93e77c7540296c2a3c8b4e403071359f67f59bb5bd59216ae7e9cfa8aabfc38e200d59bea2c13e96991a3c9b8
+DIST scite-4.3.3.tgz 2714086 BLAKE2B 
f31db7147c102ea19317d5a0bfb64e2ccd34914a8b615cd6c02f2e79f1788433dd3ecd6a565599d43a0c4da34ac30e9434037a042d77170f14969d3b008a742f
 SHA512 
85bc76bc9bb817fb0f7ddecad5e01d83d7090e788c2f74b9b23a86284f452a62c2fed64d0cf7c24cb57043228b8c91212742b644756d2ab185b10ead8785b82b

diff --git a/app-editors/scite/scite-4.3.3.ebuild 
b/app-editors/scite/scite-4.3.3.ebuild
new file mode 100644
index 000..e34188a5587
--- /dev/null
+++ b/app-editors/scite/scite-4.3.3.ebuild
@@ -0,0 +1,113 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs xdg-utils
+
+DESCRIPTION="A very powerful, highly configurable, small editor with syntax 
coloring"
+HOMEPAGE="http://www.scintilla.org/SciTE.html;
+SRC_URI="https://www.scintilla.org/${PN}${PV//./}.tgz -> ${P}.tgz"
+
+LICENSE="HPND lua? ( MIT )"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~arm-linux ~x86-linux"
+IUSE="lua"
+
+RDEPEND="
+   dev-libs/glib:2
+   x11-libs/cairo
+   x11-libs/gdk-pixbuf
+   x11-libs/gtk+:3
+   x11-libs/pango
+   lua? ( >=dev-lang/lua-5:= )"
+
+DEPEND="${RDEPEND}"
+
+BDEPEND="
+   virtual/pkgconfig"
+
+DOCS=("../README")
+
+S="${WORKDIR}/${PN}/gtk"
+
+pkg_pretend() {
+   if tc-is-clang ; then
+   # need c++17 features
+   [[ "${MERGE_TYPE}" != "binary" &&
+   $(clang-major-version) -lt 5 ]] &&
+   die "Sorry, SCiTE uses C++17 Features and needs 
>sys-devel/clang-5
+   ($(clang-major-version))."
+
+   elif tc-is-gcc; then
+   # older gcc is not supported
+   [[ "${MERGE_TYPE}" != "binary" &&
+   $(gcc-major-version) -lt 7 ]] &&
+   die "Sorry, Scite uses C++17 Features, need >sys-devel/gcc-7."
+   else
+   die "Either gcc or clang should be configured for building 
scite"
+   fi
+}
+
+src_prepare() {
+   # remove hardcoded CC, Optimizations and clang unknown flags
+   sed -i "${WORKDIR}/scintilla/gtk/makefile" \
+   -e "s#^CC = gcc#CC = ${CC}#" \
+   -e "s#^CC = clang#CC = ${CC}#" \
+   -e "s#^CXX = clang++#CC = ${CXX}#" \
+   -e "s#-Os##" \
+   -e "s#-Wno-misleading-indentation##" \
+   || die "error patching /scintilla/gtk/makefile"
+
+   sed -i "${S}/makefile" \
+   -e "s#^CC = clang#CC = ${CC}#" \
+   -e "s#^CXX = clang++#CC = ${CXX}#" \
+   -e "s#-rdynamic#-rdynamic ${LDFLAGS}#" \
+   -e "s#-Os##" \
+   || die "error patching gtk/makefile"
+
+   # repair and enhance the .desktop file
+   sed -i "${S}/SciTE.desktop" \
+   -e "s#text/plain#text/\*;application/xhtml+xml#" \
+   -e "s#^Categories=\(.*\)#Categories=Development;#" \
+   || die "error patching /scite/gtk/SciTe.desktop"
+
+   #  add the ebuild suffix as shell type for working with ebuilds
+   sed -i "${WORKDIR}/scite/src/perl.properties" \
+   -e 

[gentoo-commits] repo/gentoo:master commit in: app-editors/scite/

2020-04-21 Thread Joonas Niilola
commit: 0f7afdf9695a745921914ec41885c3a3bd014760
Author: Ervin Peters  ervnet  de>
AuthorDate: Sat Apr 18 17:34:35 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Tue Apr 21 08:17:01 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f7afdf9

app-editors/scite: Version bump to 4.3.2

bugfixes and enhancements...

Signed-off-by: Ervin Peters  ervnet.de>
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Closes: https://github.com/gentoo/gentoo/pull/14521
Signed-off-by: Joonas Niilola  gentoo.org>

 app-editors/scite/Manifest   |   1 +
 app-editors/scite/scite-4.3.2.ebuild | 113 +++
 2 files changed, 114 insertions(+)

diff --git a/app-editors/scite/Manifest b/app-editors/scite/Manifest
index 51d8c69941b..808dd3f0d0e 100644
--- a/app-editors/scite/Manifest
+++ b/app-editors/scite/Manifest
@@ -1,3 +1,4 @@
 DIST scite-4.1.3.tgz 2546247 BLAKE2B 
9c0cd767e6aff861bb706500eebf5fa431d5ce608f37a9b19d2af7d558698eb3073a33fcdd0900abb549aa9ed65981a9f217dc1dae4b21be919c380d20d4ee8f
 SHA512 
875dd44785e9c96a264df9061830c7ab51296061da7765084ec4445d7f529dabecebcfadc5a1d8cab9074ffd588903ca056ed5de0ae974d60a5c57b13d61550d
 DIST scite-4.2.0.tgz 2629884 BLAKE2B 
f9801146a086faefb38b72d28e00da055191c44254e5a6d34ade06462febd6a2b596aa572dd7e16c7541b0fcc23ff5f97f462b8869440782fd51f71ddd16d4c9
 SHA512 
d0a46ed2a21057a4fa866ae9305c9893360376d8591a9414eab96f9cb91991a43f3bf824bbb9a00c606555686aafdc0dc4b4bb41bcc94fe5dc90064342914c5a
 DIST scite-4.2.1.tgz 2633438 BLAKE2B 
cddf23f60eb1791266e38eba03ed8708aa02e0d91470344b19bfad7519930691a4b6a79b1eed3ac06234509b20fbd6b299c13c48a6990e0d8ced1a99a1d01220
 SHA512 
b2ad499f1c4d1a15b009516d24186c7d84f48ccdd40d2e9ca614de3cf36725a710523beaacda499186f040869e87339c2292e23eec959c2cdaa5fedfbb94d565
+DIST scite-4.3.2.tgz 2710026 BLAKE2B 
dd53eb2c3214033976ae4c5f63f75ea19d691ac9362e9d8ed527aff6b34d16e029d404d9731e3097cdf36d4c4594b427aa26bc9b83cb6a6ed05741e61fe4dfd4
 SHA512 
fd29369787f16c8357ae4bfd82b7f621ebb399e93e77c7540296c2a3c8b4e403071359f67f59bb5bd59216ae7e9cfa8aabfc38e200d59bea2c13e96991a3c9b8

diff --git a/app-editors/scite/scite-4.3.2.ebuild 
b/app-editors/scite/scite-4.3.2.ebuild
new file mode 100644
index 000..e34188a5587
--- /dev/null
+++ b/app-editors/scite/scite-4.3.2.ebuild
@@ -0,0 +1,113 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs xdg-utils
+
+DESCRIPTION="A very powerful, highly configurable, small editor with syntax 
coloring"
+HOMEPAGE="http://www.scintilla.org/SciTE.html;
+SRC_URI="https://www.scintilla.org/${PN}${PV//./}.tgz -> ${P}.tgz"
+
+LICENSE="HPND lua? ( MIT )"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~arm-linux ~x86-linux"
+IUSE="lua"
+
+RDEPEND="
+   dev-libs/glib:2
+   x11-libs/cairo
+   x11-libs/gdk-pixbuf
+   x11-libs/gtk+:3
+   x11-libs/pango
+   lua? ( >=dev-lang/lua-5:= )"
+
+DEPEND="${RDEPEND}"
+
+BDEPEND="
+   virtual/pkgconfig"
+
+DOCS=("../README")
+
+S="${WORKDIR}/${PN}/gtk"
+
+pkg_pretend() {
+   if tc-is-clang ; then
+   # need c++17 features
+   [[ "${MERGE_TYPE}" != "binary" &&
+   $(clang-major-version) -lt 5 ]] &&
+   die "Sorry, SCiTE uses C++17 Features and needs 
>sys-devel/clang-5
+   ($(clang-major-version))."
+
+   elif tc-is-gcc; then
+   # older gcc is not supported
+   [[ "${MERGE_TYPE}" != "binary" &&
+   $(gcc-major-version) -lt 7 ]] &&
+   die "Sorry, Scite uses C++17 Features, need >sys-devel/gcc-7."
+   else
+   die "Either gcc or clang should be configured for building 
scite"
+   fi
+}
+
+src_prepare() {
+   # remove hardcoded CC, Optimizations and clang unknown flags
+   sed -i "${WORKDIR}/scintilla/gtk/makefile" \
+   -e "s#^CC = gcc#CC = ${CC}#" \
+   -e "s#^CC = clang#CC = ${CC}#" \
+   -e "s#^CXX = clang++#CC = ${CXX}#" \
+   -e "s#-Os##" \
+   -e "s#-Wno-misleading-indentation##" \
+   || die "error patching /scintilla/gtk/makefile"
+
+   sed -i "${S}/makefile" \
+   -e "s#^CC = clang#CC = ${CC}#" \
+   -e "s#^CXX = clang++#CC = ${CXX}#" \
+   -e "s#-rdynamic#-rdynamic ${LDFLAGS}#" \
+   -e "s#-Os##" \
+   || die "error patching gtk/makefile"
+
+   # repair and enhance the .desktop file
+   sed -i "${S}/SciTE.desktop" \
+   -e "s#text/plain#text/\*;application/xhtml+xml#" \
+   -e "s#^Categories=\(.*\)#Categories=Development;#" \
+   || die "error patching /scite/gtk/SciTe.desktop"
+
+   #  add the ebuild suffix as shell type for working with ebuilds
+   sed -i "${WORKDIR}/scite/src/perl.properties" \
+   -e "s#\*.sh;\*.bsh;#\*.ebuild;\*.sh;\*.bsh;#" \
+   || die "error patching /scite/src/perl.prperties"
+
+   # it seems that pwd here is ${S}, but user patches are relative to 

[gentoo-commits] repo/gentoo:master commit in: app-editors/scite/

2020-02-03 Thread Agostino Sarubbo
commit: d5deb19711b9a9fe318bf19d26589daaf8bf8a2a
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Feb  3 15:23:24 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Feb  3 15:23:24 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5deb197

app-editors/scite: x86 stable wrt bug #707700

Package-Manager: Portage-2.3.84, Repoman-2.3.20
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-editors/scite/scite-4.2.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-editors/scite/scite-4.2.1.ebuild 
b/app-editors/scite/scite-4.2.1.ebuild
index 8ac3af3a343..12a5af36795 100644
--- a/app-editors/scite/scite-4.2.1.ebuild
+++ b/app-editors/scite/scite-4.2.1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://www.scintilla.org/${PN}${MY_PV}.tgz -> 
${P}.tgz"
 
 LICENSE="HPND lua? ( MIT )"
 SLOT="0"
-KEYWORDS="amd64 ppc ~x86 ~amd64-linux ~arm-linux ~x86-linux"
+KEYWORDS="amd64 ppc x86 ~amd64-linux ~arm-linux ~x86-linux"
 IUSE="lua"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: app-editors/scite/

2020-02-03 Thread Agostino Sarubbo
commit: 413e28d18aa3e8749ce099db420ba4f52f61
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Feb  3 12:36:36 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Feb  3 12:36:36 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=413e28d1

app-editors/scite: amd64 stable wrt bug #707700

Package-Manager: Portage-2.3.84, Repoman-2.3.20
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-editors/scite/scite-4.2.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-editors/scite/scite-4.2.1.ebuild 
b/app-editors/scite/scite-4.2.1.ebuild
index c1b39028079..8ac3af3a343 100644
--- a/app-editors/scite/scite-4.2.1.ebuild
+++ b/app-editors/scite/scite-4.2.1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://www.scintilla.org/${PN}${MY_PV}.tgz -> 
${P}.tgz"
 
 LICENSE="HPND lua? ( MIT )"
 SLOT="0"
-KEYWORDS="~amd64 ppc ~x86 ~amd64-linux ~arm-linux ~x86-linux"
+KEYWORDS="amd64 ppc ~x86 ~amd64-linux ~arm-linux ~x86-linux"
 IUSE="lua"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: app-editors/scite/

2020-02-03 Thread Agostino Sarubbo
commit: 544f627438aca9e5feb6c00f3de505a658262e36
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Feb  3 12:30:18 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Feb  3 12:30:18 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=544f6274

app-editors/scite: ppc stable wrt bug #707700

Package-Manager: Portage-2.3.84, Repoman-2.3.20
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-editors/scite/scite-4.2.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-editors/scite/scite-4.2.1.ebuild 
b/app-editors/scite/scite-4.2.1.ebuild
index d0d87359e82..c1b39028079 100644
--- a/app-editors/scite/scite-4.2.1.ebuild
+++ b/app-editors/scite/scite-4.2.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -12,7 +12,7 @@ SRC_URI="https://www.scintilla.org/${PN}${MY_PV}.tgz -> 
${P}.tgz"
 
 LICENSE="HPND lua? ( MIT )"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~arm-linux ~x86-linux"
+KEYWORDS="~amd64 ppc ~x86 ~amd64-linux ~arm-linux ~x86-linux"
 IUSE="lua"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: app-editors/scite/files/

2019-11-11 Thread Joonas Niilola
commit: e61235526d1d6a6332bd369fcda46321d4231778
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Sun Nov 10 15:53:19 2019 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Nov 11 15:27:20 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6123552

app-editors/scite: remove unused file

Signed-off-by: Michael Mair-Keimberger  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/13598
Signed-off-by: Joonas Niilola  gentoo.org>

 app-editors/scite/files/scite.desktop | 8 
 1 file changed, 8 deletions(-)

diff --git a/app-editors/scite/files/scite.desktop 
b/app-editors/scite/files/scite.desktop
deleted file mode 100644
index 757e9f4e71d..000
--- a/app-editors/scite/files/scite.desktop
+++ /dev/null
@@ -1,8 +0,0 @@
-[Desktop Entry]
-Name=SciTE Text Editor
-Comment=Text Editor
-Exec=scite
-Icon=Sci48M
-Terminal=false
-Type=Application
-Categories=Development;



[gentoo-commits] repo/gentoo:master commit in: app-editors/scite/

2019-11-09 Thread Joonas Niilola
commit: 8f9f387d520e5f5c11049fdde3d17ae60378ddef
Author: Ervin Peters  ervnet  de>
AuthorDate: Sun Oct 27 12:12:01 2019 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sat Nov  9 08:00:33 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f9f387d

app-editors/scite: Version Bump to 4.2.1.

Actual enhancements and upstream bugfixes.

Signed-off-by: Ervin Peters  ervnet.de>
Package-Manager: Portage-2.3.76, Repoman-2.3.16
Closes: https://github.com/gentoo/gentoo/pull/13464
Signed-off-by: Joonas Niilola  gentoo.org>

 app-editors/scite/Manifest   |   1 +
 app-editors/scite/scite-4.2.1.ebuild | 118 +++
 2 files changed, 119 insertions(+)

diff --git a/app-editors/scite/Manifest b/app-editors/scite/Manifest
index 0ab03bff310..51d8c69941b 100644
--- a/app-editors/scite/Manifest
+++ b/app-editors/scite/Manifest
@@ -1,2 +1,3 @@
 DIST scite-4.1.3.tgz 2546247 BLAKE2B 
9c0cd767e6aff861bb706500eebf5fa431d5ce608f37a9b19d2af7d558698eb3073a33fcdd0900abb549aa9ed65981a9f217dc1dae4b21be919c380d20d4ee8f
 SHA512 
875dd44785e9c96a264df9061830c7ab51296061da7765084ec4445d7f529dabecebcfadc5a1d8cab9074ffd588903ca056ed5de0ae974d60a5c57b13d61550d
 DIST scite-4.2.0.tgz 2629884 BLAKE2B 
f9801146a086faefb38b72d28e00da055191c44254e5a6d34ade06462febd6a2b596aa572dd7e16c7541b0fcc23ff5f97f462b8869440782fd51f71ddd16d4c9
 SHA512 
d0a46ed2a21057a4fa866ae9305c9893360376d8591a9414eab96f9cb91991a43f3bf824bbb9a00c606555686aafdc0dc4b4bb41bcc94fe5dc90064342914c5a
+DIST scite-4.2.1.tgz 2633438 BLAKE2B 
cddf23f60eb1791266e38eba03ed8708aa02e0d91470344b19bfad7519930691a4b6a79b1eed3ac06234509b20fbd6b299c13c48a6990e0d8ced1a99a1d01220
 SHA512 
b2ad499f1c4d1a15b009516d24186c7d84f48ccdd40d2e9ca614de3cf36725a710523beaacda499186f040869e87339c2292e23eec959c2cdaa5fedfbb94d565

diff --git a/app-editors/scite/scite-4.2.1.ebuild 
b/app-editors/scite/scite-4.2.1.ebuild
new file mode 100644
index 000..d0d87359e82
--- /dev/null
+++ b/app-editors/scite/scite-4.2.1.ebuild
@@ -0,0 +1,118 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs xdg-utils
+
+MY_PV=${PV//./}
+DESCRIPTION="A very powerful, highly configurable, small editor with syntax 
coloring"
+HOMEPAGE="http://www.scintilla.org/SciTE.html;
+SRC_URI="https://www.scintilla.org/${PN}${MY_PV}.tgz -> ${P}.tgz"
+
+LICENSE="HPND lua? ( MIT )"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~arm-linux ~x86-linux"
+IUSE="lua"
+
+RDEPEND="
+   dev-libs/glib:=
+   x11-libs/cairo
+   x11-libs/gdk-pixbuf
+   x11-libs/gtk+:3=
+   x11-libs/pango
+   lua? ( >=dev-lang/lua-5:= )"
+
+DEPEND="${RDEPEND}
+   virtual/pkgconfig"
+
+S="${WORKDIR}/${PN}/gtk"
+
+pkg_pretend() {
+   if tc-is-clang ; then
+   # need c++17 features
+   [[ "${MERGE_TYPE}" != "binary" &&
+   $(clang-major-version) -lt 5 ]] &&
+   die "Sorry, SCiTE uses C++17 Features and needs 
>sys-devel/clang-5
+   ($(clang-major-version))."
+
+   elif tc-is-gcc; then
+   # older gcc is not supported
+   [[ "${MERGE_TYPE}" != "binary" &&
+   $(gcc-major-version) -lt 7 ]] &&
+   die "Sorry, Scite uses C++17 Features, need >sys-devel/gcc-7."
+   else
+   die "Either gcc or clang should be configured for building 
scite"
+   fi
+}
+
+src_prepare() {
+   # remove hardcoded CC, Optimizations and clang unknown flags
+   sed -i "${WORKDIR}/scintilla/gtk/makefile" \
+   -e "s#^CC = gcc#CC = ${CC}#" \
+   -e "s#^CC = clang#CC = ${CC}#" \
+   -e "s#^CXX = clang++#CC = ${CXX}#" \
+   -e "s#-Os##" \
+   -e "s#-Wno-misleading-indentation##" \
+   || die "error patching /scintilla/gtk/makefile"
+
+   sed -i "${S}/makefile" \
+   -e "s#^CC = clang#CC = ${CC}#" \
+   -e "s#^CXX = clang++#CC = ${CXX}#" \
+   -e "s#-rdynamic#-rdynamic ${LDFLAGS}#" \
+   -e "s#-Os##" \
+   || die "error patching gtk/makefile"
+
+   # repair and enhance the .desktop file
+   sed -i "${S}/SciTE.desktop" \
+   -e "s#text/plain#text/\*;application/xhtml+xml#" \
+   -e "s#^Categories=\(.*\)#Categories=Development;#" \
+   || die "error patching /scite/gtk/SciTe.desktop"
+
+   #  add the ebuild suffix as shell type for working with ebuilds
+   sed -i "${WORKDIR}/scite/src/perl.properties" \
+   -e "s#\*.sh;\*.bsh;#\*.ebuild;\*.sh;\*.bsh;#" \
+   || die "error patching /scite/src/perl.prperties"
+
+   # it seems that pwd here is ${S}, but user patches are relative to 
${workdir}
+   # Bug #576162
+
+   cd "${WORKDIR}" || die "couldn't cd into ${WORKDIR}"
+   eapply_user
+}
+
+src_compile() {
+   # prepare make options
+   local emake_pars="GTK3=1"
+
+   if tc-is-clang ; then
+   emake_pars+=" CLANG=1"
+   fi
+
+   if ! use lua; 

[gentoo-commits] repo/gentoo:master commit in: app-editors/scite/

2019-10-27 Thread Michał Górny
commit: 25fa0c21096b6d09c9aa0effd477fffaf872675d
Author: Ervin Peters  ervnet  de>
AuthorDate: Fri Oct 25 11:08:26 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Oct 27 09:11:58 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25fa0c21

app-editors/scite: rm old ebuilds

There are no functional reasons to keep those old versions
(3.5.5 .. 4.0.2) Current stable: 4.1.3.

Signed-off-by: Ervin Peters  ervnet.de>
Package-Manager: Portage-2.3.76, Repoman-2.3.16
Closes: https://github.com/gentoo/gentoo/pull/13431
Signed-off-by: Michał Górny  gentoo.org>

 app-editors/scite/Manifest  |   3 -
 app-editors/scite/scite-3.5.5.ebuild|  92 ---
 app-editors/scite/scite-3.6.5-r1.ebuild |  88 --
 app-editors/scite/scite-4.0.2.ebuild| 107 
 4 files changed, 290 deletions(-)

diff --git a/app-editors/scite/Manifest b/app-editors/scite/Manifest
index 147a13339b6..0ab03bff310 100644
--- a/app-editors/scite/Manifest
+++ b/app-editors/scite/Manifest
@@ -1,5 +1,2 @@
 DIST scite-4.1.3.tgz 2546247 BLAKE2B 
9c0cd767e6aff861bb706500eebf5fa431d5ce608f37a9b19d2af7d558698eb3073a33fcdd0900abb549aa9ed65981a9f217dc1dae4b21be919c380d20d4ee8f
 SHA512 
875dd44785e9c96a264df9061830c7ab51296061da7765084ec4445d7f529dabecebcfadc5a1d8cab9074ffd588903ca056ed5de0ae974d60a5c57b13d61550d
 DIST scite-4.2.0.tgz 2629884 BLAKE2B 
f9801146a086faefb38b72d28e00da055191c44254e5a6d34ade06462febd6a2b596aa572dd7e16c7541b0fcc23ff5f97f462b8869440782fd51f71ddd16d4c9
 SHA512 
d0a46ed2a21057a4fa866ae9305c9893360376d8591a9414eab96f9cb91991a43f3bf824bbb9a00c606555686aafdc0dc4b4bb41bcc94fe5dc90064342914c5a
-DIST scite355.tgz 2302137 BLAKE2B 
5b36c68a5447b7fd0dd2fce51fc09cec0ee4a86be10f4f32fa7bf47354c56424cbead6cdfe819c8014be75e843c867ccaa137c5f7e32c3f9b0dabb6b9a5a9cb3
 SHA512 
cdd9d3aa621f5d31632cfb9f71524255a4b47b70a654bf4bc8a25a76f8a2dbe098a48e0cd4587ced8ca8455be7e809973e212fcbcde5b62087aa0f9528f7f40d
-DIST scite365.tgz 2391190 BLAKE2B 
0cd2b1b24bcd15815357125725b1453935dc944ca1ddbd2923ceeb249b3182dc47cb1e1097a4e0942b3a5c7528d0e80fe2314ed9d3d2b7f4e960a0f17ff2
 SHA512 
193dcb1f8787a7c7d520ce62462e5c95e7b6bcaf79f4ab23f9885474fb0444dbc5a69a0d45eafc592e5fff2a2e746a9aba599799e847e3c74d3436eed26580a9
-DIST scite402.tgz 2424648 BLAKE2B 
84a331865310058d26ca45a25b99d98a7c3374d0463024e31694e2ebbd519a20e8e368dc1dfabc2534e8f015fc95ca53382bc223476b882a7be543ffdc44ae2b
 SHA512 
97898cbb8675d013dd91828792de1c71e3f013b21c59c5112ddc00e7ee35c2ba8cc29e2c3256b91171e052145a25cddfd0034505e3c185999c734504bb702283

diff --git a/app-editors/scite/scite-3.5.5.ebuild 
b/app-editors/scite/scite-3.5.5.ebuild
deleted file mode 100644
index 1adfbe41a5c..000
--- a/app-editors/scite/scite-3.5.5.ebuild
+++ /dev/null
@@ -1,92 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-inherit toolchain-funcs eutils xdg-utils
-
-MY_PV=${PV//./}
-DESCRIPTION="A very powerful editor for programmers"
-HOMEPAGE="https://www.scintilla.org/SciTE.html;
-SRC_URI="mirror://sourceforge/scintilla/${PN}${MY_PV}.tgz"
-
-LICENSE="HPND lua? ( MIT )"
-SLOT="0"
-KEYWORDS="amd64 ppc x86 ~amd64-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 

[gentoo-commits] repo/gentoo:master commit in: app-editors/scite/

2019-10-27 Thread Michał Górny
commit: 3cacb11fab90d2d47863623b5857b19ae3752449
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Oct 27 09:01:29 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Oct 27 09:12:00 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cacb11f

app-editors/scite: Homepage to HTTPS

Signed-off-by: Michał Górny  gentoo.org>

 app-editors/scite/scite-4.2.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-editors/scite/scite-4.2.0.ebuild 
b/app-editors/scite/scite-4.2.0.ebuild
index 0b8f9197c34..fecd4f28620 100644
--- a/app-editors/scite/scite-4.2.0.ebuild
+++ b/app-editors/scite/scite-4.2.0.ebuild
@@ -7,7 +7,7 @@ inherit gnome2-utils toolchain-funcs xdg-utils
 
 MY_PV=${PV//./}
 DESCRIPTION="A very powerful, highly configurable, small editor with syntax 
coloring"
-HOMEPAGE="http://www.scintilla.org/SciTE.html;
+HOMEPAGE="https://www.scintilla.org/SciTE.html;
 SRC_URI="https://www.scintilla.org/${PN}${MY_PV}.tgz -> ${P}.tgz"
 
 LICENSE="HPND lua? ( MIT )"



[gentoo-commits] repo/gentoo:master commit in: app-editors/scite/

2019-08-03 Thread Jonas Stein
commit: 0eb8255320c96ffc93209ef34784dadb4288b96c
Author: Ervin Peters  ervnet  de>
AuthorDate: Sat Aug  3 09:17:57 2019 +
Commit: Jonas Stein  gentoo  org>
CommitDate: Sat Aug  3 11:37:33 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0eb82553

app-editors/scite: version bump to 4.2.0

Bump to 4.2.0. actual enhancements and upstream bugfixes.

Signed-off-by: Ervin Peters  ervnet.de>
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Jonas Stein  gentoo.org>

 app-editors/scite/Manifest   |   1 +
 app-editors/scite/scite-4.2.0.ebuild | 119 +++
 2 files changed, 120 insertions(+)

diff --git a/app-editors/scite/Manifest b/app-editors/scite/Manifest
index 661060c12fb..147a13339b6 100644
--- a/app-editors/scite/Manifest
+++ b/app-editors/scite/Manifest
@@ -1,4 +1,5 @@
 DIST scite-4.1.3.tgz 2546247 BLAKE2B 
9c0cd767e6aff861bb706500eebf5fa431d5ce608f37a9b19d2af7d558698eb3073a33fcdd0900abb549aa9ed65981a9f217dc1dae4b21be919c380d20d4ee8f
 SHA512 
875dd44785e9c96a264df9061830c7ab51296061da7765084ec4445d7f529dabecebcfadc5a1d8cab9074ffd588903ca056ed5de0ae974d60a5c57b13d61550d
+DIST scite-4.2.0.tgz 2629884 BLAKE2B 
f9801146a086faefb38b72d28e00da055191c44254e5a6d34ade06462febd6a2b596aa572dd7e16c7541b0fcc23ff5f97f462b8869440782fd51f71ddd16d4c9
 SHA512 
d0a46ed2a21057a4fa866ae9305c9893360376d8591a9414eab96f9cb91991a43f3bf824bbb9a00c606555686aafdc0dc4b4bb41bcc94fe5dc90064342914c5a
 DIST scite355.tgz 2302137 BLAKE2B 
5b36c68a5447b7fd0dd2fce51fc09cec0ee4a86be10f4f32fa7bf47354c56424cbead6cdfe819c8014be75e843c867ccaa137c5f7e32c3f9b0dabb6b9a5a9cb3
 SHA512 
cdd9d3aa621f5d31632cfb9f71524255a4b47b70a654bf4bc8a25a76f8a2dbe098a48e0cd4587ced8ca8455be7e809973e212fcbcde5b62087aa0f9528f7f40d
 DIST scite365.tgz 2391190 BLAKE2B 
0cd2b1b24bcd15815357125725b1453935dc944ca1ddbd2923ceeb249b3182dc47cb1e1097a4e0942b3a5c7528d0e80fe2314ed9d3d2b7f4e960a0f17ff2
 SHA512 
193dcb1f8787a7c7d520ce62462e5c95e7b6bcaf79f4ab23f9885474fb0444dbc5a69a0d45eafc592e5fff2a2e746a9aba599799e847e3c74d3436eed26580a9
 DIST scite402.tgz 2424648 BLAKE2B 
84a331865310058d26ca45a25b99d98a7c3374d0463024e31694e2ebbd519a20e8e368dc1dfabc2534e8f015fc95ca53382bc223476b882a7be543ffdc44ae2b
 SHA512 
97898cbb8675d013dd91828792de1c71e3f013b21c59c5112ddc00e7ee35c2ba8cc29e2c3256b91171e052145a25cddfd0034505e3c185999c734504bb702283

diff --git a/app-editors/scite/scite-4.2.0.ebuild 
b/app-editors/scite/scite-4.2.0.ebuild
new file mode 100644
index 000..fd4938711af
--- /dev/null
+++ b/app-editors/scite/scite-4.2.0.ebuild
@@ -0,0 +1,119 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit gnome2-utils toolchain-funcs xdg-utils
+
+MY_PV=${PV//./}
+DESCRIPTION="A very powerful, highly configurable, small editor with syntax 
coloring"
+HOMEPAGE="http://www.scintilla.org/SciTE.html;
+SRC_URI="https://www.scintilla.org/${PN}${MY_PV}.tgz -> ${P}.tgz"
+
+LICENSE="HPND lua? ( MIT )"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux"
+IUSE="lua"
+
+RDEPEND="
+   dev-libs/glib:=
+   x11-libs/cairo
+   x11-libs/gdk-pixbuf
+   x11-libs/gtk+:3=
+   x11-libs/pango
+   lua? ( >=dev-lang/lua-5:= )
+"
+
+DEPEND="${RDEPEND}
+   virtual/pkgconfig"
+
+S="${WORKDIR}/${PN}/gtk"
+
+pkg_pretend() {
+   if tc-is-clang ; then
+   # need c++17 features
+   [[ "${MERGE_TYPE}" != "binary" &&
+   $(clang-major-version) -lt 5 ]] &&
+   die "Sorry, SCiTE uses C++17 Features and needs 
>sys-devel/clang-5
+   ($(clang-major-version))."
+
+   elif tc-is-gcc; then
+   # older gcc is not supported
+   [[ "${MERGE_TYPE}" != "binary" &&
+   $(gcc-major-version) -lt 7 ]] &&
+   die "Sorry, Scite uses C++17 Features, need >sys-devel/gcc-7."
+   else
+   die "Either gcc or clang should be configured for building 
scite"
+   fi
+}
+
+src_prepare() {
+   # remove hardcoded CC, Optimizations and clang unknown flags
+   sed -i "${WORKDIR}/scintilla/gtk/makefile" \
+   -e "s#^CC = gcc#CC = ${CC}#" \
+   -e "s#^CC = clang#CC = ${CC}#" \
+   -e "s#^CXX = clang++#CC = ${CXX}#" \
+   -e "s#-Os##" \
+   -e "s#-Wno-misleading-indentation##" \
+   || die "error patching /scintilla/gtk/makefile"
+
+   sed -i "${S}/makefile" \
+   -e "s#^CC = clang#CC = ${CC}#" \
+   -e "s#^CXX = clang++#CC = ${CXX}#" \
+   -e "s#-rdynamic#-rdynamic ${LDFLAGS}#" \
+   -e "s#-Os##" \
+   || die "error patching gtk/makefile"
+
+   # repair and enhance the .desktop file
+   sed -i "${S}/SciTE.desktop" \
+   -e "s#text/plain#text/\*;application/xhtml+xml#" \
+   -e "s#^Categories=\(.*\)#Categories=Development;#" \

[gentoo-commits] repo/gentoo:master commit in: app-editors/scite/

2019-06-04 Thread Agostino Sarubbo
commit: 2d780ea47da361cb45e5c15cc243c0aa96f90486
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Jun  4 20:54:11 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Jun  4 20:54:11 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d780ea4

app-editors/scite: amd64 stable wrt bug #683652

Signed-off-by: Agostino Sarubbo  gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
RepoMan-Options: --include-arches="amd64"

 app-editors/scite/scite-4.1.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-editors/scite/scite-4.1.3.ebuild 
b/app-editors/scite/scite-4.1.3.ebuild
index 34f980abbb4..35836ad1ea2 100644
--- a/app-editors/scite/scite-4.1.3.ebuild
+++ b/app-editors/scite/scite-4.1.3.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://www.scintilla.org/${PN}${MY_PV}.tgz -> 
${P}.tgz"
 
 LICENSE="HPND lua? ( MIT )"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux"
+KEYWORDS="amd64 ~ppc x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux"
 IUSE="lua"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: app-editors/scite/

2019-06-04 Thread Thomas Deutschmann
commit: fcb5b23d23806c047dc762b9d9d178c5119921fc
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Tue Jun  4 14:26:21 2019 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Tue Jun  4 14:44:12 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fcb5b23d

app-editors/scite: x86 stable (bug #683652)

Package-Manager: Portage-2.3.67, Repoman-2.3.14
Signed-off-by: Thomas Deutschmann  gentoo.org>

 app-editors/scite/scite-4.1.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-editors/scite/scite-4.1.3.ebuild 
b/app-editors/scite/scite-4.1.3.ebuild
index f70a85c76c1..34f980abbb4 100644
--- a/app-editors/scite/scite-4.1.3.ebuild
+++ b/app-editors/scite/scite-4.1.3.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://www.scintilla.org/${PN}${MY_PV}.tgz -> 
${P}.tgz"
 
 LICENSE="HPND lua? ( MIT )"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux"
+KEYWORDS="~amd64 ~ppc x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux"
 IUSE="lua"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: app-editors/scite/

2019-03-20 Thread Aaron Bauman
commit: 6cacf82bf9264b4a47089db0ac204f85281428f3
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Wed Mar 20 17:52:24 2019 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Wed Mar 20 18:26:37 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6cacf82b

app-editors/scite: use HTTPS

Signed-off-by: Michael Mair-Keimberger  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/11423
Signed-off-by: Aaron Bauman  gentoo.org>

 app-editors/scite/scite-4.1.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-editors/scite/scite-4.1.3.ebuild 
b/app-editors/scite/scite-4.1.3.ebuild
index fd4938711af..f70a85c76c1 100644
--- a/app-editors/scite/scite-4.1.3.ebuild
+++ b/app-editors/scite/scite-4.1.3.ebuild
@@ -7,7 +7,7 @@ inherit gnome2-utils toolchain-funcs xdg-utils
 
 MY_PV=${PV//./}
 DESCRIPTION="A very powerful, highly configurable, small editor with syntax 
coloring"
-HOMEPAGE="http://www.scintilla.org/SciTE.html;
+HOMEPAGE="https://www.scintilla.org/SciTE.html;
 SRC_URI="https://www.scintilla.org/${PN}${MY_PV}.tgz -> ${P}.tgz"
 
 LICENSE="HPND lua? ( MIT )"



[gentoo-commits] repo/gentoo:master commit in: app-editors/scite/

2019-02-15 Thread Agostino Sarubbo
commit: ec786164484f592edf7bb7404ff734bc2659c009
Author: Ervin Peters  ervnet  de>
AuthorDate: Sun Jan 13 18:13:06 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Feb 15 15:04:00 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec786164

app-editors/scite: Version bump scite-4.1.3

additionally see PR #10562 for previous Version and cleanup

Signed-off-by: Ervin Peters  ervnet.de>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-editors/scite/Manifest   |   1 +
 app-editors/scite/scite-4.1.3.ebuild | 119 +++
 2 files changed, 120 insertions(+)

diff --git a/app-editors/scite/Manifest b/app-editors/scite/Manifest
index ac744de0d36..661060c12fb 100644
--- a/app-editors/scite/Manifest
+++ b/app-editors/scite/Manifest
@@ -1,3 +1,4 @@
+DIST scite-4.1.3.tgz 2546247 BLAKE2B 
9c0cd767e6aff861bb706500eebf5fa431d5ce608f37a9b19d2af7d558698eb3073a33fcdd0900abb549aa9ed65981a9f217dc1dae4b21be919c380d20d4ee8f
 SHA512 
875dd44785e9c96a264df9061830c7ab51296061da7765084ec4445d7f529dabecebcfadc5a1d8cab9074ffd588903ca056ed5de0ae974d60a5c57b13d61550d
 DIST scite355.tgz 2302137 BLAKE2B 
5b36c68a5447b7fd0dd2fce51fc09cec0ee4a86be10f4f32fa7bf47354c56424cbead6cdfe819c8014be75e843c867ccaa137c5f7e32c3f9b0dabb6b9a5a9cb3
 SHA512 
cdd9d3aa621f5d31632cfb9f71524255a4b47b70a654bf4bc8a25a76f8a2dbe098a48e0cd4587ced8ca8455be7e809973e212fcbcde5b62087aa0f9528f7f40d
 DIST scite365.tgz 2391190 BLAKE2B 
0cd2b1b24bcd15815357125725b1453935dc944ca1ddbd2923ceeb249b3182dc47cb1e1097a4e0942b3a5c7528d0e80fe2314ed9d3d2b7f4e960a0f17ff2
 SHA512 
193dcb1f8787a7c7d520ce62462e5c95e7b6bcaf79f4ab23f9885474fb0444dbc5a69a0d45eafc592e5fff2a2e746a9aba599799e847e3c74d3436eed26580a9
 DIST scite402.tgz 2424648 BLAKE2B 
84a331865310058d26ca45a25b99d98a7c3374d0463024e31694e2ebbd519a20e8e368dc1dfabc2534e8f015fc95ca53382bc223476b882a7be543ffdc44ae2b
 SHA512 
97898cbb8675d013dd91828792de1c71e3f013b21c59c5112ddc00e7ee35c2ba8cc29e2c3256b91171e052145a25cddfd0034505e3c185999c734504bb702283

diff --git a/app-editors/scite/scite-4.1.3.ebuild 
b/app-editors/scite/scite-4.1.3.ebuild
new file mode 100644
index 000..fd4938711af
--- /dev/null
+++ b/app-editors/scite/scite-4.1.3.ebuild
@@ -0,0 +1,119 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit gnome2-utils toolchain-funcs xdg-utils
+
+MY_PV=${PV//./}
+DESCRIPTION="A very powerful, highly configurable, small editor with syntax 
coloring"
+HOMEPAGE="http://www.scintilla.org/SciTE.html;
+SRC_URI="https://www.scintilla.org/${PN}${MY_PV}.tgz -> ${P}.tgz"
+
+LICENSE="HPND lua? ( MIT )"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux"
+IUSE="lua"
+
+RDEPEND="
+   dev-libs/glib:=
+   x11-libs/cairo
+   x11-libs/gdk-pixbuf
+   x11-libs/gtk+:3=
+   x11-libs/pango
+   lua? ( >=dev-lang/lua-5:= )
+"
+
+DEPEND="${RDEPEND}
+   virtual/pkgconfig"
+
+S="${WORKDIR}/${PN}/gtk"
+
+pkg_pretend() {
+   if tc-is-clang ; then
+   # need c++17 features
+   [[ "${MERGE_TYPE}" != "binary" &&
+   $(clang-major-version) -lt 5 ]] &&
+   die "Sorry, SCiTE uses C++17 Features and needs 
>sys-devel/clang-5
+   ($(clang-major-version))."
+
+   elif tc-is-gcc; then
+   # older gcc is not supported
+   [[ "${MERGE_TYPE}" != "binary" &&
+   $(gcc-major-version) -lt 7 ]] &&
+   die "Sorry, Scite uses C++17 Features, need >sys-devel/gcc-7."
+   else
+   die "Either gcc or clang should be configured for building 
scite"
+   fi
+}
+
+src_prepare() {
+   # remove hardcoded CC, Optimizations and clang unknown flags
+   sed -i "${WORKDIR}/scintilla/gtk/makefile" \
+   -e "s#^CC = gcc#CC = ${CC}#" \
+   -e "s#^CC = clang#CC = ${CC}#" \
+   -e "s#^CXX = clang++#CC = ${CXX}#" \
+   -e "s#-Os##" \
+   -e "s#-Wno-misleading-indentation##" \
+   || die "error patching /scintilla/gtk/makefile"
+
+   sed -i "${S}/makefile" \
+   -e "s#^CC = clang#CC = ${CC}#" \
+   -e "s#^CXX = clang++#CC = ${CXX}#" \
+   -e "s#-rdynamic#-rdynamic ${LDFLAGS}#" \
+   -e "s#-Os##" \
+   || die "error patching gtk/makefile"
+
+   # repair and enhance the .desktop file
+   sed -i "${S}/SciTE.desktop" \
+   -e "s#text/plain#text/\*;application/xhtml+xml#" \
+   -e "s#^Categories=\(.*\)#Categories=Development;#" \
+   || die "error patching /scite/gtk/SciTe.desktop"
+
+   #  add the ebuild suffix as shell type for working with ebuilds
+   sed -i "${WORKDIR}/scite/src/perl.properties" \
+   -e "s#\*.sh;\*.bsh;#\*.ebuild;\*.sh;\*.bsh;#" \
+   || die "error 

[gentoo-commits] repo/gentoo:master commit in: app-editors/scite/

2018-05-19 Thread Aaron Bauman
commit: f592b9d504fbc6e002443bdcfef58a389ed3a407
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Sat May 19 07:32:20 2018 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Sun May 20 00:15:14 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f592b9d5

app-editors/scite: use HTTPS

Closes: https://github.com/gentoo/gentoo/pull/8474

 app-editors/scite/scite-3.5.5.ebuild| 4 ++--
 app-editors/scite/scite-3.6.5-r1.ebuild | 4 ++--
 app-editors/scite/scite-4.0.2.ebuild| 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/app-editors/scite/scite-3.5.5.ebuild 
b/app-editors/scite/scite-3.5.5.ebuild
index e780172d8de..7e033571557 100644
--- a/app-editors/scite/scite-3.5.5.ebuild
+++ b/app-editors/scite/scite-3.5.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
@@ -7,7 +7,7 @@ inherit toolchain-funcs eutils xdg-utils
 
 MY_PV=${PV//./}
 DESCRIPTION="A very powerful editor for programmers"
-HOMEPAGE="http://www.scintilla.org/SciTE.html;
+HOMEPAGE="https://www.scintilla.org/SciTE.html;
 SRC_URI="mirror://sourceforge/scintilla/${PN}${MY_PV}.tgz"
 
 LICENSE="HPND lua? ( MIT )"

diff --git a/app-editors/scite/scite-3.6.5-r1.ebuild 
b/app-editors/scite/scite-3.6.5-r1.ebuild
index 55818274ac6..94ef7659ec7 100644
--- a/app-editors/scite/scite-3.6.5-r1.ebuild
+++ b/app-editors/scite/scite-3.6.5-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -7,7 +7,7 @@ inherit toolchain-funcs eutils flag-o-matic
 
 MY_PV=${PV//./}
 DESCRIPTION="A very powerful editor for programmers"
-HOMEPAGE="http://www.scintilla.org/SciTE.html;
+HOMEPAGE="https://www.scintilla.org/SciTE.html;
 SRC_URI="mirror://sourceforge/scintilla/${PN}${MY_PV}.tgz"
 
 LICENSE="HPND lua? ( MIT )"

diff --git a/app-editors/scite/scite-4.0.2.ebuild 
b/app-editors/scite/scite-4.0.2.ebuild
index f5d3f5c8774..8ef73fdbb39 100644
--- a/app-editors/scite/scite-4.0.2.ebuild
+++ b/app-editors/scite/scite-4.0.2.ebuild
@@ -8,7 +8,7 @@ inherit toolchain-funcs flag-o-matic gnome2-utils xdg-utils
 MY_PV=${PV//./}
 DESCRIPTION="A very powerful, highly configurable, small editor with syntax
 coloring."
-HOMEPAGE="http://www.scintilla.org/SciTE.html;
+HOMEPAGE="https://www.scintilla.org/SciTE.html;
 SRC_URI="mirror://sourceforge/scintilla/${PN}${MY_PV}.tgz"
 
 LICENSE="HPND lua? ( MIT )"



[gentoo-commits] repo/gentoo:master commit in: app-editors/scite/

2018-04-16 Thread Sergei Trofimovich
commit: ec09abde43702579bb8723a71ab9228c8fd76b1a
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Mon Apr 16 21:12:33 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Mon Apr 16 21:25:33 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec09abde

app-editors/scite: stable 4.0.2 for ppc, bug #647584

Bug: https://bugs.gentoo.org/647584
Package-Manager: Portage-2.3.28, Repoman-2.3.9
RepoMan-Options: --include-arches="ppc"

 app-editors/scite/scite-4.0.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-editors/scite/scite-4.0.2.ebuild 
b/app-editors/scite/scite-4.0.2.ebuild
index b480aae0dad..f5d3f5c8774 100644
--- a/app-editors/scite/scite-4.0.2.ebuild
+++ b/app-editors/scite/scite-4.0.2.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/scintilla/${PN}${MY_PV}.tgz"
 
 LICENSE="HPND lua? ( MIT )"
 SLOT="0"
-KEYWORDS="amd64 ~ppc x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux"
+KEYWORDS="amd64 ppc x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux"
 IUSE="lua"
 
 RDEPEND="dev-libs/glib:=



[gentoo-commits] repo/gentoo:master commit in: app-editors/scite/

2018-03-31 Thread Aaron Bauman
commit: 8e130f28d07d45fb1fdf35f7dc4b258f679a68d5
Author: Aaron Bauman  gentoo  org>
AuthorDate: Sat Mar 31 21:33:29 2018 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Sat Mar 31 21:33:29 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e130f28

app-editors/scite: amd64 stable

Bug: https://bugs.gentoo.org/647584
Package-Manager: Portage-2.3.27, Repoman-2.3.9

 app-editors/scite/scite-4.0.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-editors/scite/scite-4.0.2.ebuild 
b/app-editors/scite/scite-4.0.2.ebuild
index 36a304e5170..b480aae0dad 100644
--- a/app-editors/scite/scite-4.0.2.ebuild
+++ b/app-editors/scite/scite-4.0.2.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/scintilla/${PN}${MY_PV}.tgz"
 
 LICENSE="HPND lua? ( MIT )"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux"
+KEYWORDS="amd64 ~ppc x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux"
 IUSE="lua"
 
 RDEPEND="dev-libs/glib:=



[gentoo-commits] repo/gentoo:master commit in: app-editors/scite/

2018-02-11 Thread Michał Górny
commit: 02e10fcc633ed890e5a7cc4cf6aac4adbf1a2931
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Feb 11 09:55:43 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Feb 11 10:01:19 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02e10fcc

app-editors/scite: Remove useless maintainer 

Remove useless/redundant maintainer . It does not benefit
bug wrangling, and only wastes developer's time on reading it. Few tips:

- assignee/CC is implied by ordering, there is no reason to repeat it,
- we know that maintainer is maintainer (la la la la la),
- most of adjectives for maintainer are of no value and/or are obvious.

 app-editors/scite/metadata.xml | 1 -
 1 file changed, 1 deletion(-)

diff --git a/app-editors/scite/metadata.xml b/app-editors/scite/metadata.xml
index 2437a9147c1..860834e3990 100644
--- a/app-editors/scite/metadata.xml
+++ b/app-editors/scite/metadata.xml
@@ -4,7 +4,6 @@

ervin.pet...@ervnet.de
Ervin Peters
-   Maintainer. Assign bugs to him


proxy-ma...@gentoo.org



[gentoo-commits] repo/gentoo:master commit in: app-editors/scite/

2017-11-17 Thread Jonas Stein
commit: 8c1e42deb79f1ccbb0ffaa1526731039af792cf1
Author: Ervin Peters  ervnet  de>
AuthorDate: Sat Nov 18 01:23:42 2017 +
Commit: Jonas Stein  gentoo  org>
CommitDate: Sat Nov 18 01:26:12 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c1e42de

app-editors/scite: Add inherit xdg-utils

Closes: https://bugs.gentoo.org/628716
Package-Manager: Portage-2.3.14, Repoman-2.3.5

 app-editors/scite/scite-3.5.5.ebuild | 10 +-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/app-editors/scite/scite-3.5.5.ebuild 
b/app-editors/scite/scite-3.5.5.ebuild
index e6365031367..e780172d8de 100644
--- a/app-editors/scite/scite-3.5.5.ebuild
+++ b/app-editors/scite/scite-3.5.5.ebuild
@@ -3,7 +3,7 @@
 
 EAPI="5"
 
-inherit toolchain-funcs eutils
+inherit toolchain-funcs eutils xdg-utils
 
 MY_PV=${PV//./}
 DESCRIPTION="A very powerful editor for programmers"
@@ -82,3 +82,11 @@ src_install() {
doman ../doc/scite.1
dodoc ../README
 }
+
+pkg_postinst() {
+   xdg_desktop_database_update
+}
+
+pkg_postrm() {
+   xdg_desktop_database_update
+}



[gentoo-commits] repo/gentoo:master commit in: app-editors/scite/

2017-11-16 Thread Jonas Stein
commit: 624fdb85cb8724689da1f282c675ac18c8b26771
Author: Jonas Stein  gentoo  org>
AuthorDate: Fri Nov 17 00:11:30 2017 +
Commit: Jonas Stein  gentoo  org>
CommitDate: Fri Nov 17 00:11:30 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=624fdb85

app-editors/scite: remove old

Package-Manager: Portage-2.3.14, Repoman-2.3.5

 app-editors/scite/Manifest  |  2 -
 app-editors/scite/scite-3.6.2-r1.ebuild | 88 -
 app-editors/scite/scite-3.6.4-r1.ebuild | 88 -
 3 files changed, 178 deletions(-)

diff --git a/app-editors/scite/Manifest b/app-editors/scite/Manifest
index fc55861af01..87296d3b159 100644
--- a/app-editors/scite/Manifest
+++ b/app-editors/scite/Manifest
@@ -1,5 +1,3 @@
 DIST scite355.tgz 2302137 SHA256 
20515597ac986f1727c97bda2c27d88487ddb79cfe330b0b890b5e25330b7d9f SHA512 
cdd9d3aa621f5d31632cfb9f71524255a4b47b70a654bf4bc8a25a76f8a2dbe098a48e0cd4587ced8ca8455be7e809973e212fcbcde5b62087aa0f9528f7f40d
 WHIRLPOOL 
c901804481042b859be68f44ab728544e97975d61219a4bb576ba3da00bd663c8877e9b23b981a0295d759cae3e9afd037d981923086c6850ff29f01c43ec9f6
-DIST scite362.tgz 2368491 SHA256 
6530d0d86c72485b815663e3b2c2987d59779340a71632ed8bb97a43530737a3 SHA512 
cb9618e962a16db7484e16a494b3da39f210250277e9772b112af5e16649b38f27ead0ec61664b1211c9263880cb7f3c34b5b32d94a4e70087fb1503805740c1
 WHIRLPOOL 
52a31f0e1518a9d8f6107aa22eead7da89e1d1ea6523a2aae57fbd7a3a8ecbd192c124c3d2550acea6383457763d6e501b14791ec6490a54379c5d13356e42da
-DIST scite364.tgz 2386959 SHA256 
6a27a1062b838e0fe914fb045f265935e5d39e34d69ae894b55f971437192baa SHA512 
eaba353edac23902a8f446fb8877f3e5dd43221e5289bc38941d76068a3f7c87602e9eb5828e6caafec56657d05b5268aad2a1bb36356a14154de3c22602c76d
 WHIRLPOOL 
f1b4c64eb4a5c6d6e73ffb3f457a5b5ddf8d31cf5f5778b204c05a093bcfb8e78e7a8cab634cf369ce29f200c11b933492f01c30afb268f581d465ed31157c88
 DIST scite365.tgz 2391190 SHA256 
dde62ebebbd4c36afd81ab0e745ff04839f4cfc911496f2d0463aade1374b9d1 SHA512 
193dcb1f8787a7c7d520ce62462e5c95e7b6bcaf79f4ab23f9885474fb0444dbc5a69a0d45eafc592e5fff2a2e746a9aba599799e847e3c74d3436eed26580a9
 WHIRLPOOL 
e79a2f05444c16f40f6c84fd252d3b71247a48f6af27f912d3f51de99b968c93ec505bc903aa4df407d1ff503f3ce35052004c46e3f7fe8502d0d0ef4939610e
 DIST scite402.tgz 2424648 SHA256 
1f9bb8eccbaed77c110c30c0e6dbaac04b3f62b751a930192b133a7b6f0f29fb SHA512 
97898cbb8675d013dd91828792de1c71e3f013b21c59c5112ddc00e7ee35c2ba8cc29e2c3256b91171e052145a25cddfd0034505e3c185999c734504bb702283
 WHIRLPOOL 
0de24e65f718c49d183ee44520b7b46249dfb41eaa6d2b35e79b6b31e53c0f308c919c99f5c8b704a8d9d606e023306bcab4b3acd8339fd29e57d1a467bdc68f

diff --git a/app-editors/scite/scite-3.6.2-r1.ebuild 
b/app-editors/scite/scite-3.6.2-r1.ebuild
deleted file mode 100644
index 3e957af4297..000
--- a/app-editors/scite/scite-3.6.2-r1.ebuild
+++ /dev/null
@@ -1,88 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-
-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 ~amd64-linux ~arm-linux ~x86-linux"
-IUSE="lua"
-
-RDEPEND="dev-libs/glib:=
-   x11-libs/cairo
-   x11-libs/gtk+:2=
-   x11-libs/gdk-pixbuf
-   x11-libs/pango
-   lua? ( >=dev-lang/lua-5:= )"
-DEPEND="${RDEPEND}
-   virtual/pkgconfig"
-
-S="${WORKDIR}/${PN}/gtk"
-
-src_prepare() {
-   sed -i "${WORKDIR}/scintilla/gtk/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 /scintilla/gtk/makefile"
-
-   sed -i "${WORKDIR}/scite/gtk/makefile" \
-   -e "s#-rdynamic#-rdynamic ${LDFLAGS}#" \
-   || die "error patching /scite/gtk/makefile"
-
-   # repair and enhance the .desktop file
-   sed -i "${WORKDIR}/scite/gtk/SciTE.desktop" \
-   -e "s/^Encoding/#Encoding/" \
-   -e "s#text/plain#text/\*;application/xhtml+xml#" \
-   -e "s#^Categories=\(.*\)#Categories=Development;#" \
-   || die "error patching /scite/gtk/SciTe.desktop"
-
-   sed -i "${S}/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 

[gentoo-commits] repo/gentoo:master commit in: app-editors/scite/

2017-11-16 Thread Jonas Stein
commit: 0d0a3c4df07778110309e721003fb90de4398297
Author: Chris Mayo  gmail  com>
AuthorDate: Thu Nov 16 19:27:12 2017 +
Commit: Jonas Stein  gentoo  org>
CommitDate: Thu Nov 16 22:10:20 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d0a3c4d

app-editors/scite: Tidy ebuild

- eutils.eclass not needed
- one sed not two for gtk/makefile
- consistent sed paths and error messages
- Encoding now removed from desktop file
- ensure variable declared in src_compile is local
- dodir's in src_install not needed

Closes: https://bugs.gentoo.org/637518

Package-Manager: Portage-2.3.13, Repoman-2.3.3

 app-editors/scite/scite-4.0.2.ebuild | 43 +++-
 1 file changed, 18 insertions(+), 25 deletions(-)

diff --git a/app-editors/scite/scite-4.0.2.ebuild 
b/app-editors/scite/scite-4.0.2.ebuild
index e8a034593e4..0134016bc35 100644
--- a/app-editors/scite/scite-4.0.2.ebuild
+++ b/app-editors/scite/scite-4.0.2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-inherit toolchain-funcs eutils flag-o-matic gnome2-utils xdg-utils
+inherit toolchain-funcs flag-o-matic gnome2-utils xdg-utils
 
 MY_PV=${PV//./}
 DESCRIPTION="A very powerful, highly configurable, small editor with syntax
@@ -35,25 +35,10 @@ src_prepare() {
-e "s#^CC =\(.*\)#CC = $(tc-getCXX)#" \
-e "s#^CCOMP =\(.*\)#CCOMP = $(tc-getCC)#" \
-e "s#-Os##" \
-   || die "error patching /scintilla/gtk/makefile"
-
-   sed -i "${WORKDIR}/scite/gtk/makefile" \
-   -e "s#-rdynamic#-rdynamic ${LDFLAGS}#" \
-   || die "error patching /scite/gtk/makefile"
-
-   #  add the ebuild suffix as shell type for working with ebuilds
-   sed -i "${WORKDIR}/scite/src/perl.properties" \
-   -e "s#\*.sh;\*.bsh;#\*.ebuild;\*.sh;\*.bsh;#" \
-   || die "error patching /scite/src/perl.prperties"
-
-   # repair and enhance the .desktop file
-   sed -i "${WORKDIR}/scite/gtk/SciTE.desktop" \
-   -e "s/^Encoding/#Encoding/" \
-   -e "s#text/plain#text/\*;application/xhtml+xml#" \
-   -e "s#^Categories=\(.*\)#Categories=Development;#" \
-   || die "error patching /scite/gtk/SciTe.desktop"
+   || die "error patching scintilla/gtk/makefile"
 
sed -i "${S}/makefile" \
+   -e "s#-rdynamic#-rdynamic ${LDFLAGS}#" \
-e 's#usr/local#usr#g' \
-e 's#/gnome/apps/Applications#/applications#' \
-e "s#^CXXFLAGS=#CXXFLAGS=${CXXFLAGS} #" \
@@ -63,7 +48,18 @@ src_prepare() {
-e 's#${D}##' \
-e 's#-g root#-g 0#' \
-e "s#-Os##" \
-   || die "error patching gtk/makefile"
+   || die "error patching scite/gtk/makefile"
+
+   # repair and enhance the .desktop file
+   sed -i "${S}/SciTE.desktop" \
+   -e "s#text/plain#text/\*;application/xhtml+xml#" \
+   -e "s#^Categories=\(.*\)#Categories=Development;#" \
+   || die "error patching scite/gtk/SciTe.desktop"
+
+   #  add the ebuild suffix as shell type for working with ebuilds
+   sed -i "${WORKDIR}/scite/src/perl.properties" \
+   -e "s#\*.sh;\*.bsh;#\*.ebuild;\*.sh;\*.bsh;#" \
+   || die "error patching scite/src/perl.properties"
 
# it seems that pwd here is ${S}, but user patches are relative to 
${workdir}
# Bug #576162
@@ -74,10 +70,10 @@ src_prepare() {
 
 src_compile() {
# prepare make options
-   emake_pars="GTK3=1"
+   local emake_pars="GTK3=1"
if ! use lua; then
emake_pars+=" NO_LUA=1"
-   fi;
+   fi
 
emake CC="$(tc-getCC)" LD="$(tc-getLD)" \
LDFLAGS="$(raw-ldflags)" AR="$(tc-getAR)" \
@@ -86,14 +82,11 @@ src_compile() {
 }
 
 src_install() {
-   dodir /usr/bin
-   dodir /usr/share/{pixmaps,applications}
-
emake DESTDIR="${ED}" install
 
# we have to keep this because otherwise it'll break upgrading
mv "${ED}/usr/bin/SciTE" "${ED}/usr/bin/scite" || die
-   dosym "scite" "/usr/bin/SciTE"
+   dosym scite /usr/bin/SciTE
 
doman ../doc/scite.1
dodoc ../README



[gentoo-commits] repo/gentoo:master commit in: app-editors/scite/

2017-11-13 Thread Jonas Stein
commit: 1623f7367ad0ad21ee210a11ddc4aa06cd375fce
Author: Jonas Stein  gentoo  org>
AuthorDate: Mon Nov 13 00:28:07 2017 +
Commit: Jonas Stein  gentoo  org>
CommitDate: Mon Nov 13 19:50:50 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1623f736

app-editors/scite: Version bump to 4.0.2

Version bump to 4.0.2
bump to EAPI=6
add missing xdg-utils eclass

Package-Manager: Portage-2.3.13, Repoman-2.3.4

 app-editors/scite/Manifest   |   1 +
 app-editors/scite/scite-4.0.2.ebuild | 114 +++
 2 files changed, 115 insertions(+)

diff --git a/app-editors/scite/Manifest b/app-editors/scite/Manifest
index 2a42302ccb3..fc55861af01 100644
--- a/app-editors/scite/Manifest
+++ b/app-editors/scite/Manifest
@@ -2,3 +2,4 @@ DIST scite355.tgz 2302137 SHA256 
20515597ac986f1727c97bda2c27d88487ddb79cfe330b0
 DIST scite362.tgz 2368491 SHA256 
6530d0d86c72485b815663e3b2c2987d59779340a71632ed8bb97a43530737a3 SHA512 
cb9618e962a16db7484e16a494b3da39f210250277e9772b112af5e16649b38f27ead0ec61664b1211c9263880cb7f3c34b5b32d94a4e70087fb1503805740c1
 WHIRLPOOL 
52a31f0e1518a9d8f6107aa22eead7da89e1d1ea6523a2aae57fbd7a3a8ecbd192c124c3d2550acea6383457763d6e501b14791ec6490a54379c5d13356e42da
 DIST scite364.tgz 2386959 SHA256 
6a27a1062b838e0fe914fb045f265935e5d39e34d69ae894b55f971437192baa SHA512 
eaba353edac23902a8f446fb8877f3e5dd43221e5289bc38941d76068a3f7c87602e9eb5828e6caafec56657d05b5268aad2a1bb36356a14154de3c22602c76d
 WHIRLPOOL 
f1b4c64eb4a5c6d6e73ffb3f457a5b5ddf8d31cf5f5778b204c05a093bcfb8e78e7a8cab634cf369ce29f200c11b933492f01c30afb268f581d465ed31157c88
 DIST scite365.tgz 2391190 SHA256 
dde62ebebbd4c36afd81ab0e745ff04839f4cfc911496f2d0463aade1374b9d1 SHA512 
193dcb1f8787a7c7d520ce62462e5c95e7b6bcaf79f4ab23f9885474fb0444dbc5a69a0d45eafc592e5fff2a2e746a9aba599799e847e3c74d3436eed26580a9
 WHIRLPOOL 
e79a2f05444c16f40f6c84fd252d3b71247a48f6af27f912d3f51de99b968c93ec505bc903aa4df407d1ff503f3ce35052004c46e3f7fe8502d0d0ef4939610e
+DIST scite402.tgz 2424648 SHA256 
1f9bb8eccbaed77c110c30c0e6dbaac04b3f62b751a930192b133a7b6f0f29fb SHA512 
97898cbb8675d013dd91828792de1c71e3f013b21c59c5112ddc00e7ee35c2ba8cc29e2c3256b91171e052145a25cddfd0034505e3c185999c734504bb702283
 WHIRLPOOL 
0de24e65f718c49d183ee44520b7b46249dfb41eaa6d2b35e79b6b31e53c0f308c919c99f5c8b704a8d9d606e023306bcab4b3acd8339fd29e57d1a467bdc68f

diff --git a/app-editors/scite/scite-4.0.2.ebuild 
b/app-editors/scite/scite-4.0.2.ebuild
new file mode 100644
index 000..e8a034593e4
--- /dev/null
+++ b/app-editors/scite/scite-4.0.2.ebuild
@@ -0,0 +1,114 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs eutils flag-o-matic gnome2-utils xdg-utils
+
+MY_PV=${PV//./}
+DESCRIPTION="A very powerful, highly configurable, small editor with syntax
+coloring."
+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 ~amd64-linux ~arm-linux ~x86-linux"
+IUSE="lua"
+
+RDEPEND="dev-libs/glib:=
+   x11-libs/cairo
+   x11-libs/gtk+:3=
+   x11-libs/gdk-pixbuf
+   x11-libs/pango
+   lua? ( >=dev-lang/lua-5:= )"
+
+DEPEND="${RDEPEND}
+   virtual/pkgconfig"
+
+S="${WORKDIR}/${PN}/gtk"
+
+src_prepare() {
+   sed -i "${WORKDIR}/scintilla/gtk/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 /scintilla/gtk/makefile"
+
+   sed -i "${WORKDIR}/scite/gtk/makefile" \
+   -e "s#-rdynamic#-rdynamic ${LDFLAGS}#" \
+   || die "error patching /scite/gtk/makefile"
+
+   #  add the ebuild suffix as shell type for working with ebuilds
+   sed -i "${WORKDIR}/scite/src/perl.properties" \
+   -e "s#\*.sh;\*.bsh;#\*.ebuild;\*.sh;\*.bsh;#" \
+   || die "error patching /scite/src/perl.prperties"
+
+   # repair and enhance the .desktop file
+   sed -i "${WORKDIR}/scite/gtk/SciTE.desktop" \
+   -e "s/^Encoding/#Encoding/" \
+   -e "s#text/plain#text/\*;application/xhtml+xml#" \
+   -e "s#^Categories=\(.*\)#Categories=Development;#" \
+   || die "error patching /scite/gtk/SciTe.desktop"
+
+   sed -i "${S}/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#' \
+   

[gentoo-commits] repo/gentoo:master commit in: app-editors/scite/

2017-08-23 Thread Michał Górny
commit: 7169065f3cc96315d71c26ddeb0881f7b90e0110
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Aug 23 15:39:43 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Aug 23 16:07:03 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7169065f

app-editors/scite: [QA] Use relative symlink target(s)

 app-editors/scite/scite-3.5.5.ebuild| 2 +-
 app-editors/scite/scite-3.6.2-r1.ebuild | 2 +-
 app-editors/scite/scite-3.6.4-r1.ebuild | 2 +-
 app-editors/scite/scite-3.6.5-r1.ebuild | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/app-editors/scite/scite-3.5.5.ebuild 
b/app-editors/scite/scite-3.5.5.ebuild
index a86d0184c3d..e6365031367 100644
--- a/app-editors/scite/scite-3.5.5.ebuild
+++ b/app-editors/scite/scite-3.5.5.ebuild
@@ -73,7 +73,7 @@ src_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
+   dosym scite /usr/bin/SciTE
 
# replace .desktop file with our own working version
rm -f "${ED}/usr/share/applications/SciTE.desktop" || die

diff --git a/app-editors/scite/scite-3.6.2-r1.ebuild 
b/app-editors/scite/scite-3.6.2-r1.ebuild
index 5d30cfe7d78..3e957af4297 100644
--- a/app-editors/scite/scite-3.6.2-r1.ebuild
+++ b/app-editors/scite/scite-3.6.2-r1.ebuild
@@ -81,7 +81,7 @@ src_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
+   dosym scite /usr/bin/SciTE
 
doman ../doc/scite.1
dodoc ../README

diff --git a/app-editors/scite/scite-3.6.4-r1.ebuild 
b/app-editors/scite/scite-3.6.4-r1.ebuild
index 441e654d2e5..204a7029a45 100644
--- a/app-editors/scite/scite-3.6.4-r1.ebuild
+++ b/app-editors/scite/scite-3.6.4-r1.ebuild
@@ -81,7 +81,7 @@ src_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
+   dosym scite /usr/bin/SciTE
 
doman ../doc/scite.1
dodoc ../README

diff --git a/app-editors/scite/scite-3.6.5-r1.ebuild 
b/app-editors/scite/scite-3.6.5-r1.ebuild
index e09d11c96bc..55818274ac6 100644
--- a/app-editors/scite/scite-3.6.5-r1.ebuild
+++ b/app-editors/scite/scite-3.6.5-r1.ebuild
@@ -81,7 +81,7 @@ src_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
+   dosym scite /usr/bin/SciTE
 
doman ../doc/scite.1
dodoc ../README



[gentoo-commits] repo/gentoo:master commit in: app-editors/scite/

2017-01-29 Thread Fabian Groffen
commit: 1bd273e48fc2735d00e3a3e506afb1226b8c1664
Author: Fabian Groffen  gentoo  org>
AuthorDate: Sun Jan 29 14:35:14 2017 +
Commit: Fabian Groffen  gentoo  org>
CommitDate: Sun Jan 29 14:38:15 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1bd273e4

app-editors/scite: dropped ~x86-freebsd

Package-Manager: portage-2.3.3

 app-editors/scite/scite-3.5.5.ebuild| 4 ++--
 app-editors/scite/scite-3.6.2-r1.ebuild | 4 ++--
 app-editors/scite/scite-3.6.4-r1.ebuild | 4 ++--
 app-editors/scite/scite-3.6.5-r1.ebuild | 4 ++--
 4 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/app-editors/scite/scite-3.5.5.ebuild 
b/app-editors/scite/scite-3.5.5.ebuild
index 4152f02..fd3f232 100644
--- a/app-editors/scite/scite-3.5.5.ebuild
+++ b/app-editors/scite/scite-3.5.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -13,7 +13,7 @@ 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"
+KEYWORDS="amd64 ppc x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux"
 IUSE="lua"
 
 RDEPEND="dev-libs/glib:2

diff --git a/app-editors/scite/scite-3.6.2-r1.ebuild 
b/app-editors/scite/scite-3.6.2-r1.ebuild
index aa103c2..1174245 100644
--- a/app-editors/scite/scite-3.6.2-r1.ebuild
+++ b/app-editors/scite/scite-3.6.2-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -13,7 +13,7 @@ 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"
+KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux"
 IUSE="lua"
 
 RDEPEND="dev-libs/glib:=

diff --git a/app-editors/scite/scite-3.6.4-r1.ebuild 
b/app-editors/scite/scite-3.6.4-r1.ebuild
index 73fd49f..d3f80e9 100644
--- a/app-editors/scite/scite-3.6.4-r1.ebuild
+++ b/app-editors/scite/scite-3.6.4-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -13,7 +13,7 @@ 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"
+KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux"
 IUSE="lua"
 
 RDEPEND="dev-libs/glib:=

diff --git a/app-editors/scite/scite-3.6.5-r1.ebuild 
b/app-editors/scite/scite-3.6.5-r1.ebuild
index 80bc0c1..f47b9fc 100644
--- a/app-editors/scite/scite-3.6.5-r1.ebuild
+++ b/app-editors/scite/scite-3.6.5-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -13,7 +13,7 @@ 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"
+KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux"
 IUSE="lua"
 
 RDEPEND="dev-libs/glib:=



[gentoo-commits] repo/gentoo:master commit in: app-editors/scite/files/

2016-07-07 Thread Patrice Clement
commit: 1b1d131cb7d9688e15bd42e4b4e300560d24fb83
Author: Michael Mair-Keimberger (asterix)  gmail 
 com>
AuthorDate: Mon Jul  4 19:28:21 2016 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Thu Jul  7 07:19:09 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b1d131c

app-editor/scite: remove unused patch

Closes: https://github.com/gentoo/gentoo/pull/1826

Signed-off-by: Patrice Clement  gentoo.org>

 app-editors/scite/files/scite-3.0.1-no-lua.patch | 16 
 1 file changed, 16 deletions(-)

diff --git a/app-editors/scite/files/scite-3.0.1-no-lua.patch 
b/app-editors/scite/files/scite-3.0.1-no-lua.patch
deleted file mode 100644
index d63416a..000
--- a/app-editors/scite/files/scite-3.0.1-no-lua.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-diff -Nru 3.0.1.vanilla/scite/src/SciTEProps.cxx 3.0.1/scite/src/SciTEProps.cxx
 3.0.1.vanilla/scite/src/SciTEProps.cxx 2011-11-30 19:39:41.059801342 
+0100
-+++ 3.0.1/scite/src/SciTEProps.cxx 2011-11-30 19:39:53.211835004 +0100
-@@ -1702,10 +1702,12 @@
- 
- // return the int value of the command name passed in.
- int SciTEBase::GetMenuCommandAsInt(SString commandName) {
-+#ifndef NO_LUA
-   int i = IFaceTable::FindConstant(commandName.c_str());
-   if (i != -1) {
-   return IFaceTable::constants[i].value;
-   }
-+#endif
-   // Otherwise we might have entered a number as command to access a 
"SCI_" command
-   return commandName.value();
- }



[gentoo-commits] repo/gentoo:master commit in: app-editors/scite/

2016-07-03 Thread Göktürk Yüksek
commit: b970ad2bf09d6cdfd04dd76db5a71ed078f8d2b7
Author: Göktürk Yüksek  gentoo  org>
AuthorDate: Sun Jul  3 23:34:01 2016 +
Commit: Göktürk Yüksek  gentoo  org>
CommitDate: Mon Jul  4 00:03:45 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b970ad2b

app-editors/scite: revbump to fix vdb breakage

Commit aa9fbd757f0eb2345f1702affb3ada5352cfad2f changes the slot
dependency for one of the packages in RDEPEND in place. Revbump to fix
possible vdb breakage.

Package-Manager: portage-2.2.28

 app-editors/scite/{scite-3.6.2.ebuild => scite-3.6.2-r1.ebuild} | 0
 app-editors/scite/{scite-3.6.4.ebuild => scite-3.6.4-r1.ebuild} | 0
 app-editors/scite/{scite-3.6.5.ebuild => scite-3.6.5-r1.ebuild} | 0
 3 files changed, 0 insertions(+), 0 deletions(-)

diff --git a/app-editors/scite/scite-3.6.2.ebuild 
b/app-editors/scite/scite-3.6.2-r1.ebuild
similarity index 100%
rename from app-editors/scite/scite-3.6.2.ebuild
rename to app-editors/scite/scite-3.6.2-r1.ebuild

diff --git a/app-editors/scite/scite-3.6.4.ebuild 
b/app-editors/scite/scite-3.6.4-r1.ebuild
similarity index 100%
rename from app-editors/scite/scite-3.6.4.ebuild
rename to app-editors/scite/scite-3.6.4-r1.ebuild

diff --git a/app-editors/scite/scite-3.6.5.ebuild 
b/app-editors/scite/scite-3.6.5-r1.ebuild
similarity index 100%
rename from app-editors/scite/scite-3.6.5.ebuild
rename to app-editors/scite/scite-3.6.5-r1.ebuild



[gentoo-commits] repo/gentoo:master commit in: app-editors/scite/

2016-05-13 Thread Ian Delaney
commit: 9321089fbffa6af13bae4ed3c2cfad4ed95eb2d9
Author: Ian Delaney  gentoo  org>
AuthorDate: Fri May 13 16:02:56 2016 +
Commit: Ian Delaney  gentoo  org>
CommitDate: Fri May 13 16:04:26 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9321089f

app-editors/scite: adding inherit of flag-o-matic eclass to vn. 3.6.5

on behalf of maintainer E. Peters. Fixes

Gentoo-bug: 582196

Package-Manager: portage-2.2.28

 app-editors/scite/scite-3.6.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-editors/scite/scite-3.6.5.ebuild 
b/app-editors/scite/scite-3.6.5.ebuild
index 6b1dec2..80bc0c1 100644
--- a/app-editors/scite/scite-3.6.5.ebuild
+++ b/app-editors/scite/scite-3.6.5.ebuild
@@ -4,7 +4,7 @@
 
 EAPI="6"
 
-inherit toolchain-funcs eutils
+inherit toolchain-funcs eutils flag-o-matic
 
 MY_PV=${PV//./}
 DESCRIPTION="A very powerful editor for programmers"



[gentoo-commits] repo/gentoo:master commit in: app-editors/scite/

2016-05-05 Thread Ian Delaney
commit: 585fc69191ddb943600b25f6f77ef4d9f4f3a9af
Author: Ian Delaney  gentoo  org>
AuthorDate: Thu May  5 06:39:14 2016 +
Commit: Ian Delaney  gentoo  org>
CommitDate: Thu May  5 08:06:33 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=585fc691

app-editors/scite: fixes to vn. 3.6.2 sourced from gentoo bug

- inherit toolchain-funcs eclass to ensure the build to 'respect CXX',
- add slot operators to deps requiring them (glib, gtk+, lua)
- removed dep sed from deps (set in @system)
fixes the gentoo bug

Gentoo-bug: #Bug 569986

Package-Manager: portage-2.2.28

 app-editors/scite/scite-3.6.2.ebuild | 48 +++-
 1 file changed, 26 insertions(+), 22 deletions(-)

diff --git a/app-editors/scite/scite-3.6.2.ebuild 
b/app-editors/scite/scite-3.6.2.ebuild
index f17d015..aa103c2 100644
--- a/app-editors/scite/scite-3.6.2.ebuild
+++ b/app-editors/scite/scite-3.6.2.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI="5"
+EAPI="6"
 
 inherit toolchain-funcs eutils
 
@@ -16,35 +16,38 @@ SLOT="0"
 KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~arm-linux 
~x86-linux"
 IUSE="lua"
 
-RDEPEND="dev-libs/glib:2
+RDEPEND="dev-libs/glib:=
x11-libs/cairo
-   x11-libs/gtk+:2
+   x11-libs/gtk+:2=
x11-libs/gdk-pixbuf
x11-libs/pango
-   lua? ( >=dev-lang/lua-5:0= )"
+   lua? ( >=dev-lang/lua-5:= )"
 DEPEND="${RDEPEND}
-   virtual/pkgconfig
-   >=sys-apps/sed-4"
+   virtual/pkgconfig"
 
 S="${WORKDIR}/${PN}/gtk"
 
 src_prepare() {
-   cd "${WORKDIR}/scintilla/gtk"
-   sed -i makefile \
+   sed -i "${WORKDIR}/scintilla/gtk/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"
+   || die "error patching /scintilla/gtk/makefile"
 
-   cd "${WORKDIR}/scite/gtk"
-   sed -i makefile \
+   sed -i "${WORKDIR}/scite/gtk/makefile" \
-e "s#-rdynamic#-rdynamic ${LDFLAGS}#" \
-   || die "error patching makefile"
+   || die "error patching /scite/gtk/makefile"
 
-   cd "${S}"
-   sed -i makefile \
+   # repair and enhance the .desktop file
+   sed -i "${WORKDIR}/scite/gtk/SciTE.desktop" \
+   -e "s/^Encoding/#Encoding/" \
+   -e "s#text/plain#text/\*;application/xhtml+xml#" \
+   -e "s#^Categories=\(.*\)#Categories=Development;#" \
+   || die "error patching /scite/gtk/SciTe.desktop"
+
+   sed -i "${S}/makefile" \
-e 's#usr/local#usr#g' \
-e 's#/gnome/apps/Applications#/applications#' \
-e "s#^CXXFLAGS=#CXXFLAGS=${CXXFLAGS} #" \
@@ -54,11 +57,16 @@ src_prepare() {
-e 's#${D}##' \
-e 's#-g root#-g 0#' \
-e "s#-Os##" \
-   || die "error patching makefile"
+   || die "error patching gtk/makefile"
+
+   eapply_user
 }
 
 src_compile() {
-   emake -C ../../scintilla/gtk AR="$(tc-getAR)"
+   emake CC="$(tc-getCC)" LD="$(tc-getLD)" \
+   LDFLAGS="$(raw-ldflags)" AR="$(tc-getAR)" \
+   -C "${WORKDIR}/scintilla/gtk"
+
if use lua; then
emake
else
@@ -70,16 +78,12 @@ src_install() {
dodir /usr/bin
dodir /usr/share/{pixmaps,applications}
 
-   emake prefix="${ED}/usr" install
+   emake DESTDIR="${ED}" 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
 }



[gentoo-commits] repo/gentoo:master commit in: app-editors/scite/

2016-05-05 Thread Ian Delaney
commit: aa9fbd757f0eb2345f1702affb3ada5352cfad2f
Author: Ian Delaney  gentoo  org>
AuthorDate: Thu May  5 06:58:03 2016 +
Commit: Ian Delaney  gentoo  org>
CommitDate: Thu May  5 08:06:33 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa9fbd75

app-editors/scite: move updates, changes in vn. 3.6.2 to vns. 3.6.[4,5]

Package-Manager: portage-2.2.28

 app-editors/scite/scite-3.6.4.ebuild | 12 +---
 app-editors/scite/scite-3.6.5.ebuild |  9 -
 2 files changed, 9 insertions(+), 12 deletions(-)

diff --git a/app-editors/scite/scite-3.6.4.ebuild 
b/app-editors/scite/scite-3.6.4.ebuild
index 2204582..73fd49f 100644
--- a/app-editors/scite/scite-3.6.4.ebuild
+++ b/app-editors/scite/scite-3.6.4.ebuild
@@ -17,19 +17,17 @@ KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd ~x86-freebsd 
~amd64-linux ~arm-linux ~x86-l
 IUSE="lua"
 
 RDEPEND="dev-libs/glib:=
-   x11-libs/cairo:*
-   >=x11-libs/gtk+-2.0:*
-   x11-libs/gdk-pixbuf:*
-   x11-libs/pango:*
+   x11-libs/cairo
+   >=x11-libs/gtk+-2.0:2=
+   x11-libs/gdk-pixbuf
+   x11-libs/pango
lua? ( >=dev-lang/lua-5:= )"
 DEPEND="${RDEPEND}
-   virtual/pkgconfig
-   >=sys-apps/sed-4"
+   virtual/pkgconfig"
 
 S="${WORKDIR}/${PN}/gtk"
 
 src_prepare() {
-   cd "${WORKDIR}/scintilla/gtk"
sed -i makefile \
-e "s#^CXXFLAGS=#CXXFLAGS=${CXXFLAGS} #" \
-e "s#^\(CXXFLAGS=.*\)-Os#\1#" \

diff --git a/app-editors/scite/scite-3.6.5.ebuild 
b/app-editors/scite/scite-3.6.5.ebuild
index f3aeac3..6b1dec2 100644
--- a/app-editors/scite/scite-3.6.5.ebuild
+++ b/app-editors/scite/scite-3.6.5.ebuild
@@ -17,14 +17,13 @@ KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd ~x86-freebsd 
~amd64-linux ~arm-linux ~x86-l
 IUSE="lua"
 
 RDEPEND="dev-libs/glib:=
-   x11-libs/cairo:*
+   x11-libs/cairo
x11-libs/gtk+:2
-   x11-libs/gdk-pixbuf:*
-   x11-libs/pango:*
+   x11-libs/gdk-pixbuf
+   x11-libs/pango
lua? ( >=dev-lang/lua-5:= )"
 DEPEND="${RDEPEND}
-   virtual/pkgconfig
-   >=sys-apps/sed-4"
+   virtual/pkgconfig"
 
 S="${WORKDIR}/${PN}/gtk"
 



[gentoo-commits] repo/gentoo:master commit in: app-editors/scite/

2016-05-03 Thread Sam Jorna
commit: 88d0ed8b93254c34bbc3cda51b666f5f7a75a2ab
Author: Ervin Peters  ervnet  de>
AuthorDate: Tue May  3 10:53:44 2016 +
Commit: Sam Jorna  gentoo  org>
CommitDate: Tue May  3 10:54:46 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88d0ed8b

app-editors/scite: bump to 3.6.5

Version bump to 3.6.5, bump to EAPI6, fixes build with ${CC}.

Gentoo-bug: 581220
Package-Manager: portage-2.2.28

 app-editors/scite/Manifest   |  1 +
 app-editors/scite/scite-3.6.5.ebuild | 90 
 2 files changed, 91 insertions(+)

diff --git a/app-editors/scite/Manifest b/app-editors/scite/Manifest
index 131043a..2a42302 100644
--- a/app-editors/scite/Manifest
+++ b/app-editors/scite/Manifest
@@ -1,3 +1,4 @@
 DIST scite355.tgz 2302137 SHA256 
20515597ac986f1727c97bda2c27d88487ddb79cfe330b0b890b5e25330b7d9f SHA512 
cdd9d3aa621f5d31632cfb9f71524255a4b47b70a654bf4bc8a25a76f8a2dbe098a48e0cd4587ced8ca8455be7e809973e212fcbcde5b62087aa0f9528f7f40d
 WHIRLPOOL 
c901804481042b859be68f44ab728544e97975d61219a4bb576ba3da00bd663c8877e9b23b981a0295d759cae3e9afd037d981923086c6850ff29f01c43ec9f6
 DIST scite362.tgz 2368491 SHA256 
6530d0d86c72485b815663e3b2c2987d59779340a71632ed8bb97a43530737a3 SHA512 
cb9618e962a16db7484e16a494b3da39f210250277e9772b112af5e16649b38f27ead0ec61664b1211c9263880cb7f3c34b5b32d94a4e70087fb1503805740c1
 WHIRLPOOL 
52a31f0e1518a9d8f6107aa22eead7da89e1d1ea6523a2aae57fbd7a3a8ecbd192c124c3d2550acea6383457763d6e501b14791ec6490a54379c5d13356e42da
 DIST scite364.tgz 2386959 SHA256 
6a27a1062b838e0fe914fb045f265935e5d39e34d69ae894b55f971437192baa SHA512 
eaba353edac23902a8f446fb8877f3e5dd43221e5289bc38941d76068a3f7c87602e9eb5828e6caafec56657d05b5268aad2a1bb36356a14154de3c22602c76d
 WHIRLPOOL 
f1b4c64eb4a5c6d6e73ffb3f457a5b5ddf8d31cf5f5778b204c05a093bcfb8e78e7a8cab634cf369ce29f200c11b933492f01c30afb268f581d465ed31157c88
+DIST scite365.tgz 2391190 SHA256 
dde62ebebbd4c36afd81ab0e745ff04839f4cfc911496f2d0463aade1374b9d1 SHA512 
193dcb1f8787a7c7d520ce62462e5c95e7b6bcaf79f4ab23f9885474fb0444dbc5a69a0d45eafc592e5fff2a2e746a9aba599799e847e3c74d3436eed26580a9
 WHIRLPOOL 
e79a2f05444c16f40f6c84fd252d3b71247a48f6af27f912d3f51de99b968c93ec505bc903aa4df407d1ff503f3ce35052004c46e3f7fe8502d0d0ef4939610e

diff --git a/app-editors/scite/scite-3.6.5.ebuild 
b/app-editors/scite/scite-3.6.5.ebuild
new file mode 100644
index 000..f3aeac3
--- /dev/null
+++ b/app-editors/scite/scite-3.6.5.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="6"
+
+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:=
+   x11-libs/cairo:*
+   x11-libs/gtk+:2
+   x11-libs/gdk-pixbuf:*
+   x11-libs/pango:*
+   lua? ( >=dev-lang/lua-5:= )"
+DEPEND="${RDEPEND}
+   virtual/pkgconfig
+   >=sys-apps/sed-4"
+
+S="${WORKDIR}/${PN}/gtk"
+
+src_prepare() {
+   sed -i "${WORKDIR}/scintilla/gtk/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 /scintilla/gtk/makefile"
+
+   sed -i "${WORKDIR}/scite/gtk/makefile" \
+   -e "s#-rdynamic#-rdynamic ${LDFLAGS}#" \
+   || die "error patching /scite/gtk/makefile"
+
+   # repair and enhance the .desktop file
+   sed -i "${WORKDIR}/scite/gtk/SciTE.desktop" \
+   -e "s/^Encoding/#Encoding/" \
+   -e "s#text/plain#text/\*;application/xhtml+xml#" \
+   -e "s#^Categories=\(.*\)#Categories=Development;#" \
+   || die "error patching /scite/gtk/SciTe.desktop"
+
+   sed -i "${S}/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 gtk/makefile"
+
+   eapply_user
+}
+
+src_compile() {
+   emake CC="$(tc-getCC)" LD="$(tc-getLD)" \
+   LDFLAGS="$(raw-ldflags)" AR="$(tc-getAR)" \
+   -C "${WORKDIR}/scintilla/gtk"
+
+   if use lua; then
+   emake
+   else
+   emake NO_LUA=1
+

[gentoo-commits] repo/gentoo:master commit in: app-editors/scite/

2016-04-10 Thread Ian Delaney
commit: b6939082a193d1d994be5d25874f7de60dc11a56
Author: Ian Delaney  gentoo  org>
AuthorDate: Sun Apr 10 06:33:46 2016 +
Commit: Ian Delaney  gentoo  org>
CommitDate: Sun Apr 10 06:59:07 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6939082

app-editors/scite: bump to vn. 3.6.4

Ebuild added with minor edits by me (to bring ebuild to required form),
submitted by the maintainer via the gentoo bug.
Removed old vn. 3.6.1

Gentoo-bug: #577886

Package-Manager: portage-2.2.28

 app-editors/scite/Manifest |  2 +-
 .../{scite-3.6.1.ebuild => scite-3.6.4.ebuild} | 28 +-
 2 files changed, 18 insertions(+), 12 deletions(-)

diff --git a/app-editors/scite/Manifest b/app-editors/scite/Manifest
index 4064974..131043a 100644
--- a/app-editors/scite/Manifest
+++ b/app-editors/scite/Manifest
@@ -1,3 +1,3 @@
 DIST scite355.tgz 2302137 SHA256 
20515597ac986f1727c97bda2c27d88487ddb79cfe330b0b890b5e25330b7d9f SHA512 
cdd9d3aa621f5d31632cfb9f71524255a4b47b70a654bf4bc8a25a76f8a2dbe098a48e0cd4587ced8ca8455be7e809973e212fcbcde5b62087aa0f9528f7f40d
 WHIRLPOOL 
c901804481042b859be68f44ab728544e97975d61219a4bb576ba3da00bd663c8877e9b23b981a0295d759cae3e9afd037d981923086c6850ff29f01c43ec9f6
-DIST scite361.tgz 2347061 SHA256 
bdffdc28c501dbb5e3dc6cbfe3808da2d574df983790c6ddfc2643040023a010 SHA512 
5ead063ba98798ec5aa188735f219a19e788fbfaf12c84bce61a08c356e85e73cbbac412731cfdec02266bb8fa94d2a461239ffaba14b99ea65c31eb770dfcc3
 WHIRLPOOL 
8279b3fea54d2ef266dc5d5cb2b16896731e75d20bcdedaa59570e49d8b201fe7085ecac8f63cb06f2511ebd817d137b5189834d19ee7d4ffae43eaf06d465a7
 DIST scite362.tgz 2368491 SHA256 
6530d0d86c72485b815663e3b2c2987d59779340a71632ed8bb97a43530737a3 SHA512 
cb9618e962a16db7484e16a494b3da39f210250277e9772b112af5e16649b38f27ead0ec61664b1211c9263880cb7f3c34b5b32d94a4e70087fb1503805740c1
 WHIRLPOOL 
52a31f0e1518a9d8f6107aa22eead7da89e1d1ea6523a2aae57fbd7a3a8ecbd192c124c3d2550acea6383457763d6e501b14791ec6490a54379c5d13356e42da
+DIST scite364.tgz 2386959 SHA256 
6a27a1062b838e0fe914fb045f265935e5d39e34d69ae894b55f971437192baa SHA512 
eaba353edac23902a8f446fb8877f3e5dd43221e5289bc38941d76068a3f7c87602e9eb5828e6caafec56657d05b5268aad2a1bb36356a14154de3c22602c76d
 WHIRLPOOL 
f1b4c64eb4a5c6d6e73ffb3f457a5b5ddf8d31cf5f5778b204c05a093bcfb8e78e7a8cab634cf369ce29f200c11b933492f01c30afb268f581d465ed31157c88

diff --git a/app-editors/scite/scite-3.6.1.ebuild 
b/app-editors/scite/scite-3.6.4.ebuild
similarity index 79%
rename from app-editors/scite/scite-3.6.1.ebuild
rename to app-editors/scite/scite-3.6.4.ebuild
index f17d015..2204582 100644
--- a/app-editors/scite/scite-3.6.1.ebuild
+++ b/app-editors/scite/scite-3.6.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -16,12 +16,12 @@ 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= )"
+RDEPEND="dev-libs/glib:=
+   x11-libs/cairo:*
+   >=x11-libs/gtk+-2.0:*
+   x11-libs/gdk-pixbuf:*
+   x11-libs/pango:*
+   lua? ( >=dev-lang/lua-5:= )"
 DEPEND="${RDEPEND}
virtual/pkgconfig
>=sys-apps/sed-4"
@@ -43,6 +43,13 @@ src_prepare() {
-e "s#-rdynamic#-rdynamic ${LDFLAGS}#" \
|| die "error patching makefile"
 
+   # repair and enhance the .desktop file
+   sed -i SciTE.desktop \
+   -e "s/^Encoding/#Encoding/" \
+   -e "s#text/plain#text/\*;application/xhtml+xml#" \
+   -e "s#^Categories=\(.*\)#Categories=Development;#" \
+   || die "error patching SciTe.desktop"
+
cd "${S}"
sed -i makefile \
-e 's#usr/local#usr#g' \
@@ -55,6 +62,9 @@ src_prepare() {
-e 's#-g root#-g 0#' \
-e "s#-Os##" \
|| die "error patching makefile"
+
+   cd "${WORKDIR}"
+
 }
 
 src_compile() {
@@ -76,10 +86,6 @@ src_install() {
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
 }



[gentoo-commits] repo/gentoo:master commit in: app-editors/scite/

2015-12-28 Thread Agostino Sarubbo
commit: cf8f0c2209aa7ac6ede6d1b67a945c4c4fb5517a
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Dec 28 15:06:48 2015 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Dec 28 15:06:48 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf8f0c22

app-editors/scite: version bump to 3.6.2, wrt bug #569890

Package-Manager: portage-2.2.24
Signed-off-by: Agostino Sarubbo  gentoo.org>

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

diff --git a/app-editors/scite/Manifest b/app-editors/scite/Manifest
index 2591d0a..4064974 100644
--- a/app-editors/scite/Manifest
+++ b/app-editors/scite/Manifest
@@ -1,2 +1,3 @@
 DIST scite355.tgz 2302137 SHA256 
20515597ac986f1727c97bda2c27d88487ddb79cfe330b0b890b5e25330b7d9f SHA512 
cdd9d3aa621f5d31632cfb9f71524255a4b47b70a654bf4bc8a25a76f8a2dbe098a48e0cd4587ced8ca8455be7e809973e212fcbcde5b62087aa0f9528f7f40d
 WHIRLPOOL 
c901804481042b859be68f44ab728544e97975d61219a4bb576ba3da00bd663c8877e9b23b981a0295d759cae3e9afd037d981923086c6850ff29f01c43ec9f6
 DIST scite361.tgz 2347061 SHA256 
bdffdc28c501dbb5e3dc6cbfe3808da2d574df983790c6ddfc2643040023a010 SHA512 
5ead063ba98798ec5aa188735f219a19e788fbfaf12c84bce61a08c356e85e73cbbac412731cfdec02266bb8fa94d2a461239ffaba14b99ea65c31eb770dfcc3
 WHIRLPOOL 
8279b3fea54d2ef266dc5d5cb2b16896731e75d20bcdedaa59570e49d8b201fe7085ecac8f63cb06f2511ebd817d137b5189834d19ee7d4ffae43eaf06d465a7
+DIST scite362.tgz 2368491 SHA256 
6530d0d86c72485b815663e3b2c2987d59779340a71632ed8bb97a43530737a3 SHA512 
cb9618e962a16db7484e16a494b3da39f210250277e9772b112af5e16649b38f27ead0ec61664b1211c9263880cb7f3c34b5b32d94a4e70087fb1503805740c1
 WHIRLPOOL 
52a31f0e1518a9d8f6107aa22eead7da89e1d1ea6523a2aae57fbd7a3a8ecbd192c124c3d2550acea6383457763d6e501b14791ec6490a54379c5d13356e42da

diff --git a/app-editors/scite/scite-3.6.2.ebuild 
b/app-editors/scite/scite-3.6.2.ebuild
new file mode 100644
index 000..f17d015
--- /dev/null
+++ b/app-editors/scite/scite-3.6.2.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
+}



[gentoo-commits] repo/gentoo:master commit in: app-editors/scite/

2015-09-25 Thread Ian Delaney
commit: 93312a8133be84bcf538f697dbc19c55c2ee10c6
Author: Ian Delaney  gentoo  org>
AuthorDate: Fri Sep 25 14:10:02 2015 +
Commit: Ian Delaney  gentoo  org>
CommitDate: Fri Sep 25 14:10:02 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93312a81

app-editors/scite: remove old versions

Package-Manager: portage-2.2.20.1

 app-editors/scite/Manifest   |  2 -
 app-editors/scite/scite-3.5.2.ebuild | 87 
 app-editors/scite/scite-3.5.4.ebuild | 85 ---
 3 files changed, 174 deletions(-)

diff --git a/app-editors/scite/Manifest b/app-editors/scite/Manifest
index 268cc79..2591d0a 100644
--- a/app-editors/scite/Manifest
+++ b/app-editors/scite/Manifest
@@ -1,4 +1,2 @@
-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.5.2.ebuild 
b/app-editors/scite/scite-3.5.2.ebuild
deleted file mode 100644
index 17e3abc..000
--- a/app-editors/scite/scite-3.5.2.ebuild
+++ /dev/null
@@ -1,87 +0,0 @@
-# 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"
-   cd "${WORKDIR}"
-   epatch "${FILESDIR}/${PN}-3.0.1-no-lua.patch"
-}
-
-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 

[gentoo-commits] repo/gentoo:master commit in: app-editors/scite/

2015-09-20 Thread Ian Delaney
commit: f0c5e38217993b03361288c08164eff62742ee35
Author: Ian Delaney  gentoo  org>
AuthorDate: Sun Sep 20 06:27:53 2015 +
Commit: Ian Delaney  gentoo  org>
CommitDate: Sun Sep 20 06:28:44 2015 +
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 000..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
+}

[gentoo-commits] repo/gentoo:master commit in: app-editors/scite/

2015-09-19 Thread Agostino Sarubbo
commit: beba9f6a839fbfb3d518c0a761c383f986be0211
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sat Sep 19 12:31:05 2015 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sat Sep 19 12:31:05 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=beba9f6a

app-editors/scite: amd64 stable wrt bug #560514

Package-Manager: portage-2.2.20.1
RepoMan-Options: --include-arches="amd64"

 app-editors/scite/scite-3.5.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-editors/scite/scite-3.5.5.ebuild 
b/app-editors/scite/scite-3.5.5.ebuild
index f17d015..64a0b21 100644
--- a/app-editors/scite/scite-3.5.5.ebuild
+++ b/app-editors/scite/scite-3.5.5.ebuild
@@ -13,7 +13,7 @@ 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"
+KEYWORDS="amd64 ~ppc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~arm-linux 
~x86-linux"
 IUSE="lua"
 
 RDEPEND="dev-libs/glib:2