From 44bda382dcda88a02cbd4a58ede0fab9390dbd5e Mon Sep 17 00:00:00 2001 From: David Spencer Date: Mon, 30 Jan 2017 22:01:51 +0000 Subject: graphics/resynthesizer: Updated for version 2.0.1. Signed-off-by: David Spencer --- graphics/resynthesizer/README | 29 ++++++++++----------- graphics/resynthesizer/resynthesizer.SlackBuild | 34 +++++++++++++++---------- graphics/resynthesizer/resynthesizer.info | 8 +++--- graphics/resynthesizer/slack-desc | 2 +- 4 files changed, 39 insertions(+), 34 deletions(-) (limited to 'graphics') diff --git a/graphics/resynthesizer/README b/graphics/resynthesizer/README index 7479ce3c83..e8550d32c1 100644 --- a/graphics/resynthesizer/README +++ b/graphics/resynthesizer/README @@ -2,21 +2,18 @@ Resynthesizer is a Gimp plug-in for texture synthesis. Given a sample of a texture, it can create more of that texture. This has a surprising number of uses: - * Creating more of a texture - (including creation of tileable textures) + * Creating more of a texture + * Removing objects from images + * Creating themed images - * Removing objects from images - (great for touching up photos) +The following menu items are provided: - * Creating themed images - -This plug-in installs itself in the Filters/Map menu as "Resynthesize". -It generates a texture based on a sample image of the texture. The -result can be made to fit the boundary pixels of a region, or to have -a specified arrangement of features. - -Also included in this package are some scripts that use Resynthesizer: - - Filters/Enhance/Smart enlarge - Filters/Enhance/Smart sharpen - Filters/Enhance/Smart remove selection +Edit > Fill with pattern seamless... +Filters > Enhance > Enlarge & sharpen... +Filters > Enhance > Heal selection... +Filters > Enhance > Heal transparency... +Filters > Enhance > Sharpen by synthesis... +Filters > Enhance > Uncrop... +Filters > Map > Resynthesize... +Filters > Map > Style... +Filters > Render > Texture... diff --git a/graphics/resynthesizer/resynthesizer.SlackBuild b/graphics/resynthesizer/resynthesizer.SlackBuild index f3f6890fce..1595c24c5d 100644 --- a/graphics/resynthesizer/resynthesizer.SlackBuild +++ b/graphics/resynthesizer/resynthesizer.SlackBuild @@ -23,13 +23,13 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=resynthesizer -VERSION=${VERSION:-0.16} +VERSION=${VERSION:-2.0.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -40,8 +40,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -67,24 +67,32 @@ find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ -o -perm 511 \) -exec chmod 755 {} \; -o \ \( -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 {} \; -export CFLAGS="$SLKCFLAGS" -export CXXFLAGS="$SLKCFLAGS" +autoreconf -vif -make +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --mandir=/usr/man \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ + --build=$ARCH-slackware-linux -mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/gimp/2.0/plug-ins $PKG/usr/share/gimp/2.0/scripts -install -m 755 resynth $PKG/usr/lib${LIBDIRSUFFIX}/gimp/2.0/plug-ins -install -m 644 smart-{enlarge,remove}.scm $PKG/usr/share/gimp/2.0/scripts +make +make install DESTDIR=$PKG find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a COPYING README $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + AUTHORS COPYING INSTALL NEWS README.md \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -cat $CWD/README > $PKG/usr/doc/$PRGNAM-$VERSION/README$TAG mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/graphics/resynthesizer/resynthesizer.info b/graphics/resynthesizer/resynthesizer.info index e21a2ef31e..5b8d34da17 100644 --- a/graphics/resynthesizer/resynthesizer.info +++ b/graphics/resynthesizer/resynthesizer.info @@ -1,8 +1,8 @@ PRGNAM="resynthesizer" -VERSION="0.16" -HOMEPAGE="http://www.logarithmic.net/pfh/resynthesizer" -DOWNLOAD="http://www.logarithmic.net/pfh-files/resynthesizer/resynthesizer-0.16.tar.gz" -MD5SUM="097b3a21803fe02e47b8b8649af48144" +VERSION="2.0.1" +HOMEPAGE="https://github.com/bootchk/resynthesizer" +DOWNLOAD="https://github.com/bootchk/resynthesizer/archive/2.0.1/resynthesizer-2.0.1.tar.gz" +MD5SUM="ded5a0845c1767f0bf8c7d5e075ebceb" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/graphics/resynthesizer/slack-desc b/graphics/resynthesizer/slack-desc index c00b9a860c..4e0987d39b 100644 --- a/graphics/resynthesizer/slack-desc +++ b/graphics/resynthesizer/slack-desc @@ -16,4 +16,4 @@ resynthesizer: * Creating more of a texture resynthesizer: * Removing objects from images resynthesizer: * Creating themed images resynthesizer: -resynthesizer: Homepage: http://www.logarithmic.net/pfh/resynthesizer +resynthesizer: -- cgit v1.2.3