upg gnumeric goffice

This commit is contained in:
joborun linux 2022-04-29 22:54:02 +03:00
parent 0f7ae49ffe
commit 462d74504c
8 changed files with 292 additions and 11 deletions

View File

@ -1,14 +1,12 @@
#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=gnumeric
#_pkgname=gnumeric
#_minorver=50
pkgver=1.12.51
#${_minorver}
pkgver=1.12.52
pkgrel=01
pkgdesc="A GNOME-less spreadsheet program"
arch=('x86_64')
@ -50,6 +48,5 @@ package() {
license=('GPL')
sha256sums=(#a65f936bac38f258d3d3d9a69d1fdfd6a3d5f25d0b495a44e4db463c1906ce7c # gnumeric-GNUMERIC_1_12_50.tar.bz2
51f1190e42cfa7f03717a396a7679182ce8fd339bc1885bc170bb1fd018dd393 # gnumeric-GNUMERIC_1_12_51.tar.bz2
sha256sums=(5b2743c3a440a3a062e19cf41590951b2b86ae7f7a987f0955eeea0a1002f5f2 # gnumeric-GNUMERIC_1_12_52.tar.bz2
bcafca016b809000c2a5bf911e2e3dfa4de28f9e541d9964574cac5c7ce09e53) # revert-warnings.patch

47
gnumeric/PKGBUILD-arch Normal file
View File

@ -0,0 +1,47 @@
# Maintainer: Eric Belanger <eric@archlinux.org>
# Contributor: Kritoke <typeolinux@yahoo.com>
pkgname=gnumeric
pkgver=1.12.52
pkgrel=1
pkgdesc="A GNOME Spreadsheet Program"
arch=('x86_64')
url="http://www.gnumeric.org/"
license=('GPL')
depends=('goffice')
makedepends=('intltool' 'psiconv' 'pygobject-devel' docbook-xml
'gobject-introspection' 'python-gobject' gtk-doc autoconf-archive git yelp-tools)
optdepends=('python-gobject: for python plugin support'
'perl: for perl plugin support'
'psiconv: for Psion 5 file support'
'yelp: for viewing the help manual')
_commit=02c7f1447a1832d8a4d40654b5a77d5990b0a341
source=("git+https://gitlab.gnome.org/GNOME/gnumeric.git#commit=$_commit"
revert-warnings.patch)
sha256sums=('SKIP'
'bcafca016b809000c2a5bf911e2e3dfa4de28f9e541d9964574cac5c7ce09e53')
pkgver() {
cd $pkgname
git describe --tags | sed 's/^GNUMERIC_//;s/_/./g;s/-/+/g'
}
prepare() {
cd $pkgname
patch -Np0 -i ../revert-warnings.patch
NOCONFIGURE=1 ./autogen.sh
}
build() {
cd $pkgname
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--disable-schemas-compile --enable-introspection --disable-silent-rules
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}
package() {
cd $pkgname
make DESTDIR="${pkgdir}" install
}

38
gnumeric/PKGBUILD-aur Normal file
View File

@ -0,0 +1,38 @@
# Contributor: megadriver <megadriver at gmx dot com>
# Based on gnumeric from [extra]
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
pkgname=gnumeric-minimal
_pkgname=gnumeric
_minorver=52
pkgver=1.12.${_minorver}
pkgrel=1
pkgdesc="A GNOME-less spreadsheet program"
arch=('i686' 'x86_64')
url="http://www.gnumeric.org/"
license=('GPL')
depends=("goffice>=0.10.${_minorver}")
makedepends=('intltool' 'itstool' 'yelp-tools')
conflicts=('gnumeric')
provides=('gnumeric')
options=('libtool')
source=(https://gitlab.gnome.org/GNOME/gnumeric/-/archive/GNUMERIC_${pkgver//./_}/gnumeric-GNUMERIC_${pkgver//./_}.tar.bz2)
sha256sums=('5b2743c3a440a3a062e19cf41590951b2b86ae7f7a987f0955eeea0a1002f5f2')
build() {
cd ${_pkgname}-GNUMERIC_${pkgver//./_}
./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--disable-schemas-install --disable-ssindex \
--without-gnome --without-psiconv --without-perl \
--without-python --without-gda \
--with-help-dir=/usr/share/gnome/help
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}
package() {
cd ${_pkgname}-GNUMERIC_${pkgver//./_}
make DESTDIR="${pkgdir}" install
rm -rf "${pkgdir}"/etc/gconf
}

194
gnumeric/configure vendored Normal file
View File

@ -0,0 +1,194 @@
`configure' configures gnumeric 1.12.52 to adapt to many kinds of systems.
Usage: ./configure [OPTION]... [VAR=VALUE]...
To assign environment variables (e.g., CC, CFLAGS...), specify them as
VAR=VALUE. See below for descriptions of some of the useful variables.
Defaults for the options are specified in brackets.
Configuration:
-h, --help display this help and exit
--help=short display options specific to this package
--help=recursive display the short help of all the included packages
-V, --version display version information and exit
-q, --quiet, --silent do not print `checking ...' messages
--cache-file=FILE cache test results in FILE [disabled]
-C, --config-cache alias for `--cache-file=config.cache'
-n, --no-create do not create output files
--srcdir=DIR find the sources in DIR [configure dir or `..']
Installation directories:
--prefix=PREFIX install architecture-independent files in PREFIX
[/usr/local]
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
[PREFIX]
By default, `make install' will install all the files in
`/usr/local/bin', `/usr/local/lib' etc. You can specify
an installation prefix other than `/usr/local' using `--prefix',
for instance `--prefix=$HOME'.
For better control, use the options below.
Fine tuning of the installation directories:
--bindir=DIR user executables [EPREFIX/bin]
--sbindir=DIR system admin executables [EPREFIX/sbin]
--libexecdir=DIR program executables [EPREFIX/libexec]
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
--runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
--libdir=DIR object code libraries [EPREFIX/lib]
--includedir=DIR C header files [PREFIX/include]
--oldincludedir=DIR C header files for non-gcc [/usr/include]
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
--infodir=DIR info documentation [DATAROOTDIR/info]
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
--mandir=DIR man documentation [DATAROOTDIR/man]
--docdir=DIR documentation root [DATAROOTDIR/doc/gnumeric]
--htmldir=DIR html documentation [DOCDIR]
--dvidir=DIR dvi documentation [DOCDIR]
--pdfdir=DIR pdf documentation [DOCDIR]
--psdir=DIR ps documentation [DOCDIR]
Program names:
--program-prefix=PREFIX prepend PREFIX to installed program names
--program-suffix=SUFFIX append SUFFIX to installed program names
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
System types:
--build=BUILD configure for building on BUILD [guessed]
--host=HOST cross-compile to build programs to run on HOST [BUILD]
Optional Features:
--disable-option-checking ignore unrecognized --enable/--with options
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
--enable-silent-rules less verbose build output (undo: "make V=1")
--disable-silent-rules verbose build output (undo: "make V=0")
--disable-maintainer-mode
disable make rules and dependencies not useful (and
sometimes confusing) to the casual installer
--enable-gtk-doc use gtk-doc to build documentation [[default=no]]
--enable-gtk-doc-html build documentation in html format [[default=yes]]
--enable-gtk-doc-pdf build documentation in pdf format [[default=no]]
--disable-nls do not use Native Language Support
--enable-dependency-tracking
do not reject slow dependency extractors
--disable-dependency-tracking
speeds up one-time build
--enable-static[=PKGS] build static libraries [default=no]
--enable-shared[=PKGS] build shared libraries [default=yes]
--enable-fast-install[=PKGS]
optimize for fast installation [default=yes]
--disable-libtool-lock avoid locking (might break parallel builds)
--disable-component Do not build the goffice component
--enable-plugins="text html"
Compile only the listed plugins
--disable-schemas-compile
Disable regeneration of gschemas.compiled on install
--enable-pdfdocs Generate documentation in Portable Document Format
--enable-introspection=[no/auto/yes]
Enable introspection for this build
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--with-html-dir=PATH path to installed docs
--with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
both]
--with-aix-soname=aix|svr4|both
shared library versioning (aka "SONAME") variant to
provide on AIX, [default=aix].
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
--with-sysroot[=DIR] Search for dependent libraries within DIR (or the
compiler's sysroot if not specified).
--with-zlib=DIR use libz in DIR
--without-gtk Build without UI
--with-gda Compile the Gnome Database Access plugin
--without-psiconv Compile without Psiconv support
--without-paradox Compile without Paradox support
--with-long-double Use long double for floating point
--without-perl Do not build the Perl plugin loader
--without-python Do not build the Python plugin loader
--with-help-dir=DIR path where help files are installed
--with-gir-dir path to gir repository (automatically detected via
pkg-config)
--with-typelib-dir path to typelibs repository (automatically detected
via pkg-config)
--with-gi-overrides-dir path to introspection overrides repository
(automatically detected via python)
--with-goffice-plugins-dir
path to goffice plugins (automatically detected via
pkg-config)
Some influential environment variables:
PKG_CONFIG path to pkg-config utility
PKG_CONFIG_PATH
directories to add to pkg-config's search path
PKG_CONFIG_LIBDIR
path overriding pkg-config's built-in search path
GTKDOC_DEPS_CFLAGS
C compiler flags for GTKDOC_DEPS, overriding pkg-config
GTKDOC_DEPS_LIBS
linker flags for GTKDOC_DEPS, overriding pkg-config
CC C compiler command
CFLAGS C compiler flags
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
nonstandard directory <lib dir>
LIBS libraries to pass to the linker, e.g. -l<library>
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
you have headers in a nonstandard directory <include dir>
YACC The `Yet Another Compiler Compiler' implementation to use.
Defaults to the first program found out of: `bison -y', `byacc',
`yacc'.
YFLAGS The list of arguments that will be passed by default to $YACC.
This script will default YFLAGS to the empty string to avoid a
default value of `-d' given by some make applications.
LT_SYS_LIBRARY_PATH
User-defined run-time library search path.
GTK_CFLAGS C compiler flags for GTK, overriding pkg-config
GTK_LIBS linker flags for GTK, overriding pkg-config
LIBSPREADSHEET_CFLAGS
C compiler flags for LIBSPREADSHEET, overriding pkg-config
LIBSPREADSHEET_LIBS
linker flags for LIBSPREADSHEET, overriding pkg-config
GNUMERIC_CFLAGS
C compiler flags for GNUMERIC, overriding pkg-config
GNUMERIC_LIBS
linker flags for GNUMERIC, overriding pkg-config
WINDRES The windres executable (used by win32 builds only).
GLIB_GENMARSHAL
The glib-genmarshal executable.
GDK_PIXBUF_CSOURCE
The gdk-pixbuf-csource executable.
GDA_CFLAGS C compiler flags for GDA, overriding pkg-config
GDA_LIBS linker flags for GDA, overriding pkg-config
GNOMEDB_CFLAGS
C compiler flags for GNOMEDB, overriding pkg-config
GNOMEDB_LIBS
linker flags for GNOMEDB, overriding pkg-config
PSICONV_CONFIG
The psiconv-config executable.
PARADOX_CFLAGS
C compiler flags for PARADOX, overriding pkg-config
PARADOX_LIBS
linker flags for PARADOX, overriding pkg-config
GLIB_COMPILE_SCHEMAS
value of glib_compile_schemas for gio-2.0, overriding pkg-config
PERL The Perl executable.
PYTHON The Python executable.
PYGOBJECT_CFLAGS
C compiler flags for PYGOBJECT, overriding pkg-config
PYGOBJECT_LIBS
linker flags for PYGOBJECT, overriding pkg-config
ITSTOOL Path to the `itstool` command
XMLLINT Path to the `xmllint` command
Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations.
Report bugs to <https://gitlab.gnome.org/GNOME/gnumeric/issues>.
gnumeric home page: <http://www.gnumeric.org/>.

View File

@ -7,3 +7,6 @@ gtk-doc
gettext
bison
goffice

View File

@ -2,17 +2,18 @@
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=goffice
pkgver=0.10.51
pkgver=0.10.52
pkgrel=01
pkgdesc="A GLib/GTK+ set of document-centric objects and charting library"
url="https://git.gnome.org/browse/goffice"
arch=(x86_64)
depends=(librsvg gtk3 libgsf libspectre libxslt lasem)
makedepends=(intltool gtk-doc gobject-introspection autoconf-archive git)
_commit=495e70ee2db5214431c137860435f41ba6e4c712
_commit=ea3daf5637c054f58ac8174de65d0d06217c6b33
source=("git+https://gitlab.gnome.org/GNOME/goffice.git#commit=$_commit")
pkgver() {

View File

@ -2,7 +2,7 @@
# Contributor: Aaron Griffin <aaron@archlinux.org>
pkgname=goffice
pkgver=0.10.51
pkgver=0.10.52
pkgrel=1
pkgdesc="A GLib/GTK+ set of document-centric objects and charting library"
url="https://git.gnome.org/browse/goffice"
@ -10,7 +10,7 @@ arch=(x86_64)
license=(GPL)
depends=(librsvg gtk3 libgsf libspectre libxslt lasem)
makedepends=(intltool gtk-doc gobject-introspection autoconf-archive git)
_commit=495e70ee2db5214431c137860435f41ba6e4c712
_commit=ea3daf5637c054f58ac8174de65d0d06217c6b33
source=("git+https://gitlab.gnome.org/GNOME/goffice.git#commit=$_commit")
sha256sums=('SKIP')

View File

@ -11,3 +11,4 @@ autoconf-archive
git
automake
gettext