From e74fcb2cf6dd8010b02e787c0381b15bbe5e9ef8 Mon Sep 17 00:00:00 2001 From: Luis Henrique Date: Mon, 11 Mar 2013 19:29:46 -0400 Subject: [PATCH] graphics/fbida: Updated for version 2.09. Signed-off-by: dsomero --- graphics/fbida/fbida.SlackBuild | 16 +++------------- graphics/fbida/fbida.info | 6 +++--- graphics/fbida/read-png.c.patch | 11 ----------- graphics/fbida/slack-desc | 12 ++++++------ 4 files changed, 12 insertions(+), 33 deletions(-) delete mode 100644 graphics/fbida/read-png.c.patch diff --git a/graphics/fbida/fbida.SlackBuild b/graphics/fbida/fbida.SlackBuild index 3650067367..4e8a7477fc 100644 --- a/graphics/fbida/fbida.SlackBuild +++ b/graphics/fbida/fbida.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh - -# Slackware build script for fbida + +# Slackware build script for fbida # Modified by Luis Henrique # (C) 2007 Michael Wagner @@ -24,16 +24,14 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=fbida -VERSION=2.07 +VERSION=2.09 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -74,14 +72,6 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -# "Patch" GNUmakefile and mk/Autoconf.mk -for i in GNUmakefile mk/Autoconf.mk; do - sed -i s,/X11R6,, $i || exit 1 -done - -# Fix rd/read-png.c (obsolete libpng declaration) -patch -p0 < $CWD/read-png.c.patch - CFLAGS="$SLKCFLAGS" make HAVE_MOTIF=no prefix=/usr make install DESTDIR=$PKG HAVE_MOTIF=no diff --git a/graphics/fbida/fbida.info b/graphics/fbida/fbida.info index b9355a5677..5331500dbf 100644 --- a/graphics/fbida/fbida.info +++ b/graphics/fbida/fbida.info @@ -1,8 +1,8 @@ PRGNAM="fbida" -VERSION="2.07" +VERSION="2.09" HOMEPAGE="http://linux.bytesex.org/fbida/" -DOWNLOAD="http://dl.bytesex.org/releases/fbida/fbida-2.07.tar.gz" -MD5SUM="3e05910fb7c1d9b2bd3e272d96db069c" +DOWNLOAD="http://dl.bytesex.org/releases/fbida/fbida-2.09.tar.gz" +MD5SUM="62415c7cb28d995f9d317868de0f2830" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/graphics/fbida/read-png.c.patch b/graphics/fbida/read-png.c.patch deleted file mode 100644 index 5e4bfb6ffe..0000000000 --- a/graphics/fbida/read-png.c.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- rd/read-png.c.orig 2010-05-27 17:30:21.883639928 -0300 -+++ rd/read-png.c 2010-05-27 17:33:27.385641448 -0300 -@@ -69,7 +69,7 @@ - if (h->color_type == PNG_COLOR_TYPE_PALETTE) - png_set_palette_to_rgb(h->png); - if (h->color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8) -- png_set_gray_1_2_4_to_8(h->png); -+ png_set_expand_gray_1_2_4_to_8(h->png); - - if (png_get_bKGD(h->png, h->info, &file_bg)) { - png_set_background(h->png,file_bg,PNG_BACKGROUND_GAMMA_FILE,1,1.0); diff --git a/graphics/fbida/slack-desc b/graphics/fbida/slack-desc index cce9250d47..87125814c2 100644 --- a/graphics/fbida/slack-desc +++ b/graphics/fbida/slack-desc @@ -1,14 +1,14 @@ # HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| fbida: fbida (image viewer) fbida: -fbida: The fbida project contains a few applications for viewing and +fbida: The fbida project contains a few applications for viewing and fbida: editing images, with the main focus being photos. fbida: fbida: Homepage: http://linux.bytesex.org/fbida/