* [gentoo-commits] repo/gentoo:master commit in: app-office/sc-im/
@ 2022-08-29 22:38 Sam James
0 siblings, 0 replies; 13+ messages in thread
From: Sam James @ 2022-08-29 22:38 UTC (permalink / raw
To: gentoo-commits
commit: 451e97732fc14733aa35aa236b793219b4eee9cb
Author: Efe İzbudak <efe.izbudak <AT> metu <DOT> edu <DOT> tr>
AuthorDate: Wed Jun 29 14:33:57 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Aug 29 22:37:50 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=451e9773
app-office/sc-im: new package, add 0.8.2
Closes: https://bugs.gentoo.org/661516
Signed-off-by: Efe İzbudak <efe.izbudak <AT> metu.edu.tr>
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-office/sc-im/Manifest | 1 +
app-office/sc-im/metadata.xml | 24 ++++++
app-office/sc-im/sc-im-0.8.2.ebuild | 141 ++++++++++++++++++++++++++++++++++++
3 files changed, 166 insertions(+)
diff --git a/app-office/sc-im/Manifest b/app-office/sc-im/Manifest
new file mode 100644
index 000000000000..a085c5e62cde
--- /dev/null
+++ b/app-office/sc-im/Manifest
@@ -0,0 +1 @@
+DIST sc-im-0.8.2.tar.gz 1619617 BLAKE2B 1957b79749012b5e8b24e26f3cde63c84bf971d2183791f986c98ec823a9ab74bf8a126dcdb2a58920af07e068520ebd7efe9c9394235c5a58670f120495e980 SHA512 ae02fd31eb7254208de26802ed6d8b21d77ce2d6997f4a2de5bd2f0a002c763f67f53e6c8e49d66ded096ecd8bf50b1117015e9a0356eaf11c3caef22cf4552c
diff --git a/app-office/sc-im/metadata.xml b/app-office/sc-im/metadata.xml
new file mode 100644
index 000000000000..8f4ac17a19b5
--- /dev/null
+++ b/app-office/sc-im/metadata.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person" proxied="yes">
+ <email>efe.izbudak@metu.edu.tr</email>
+ <name>Efe İzbudak</name>
+ </maintainer>
+ <maintainer type="project" proxied="proxy">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <use>
+ <flag name="plots">Add <pkg>sci-visualization/gnuplot</pkg> for plotting support</flag>
+ <flag name="xls">Add xls support</flag>
+ <flag name="xlsx">Add xlsx support</flag>
+ <flag name="ods">Add ods import support</flag>
+ <flag name="X">Use <pkg>x11-misc/xclip</pkg> for clipboard copy/paste</flag>
+ <flag name="tmux">Use <pkg>app-misc/tmux</pkg> for clipboard copy/paste</flag>
+ <flag name="wayland">Use <pkg>gui-apps/wl-clipboard</pkg> for clipboard copy/paste</flag>
+ </use>
+ <upstream>
+ <remote-id type="github">andmarti1424/sc-im</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-office/sc-im/sc-im-0.8.2.ebuild b/app-office/sc-im/sc-im-0.8.2.ebuild
new file mode 100644
index 000000000000..bed8ce296550
--- /dev/null
+++ b/app-office/sc-im/sc-im-0.8.2.ebuild
@@ -0,0 +1,141 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LUA_COMPAT=( lua5-1 luajit )
+
+inherit lua-single toolchain-funcs flag-o-matic
+
+DESCRIPTION="Spreadsheet Calculator Improvised -- An ncurses spreadsheet program for terminal"
+HOMEPAGE="https://github.com/andmarti1424/sc-im"
+SRC_URI="https://github.com/andmarti1424/sc-im/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${P}/src"
+
+LICENSE="BSD-4"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="X plots wayland xls xlsx lua ods tmux"
+REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )"
+
+DEPEND="
+ sys-libs/ncurses:=
+
+ lua? (
+ ${LUA_DEPS}
+ )
+ ods? (
+ dev-libs/libxml2
+ dev-libs/libzip
+ )
+ plots? ( sci-visualization/gnuplot )
+ tmux? ( app-misc/tmux )
+ wayland? ( gui-apps/wl-clipboard )
+ X? ( x11-misc/xclip )
+ xls? (
+ dev-libs/libxls
+ )
+ xlsx? (
+ dev-libs/libxlsxwriter
+ dev-libs/libxml2
+ dev-libs/libzip
+ )
+"
+RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+pkg_setup() {
+ CONFLICTING=$(usex tmux "tmux " "")$(usex wayland "wayland " "")$(usex X "X" "")
+ if ( use tmux && ( use wayland || use X ) ) ; then
+ elog "Conflicting flags for clipboard support are set: ${CONFLICTING}"
+ elog "tmux support has been preferred."
+ elif ( use wayland && use X ) ; then
+ elog "Conflicting flags for clipboard support are set: ${CONFLICTING}"
+ elog "Wayland support has been preferred."
+ fi
+
+ # Run lua setup
+ lua-single_pkg_setup
+}
+
+src_prepare() {
+ default
+
+ # Clean Makefile from all sorts of flag / lib setting
+ sed -i -e '/CFLAGS +=\|LDLIBS +=/d' Makefile \
+ || die "sed fix failed. Uh-oh..."
+ # Also clean the now useless comments and logic
+ sed -i -e '/#\|if\|else/d' Makefile \
+ || die "sed fix failed. Uh-oh..."
+}
+
+src_configure() {
+ tc-export CC PKG_CONFIG
+
+ LDLIBS="-lm"
+
+ # default flags that dont need optional dependencies
+ append-cflags -Wall -g \
+ -DNCURSES \
+ -D_XOPEN_SOURCE_EXTENDED -D_GNU_SOURCE \
+ '-DSNAME=\"sc-im\"' \
+ '-DHELP_PATH=\"/usr/share/sc-im\"' \
+ '-DLIBDIR=\"/usr/share/doc/sc-im\"' \
+ '-DDFLT_PAGER=\"less\"' \
+ '-DDFLT_EDITOR=\"vim\"' \
+ -DUSECOLORS \
+ '-DHISTORY_FILE=\"sc-iminfo\"' \
+ '-DHISTORY_DIR=\".cache\"' \
+ '-DCONFIG_FILE=\"scimrc\"' \
+ '-DCONFIG_DIR=\".config/sc-im\"' \
+ '-DINS_HISTORY_FILE=\"sc-iminfo\"' \
+ -DUNDO \
+ -DMAXROWS=65536 \
+ -DUSELOCALE \
+ -DMOUSE \
+ '-DDEFAULT_OPEN_FILE_UNDER_CURSOR_CMD=\""scopen"\"' \
+ -DAUTOBACKUP \
+ -DHAVE_PTHREAD
+
+ # setting default clipboard commands
+ if use tmux ; then
+ append-cflags '-DDEFAULT_COPY_TO_CLIPBOARD_CMD=\""tmux load-buffer"\"'
+ append-cflags '-DDEFAULT_PASTE_FROM_CLIPBOARD_CMD=\""tmux show-buffer"\"'
+ elif use wayland ; then
+ append-cflags '-DDEFAULT_COPY_TO_CLIPBOARD_CMD=\""wl-copy <"\"'
+ append-cflags '-DDEFAULT_PASTE_FROM_CLIPBOARD_CMD=\""wl-paste"\"'
+ elif use X ; then
+ append-cflags '-DDEFAULT_COPY_TO_CLIPBOARD_CMD=\""xclip -i -selection clipboard <"\"'
+ append-cflags '-DDEFAULT_PASTE_FROM_CLIPBOARD_CMD=\""xclip -o -selection clipboard"\"'
+ fi
+
+ # optional feature dependency
+ use plots && append-cflags -DGNUPLOT
+ if use xls; then
+ append-cflags -DXLS $(${PKG_CONFIG} --cflags libxls)
+ LDLIBS+=" $(${PKG_CONFIG} --libs libxls)"
+ fi
+ if use xlsx || use ods ; then
+ append-cflags -DODS -DXLSX $(${PKG_CONFIG} --cflags libxml-2.0 libzip)
+ LDLIBS+=" -DODS -DXLSX $(${PKG_CONFIG} --libs libxml-2.0 libzip)"
+ fi
+ if use xlsx ; then
+ append-cflags -DXLSX_EXPORT $(${PKG_CONFIG} --cflags xlsxwriter)
+ LDLIBS+=" -DXLSX_EXPORT $(${PKG_CONFIG} --libs xlsxwriter)"
+ fi
+ if use lua ; then
+ append-cflags -DXLUA $(${PKG_CONFIG} --cflags lua)
+ LDLIBS+=" -DXLUA $(${PKG_CONFIG} --libs lua) -rdynamic"
+ fi
+ append-cflags $(${PKG_CONFIG} --cflags ncursesw) || append-cflags $(${PKG_CONFIG} --cflags ncurses)
+ LDLIBS+=" $(${PKG_CONFIG} --libs ncursesw)" || LDLIBS+=" $(${PKG_CONFIG} --libs ncurses)"
+}
+
+src_compile() {
+ emake LDLIBS="${LDLIBS}" CFLAGS="${CFLAGS}"
+}
+
+src_install() {
+ emake DESTDIR="${D}" prefix="/usr" install
+ einstalldocs
+}
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-office/sc-im/
@ 2022-10-14 5:00 Arthur Zamarin
0 siblings, 0 replies; 13+ messages in thread
From: Arthur Zamarin @ 2022-10-14 5:00 UTC (permalink / raw
To: gentoo-commits
commit: c105ef3d4df85cacee06e3dd7a0c06578c5b1c7a
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 14 05:00:10 2022 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Oct 14 05:00:10 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c105ef3d
app-office/sc-im: Keyword 0.8.2 arm64, #877053
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
app-office/sc-im/sc-im-0.8.2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-office/sc-im/sc-im-0.8.2.ebuild b/app-office/sc-im/sc-im-0.8.2.ebuild
index bed8ce296550..f3564a67db53 100644
--- a/app-office/sc-im/sc-im-0.8.2.ebuild
+++ b/app-office/sc-im/sc-im-0.8.2.ebuild
@@ -14,7 +14,7 @@ S="${WORKDIR}/${P}/src"
LICENSE="BSD-4"
SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~arm64"
IUSE="X plots wayland xls xlsx lua ods tmux"
REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )"
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-office/sc-im/
@ 2022-10-14 6:24 Joonas Niilola
0 siblings, 0 replies; 13+ messages in thread
From: Joonas Niilola @ 2022-10-14 6:24 UTC (permalink / raw
To: gentoo-commits
commit: e6fbff41b7bc009e49fd3faf5887b07c68634532
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 14 06:23:46 2022 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Fri Oct 14 06:23:46 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6fbff41
app-office/sc-im: Stabilize 0.8.2 amd64, #877059
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
app-office/sc-im/sc-im-0.8.2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-office/sc-im/sc-im-0.8.2.ebuild b/app-office/sc-im/sc-im-0.8.2.ebuild
index f3564a67db53..9a8992361991 100644
--- a/app-office/sc-im/sc-im-0.8.2.ebuild
+++ b/app-office/sc-im/sc-im-0.8.2.ebuild
@@ -14,7 +14,7 @@ S="${WORKDIR}/${P}/src"
LICENSE="BSD-4"
SLOT="0"
-KEYWORDS="~amd64 ~arm64"
+KEYWORDS="amd64 ~arm64"
IUSE="X plots wayland xls xlsx lua ods tmux"
REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )"
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-office/sc-im/
@ 2022-10-14 6:40 Joonas Niilola
0 siblings, 0 replies; 13+ messages in thread
From: Joonas Niilola @ 2022-10-14 6:40 UTC (permalink / raw
To: gentoo-commits
commit: 63ba902bc1af16e0d889fe00335a27241eb4dd2a
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 14 06:39:19 2022 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Fri Oct 14 06:39:19 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63ba902b
app-office/sc-im: add missing bdepend for virtual/yacc
yacc -d gram.y
make: yacc: No such file or directory
make: *** [Makefile:76: y.tab.c] Error 127
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
app-office/sc-im/sc-im-0.8.2.ebuild | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/app-office/sc-im/sc-im-0.8.2.ebuild b/app-office/sc-im/sc-im-0.8.2.ebuild
index 9a8992361991..315fd9e5d581 100644
--- a/app-office/sc-im/sc-im-0.8.2.ebuild
+++ b/app-office/sc-im/sc-im-0.8.2.ebuild
@@ -42,7 +42,8 @@ DEPEND="
)
"
RDEPEND="${DEPEND}"
-BDEPEND="virtual/pkgconfig"
+BDEPEND="virtual/pkgconfig
+ virtual/yacc"
pkg_setup() {
CONFLICTING=$(usex tmux "tmux " "")$(usex wayland "wayland " "")$(usex X "X" "")
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-office/sc-im/
@ 2022-10-17 19:47 Sam James
0 siblings, 0 replies; 13+ messages in thread
From: Sam James @ 2022-10-17 19:47 UTC (permalink / raw
To: gentoo-commits
commit: f26f2a7fc6cb9ae780857610f54faad1de90cb0c
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 17 19:46:59 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Oct 17 19:47:13 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f26f2a7f
app-office/sc-im: Keyword 0.8.2 arm, #877053
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-office/sc-im/sc-im-0.8.2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-office/sc-im/sc-im-0.8.2.ebuild b/app-office/sc-im/sc-im-0.8.2.ebuild
index 315fd9e5d581..055adeb7b420 100644
--- a/app-office/sc-im/sc-im-0.8.2.ebuild
+++ b/app-office/sc-im/sc-im-0.8.2.ebuild
@@ -14,7 +14,7 @@ S="${WORKDIR}/${P}/src"
LICENSE="BSD-4"
SLOT="0"
-KEYWORDS="amd64 ~arm64"
+KEYWORDS="amd64 ~arm ~arm64"
IUSE="X plots wayland xls xlsx lua ods tmux"
REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )"
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-office/sc-im/
@ 2022-12-05 19:55 Arthur Zamarin
0 siblings, 0 replies; 13+ messages in thread
From: Arthur Zamarin @ 2022-12-05 19:55 UTC (permalink / raw
To: gentoo-commits
commit: d1878aa22518dc01e50b397b52dffa0d8c7b0b46
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 5 19:55:50 2022 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Mon Dec 5 19:55:50 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1878aa2
app-office/sc-im: Keyword 0.8.2 x86, #877053
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
app-office/sc-im/sc-im-0.8.2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-office/sc-im/sc-im-0.8.2.ebuild b/app-office/sc-im/sc-im-0.8.2.ebuild
index 3157fa4c4b74..28ac2693dc67 100644
--- a/app-office/sc-im/sc-im-0.8.2.ebuild
+++ b/app-office/sc-im/sc-im-0.8.2.ebuild
@@ -14,7 +14,7 @@ S="${WORKDIR}/${P}/src"
LICENSE="BSD-4"
SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64"
+KEYWORDS="amd64 ~arm ~arm64 ~x86"
IUSE="X plots wayland xls xlsx lua ods tmux"
REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )"
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-office/sc-im/
@ 2023-02-27 12:35 Joonas Niilola
0 siblings, 0 replies; 13+ messages in thread
From: Joonas Niilola @ 2023-02-27 12:35 UTC (permalink / raw
To: gentoo-commits
commit: a6e801b0b3c3e8bde43f3f141e752f07c2b1f646
Author: Efe İzbudak <efe.izbudak <AT> metu <DOT> edu <DOT> tr>
AuthorDate: Thu Feb 16 06:32:57 2023 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Mon Feb 27 12:35:24 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6e801b0
app-office/sc-im: add 0.8.3
Signed-off-by: Efe İzbudak <efe.izbudak <AT> metu.edu.tr>
Closes: https://github.com/gentoo/gentoo/pull/29600
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
app-office/sc-im/Manifest | 1 +
app-office/sc-im/sc-im-0.8.3.ebuild | 141 ++++++++++++++++++++++++++++++++++++
2 files changed, 142 insertions(+)
diff --git a/app-office/sc-im/Manifest b/app-office/sc-im/Manifest
index a085c5e62cde..e87e88fee0d7 100644
--- a/app-office/sc-im/Manifest
+++ b/app-office/sc-im/Manifest
@@ -1 +1,2 @@
DIST sc-im-0.8.2.tar.gz 1619617 BLAKE2B 1957b79749012b5e8b24e26f3cde63c84bf971d2183791f986c98ec823a9ab74bf8a126dcdb2a58920af07e068520ebd7efe9c9394235c5a58670f120495e980 SHA512 ae02fd31eb7254208de26802ed6d8b21d77ce2d6997f4a2de5bd2f0a002c763f67f53e6c8e49d66ded096ecd8bf50b1117015e9a0356eaf11c3caef22cf4552c
+DIST sc-im-0.8.3.tar.gz 1664440 BLAKE2B 9f02e265ecd39b4f3a5e3ab61222094a1424f9591c04ff3ddf745576f2aa1c89345ea2e4d4c95a0565d7f287985e81d9eba849113f5b7aa61744cf69284ce312 SHA512 a3d7cf99c7c959d24ebf7e525abb665c02690674c9b3cdf5b234dcdb376fd73e9488bda522106802932084bbfd239928e39b35743c7051178aa14edf61ec2cb8
diff --git a/app-office/sc-im/sc-im-0.8.3.ebuild b/app-office/sc-im/sc-im-0.8.3.ebuild
new file mode 100644
index 000000000000..f0befe2dda44
--- /dev/null
+++ b/app-office/sc-im/sc-im-0.8.3.ebuild
@@ -0,0 +1,141 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LUA_COMPAT=( lua5-1 luajit )
+
+inherit lua-single toolchain-funcs flag-o-matic
+
+DESCRIPTION="Ncurses based, vim-like spreadsheet calculator"
+HOMEPAGE="https://github.com/andmarti1424/sc-im"
+SRC_URI="https://github.com/andmarti1424/sc-im/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${P}/src"
+
+LICENSE="BSD-4"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="lua ods plots tmux wayland X xls xlsx"
+REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )"
+
+DEPEND="
+ sys-libs/ncurses:=
+ lua? (
+ ${LUA_DEPS}
+ )
+ ods? (
+ dev-libs/libxml2
+ dev-libs/libzip
+ )
+ plots? ( sci-visualization/gnuplot )
+ tmux? ( app-misc/tmux )
+ wayland? ( gui-apps/wl-clipboard )
+ X? ( x11-misc/xclip )
+ xls? (
+ dev-libs/libxls
+ )
+ xlsx? (
+ dev-libs/libxlsxwriter
+ dev-libs/libxml2
+ dev-libs/libzip
+ )
+"
+RDEPEND="${DEPEND}"
+BDEPEND="app-alternatives/yacc
+ virtual/pkgconfig"
+
+pkg_setup() {
+ CONFLICTING=$(usex tmux "tmux " "")$(usex wayland "wayland " "")$(usex X "X" "")
+ if ( use tmux && ( use wayland || use X ) ) ; then
+ elog "Conflicting flags for clipboard support are set: ${CONFLICTING}"
+ elog "tmux support has been preferred."
+ elif ( use wayland && use X ) ; then
+ elog "Conflicting flags for clipboard support are set: ${CONFLICTING}"
+ elog "Wayland support has been preferred."
+ fi
+
+ # Run lua setup
+ lua-single_pkg_setup
+}
+
+src_prepare() {
+ default
+
+ # Clean Makefile from all sorts of flag / lib setting
+ sed -i -e '/CFLAGS +=\|LDLIBS +=/d' Makefile \
+ || die "sed fix failed. Uh-oh..."
+ # Also clean the now useless comments and logic
+ sed -i -e '/#\|if\|else/d' Makefile \
+ || die "sed fix failed. Uh-oh..."
+}
+
+src_configure() {
+ tc-export CC PKG_CONFIG
+
+ LDLIBS="-lm"
+
+ # default flags that dont need optional dependencies
+ append-cflags -Wall -g \
+ -DNCURSES \
+ -D_XOPEN_SOURCE_EXTENDED -D_GNU_SOURCE \
+ '-DSNAME=\"sc-im\"' \
+ '-DHELP_PATH=\"/usr/share/sc-im\"' \
+ '-DLIBDIR=\"/usr/share/doc/sc-im\"' \
+ '-DDFLT_PAGER=\"less\"' \
+ '-DDFLT_EDITOR=\"vim\"' \
+ -DUSECOLORS \
+ '-DHISTORY_FILE=\"sc-iminfo\"' \
+ '-DHISTORY_DIR=\".cache\"' \
+ '-DCONFIG_FILE=\"scimrc\"' \
+ '-DCONFIG_DIR=\".config/sc-im\"' \
+ '-DINS_HISTORY_FILE=\"sc-iminfo\"' \
+ -DUNDO \
+ -DMAXROWS=65536 \
+ -DUSELOCALE \
+ -DMOUSE \
+ '-DDEFAULT_OPEN_FILE_UNDER_CURSOR_CMD=\""scopen"\"' \
+ -DAUTOBACKUP \
+ -DHAVE_PTHREAD
+
+ # setting default clipboard commands
+ if use tmux ; then
+ append-cflags '-DDEFAULT_COPY_TO_CLIPBOARD_CMD=\""tmux load-buffer"\"'
+ append-cflags '-DDEFAULT_PASTE_FROM_CLIPBOARD_CMD=\""tmux show-buffer"\"'
+ elif use wayland ; then
+ append-cflags '-DDEFAULT_COPY_TO_CLIPBOARD_CMD=\""wl-copy <"\"'
+ append-cflags '-DDEFAULT_PASTE_FROM_CLIPBOARD_CMD=\""wl-paste"\"'
+ elif use X ; then
+ append-cflags '-DDEFAULT_COPY_TO_CLIPBOARD_CMD=\""xclip -i -selection clipboard <"\"'
+ append-cflags '-DDEFAULT_PASTE_FROM_CLIPBOARD_CMD=\""xclip -o -selection clipboard"\"'
+ fi
+
+ # optional feature dependency
+ use plots && append-cflags -DGNUPLOT
+ if use xls; then
+ append-cflags -DXLS $(${PKG_CONFIG} --cflags libxls)
+ LDLIBS+=" $(${PKG_CONFIG} --libs libxls)"
+ fi
+ if use xlsx || use ods ; then
+ append-cflags -DODS -DXLSX $(${PKG_CONFIG} --cflags libxml-2.0 libzip)
+ LDLIBS+=" -DODS -DXLSX $(${PKG_CONFIG} --libs libxml-2.0 libzip)"
+ fi
+ if use xlsx ; then
+ append-cflags -DXLSX_EXPORT $(${PKG_CONFIG} --cflags xlsxwriter)
+ LDLIBS+=" -DXLSX_EXPORT $(${PKG_CONFIG} --libs xlsxwriter)"
+ fi
+ if use lua ; then
+ append-cflags -DXLUA $(${PKG_CONFIG} --cflags lua)
+ LDLIBS+=" -DXLUA $(${PKG_CONFIG} --libs lua) -rdynamic"
+ fi
+ append-cflags $(${PKG_CONFIG} --cflags ncursesw) || append-cflags $(${PKG_CONFIG} --cflags ncurses)
+ LDLIBS+=" $(${PKG_CONFIG} --libs ncursesw)" || LDLIBS+=" $(${PKG_CONFIG} --libs ncurses)"
+}
+
+src_compile() {
+ emake LDLIBS="${LDLIBS}" CFLAGS="${CFLAGS}"
+}
+
+src_install() {
+ emake DESTDIR="${D}" prefix="/usr" install
+ einstalldocs
+}
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-office/sc-im/
@ 2023-03-31 16:16 Sam James
0 siblings, 0 replies; 13+ messages in thread
From: Sam James @ 2023-03-31 16:16 UTC (permalink / raw
To: gentoo-commits
commit: 9d278a98fa3f57ae2ee15724cf43aa613d8bd5a1
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 31 16:15:58 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Mar 31 16:15:58 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d278a98
app-office/sc-im: Stabilize 0.8.3 amd64, #903634
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-office/sc-im/sc-im-0.8.3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-office/sc-im/sc-im-0.8.3.ebuild b/app-office/sc-im/sc-im-0.8.3.ebuild
index f0befe2dda44..99c823f8d3c4 100644
--- a/app-office/sc-im/sc-im-0.8.3.ebuild
+++ b/app-office/sc-im/sc-im-0.8.3.ebuild
@@ -14,7 +14,7 @@ S="${WORKDIR}/${P}/src"
LICENSE="BSD-4"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~x86"
IUSE="lua ods plots tmux wayland X xls xlsx"
REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )"
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-office/sc-im/
@ 2023-04-23 12:29 Conrad Kostecki
0 siblings, 0 replies; 13+ messages in thread
From: Conrad Kostecki @ 2023-04-23 12:29 UTC (permalink / raw
To: gentoo-commits
commit: 64dca91e05079168e4f0ea3f51a5e051e480e6ef
Author: Efe İzbudak <efe.izbudak <AT> metu <DOT> edu <DOT> tr>
AuthorDate: Sun Apr 23 03:26:59 2023 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sun Apr 23 12:28:35 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64dca91e
app-office/sc-im: change max rows value
The build flag -DMAXROWS used to set max rows have been changed to
1048576 to comply with modern standards.
Closes: https://bugs.gentoo.org/904837
Signed-off-by: Efe İzbudak <efe.izbudak <AT> metu.edu.tr>
Closes: https://github.com/gentoo/gentoo/pull/30715
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
app-office/sc-im/sc-im-0.8.3-r1.ebuild | 141 +++++++++++++++++++++++++++++++++
1 file changed, 141 insertions(+)
diff --git a/app-office/sc-im/sc-im-0.8.3-r1.ebuild b/app-office/sc-im/sc-im-0.8.3-r1.ebuild
new file mode 100644
index 000000000000..5337d164314b
--- /dev/null
+++ b/app-office/sc-im/sc-im-0.8.3-r1.ebuild
@@ -0,0 +1,141 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LUA_COMPAT=( lua5-1 luajit )
+
+inherit lua-single toolchain-funcs flag-o-matic
+
+DESCRIPTION="Ncurses based, vim-like spreadsheet calculator"
+HOMEPAGE="https://github.com/andmarti1424/sc-im"
+SRC_URI="https://github.com/andmarti1424/sc-im/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${P}/src"
+
+LICENSE="BSD-4"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="lua ods plots tmux wayland X xls xlsx"
+REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )"
+
+DEPEND="
+ sys-libs/ncurses:=
+ lua? (
+ ${LUA_DEPS}
+ )
+ ods? (
+ dev-libs/libxml2
+ dev-libs/libzip
+ )
+ plots? ( sci-visualization/gnuplot )
+ tmux? ( app-misc/tmux )
+ wayland? ( gui-apps/wl-clipboard )
+ X? ( x11-misc/xclip )
+ xls? (
+ dev-libs/libxls
+ )
+ xlsx? (
+ dev-libs/libxlsxwriter
+ dev-libs/libxml2
+ dev-libs/libzip
+ )
+"
+RDEPEND="${DEPEND}"
+BDEPEND="app-alternatives/yacc
+ virtual/pkgconfig"
+
+pkg_setup() {
+ CONFLICTING=$(usex tmux "tmux " "")$(usex wayland "wayland " "")$(usex X "X" "")
+ if ( use tmux && ( use wayland || use X ) ) ; then
+ elog "Conflicting flags for clipboard support are set: ${CONFLICTING}"
+ elog "tmux support has been preferred."
+ elif ( use wayland && use X ) ; then
+ elog "Conflicting flags for clipboard support are set: ${CONFLICTING}"
+ elog "Wayland support has been preferred."
+ fi
+
+ # Run lua setup
+ lua-single_pkg_setup
+}
+
+src_prepare() {
+ default
+
+ # Clean Makefile from all sorts of flag / lib setting
+ sed -i -e '/CFLAGS +=\|LDLIBS +=/d' Makefile \
+ || die "sed fix failed. Uh-oh..."
+ # Also clean the now useless comments and logic
+ sed -i -e '/#\|if\|else/d' Makefile \
+ || die "sed fix failed. Uh-oh..."
+}
+
+src_configure() {
+ tc-export CC PKG_CONFIG
+
+ LDLIBS="-lm"
+
+ # default flags that dont need optional dependencies
+ append-cflags -Wall -g \
+ -DNCURSES \
+ -D_XOPEN_SOURCE_EXTENDED -D_GNU_SOURCE \
+ '-DSNAME=\"sc-im\"' \
+ '-DHELP_PATH=\"/usr/share/sc-im\"' \
+ '-DLIBDIR=\"/usr/share/doc/sc-im\"' \
+ '-DDFLT_PAGER=\"less\"' \
+ '-DDFLT_EDITOR=\"vim\"' \
+ -DUSECOLORS \
+ '-DHISTORY_FILE=\"sc-iminfo\"' \
+ '-DHISTORY_DIR=\".cache\"' \
+ '-DCONFIG_FILE=\"scimrc\"' \
+ '-DCONFIG_DIR=\".config/sc-im\"' \
+ '-DINS_HISTORY_FILE=\"sc-iminfo\"' \
+ -DUNDO \
+ -DMAXROWS=1048576 \
+ -DUSELOCALE \
+ -DMOUSE \
+ '-DDEFAULT_OPEN_FILE_UNDER_CURSOR_CMD=\""scopen"\"' \
+ -DAUTOBACKUP \
+ -DHAVE_PTHREAD
+
+ # setting default clipboard commands
+ if use tmux ; then
+ append-cflags '-DDEFAULT_COPY_TO_CLIPBOARD_CMD=\""tmux load-buffer"\"'
+ append-cflags '-DDEFAULT_PASTE_FROM_CLIPBOARD_CMD=\""tmux show-buffer"\"'
+ elif use wayland ; then
+ append-cflags '-DDEFAULT_COPY_TO_CLIPBOARD_CMD=\""wl-copy <"\"'
+ append-cflags '-DDEFAULT_PASTE_FROM_CLIPBOARD_CMD=\""wl-paste"\"'
+ elif use X ; then
+ append-cflags '-DDEFAULT_COPY_TO_CLIPBOARD_CMD=\""xclip -i -selection clipboard <"\"'
+ append-cflags '-DDEFAULT_PASTE_FROM_CLIPBOARD_CMD=\""xclip -o -selection clipboard"\"'
+ fi
+
+ # optional feature dependency
+ use plots && append-cflags -DGNUPLOT
+ if use xls; then
+ append-cflags -DXLS $(${PKG_CONFIG} --cflags libxls)
+ LDLIBS+=" $(${PKG_CONFIG} --libs libxls)"
+ fi
+ if use xlsx || use ods ; then
+ append-cflags -DODS -DXLSX $(${PKG_CONFIG} --cflags libxml-2.0 libzip)
+ LDLIBS+=" -DODS -DXLSX $(${PKG_CONFIG} --libs libxml-2.0 libzip)"
+ fi
+ if use xlsx ; then
+ append-cflags -DXLSX_EXPORT $(${PKG_CONFIG} --cflags xlsxwriter)
+ LDLIBS+=" -DXLSX_EXPORT $(${PKG_CONFIG} --libs xlsxwriter)"
+ fi
+ if use lua ; then
+ append-cflags -DXLUA $(${PKG_CONFIG} --cflags lua)
+ LDLIBS+=" -DXLUA $(${PKG_CONFIG} --libs lua) -rdynamic"
+ fi
+ append-cflags $(${PKG_CONFIG} --cflags ncursesw) || append-cflags $(${PKG_CONFIG} --cflags ncurses)
+ LDLIBS+=" $(${PKG_CONFIG} --libs ncursesw)" || LDLIBS+=" $(${PKG_CONFIG} --libs ncurses)"
+}
+
+src_compile() {
+ emake LDLIBS="${LDLIBS}" CFLAGS="${CFLAGS}"
+}
+
+src_install() {
+ emake DESTDIR="${D}" prefix="/usr" install
+ einstalldocs
+}
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-office/sc-im/
@ 2023-05-28 6:57 Joonas Niilola
0 siblings, 0 replies; 13+ messages in thread
From: Joonas Niilola @ 2023-05-28 6:57 UTC (permalink / raw
To: gentoo-commits
commit: 842d0700baefa5ddb60a26866e1a2fb55a323580
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Sun May 28 06:57:06 2023 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sun May 28 06:57:06 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=842d0700
app-office/sc-im: Stabilize 0.8.3-r1 amd64, #907238
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
app-office/sc-im/sc-im-0.8.3-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-office/sc-im/sc-im-0.8.3-r1.ebuild b/app-office/sc-im/sc-im-0.8.3-r1.ebuild
index 5337d164314b..36829a039fa9 100644
--- a/app-office/sc-im/sc-im-0.8.3-r1.ebuild
+++ b/app-office/sc-im/sc-im-0.8.3-r1.ebuild
@@ -14,7 +14,7 @@ S="${WORKDIR}/${P}/src"
LICENSE="BSD-4"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~x86"
IUSE="lua ods plots tmux wayland X xls xlsx"
REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )"
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-office/sc-im/
@ 2023-05-29 6:17 Joonas Niilola
0 siblings, 0 replies; 13+ messages in thread
From: Joonas Niilola @ 2023-05-29 6:17 UTC (permalink / raw
To: gentoo-commits
commit: 9bf80841392df181f2edf3be8820d7c0e5fff9b7
Author: Efe İzbudak <efe.izbudak <AT> metu <DOT> edu <DOT> tr>
AuthorDate: Sun May 28 13:32:48 2023 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Mon May 29 06:16:54 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9bf80841
app-office/sc-im: drop 0.8.2, 0.8.3
Signed-off-by: Efe İzbudak <efe.izbudak <AT> metu.edu.tr>
Closes: https://github.com/gentoo/gentoo/pull/31200
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
app-office/sc-im/Manifest | 1 -
app-office/sc-im/sc-im-0.8.2.ebuild | 142 ------------------------------------
app-office/sc-im/sc-im-0.8.3.ebuild | 141 -----------------------------------
3 files changed, 284 deletions(-)
diff --git a/app-office/sc-im/Manifest b/app-office/sc-im/Manifest
index e87e88fee0d7..4d72eea9511e 100644
--- a/app-office/sc-im/Manifest
+++ b/app-office/sc-im/Manifest
@@ -1,2 +1 @@
-DIST sc-im-0.8.2.tar.gz 1619617 BLAKE2B 1957b79749012b5e8b24e26f3cde63c84bf971d2183791f986c98ec823a9ab74bf8a126dcdb2a58920af07e068520ebd7efe9c9394235c5a58670f120495e980 SHA512 ae02fd31eb7254208de26802ed6d8b21d77ce2d6997f4a2de5bd2f0a002c763f67f53e6c8e49d66ded096ecd8bf50b1117015e9a0356eaf11c3caef22cf4552c
DIST sc-im-0.8.3.tar.gz 1664440 BLAKE2B 9f02e265ecd39b4f3a5e3ab61222094a1424f9591c04ff3ddf745576f2aa1c89345ea2e4d4c95a0565d7f287985e81d9eba849113f5b7aa61744cf69284ce312 SHA512 a3d7cf99c7c959d24ebf7e525abb665c02690674c9b3cdf5b234dcdb376fd73e9488bda522106802932084bbfd239928e39b35743c7051178aa14edf61ec2cb8
diff --git a/app-office/sc-im/sc-im-0.8.2.ebuild b/app-office/sc-im/sc-im-0.8.2.ebuild
deleted file mode 100644
index 28ac2693dc67..000000000000
--- a/app-office/sc-im/sc-im-0.8.2.ebuild
+++ /dev/null
@@ -1,142 +0,0 @@
-# Copyright 2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-LUA_COMPAT=( lua5-1 luajit )
-
-inherit lua-single toolchain-funcs flag-o-matic
-
-DESCRIPTION="Spreadsheet Calculator Improvised -- An ncurses spreadsheet program for terminal"
-HOMEPAGE="https://github.com/andmarti1424/sc-im"
-SRC_URI="https://github.com/andmarti1424/sc-im/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-S="${WORKDIR}/${P}/src"
-
-LICENSE="BSD-4"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~x86"
-IUSE="X plots wayland xls xlsx lua ods tmux"
-REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )"
-
-DEPEND="
- sys-libs/ncurses:=
-
- lua? (
- ${LUA_DEPS}
- )
- ods? (
- dev-libs/libxml2
- dev-libs/libzip
- )
- plots? ( sci-visualization/gnuplot )
- tmux? ( app-misc/tmux )
- wayland? ( gui-apps/wl-clipboard )
- X? ( x11-misc/xclip )
- xls? (
- dev-libs/libxls
- )
- xlsx? (
- dev-libs/libxlsxwriter
- dev-libs/libxml2
- dev-libs/libzip
- )
-"
-RDEPEND="${DEPEND}"
-BDEPEND="virtual/pkgconfig
- app-alternatives/yacc"
-
-pkg_setup() {
- CONFLICTING=$(usex tmux "tmux " "")$(usex wayland "wayland " "")$(usex X "X" "")
- if ( use tmux && ( use wayland || use X ) ) ; then
- elog "Conflicting flags for clipboard support are set: ${CONFLICTING}"
- elog "tmux support has been preferred."
- elif ( use wayland && use X ) ; then
- elog "Conflicting flags for clipboard support are set: ${CONFLICTING}"
- elog "Wayland support has been preferred."
- fi
-
- # Run lua setup
- lua-single_pkg_setup
-}
-
-src_prepare() {
- default
-
- # Clean Makefile from all sorts of flag / lib setting
- sed -i -e '/CFLAGS +=\|LDLIBS +=/d' Makefile \
- || die "sed fix failed. Uh-oh..."
- # Also clean the now useless comments and logic
- sed -i -e '/#\|if\|else/d' Makefile \
- || die "sed fix failed. Uh-oh..."
-}
-
-src_configure() {
- tc-export CC PKG_CONFIG
-
- LDLIBS="-lm"
-
- # default flags that dont need optional dependencies
- append-cflags -Wall -g \
- -DNCURSES \
- -D_XOPEN_SOURCE_EXTENDED -D_GNU_SOURCE \
- '-DSNAME=\"sc-im\"' \
- '-DHELP_PATH=\"/usr/share/sc-im\"' \
- '-DLIBDIR=\"/usr/share/doc/sc-im\"' \
- '-DDFLT_PAGER=\"less\"' \
- '-DDFLT_EDITOR=\"vim\"' \
- -DUSECOLORS \
- '-DHISTORY_FILE=\"sc-iminfo\"' \
- '-DHISTORY_DIR=\".cache\"' \
- '-DCONFIG_FILE=\"scimrc\"' \
- '-DCONFIG_DIR=\".config/sc-im\"' \
- '-DINS_HISTORY_FILE=\"sc-iminfo\"' \
- -DUNDO \
- -DMAXROWS=65536 \
- -DUSELOCALE \
- -DMOUSE \
- '-DDEFAULT_OPEN_FILE_UNDER_CURSOR_CMD=\""scopen"\"' \
- -DAUTOBACKUP \
- -DHAVE_PTHREAD
-
- # setting default clipboard commands
- if use tmux ; then
- append-cflags '-DDEFAULT_COPY_TO_CLIPBOARD_CMD=\""tmux load-buffer"\"'
- append-cflags '-DDEFAULT_PASTE_FROM_CLIPBOARD_CMD=\""tmux show-buffer"\"'
- elif use wayland ; then
- append-cflags '-DDEFAULT_COPY_TO_CLIPBOARD_CMD=\""wl-copy <"\"'
- append-cflags '-DDEFAULT_PASTE_FROM_CLIPBOARD_CMD=\""wl-paste"\"'
- elif use X ; then
- append-cflags '-DDEFAULT_COPY_TO_CLIPBOARD_CMD=\""xclip -i -selection clipboard <"\"'
- append-cflags '-DDEFAULT_PASTE_FROM_CLIPBOARD_CMD=\""xclip -o -selection clipboard"\"'
- fi
-
- # optional feature dependency
- use plots && append-cflags -DGNUPLOT
- if use xls; then
- append-cflags -DXLS $(${PKG_CONFIG} --cflags libxls)
- LDLIBS+=" $(${PKG_CONFIG} --libs libxls)"
- fi
- if use xlsx || use ods ; then
- append-cflags -DODS -DXLSX $(${PKG_CONFIG} --cflags libxml-2.0 libzip)
- LDLIBS+=" -DODS -DXLSX $(${PKG_CONFIG} --libs libxml-2.0 libzip)"
- fi
- if use xlsx ; then
- append-cflags -DXLSX_EXPORT $(${PKG_CONFIG} --cflags xlsxwriter)
- LDLIBS+=" -DXLSX_EXPORT $(${PKG_CONFIG} --libs xlsxwriter)"
- fi
- if use lua ; then
- append-cflags -DXLUA $(${PKG_CONFIG} --cflags lua)
- LDLIBS+=" -DXLUA $(${PKG_CONFIG} --libs lua) -rdynamic"
- fi
- append-cflags $(${PKG_CONFIG} --cflags ncursesw) || append-cflags $(${PKG_CONFIG} --cflags ncurses)
- LDLIBS+=" $(${PKG_CONFIG} --libs ncursesw)" || LDLIBS+=" $(${PKG_CONFIG} --libs ncurses)"
-}
-
-src_compile() {
- emake LDLIBS="${LDLIBS}" CFLAGS="${CFLAGS}"
-}
-
-src_install() {
- emake DESTDIR="${D}" prefix="/usr" install
- einstalldocs
-}
diff --git a/app-office/sc-im/sc-im-0.8.3.ebuild b/app-office/sc-im/sc-im-0.8.3.ebuild
deleted file mode 100644
index 99c823f8d3c4..000000000000
--- a/app-office/sc-im/sc-im-0.8.3.ebuild
+++ /dev/null
@@ -1,141 +0,0 @@
-# Copyright 2022-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-LUA_COMPAT=( lua5-1 luajit )
-
-inherit lua-single toolchain-funcs flag-o-matic
-
-DESCRIPTION="Ncurses based, vim-like spreadsheet calculator"
-HOMEPAGE="https://github.com/andmarti1424/sc-im"
-SRC_URI="https://github.com/andmarti1424/sc-im/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-S="${WORKDIR}/${P}/src"
-
-LICENSE="BSD-4"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~x86"
-IUSE="lua ods plots tmux wayland X xls xlsx"
-REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )"
-
-DEPEND="
- sys-libs/ncurses:=
- lua? (
- ${LUA_DEPS}
- )
- ods? (
- dev-libs/libxml2
- dev-libs/libzip
- )
- plots? ( sci-visualization/gnuplot )
- tmux? ( app-misc/tmux )
- wayland? ( gui-apps/wl-clipboard )
- X? ( x11-misc/xclip )
- xls? (
- dev-libs/libxls
- )
- xlsx? (
- dev-libs/libxlsxwriter
- dev-libs/libxml2
- dev-libs/libzip
- )
-"
-RDEPEND="${DEPEND}"
-BDEPEND="app-alternatives/yacc
- virtual/pkgconfig"
-
-pkg_setup() {
- CONFLICTING=$(usex tmux "tmux " "")$(usex wayland "wayland " "")$(usex X "X" "")
- if ( use tmux && ( use wayland || use X ) ) ; then
- elog "Conflicting flags for clipboard support are set: ${CONFLICTING}"
- elog "tmux support has been preferred."
- elif ( use wayland && use X ) ; then
- elog "Conflicting flags for clipboard support are set: ${CONFLICTING}"
- elog "Wayland support has been preferred."
- fi
-
- # Run lua setup
- lua-single_pkg_setup
-}
-
-src_prepare() {
- default
-
- # Clean Makefile from all sorts of flag / lib setting
- sed -i -e '/CFLAGS +=\|LDLIBS +=/d' Makefile \
- || die "sed fix failed. Uh-oh..."
- # Also clean the now useless comments and logic
- sed -i -e '/#\|if\|else/d' Makefile \
- || die "sed fix failed. Uh-oh..."
-}
-
-src_configure() {
- tc-export CC PKG_CONFIG
-
- LDLIBS="-lm"
-
- # default flags that dont need optional dependencies
- append-cflags -Wall -g \
- -DNCURSES \
- -D_XOPEN_SOURCE_EXTENDED -D_GNU_SOURCE \
- '-DSNAME=\"sc-im\"' \
- '-DHELP_PATH=\"/usr/share/sc-im\"' \
- '-DLIBDIR=\"/usr/share/doc/sc-im\"' \
- '-DDFLT_PAGER=\"less\"' \
- '-DDFLT_EDITOR=\"vim\"' \
- -DUSECOLORS \
- '-DHISTORY_FILE=\"sc-iminfo\"' \
- '-DHISTORY_DIR=\".cache\"' \
- '-DCONFIG_FILE=\"scimrc\"' \
- '-DCONFIG_DIR=\".config/sc-im\"' \
- '-DINS_HISTORY_FILE=\"sc-iminfo\"' \
- -DUNDO \
- -DMAXROWS=65536 \
- -DUSELOCALE \
- -DMOUSE \
- '-DDEFAULT_OPEN_FILE_UNDER_CURSOR_CMD=\""scopen"\"' \
- -DAUTOBACKUP \
- -DHAVE_PTHREAD
-
- # setting default clipboard commands
- if use tmux ; then
- append-cflags '-DDEFAULT_COPY_TO_CLIPBOARD_CMD=\""tmux load-buffer"\"'
- append-cflags '-DDEFAULT_PASTE_FROM_CLIPBOARD_CMD=\""tmux show-buffer"\"'
- elif use wayland ; then
- append-cflags '-DDEFAULT_COPY_TO_CLIPBOARD_CMD=\""wl-copy <"\"'
- append-cflags '-DDEFAULT_PASTE_FROM_CLIPBOARD_CMD=\""wl-paste"\"'
- elif use X ; then
- append-cflags '-DDEFAULT_COPY_TO_CLIPBOARD_CMD=\""xclip -i -selection clipboard <"\"'
- append-cflags '-DDEFAULT_PASTE_FROM_CLIPBOARD_CMD=\""xclip -o -selection clipboard"\"'
- fi
-
- # optional feature dependency
- use plots && append-cflags -DGNUPLOT
- if use xls; then
- append-cflags -DXLS $(${PKG_CONFIG} --cflags libxls)
- LDLIBS+=" $(${PKG_CONFIG} --libs libxls)"
- fi
- if use xlsx || use ods ; then
- append-cflags -DODS -DXLSX $(${PKG_CONFIG} --cflags libxml-2.0 libzip)
- LDLIBS+=" -DODS -DXLSX $(${PKG_CONFIG} --libs libxml-2.0 libzip)"
- fi
- if use xlsx ; then
- append-cflags -DXLSX_EXPORT $(${PKG_CONFIG} --cflags xlsxwriter)
- LDLIBS+=" -DXLSX_EXPORT $(${PKG_CONFIG} --libs xlsxwriter)"
- fi
- if use lua ; then
- append-cflags -DXLUA $(${PKG_CONFIG} --cflags lua)
- LDLIBS+=" -DXLUA $(${PKG_CONFIG} --libs lua) -rdynamic"
- fi
- append-cflags $(${PKG_CONFIG} --cflags ncursesw) || append-cflags $(${PKG_CONFIG} --cflags ncurses)
- LDLIBS+=" $(${PKG_CONFIG} --libs ncursesw)" || LDLIBS+=" $(${PKG_CONFIG} --libs ncurses)"
-}
-
-src_compile() {
- emake LDLIBS="${LDLIBS}" CFLAGS="${CFLAGS}"
-}
-
-src_install() {
- emake DESTDIR="${D}" prefix="/usr" install
- einstalldocs
-}
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-office/sc-im/
@ 2024-03-02 10:38 Arthur Zamarin
0 siblings, 0 replies; 13+ messages in thread
From: Arthur Zamarin @ 2024-03-02 10:38 UTC (permalink / raw
To: gentoo-commits
commit: 56c3c5c4c7093ca74adbfa3b867f05279686c58d
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 2 10:38:16 2024 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Mar 2 10:38:16 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56c3c5c4
app-office/sc-im: Stabilize 0.8.3-r1 arm64, #916228
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
app-office/sc-im/sc-im-0.8.3-r1.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/app-office/sc-im/sc-im-0.8.3-r1.ebuild b/app-office/sc-im/sc-im-0.8.3-r1.ebuild
index 36829a039fa9..65bcf7e9d870 100644
--- a/app-office/sc-im/sc-im-0.8.3-r1.ebuild
+++ b/app-office/sc-im/sc-im-0.8.3-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2022-2023 Gentoo Authors
+# Copyright 2022-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -14,7 +14,7 @@ S="${WORKDIR}/${P}/src"
LICENSE="BSD-4"
SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~x86"
+KEYWORDS="amd64 ~arm arm64 ~x86"
IUSE="lua ods plots tmux wayland X xls xlsx"
REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )"
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-office/sc-im/
@ 2024-10-28 13:34 Sam James
0 siblings, 0 replies; 13+ messages in thread
From: Sam James @ 2024-10-28 13:34 UTC (permalink / raw
To: gentoo-commits
commit: ed4e930976d55a50eed9973669a66e0152bb0c83
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 28 13:32:40 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Oct 28 13:32:40 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed4e9309
app-office/sc-im: fix build w/ USE=-lua
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-office/sc-im/sc-im-0.8.3-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-office/sc-im/sc-im-0.8.3-r1.ebuild b/app-office/sc-im/sc-im-0.8.3-r1.ebuild
index 65bcf7e9d870..bf62fb3ad657 100644
--- a/app-office/sc-im/sc-im-0.8.3-r1.ebuild
+++ b/app-office/sc-im/sc-im-0.8.3-r1.ebuild
@@ -55,7 +55,7 @@ pkg_setup() {
fi
# Run lua setup
- lua-single_pkg_setup
+ use lua && lua-single_pkg_setup
}
src_prepare() {
^ permalink raw reply related [flat|nested] 13+ messages in thread
end of thread, other threads:[~2024-10-28 13:34 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-14 6:40 [gentoo-commits] repo/gentoo:master commit in: app-office/sc-im/ Joonas Niilola
-- strict thread matches above, loose matches on Subject: below --
2024-10-28 13:34 Sam James
2024-03-02 10:38 Arthur Zamarin
2023-05-29 6:17 Joonas Niilola
2023-05-28 6:57 Joonas Niilola
2023-04-23 12:29 Conrad Kostecki
2023-03-31 16:16 Sam James
2023-02-27 12:35 Joonas Niilola
2022-12-05 19:55 Arthur Zamarin
2022-10-17 19:47 Sam James
2022-10-14 6:24 Joonas Niilola
2022-10-14 5:00 Arthur Zamarin
2022-08-29 22:38 Sam James
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox