summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEkaitz Zarraga <ekaitz@elenq.tech>2022-05-21 14:26:29 +0200
committerEkaitz Zarraga <ekaitz@elenq.tech>2022-05-21 14:26:29 +0200
commit6882b23118dc44468a14bbd5fc5641bc7d5ec291 (patch)
treec0727cfdc9bb586fe17dabb4526a6de76b0dafce
parent1749f1ee974ca8613da119a9f576d9406442e229 (diff)
Remove sc-im
-rw-r--r--sc-im.patch34
-rw-r--r--sc-im.scm64
2 files changed, 0 insertions, 98 deletions
diff --git a/sc-im.patch b/sc-im.patch
deleted file mode 100644
index e89e7b4..0000000
--- a/sc-im.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-diff --git a/src/Makefile b/src/Makefile
-index fb08e9a..cb6ea65 100755
---- a/src/Makefile
-+++ b/src/Makefile
-@@ -38,7 +38,7 @@ CFLAGS += -DINS_HISTORY_FILE=\".$(name)info\"
- # Comment out to disable undo/redo support
- CFLAGS += -DUNDO
- # Maximum number of rows in spreadsheet. Up to 1048576
--CFLAGS += -DMAXROWS=65536
-+CFLAGS += -DMAXROWS=1048576
- # Used for date formatting with C-d shortcut using you local d_fmt
- CFLAGS += -DUSELOCALE
-
-@@ -47,16 +47,16 @@ CFLAGS += -DUSELOCALE
- # Choose one of the following commands for copying to different clipboards:
- # You can later change it at runtime.
- #to copy to tmux clipboard:
--CFLAGS += -DDEFAULT_COPY_TO_CLIPBOARD_CMD=\""tmux load-buffer"\"
-+#CFLAGS += -DDEFAULT_COPY_TO_CLIPBOARD_CMD=\""tmux load-buffer"\"
- #to copy to X clipboard:
--#CFLAGS += -DDEFAULT_COPY_TO_CLIPBOARD_CMD=\""xclip -i -selection clipboard <"\"
-+CFLAGS += -DDEFAULT_COPY_TO_CLIPBOARD_CMD=\""xclip -i -selection clipboard <"\"
- #to copy to OSX clipboard:
- #CFLAGS += -DDEFAULT_COPY_TO_CLIPBOARD_CMD=\""pbcopy <"\"
- #
- # Choose one of the proposed commands for pasting from different clipboards:
- # You can later change it at runtime.
--CFLAGS += -DDEFAULT_PASTE_FROM_CLIPBOARD_CMD=\""tmux show-buffer"\"
--#CFLAGS += -DDEFAULT_PASTE_FROM_CLIPBOARD_CMD=\""xclip -o -selection clipboard"\"
-+#CFLAGS += -DDEFAULT_PASTE_FROM_CLIPBOARD_CMD=\""tmux show-buffer"\"
-+CFLAGS += -DDEFAULT_PASTE_FROM_CLIPBOARD_CMD=\""xclip -o -selection clipboard"\"
- #CFLAGS += -DDEFAULT_PASTE_FROM_CLIPBOARD_CMD=\""pbpaste"\"
-
- # Uncomment for basic XLS import. Requires libxlsreader
diff --git a/sc-im.scm b/sc-im.scm
deleted file mode 100644
index 8af53bb..0000000
--- a/sc-im.scm
+++ /dev/null
@@ -1,64 +0,0 @@
-; Configure it for my needs
-(define-module (sc-im)
- #:use-module (guix packages)
- #:use-module (guix git-download)
- #:use-module (guix build-system gnu)
- #:use-module (guix licenses)
- #:use-module (gnu packages)
- #:use-module (gnu packages pkg-config)
- #:use-module (gnu packages bison)
- #:use-module (gnu packages ncurses)
- #:use-module (gnu packages lua) ; I think it's not taking it well
-
- ; It's not really a dependency, can be changed at runtime
- ; #:use-module (gnu packages xclip)
- ; If we add it, it must be part of `propagated-inputs`
- )
-
-(define-public sc-im
- (let ((commit-ref "9beb5c0a7b24f4fe05e2ad6b0b0c24c5939c3fe3"))
- (package
- (name "sc-im")
- (version "freeze")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/andmarti1424/sc-im.git")
- (commit commit-ref)))
- (sha256
- (base32
- "11cdz2jm9bsp693xj708m38dpcxysb0mbdsw8fwvsmcr44sjcx6v"))
- (patches (search-patches
- "sc-im.patch"))))
- (build-system gnu-build-system)
- (arguments
- `(#:tests? #f
- #:make-flags (list
- "-C" "src"
- "CC=gcc"
- (string-append "prefix=" (assoc-ref %outputs "out")))
- #:phases (modify-phases
- %standard-phases
- (delete 'configure))))
- (inputs `(("ncurses" ,ncurses)))
- (native-inputs `(("pkg-config" ,pkg-config)
- ("bison" ,bison)))
- (propagated-inputs `(("lua-5.1", lua-5.1)))
- (synopsis "Spreadsheet program based on SC")
-
- (description "
-Capabilities: UNDO / REDO. 65.536 rows and 702 columns supported (the number of
-rows can be expanded to 1.048.576 if wished). CSV / TAB delimited / XLSX file
-import and export. Scripting support with LUA. Also with triggers and c dynamic
-linked modules. Clipboard support. GNUPlot interaction. Key-mappings. Sort of
-rows. Filter of rows. Subtotals. Cell shifting. 256 color support - screen
-colors can be customized by user, even at runtime. Colorize cells or give them
-format such as bold or underline. Wide character support. The following
-alphabets are supported: English, Spanish, French, Italian, German, Portuguese,
-Russian, Ukrainian, Greek, Turkish, Czech, Japanese, Chinese. Autobackup.
-Implement external functions in the language you prefer and use them in SC-IM.
-Use SC-IM as a non-interactive calculator, reading its input from a external
-script. More movements commands implemented! Input and Output was completely
-rewritten.")
- (home-page "https://github.com/andmarti1424/sc-im")
- (license bsd-3)))) ; I'm not sure