From: "Efe İzbudak" <efe.izbudak@metu.edu.tr>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-office/sc-im/
Date: Mon, 29 Aug 2022 23:18:14 +0000 (UTC) [thread overview]
Message-ID: <1661814897.da21d58bc9469d11036a13a72a638d6d0f1f0b8a.efe.izbudak@gentoo> (raw)
commit: da21d58bc9469d11036a13a72a638d6d0f1f0b8a
Author: Efe İzbudak <efe.izbudak <AT> metu <DOT> edu <DOT> tr>
AuthorDate: Mon Aug 29 23:14:57 2022 +0000
Commit: Efe İzbudak <efe.izbudak <AT> metu <DOT> edu <DOT> tr>
CommitDate: Mon Aug 29 23:14:57 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=da21d58b
app-office/sc-im: treeclean
Signed-off-by: Efe İzbudak <efe.izbudak <AT> metu.edu.tr>
app-office/sc-im/Manifest | 1 -
app-office/sc-im/metadata.xml | 17 ----
app-office/sc-im/sc-im-0.8.2-r1.ebuild | 143 ---------------------------------
3 files changed, 161 deletions(-)
diff --git a/app-office/sc-im/Manifest b/app-office/sc-im/Manifest
deleted file mode 100644
index a085c5e62..000000000
--- a/app-office/sc-im/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-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
deleted file mode 100644
index 9119e904f..000000000
--- a/app-office/sc-im/metadata.xml
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>efe.izbudak@metu.edu.tr</email>
- <name>Efe İzbudak</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>
-</pkgmetadata>
diff --git a/app-office/sc-im/sc-im-0.8.2-r1.ebuild b/app-office/sc-im/sc-im-0.8.2-r1.ebuild
deleted file mode 100644
index 8f65e8d0f..000000000
--- a/app-office/sc-im/sc-im-0.8.2-r1.ebuild
+++ /dev/null
@@ -1,143 +0,0 @@
-# Copyright 2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-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"
-
-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"
-S="${WORKDIR}/${P}/src"
-
-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
-
- PKGCONF=$(tc-getPKG_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 $(${PKGCONF} --cflags libxls)
- LDLIBS+=" $(${PKGCONF} --libs libxls)"
- fi
- if use xlsx || use ods ; then
- append-cflags -DODS -DXLSX $(${PKGCONF} --cflags libxml-2.0 libzip)
- LDLIBS+=" -DODS -DXLSX $(${PKGCONF} --libs libxml-2.0 libzip)"
- fi
- if use xlsx ; then
- append-cflags -DXLSX_EXPORT $(${PKGCONF} --cflags xlsxwriter)
- LDLIBS+=" -DXLSX_EXPORT $(${PKGCONF} --libs xlsxwriter)"
- fi
- if use lua ; then
- append-cflags -DXLUA $(${PKGCONF} --cflags lua)
- LDLIBS+=" -DXLUA $(${PKGCONF} --libs lua) -rdynamic"
- fi
- append-cflags $(${PKGCONF} --cflags ncursesw) || append-cflags $(${PKGCONF} --cflags ncurses)
- LDLIBS+=" $(${PKGCONF} --libs ncursesw)" || LDLIBS+=" $(${PKGCONF} --libs ncurses)"
-}
-
-src_compile() {
- emake LDLIBS="${LDLIBS}" CFLAGS="${CFLAGS}"
-}
-
-src_install() {
- emake DESTDIR="${D}" prefix="/usr" install
- einstalldocs
-}
next reply other threads:[~2022-08-29 23:18 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-29 23:18 Efe İzbudak [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-06-27 22:13 [gentoo-commits] repo/proj/guru:dev commit in: app-office/sc-im/ Dex Conner
2022-05-07 5:57 Dex Conner
2022-05-04 6:38 Dex Conner
2022-04-26 12:44 Dex Conner
2022-04-24 15:26 Dex Conner
2022-04-24 6:33 Dex Conner
2022-04-18 10:22 Dex Conner
2022-04-16 10:08 Dex Conner
2022-04-15 5:41 Dex Conner
2022-04-14 16:24 Dex Conner
2022-04-14 10:38 Dex Conner
2022-04-13 16:34 Dex Conner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1661814897.da21d58bc9469d11036a13a72a638d6d0f1f0b8a.efe.izbudak@gentoo \
--to=efe.izbudak@metu.edu.tr \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox