diff options
author | alan.aveNOrsaSP@AMcox.net <alan.aveNOrsaSP@AMcox.net> | 2025-02-12 11:24:18 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2025-02-15 08:30:13 +0700 |
commit | f7a0b1bd4058aba1edc702c42730a352863979d5 (patch) | |
tree | 2be151dd64ebd89c02784fa459f79709ccb5d1ec /misc | |
parent | 69a442d148d0b7e909d0c137ce84c6b798240ee9 (diff) |
misc/gramps: Updated for version 5.2.4.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'misc')
-rw-r--r-- | misc/gramps/README | 17 | ||||
-rw-r--r-- | misc/gramps/doinst.sh | 2 | ||||
-rw-r--r-- | misc/gramps/gramps.SlackBuild | 31 | ||||
-rw-r--r-- | misc/gramps/gramps.info | 6 |
4 files changed, 24 insertions, 32 deletions
diff --git a/misc/gramps/README b/misc/gramps/README index 72ba581df4..8b24dbaddb 100644 --- a/misc/gramps/README +++ b/misc/gramps/README @@ -1,9 +1,18 @@ Gramps is a genealogy program for Linux and other UNIX-like -systems. Gramps stands for Genealogical Research and Analysis -Management Programming System. Gramps helps you track your family -tree. It allows you to store, edit, and research genealogical data. +systems. Gramps stands for Genealogical Research and Analysis Management +Programming System. Gramps helps you track your family tree. It allows +you to store, edit, and research genealogical data. -Optional Dependency: osm-gps-map + +Required Dependencies + +Both bsddb3 and pyicu must be built with python3 support, for example + + PYTHON3=yes ./bsddb3.SlackBuild PYTHON3=yes ./pyicu.SlackBuild + + +Optional Dependencies: osm-gps-map and libgexiv2 For a list of programs Gramps can use if they are installed, see + https://github.com/gramps-project/gramps#requirements diff --git a/misc/gramps/doinst.sh b/misc/gramps/doinst.sh index f55e090a55..aea0f894eb 100644 --- a/misc/gramps/doinst.sh +++ b/misc/gramps/doinst.sh @@ -8,6 +8,6 @@ fi if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then if [ -x /usr/bin/gtk-update-icon-cache ]; then - /usr/bin/gtk-update-icon-cache -f usr/share/gramps/images/hicolor/ >/dev/null 2>&1 + /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1 fi fi diff --git a/misc/gramps/gramps.SlackBuild b/misc/gramps/gramps.SlackBuild index a50a1ab6ca..e7d0a81e95 100644 --- a/misc/gramps/gramps.SlackBuild +++ b/misc/gramps/gramps.SlackBuild @@ -1,8 +1,8 @@ -#!/bin/bash +#!/bin/bash -e # Slackware build script for gramps -# Copyright 2018 Alan Aversa USA +# Copyright 2025 Alan Aversa USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=gramps -VERSION=${VERSION:-5.1.2} +VERSION=${VERSION:-5.2.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -38,9 +38,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -50,22 +47,6 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -set -e - rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP @@ -79,7 +60,7 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -python3 setup.py install --root=$PKG --resourcepath=/usr/share +python3 setup.py install --root=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true @@ -89,8 +70,10 @@ find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS COPYING FAQ INSTALL NEWS TODO $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS COPYING FAQ NEWS TODO $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +mv $PKG/usr/share/doc/gramps/example/ $PKG/usr/doc/$PRGNAM-$VERSION +rm -rf $PKG/usr/share/doc/ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/misc/gramps/gramps.info b/misc/gramps/gramps.info index 996be0a7ef..7f52fdaddb 100644 --- a/misc/gramps/gramps.info +++ b/misc/gramps/gramps.info @@ -1,8 +1,8 @@ PRGNAM="gramps" -VERSION="5.1.2" +VERSION="5.2.4" HOMEPAGE="https://www.gramps-project.org/" -DOWNLOAD="https://github.com/gramps-project/gramps/archive/v5.1.2/gramps-5.1.2.zip" -MD5SUM="92693297f581187fad31a3473149e690" +DOWNLOAD="https://github.com/gramps-project/gramps/archive/v5.2.4/gramps-5.2.4.zip" +MD5SUM="921539e3cba29a14df97d2ccf96cee6d" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-pyicu bsddb3" |