graphics/entangle: Updated for version 3.0.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Philip Lacroix 2023-09-02 07:12:22 +07:00 committed by Willy Sudiarto Raharjo
parent 535bbabf30
commit 8cb674ba8c
5 changed files with 57 additions and 48 deletions

View file

@ -1,8 +1,15 @@
Entangle is Open Source software licensed under the GNU GPL v3+. Entangle provides a graphical interface for tethered camera control
It is built on top of libgphoto using GTK-3 for its interface. and capture, which means taking photographs with a digital camera
It is fully colour managed, auto-detecting system monitor profile and completely controlled from the computer.
applying the neccessary transforms when displaying images.
Entangle provides a graphical interface for "tethered shooting", With a sufficiently capable digital SLR camera, Entangle allows to:
aka taking photographs with a digital camera completely controlled
from the computer. - Trigger the shutter from the computer
- Live preview of the scene before shooting
- Automatic download and display of photos as they are shot
- Control of all camera settings from the computer
Licensed under the GNU GPL v3+, it is built on top of libgphoto
and uses GTK3 for its interface. It is fully colour-managed, auto-
detects the system's monitor profile and applies the necessary
transforms when displaying images.

View file

@ -7,3 +7,10 @@ if [ -e usr/share/glib-2.0/schemas ]; then
/usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas >/dev/null 2>&1 /usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas >/dev/null 2>&1
fi fi
fi 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/icons/hicolor >/dev/null 2>&1
fi
fi

View file

@ -2,7 +2,8 @@
# Slackware build script for entangle # Slackware build script for entangle
# Copyright 2014 Soydaner Ulker Istanbul,Turkey # Copyright 2014 Soydaner Ulker, Istanbul,Turkey
# Copyright 2023 Philip Lacroix <slackph at posteo dot de>
# All rights reserved. # All rights reserved.
# #
# Redistribution and use of this script, with or without modification, is # Redistribution and use of this script, with or without modification, is
@ -25,8 +26,8 @@
cd $(dirname $0) ; CWD=$(pwd) cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=entangle PRGNAM=entangle
VERSION=${VERSION:-0.7.0} VERSION=${VERSION:-3.0}
BUILD=${BUILD:-2} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz} PKGTYPE=${PKGTYPE:-tgz}
@ -38,9 +39,6 @@ if [ -z "$ARCH" ]; then
esac esac
fi 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 if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0 exit 0
@ -70,7 +68,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT mkdir -p $TMP $PKG $OUTPUT
cd $TMP cd $TMP
rm -rf $TMP/$PRGNAM-$VERSION rm -rf $TMP/$PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
cd $PRGNAM-$VERSION cd $PRGNAM-$VERSION
chown -R root:root . chown -R root:root .
find -L . \ find -L . \
@ -79,36 +77,33 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
sed -i -e 's/gnome-icon-theme-symbolic/adwaita-icon-theme/g' configure mkdir build
cd build
CFLAGS="$SLKCFLAGS" \ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \
./configure \ meson \
--prefix=/usr \ --prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \ --mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \ --libdir=/usr/lib${LIBDIRSUFFIX} \
--build=$ARCH-slackware-linux \ --buildtype=release \
--disable-schemas-compile -Dstrip=true
"${NINJA:=ninja}"
DESTDIR=$PKG $NINJA install
cd ..
make find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" \
make install DESTDIR=$PKG | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ # Compress man page
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true gzip -9 $PKG/usr/man/man1/$PRGNAM.1
find $PKG/usr/man -type f -exec gzip -9 {} \; # Install documentation
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
DOCS="AUTHORS COPYING ChangeLog NEWS README"
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION cp -a \
AUTHORS ChangeLog CONTRIBUTING.md COPYING NEWS README.rst \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
rm -f $PKG/usr/lib*/*.la
mkdir -p $PKG/install mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh cat $CWD/doinst.sh > $PKG/install/doinst.sh

View file

@ -1,8 +1,8 @@
PRGNAM="entangle" PRGNAM="entangle"
VERSION="0.7.0" VERSION="3.0"
HOMEPAGE="http://entangle-photo.org" HOMEPAGE="https://entangle-photo.org"
DOWNLOAD="http://entangle-photo.org/download/sources/entangle-0.7.0.tar.gz" DOWNLOAD="https://entangle-photo.org/download/sources/entangle-3.0.tar.xz"
MD5SUM="bdb5fab70276ea27c4614fecfa5c1d86" MD5SUM="32060351f18a8caa04e3bf7dd888e54d"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="libpeas" REQUIRES="libpeas"

View file

@ -6,13 +6,13 @@
# customary to leave one space after the ':' except on otherwise blank lines. # customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------| |-----handy-ruler------------------------------------------------------|
entangle: entangle (Digital camera control GUI) entangle: entangle (tethered camera control and capture)
entangle: entangle:
entangle: Entangle provides a graphical interface for "tethered shooting" entangle: Entangle provides a graphical interface for tethered camera control
entangle: aka taking photographs with a digital camera completely controlled entangle: and capture, which means taking photographs with a digital camera
entangle: from the computer. entangle: completely controlled from the computer.
entangle: entangle:
entangle: homepage: http://entangle-photo.org/ entangle: Homepage: https://entangle-photo.org
entangle: entangle:
entangle: entangle:
entangle: entangle: