Add armv7h to the arch, builds proper on Samsung XE303C12
Search Criteria
Package Details: sc-im 0.8.4-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/sc-im.git (read-only, click to copy) |
---|---|
Package Base: | sc-im |
Description: | A spreadsheet program based on SC |
Upstream URL: | https://github.com/andmarti1424/sc-im |
Licenses: | BSD |
Conflicts: | sc-im-git, scim-spreadsheet |
Submitter: | Rhinoceros |
Maintainer: | TwoFinger |
Last Packager: | TwoFinger |
Votes: | 61 |
Popularity: | 1.23 |
First Submitted: | 2015-09-05 01:44 (UTC) |
Last Updated: | 2024-08-20 14:26 (UTC) |
Dependencies (4)
- libxml2 (libxml2-gitAUR, libxml2-2.9AUR)
- libzip (libzip-gitAUR)
- gnuplot (gnuplot4AUR, gnuplot-gitAUR, gnuplot-noguiAUR, gnuplot-headlessAUR) (optional) – create graphs
- libxlsxwriterAUR (optional) – export to xlsx. Requires rebuild of sc-im
Required by (0)
Sources (2)
armanleftarm commented on 2018-01-28 03:35 (UTC)
Rhinoceros commented on 2018-01-18 01:04 (UTC)
Good catch @aplund. Thank you and fixed.
aplund commented on 2018-01-18 00:42 (UTC)
Needs the following patch if BUILDDIR is set:
diff --git a/PKGBUILD b/PKGBUILD
index 800dc83
..3a25dda 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -20,7 +20,7 @@ MAKEFLAGS='-j1'
prepare() {
cd "$pkgname-$pkgver/src"
# install things in the correct place for package managers
- patch <../../../arch.patch
+ patch < "$srcdir/arch.patch"
}
build() {
Rhinoceros commented on 2017-11-16 23:57 (UTC)
@Hund bison is part of `base-devel` [1], which is assumed to be installed and should not be in makedepends [2].
[1] https://www.archlinux.org/groups/x86_64/base-devel/
[2] https://wiki.archlinux.org/index.php/PKGBUILD#makedepends
<deleted-account> commented on 2017-11-16 18:06 (UTC)
I got this:
```
==> Starting build()...
which: no gnuplot in (/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl)
yacc -d gram.y
make: yacc: Command not found
make: *** [Makefile:160: gram.c] Error 127
==> ERROR: A failure occurred in build().
Aborting...
```
But I solved it by installing the package `bison`. It should be added to the makedepends.
Rhinoceros commented on 2017-05-09 11:47 (UTC)
Oh oops, I missed the difference between writer and reader. And xls and xlsx. Thanks for that information. I'm not sure how most people do it, but I only look at the optdepends after installation is complete, so I'm unsure how useful it'd be. Nevertheless, I'll add it to optdepends with the next version. Cheers.
seifferth commented on 2017-05-09 10:27 (UTC)
That might be true for _xls import_. I was talking about _xlsx export_ however, which is enabled by satisfying the optional dependency libxlsxwriter at build time. This works great with my setup and doesn't require changing the makefile. It does require rebuilding sc-im after installing libxlsxwriter though.
Rhinoceros commented on 2017-03-30 01:46 (UTC)
@ber532k Thank you for the heads up. Nope, I'm totally happy for you to maintain the -git version. Thanks also for the information about libxlsxwriter. I'll add that to the next version.
Also, for your two -git PKGBUILDs, you might want to have a read of how the pkgver function should work for VCS files [1]. This will keeps the installed version correct, and prevents unnecessary upgrades. Cheers.
[1] https://wiki.archlinux.org/index.php/VCS_package_guidelines#Git
seifferth commented on 2017-03-29 15:31 (UTC)
I added an sc-im-git package to the AUR. Together with the libxlsxwriter package, which I also added to the AUR, this makes the new xlsx-export option available, if libxlsxwriter is already installed when sc-im-git is compiled.
@Rhinoceros: Since I basically just copied your PKGBUILD and changed the source to the git repo the credit for bringing this to Arch probably still belongs to you. If you want to assume responsibility for sc-im-git just drop me a message, I will be glad to hand it over.
Pinned Comments