summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /media-gfx/fbgrab
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'media-gfx/fbgrab')
-rw-r--r--media-gfx/fbgrab/Manifest2
-rw-r--r--media-gfx/fbgrab/fbgrab-1.0-r2.ebuild37
-rw-r--r--media-gfx/fbgrab/fbgrab-1.3.ebuild34
-rw-r--r--media-gfx/fbgrab/files/fbgrab-1.0-Makefile.patch14
-rw-r--r--media-gfx/fbgrab/files/fbgrab-1.0-zlib_h.patch10
-rw-r--r--media-gfx/fbgrab/files/fbgrab-1.1-Makefile.patch12
-rw-r--r--media-gfx/fbgrab/metadata.xml12
7 files changed, 121 insertions, 0 deletions
diff --git a/media-gfx/fbgrab/Manifest b/media-gfx/fbgrab/Manifest
new file mode 100644
index 000000000000..ce0695e7f925
--- /dev/null
+++ b/media-gfx/fbgrab/Manifest
@@ -0,0 +1,2 @@
+DIST fbgrab-1.0.tar.gz 11928 SHA256 9158241a20978dcc4caf0692684da9dd3640fd6f5c8b72581bd099198d670510 SHA512 83346be21b3dc393165cfbb210284679e9fc746380fde9939d96d8174cd320d71cc6bfbf23a9495a107c8f0a6ded43342f843b530996f695ebba0388669a35f0 WHIRLPOOL 9b697c073dfb38bd50c426b20217eb979429fea70728002aa90c1466094dc384b10cbe9879ea0fde85053c56f88b8a4099ac5dcdbaa8e1fd2bc9b8a3782fe6ab
+DIST fbgrab-1.3.tar.gz 13027 SHA256 5fab478cbf8731fbacefaa76236a8f8b38ccff920c53b3a8253bc35509fba8ed SHA512 2d1166890f41d7de813a6c9b722db148980fcc802da38dea1a42d1f150cbdc16d0dd6757bc334586402f109b382e5039d44b03f9f19024f546958bdf21ca5d52 WHIRLPOOL 55bd2d203592312a661fd0699b375b1e4c2699e61d41acaa56426146ba42f34744b8a6748af6e54f9d7b548ef0308c7874d8337ad250b3dc2fd0559cb9f9b162
diff --git a/media-gfx/fbgrab/fbgrab-1.0-r2.ebuild b/media-gfx/fbgrab/fbgrab-1.0-r2.ebuild
new file mode 100644
index 000000000000..f37580031aff
--- /dev/null
+++ b/media-gfx/fbgrab/fbgrab-1.0-r2.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Framebuffer screenshot utility"
+HOMEPAGE="http://hem.bredband.net/gmogmo/fbgrab/"
+SRC_URI="http://hem.bredband.net/gmogmo/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ppc ~ppc64 ~sparc x86"
+IUSE=""
+
+RDEPEND="media-libs/libpng
+ sys-libs/zlib"
+
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-zlib_h.patch" \
+ "${FILESDIR}/${P}-Makefile.patch"
+
+ epatch_user
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)"
+}
+
+src_install() {
+ dobin ${PN}
+ newman ${PN}.1.man ${PN}.1
+}
diff --git a/media-gfx/fbgrab/fbgrab-1.3.ebuild b/media-gfx/fbgrab/fbgrab-1.3.ebuild
new file mode 100644
index 000000000000..2dfccdb2477b
--- /dev/null
+++ b/media-gfx/fbgrab/fbgrab-1.3.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Framebuffer screenshot utility"
+HOMEPAGE="http://fbgrab.monells.se/"
+SRC_URI="http://fbgrab.monells.se/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"
+IUSE=""
+
+RDEPEND="media-libs/libpng:=
+ sys-libs/zlib"
+
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ sed -i -e "s:-g::" Makefile || die "sed failed"
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)"
+}
+
+src_install() {
+ dobin ${PN}
+ newman ${PN}.1.man ${PN}.1
+}
diff --git a/media-gfx/fbgrab/files/fbgrab-1.0-Makefile.patch b/media-gfx/fbgrab/files/fbgrab-1.0-Makefile.patch
new file mode 100644
index 000000000000..28fa840aa33a
--- /dev/null
+++ b/media-gfx/fbgrab/files/fbgrab-1.0-Makefile.patch
@@ -0,0 +1,14 @@
+diff -ru fbgrab-1.0.origin/Makefile fbgrab-1.0/Makefile
+--- fbgrab-1.0.origin/Makefile 2002-03-20 22:49:06.000000000 +0300
++++ fbgrab-1.0/Makefile 2013-06-25 21:03:11.000000000 +0400
+@@ -4,8 +4,8 @@
+ ###
+
+ fbgrab: fbgrab.c
+- splint +posixlib fbgrab.c
+- gcc -g -Wall fbgrab.c -lpng -lz -o fbgrab
++ #splint +posixlib fbgrab.c
++ $(CC) -Wall ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} fbgrab.c -lpng -lz -o fbgrab
+
+ install:
+ strip fbgrab
diff --git a/media-gfx/fbgrab/files/fbgrab-1.0-zlib_h.patch b/media-gfx/fbgrab/files/fbgrab-1.0-zlib_h.patch
new file mode 100644
index 000000000000..8318ab468994
--- /dev/null
+++ b/media-gfx/fbgrab/files/fbgrab-1.0-zlib_h.patch
@@ -0,0 +1,10 @@
+--- fbgrab.c
++++ fbgrab.c
+@@ -22,6 +22,7 @@
+
+ #include <getopt.h>
+ #include <sys/vt.h> /* to handle vt changing */
++#include <zlib.h> /* Z_BEST_COMPRESSION */
+ #include <png.h> /* PNG lib */
+ #include <linux/fb.h> /* to handle framebuffer ioctls */
+
diff --git a/media-gfx/fbgrab/files/fbgrab-1.1-Makefile.patch b/media-gfx/fbgrab/files/fbgrab-1.1-Makefile.patch
new file mode 100644
index 000000000000..5280a0a1e516
--- /dev/null
+++ b/media-gfx/fbgrab/files/fbgrab-1.1-Makefile.patch
@@ -0,0 +1,12 @@
+diff -ru fbgrab.orig/Makefile fbgrab/Makefile
+--- fbgrab.orig/Makefile 2013-05-24 00:14:45.000000000 +0400
++++ fbgrab/Makefile 2013-08-22 14:39:18.000000000 +0400
+@@ -4,7 +4,7 @@
+ ###
+
+ fbgrab: fbgrab.c
+- gcc -g -Wall fbgrab.c -lpng -lz -o fbgrab
++ $(CC) -Wall ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} fbgrab.c -lpng -lz -o fbgrab
+
+ install:
+ install fbgrab /usr/bin/fbgrab
diff --git a/media-gfx/fbgrab/metadata.xml b/media-gfx/fbgrab/metadata.xml
new file mode 100644
index 000000000000..1b9fb5b7d4b0
--- /dev/null
+++ b/media-gfx/fbgrab/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>zlogene@gentoo.org</email>
+ <name>Mikle Kolyada</name>
+ </maintainer>
+ <maintainer>
+ <email>pinkbyte@gentoo.org</email>
+ <name>Sergey Popov</name>
+ </maintainer>
+</pkgmetadata>