media-gfx/fbv: remove last rited package

Gentoo-bug: 571686
This commit is contained in:
Michael Palimaka
2016-07-15 05:25:34 +10:00
parent 666076d022
commit 02cbdb8b2a
6 changed files with 0 additions and 194 deletions

View File

@@ -1 +0,0 @@
DIST fbv-1.0b.tar.gz 18989 SHA256 9b55b9dafd5eb01562060d860e267e309a1876e8ba5ce4d3303484b94129ab3c SHA512 18c833894ab2da74dd0e124829221081ff226ce19e9c5eac2f8273faba3e72239a4291403df5c19a66cb442736a27dfc3472d474720ceff2b9af460e4f2f9e91 WHIRLPOOL f679e13e3bb426372a947f089d1f8b67cb9ea27b5dc3b74cfdf80e8578c611969b9f2755eccf944730123212427903479f87e557dd95f5b72ccf6024d730cf25

View File

@@ -1,55 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=4
inherit eutils toolchain-funcs
DESCRIPTION="simple program to view pictures on a linux framebuffer device"
HOMEPAGE="http://freshmeat.net/projects/fbv/"
SRC_URI="http://s-tech.elsat.net.pl/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 arm ~arm64 ~ppc ppc64 sh x86"
IUSE="gif jpeg png"
RDEPEND="gif? ( media-libs/giflib )
jpeg? ( virtual/jpeg )
png? ( media-libs/libpng )"
DEPEND="${RDEPEND}"
src_prepare() {
epatch \
"${FILESDIR}"/oob-segfault-fbv-${PV}.diff \
"${FILESDIR}"/${P}-libpng15.patch \
"${FILESDIR}"/${P}-cc.patch
sed -i -e 's:-lungif:-lgif:g' configure Makefile || die
}
src_configure() {
local myconf="--without-bmp"
use png || myconf="${myconf} --without-libpng"
use gif || myconf="${myconf} --without-libungif"
use jpeg || myconf="${myconf} --without-libjpeg"
./configure \
--cc="$(tc-getCC)" \
--libs="${LDFLAGS}" \
--prefix=/usr \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
${myconf} || die
}
src_compile() {
emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
}
src_install() {
dobin fbv
doman fbv.1
dodoc ChangeLog README TODO VERSION
}

View File

@@ -1,97 +0,0 @@
# --- T2-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# T2 SDE: package/.../fbv/cc.patch
# Copyright (C) 2007 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- T2-COPYRIGHT-NOTE-END ---
Imported from Atmel.
- Rene Rebe <rene@exactcode.de>
diff -ur fbv-1.0b/configure fbv-1.0b-avr32/configure
--- fbv-1.0b/configure 2004-09-07 13:29:27.000000000 +0200
+++ fbv-1.0b-avr32/configure 2006-05-04 11:10:06.000000000 +0200
@@ -21,6 +21,7 @@
unset png
unset bmp
unset dfb
+unset CC
help(){
cat << EOF >&2
@@ -33,6 +34,7 @@
General:
--help print this message
--libs=LIBS additional libraries required (try -lX11 for ungif, -lz for PNG)
+ --cc=CC specify compiler to use
Directory and file names:
--prefix=PREFIX install files in PREFIX [/usr/local]
@@ -53,7 +55,7 @@
--long help,\
prefix:,srcdir:,bindir:,\
infodir:,mandir:,\
-without-libungif,without-libjpeg,without-libpng,without-bmp,libs: \
+without-libungif,without-libjpeg,without-libpng,without-bmp,libs:,cc: \
-n "$BASENAME" -- "$@")
if [ $? != 0 ] ; then help ; exit 1 ; fi
@@ -65,6 +67,7 @@
case "$1" in
-h|--help) help ; exit 0 ;;
--libs) libs="$2"; shift 2 ;;
+ --cc) CC="$2"; shift 2 ;;
--prefix) prefix="$2" ; shift 2 ;;
--srcdir) srcdir="$2" ; shift 2 ;;
--bindir) bindir="$2" ; shift 2 ;;
@@ -80,6 +83,7 @@
esac
done
+[ -z "$CC" ] && CC=cc
[ -z "$prefix" ] && prefix="/usr/local"
[ -z "$bindir" ] && bindir="${prefix}/bin"
[ -z "$mandir" ] && mandir="${prefix}/man"
@@ -106,12 +110,12 @@
ungif="no"
echo "libungif check" >>./config.log
echo " 1st:" >>./config.log
-cc 2>>./config.log >>./config.log -o \$\$~test \$\$~test.c -lungif $libs
+$CC 2>>./config.log >>./config.log -o \$\$~test \$\$~test.c -lungif $libs
if [ -e \$\$~test ]; then
libs="-lungif $libs" ; ungif="yes"
else
echo " 2nd: -lX11 -L$xdir/lib" >>./config.log
- cc 2>>./config.log >>./config.log -o \$\$~test \$\$~test.c -lungif -lX11 -L$xdir/lib $libs
+ $CC 2>>./config.log >>./config.log -o \$\$~test \$\$~test.c -lungif -lX11 -L$xdir/lib $libs
if [ -e \$\$~test ]; then
libs="-lungif -lX11 -L$xdir/lib $libs" ; ungif="yes"
fi
@@ -124,7 +128,7 @@
echo -n "checking for libjpeg presence... "
if [ "$jpeg" != "disabled" ]; then
jpeg="no"
-cc 2>>./config.log >>./config.log -o \$\$~test \$\$~test.c -ljpeg $libs
+$CC 2>>./config.log >>./config.log -o \$\$~test \$\$~test.c -ljpeg $libs
if [ -e \$\$~test ]; then
libs="-ljpeg $libs" ; jpeg="yes"
fi
@@ -135,7 +139,7 @@
echo -n "checking for libpng presence... "
if [ "$png" != "disabled" ]; then
png="no"
-cc 2>>./config.log >>./config.log -o \$\$~test \$\$~test.c -lpng $libs
+$CC 2>>./config.log >>./config.log -o \$\$~test \$\$~test.c -lpng $libs
if [ -e \$\$~test ]; then
libs="-lpng $libs" ; png="yes"
fi

View File

@@ -1,20 +0,0 @@
--- png.c
+++ png.c
@@ -69,7 +69,7 @@
fclose(fh); return(FH_ERROR_FORMAT);
}
rp=0;
- if (setjmp(png_ptr->jmpbuf))
+ if (setjmp(png_jmpbuf(png_ptr)))
{
png_destroy_read_struct(&png_ptr, &info_ptr, (png_infopp)NULL);
if(rp) free(rp);
@@ -161,7 +161,7 @@
fclose(fh); return(FH_ERROR_FORMAT);
}
rp=0;
- if (setjmp(png_ptr->jmpbuf))
+ if (setjmp(png_jmpbuf(png_ptr)))
{
png_destroy_read_struct(&png_ptr, &info_ptr, (png_infopp)NULL);
if(rp) free(rp);

View File

@@ -1,13 +0,0 @@
Index: fb_display.c
===================================================================
--- fb_display.c (revision 4)
+++ fb_display.c (working copy)
@@ -92,7 +92,7 @@
#if 0
blit2FB(fh, fbbuff, alpha, x_size, y_size, x_stride, var.yres, x_pan, y_pan, x_offs, y_offs, bp);
#else
- blit2FB(fh, fbbuff, alpha, x_size, y_size, x_stride, var.yres_virtual, x_pan, y_pan, x_offs, y_offs + var.yoffset, bp);
+ blit2FB(fh, fbbuff, alpha, x_size, y_size, x_stride, var.yres, x_pan, y_pan, x_offs, y_offs + var.yoffset, bp);
#endif
free(fbbuff);

View File

@@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<!-- maintainer-needed -->
<upstream>
<remote-id type="freshmeat">fbv</remote-id>
</upstream>
</pkgmetadata>