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-libs/libgii
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-libs/libgii')
-rw-r--r--media-libs/libgii/Manifest1
-rw-r--r--media-libs/libgii/files/libgii-0.9.0-linux26-headers.patch12
-rw-r--r--media-libs/libgii/files/libgii-1.0.2-configure-cpuid-pic.patch13
-rw-r--r--media-libs/libgii/files/libgii-1.0.2-libtool_1.5_compat.patch19
-rw-r--r--media-libs/libgii/libgii-1.0.2-r1.ebuild45
-rw-r--r--media-libs/libgii/metadata.xml11
6 files changed, 101 insertions, 0 deletions
diff --git a/media-libs/libgii/Manifest b/media-libs/libgii/Manifest
new file mode 100644
index 000000000000..17d8f6753b5e
--- /dev/null
+++ b/media-libs/libgii/Manifest
@@ -0,0 +1 @@
+DIST libgii-1.0.2.src.tar.bz2 701099 SHA256 f72201143281ba972fd9e249afbe342c54e73c29ec996adb0d6e85322c6ee49d SHA512 d45b236e08bb8c6a7a7741ae694650dfc5681712a174f923c9132c41acb388d0d6dbc5589104a7a6bc73c98088f2b5967ee726d83c1f3e913602661c8d30bf07 WHIRLPOOL 1e38eddf5eb2f070076ffc05b0e32bc6ad8b9dd96b9bb82e0e90eb90d67b15e42700c47a65b8b933082e5a70c508b4cd4beeb8a707f434bda91793cf0e9ce79a
diff --git a/media-libs/libgii/files/libgii-0.9.0-linux26-headers.patch b/media-libs/libgii/files/libgii-0.9.0-linux26-headers.patch
new file mode 100644
index 000000000000..ff77c33c4e9e
--- /dev/null
+++ b/media-libs/libgii/files/libgii-0.9.0-linux26-headers.patch
@@ -0,0 +1,12 @@
+--- input/linux_kbd/linkey.c~ 2002-02-23 06:51:05.000000000 +0900
++++ input/linux_kbd/linkey.c 2005-03-28 12:05:43.000000000 +0900
+@@ -25,8 +25,8 @@
+ ******************************************************************************
+ */
+ #include "config.h"
+-#include "linkey.h"
+ #include <ctype.h>
++#include "linkey.h"
+
+ static uint32 basic_trans(int sym, int islabel, uint32 *modifiers,
+ uint32 label, int keycode)
diff --git a/media-libs/libgii/files/libgii-1.0.2-configure-cpuid-pic.patch b/media-libs/libgii/files/libgii-1.0.2-configure-cpuid-pic.patch
new file mode 100644
index 000000000000..5c014a479745
--- /dev/null
+++ b/media-libs/libgii/files/libgii-1.0.2-configure-cpuid-pic.patch
@@ -0,0 +1,13 @@
+dont clobber ebx as that is the pic register and it doesnt work in many cases
+
+--- libgii-1.0.2/m4/swar.m4
++++ libgii-1.0.2/m4/swar.m4
+@@ -8069,7 +8069,7 @@
+ #ifdef _MSC_VER
+ __asm cpuid
+ #else
+- asm("cpuid": "=a" (a), "=b" (b), "=c" (c), "=d" (d) : "a" (in));
++ asm("pushl %%ebx; cpuid; movl %%ebx,%2; popl %%ebx": "=a" (a), "=r" (b), "=c" (c), "=d" (d) : "a" (in));
+ #endif
+ return d;],
+ ggi_cv_cc_can_cpuid="yes", ggi_cv_cc_can_cpuid="no")])
diff --git a/media-libs/libgii/files/libgii-1.0.2-libtool_1.5_compat.patch b/media-libs/libgii/files/libgii-1.0.2-libtool_1.5_compat.patch
new file mode 100644
index 000000000000..851216540b47
--- /dev/null
+++ b/media-libs/libgii/files/libgii-1.0.2-libtool_1.5_compat.patch
@@ -0,0 +1,19 @@
+--- configure.in 2007-01-16 14:52:56.000000000 -0500
++++ configure.in.new 2008-06-10 15:40:14.000000000 -0400
+@@ -12,7 +12,7 @@
+ AM_INIT_AUTOMAKE([libgii],[1.0.2],[-])
+
+ AM_MAINTAINER_MODE
+-
++AC_PROG_LIBTOOL
+
+ AC_CANONICAL_BUILD
+ AC_CANONICAL_HOST
+@@ -100,7 +100,6 @@
+ dnl Make Objective-C work with automake >= 1.7.x
+ AM_CONDITIONAL([am__fastdepOBJC], false)
+
+-LT_INIT([win32-dll])
+
+
+ dnl ========================================================================
diff --git a/media-libs/libgii/libgii-1.0.2-r1.ebuild b/media-libs/libgii/libgii-1.0.2-r1.ebuild
new file mode 100644
index 000000000000..f16deb0d172d
--- /dev/null
+++ b/media-libs/libgii/libgii-1.0.2-r1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+AUTOTOOLS_AUTORECONF=1
+
+inherit autotools-multilib
+
+DESCRIPTION="Fast and safe graphics and drivers for about any graphics card to the Linux kernel (sometimes)"
+HOMEPAGE="http://www.ggi-project.org"
+SRC_URI="mirror://sourceforge/ggi/${P}.src.tar.bz2"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd"
+IUSE="X"
+
+RDEPEND="X? (
+ >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}]
+ >=x11-libs/libXxf86dga-1.1.4[${MULTILIB_USEDEP}]
+ )"
+DEPEND="${RDEPEND}
+ kernel_linux? ( >=sys-kernel/linux-headers-2.6.11 )"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.9.0-linux26-headers.patch
+ "${FILESDIR}"/${P}-configure-cpuid-pic.patch
+ "${FILESDIR}"/${P}-libtool_1.5_compat.patch
+)
+
+DOCS=( ChangeLog ChangeLog.1999 FAQ NEWS README )
+
+MULTILIB_WRAPPED_HEADERS=( /usr/include/ggi/system.h )
+
+src_prepare() {
+ rm -f acinclude.m4 m4/libtool.m4 m4/lt*.m4
+ AT_M4DIR=m4 autotools-multilib_src_prepare
+}
+
+src_configure() {
+ local myeconfargs=( $(use_with X x) $(use_enable X x) )
+ autotools-multilib_src_configure
+}
diff --git a/media-libs/libgii/metadata.xml b/media-libs/libgii/metadata.xml
new file mode 100644
index 000000000000..4428fc215295
--- /dev/null
+++ b/media-libs/libgii/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>video</herd>
+ <maintainer>
+ <email>media-video@gentoo.org</email>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">ggi</remote-id>
+ </upstream>
+</pkgmetadata>