[gentoo-commits] repo/gentoo:master commit in: app-office/sc-im/

2024-03-02 Thread Arthur Zamarin
commit: 56c3c5c4c7093ca74adbfa3b867f05279686c58d
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Mar  2 10:38:16 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Mar  2 10:38:16 2024 +
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  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} )"
 



[gentoo-commits] repo/gentoo:master commit in: app-office/sc-im/

2023-05-29 Thread Joonas Niilola
commit: 9bf80841392df181f2edf3be8820d7c0e5fff9b7
Author: Efe İzbudak  metu  edu  tr>
AuthorDate: Sun May 28 13:32:48 2023 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon May 29 06:16:54 2023 +
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  metu.edu.tr>
Closes: https://github.com/gentoo/gentoo/pull/31200
Signed-off-by: Joonas Niilola  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..
--- 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 

[gentoo-commits] repo/gentoo:master commit in: app-office/sc-im/

2023-05-28 Thread Joonas Niilola
commit: 842d0700baefa5ddb60a26866e1a2fb55a323580
Author: Joonas Niilola  gentoo  org>
AuthorDate: Sun May 28 06:57:06 2023 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sun May 28 06:57:06 2023 +
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  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} )"
 



[gentoo-commits] repo/gentoo:master commit in: app-office/sc-im/

2023-04-23 Thread Conrad Kostecki
commit: 64dca91e05079168e4f0ea3f51a5e051e480e6ef
Author: Efe İzbudak  metu  edu  tr>
AuthorDate: Sun Apr 23 03:26:59 2023 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Sun Apr 23 12:28:35 2023 +
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  metu.edu.tr>
Closes: https://github.com/gentoo/gentoo/pull/30715
Signed-off-by: Conrad Kostecki  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 ..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} 

[gentoo-commits] repo/gentoo:master commit in: app-office/sc-im/

2023-03-31 Thread Sam James
commit: 9d278a98fa3f57ae2ee15724cf43aa613d8bd5a1
Author: Sam James  gentoo  org>
AuthorDate: Fri Mar 31 16:15:58 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Mar 31 16:15:58 2023 +
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  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} )"
 



[gentoo-commits] repo/gentoo:master commit in: app-office/sc-im/

2023-02-27 Thread Joonas Niilola
commit: a6e801b0b3c3e8bde43f3f141e752f07c2b1f646
Author: Efe İzbudak  metu  edu  tr>
AuthorDate: Thu Feb 16 06:32:57 2023 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Feb 27 12:35:24 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6e801b0

app-office/sc-im: add 0.8.3

Signed-off-by: Efe İzbudak  metu.edu.tr>
Closes: https://github.com/gentoo/gentoo/pull/29600
Signed-off-by: Joonas Niilola  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 ..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 

[gentoo-commits] repo/gentoo:master commit in: app-office/sc-im/

2022-12-05 Thread Arthur Zamarin
commit: d1878aa22518dc01e50b397b52dffa0d8c7b0b46
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Mon Dec  5 19:55:50 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Mon Dec  5 19:55:50 2022 +
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  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} )"
 



[gentoo-commits] repo/gentoo:master commit in: app-office/sc-im/

2022-10-17 Thread Sam James
commit: f26f2a7fc6cb9ae780857610f54faad1de90cb0c
Author: Sam James  gentoo  org>
AuthorDate: Mon Oct 17 19:46:59 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Oct 17 19:47:13 2022 +
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  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} )"
 



[gentoo-commits] repo/gentoo:master commit in: app-office/sc-im/

2022-10-14 Thread Joonas Niilola
commit: 63ba902bc1af16e0d889fe00335a27241eb4dd2a
Author: Joonas Niilola  gentoo  org>
AuthorDate: Fri Oct 14 06:39:19 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Fri Oct 14 06:39:19 2022 +
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  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" "")



[gentoo-commits] repo/gentoo:master commit in: app-office/sc-im/

2022-10-14 Thread Joonas Niilola
commit: e6fbff41b7bc009e49fd3faf5887b07c68634532
Author: Joonas Niilola  gentoo  org>
AuthorDate: Fri Oct 14 06:23:46 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Fri Oct 14 06:23:46 2022 +
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  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} )"
 



[gentoo-commits] repo/gentoo:master commit in: app-office/sc-im/

2022-10-13 Thread Arthur Zamarin
commit: c105ef3d4df85cacee06e3dd7a0c06578c5b1c7a
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Oct 14 05:00:10 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Oct 14 05:00:10 2022 +
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  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} )"
 



[gentoo-commits] repo/gentoo:master commit in: app-office/sc-im/

2022-08-29 Thread Sam James
commit: 451e97732fc14733aa35aa236b793219b4eee9cb
Author: Efe İzbudak  metu  edu  tr>
AuthorDate: Wed Jun 29 14:33:57 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Aug 29 22:37:50 2022 +
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  metu.edu.tr>
Signed-off-by: Sam James  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 ..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 ..8f4ac17a19b5
--- /dev/null
+++ b/app-office/sc-im/metadata.xml
@@ -0,0 +1,24 @@
+
+https://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   efe.izbu...@metu.edu.tr
+   Efe İzbudak
+   
+   
+   proxy-ma...@gentoo.org
+   Proxy Maintainers
+   
+   
+   Add sci-visualization/gnuplot for 
plotting support
+   Add xls support
+   Add xlsx support
+   Add ods import support
+   Use x11-misc/xclip for clipboard 
copy/paste
+   Use app-misc/tmux for clipboard 
copy/paste
+   Use gui-apps/wl-clipboard for 
clipboard copy/paste
+   
+   
+   andmarti1424/sc-im
+   
+

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 ..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\"' \
+