diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /x11-misc/accessx | |
download | gentoo-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 'x11-misc/accessx')
-rw-r--r-- | x11-misc/accessx/Manifest | 1 | ||||
-rw-r--r-- | x11-misc/accessx/accessx-0951-r1.ebuild | 39 | ||||
-rw-r--r-- | x11-misc/accessx/files/accessx-0951-build.patch | 65 | ||||
-rw-r--r-- | x11-misc/accessx/metadata.xml | 5 |
4 files changed, 110 insertions, 0 deletions
diff --git a/x11-misc/accessx/Manifest b/x11-misc/accessx/Manifest new file mode 100644 index 000000000000..7ce4a8a3d3cd --- /dev/null +++ b/x11-misc/accessx/Manifest @@ -0,0 +1 @@ +DIST accessx0951.tar.gz 17199 RMD160 505db30895d16137ff893ee0adbc1e8a8c706e4b SHA1 c189d86067df37d206c7c1cd99ec7568f045d0a8 SHA256 441e9316552a88d26b265a3074656ec56a84d8ea287d7dcebdb7a2b562111863 diff --git a/x11-misc/accessx/accessx-0951-r1.ebuild b/x11-misc/accessx/accessx-0951-r1.ebuild new file mode 100644 index 000000000000..3f2742082ac5 --- /dev/null +++ b/x11-misc/accessx/accessx-0951-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=2 +inherit eutils multilib toolchain-funcs + +DESCRIPTION="Interface to the XKEYBOARD extension in X11" +HOMEPAGE="http://cita.disability.uiuc.edu/software/accessx/freewareaccessx.php" +SRC_URI="http://cmos-eng.rehab.uiuc.edu/${PN}/software/${PN}${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ppc sparc x86" +IUSE="" + +DEPEND="x11-libs/libX11 + x11-libs/libXext + dev-lang/tk" + +S=${WORKDIR}/${PN} + +src_prepare() { + epatch "${FILESDIR}"/${P}-build.patch + + sed -i \ + -e 's:$(CC) $(OPTS) ax.C:$(CC) $(LDFLAGS) $(OPTS) ax.C:' \ + Makefile || die +} + +src_compile() { + emake CC="$(tc-getCXX)" OPTS="${CXXFLAGS}" \ + XLIBDIR="-L/usr/$(get_libdir)" LLIBS="-lXext -lX11" || die +} + +src_install() { + dobin accessx ax || die + dodoc CHANGES README +} diff --git a/x11-misc/accessx/files/accessx-0951-build.patch b/x11-misc/accessx/files/accessx-0951-build.patch new file mode 100644 index 000000000000..6d732487214f --- /dev/null +++ b/x11-misc/accessx/files/accessx-0951-build.patch @@ -0,0 +1,65 @@ +diff -ur accessx.orig/Access.C accessx/Access.C +--- accessx.orig/Access.C 2003-09-19 19:08:01.000000000 +0300 ++++ accessx/Access.C 2008-01-07 18:53:43.000000000 +0200 +@@ -22,6 +22,8 @@ + #include <X11/XKBlib.h> + #include "Access.h" + ++using namespace std; ++ + // + // Access() + // +@@ -153,7 +155,7 @@ + //Get the state of the keyboard. + + XkbDescPtr xkb = XkbGetMap(display, 0, XkbUseCoreKbd); +- if ((int)xkb == BadAlloc || xkb == NULL) ++ if (xkb == NULL) + { + return 5; /*AccessKeyboardQueryFailure;*/ + } +@@ -262,7 +264,7 @@ + //Get the state of the keyboard. + + XkbDescPtr xkb = XkbGetMap(display, 0, XkbUseCoreKbd); +- if ((int)xkb == BadAlloc || xkb == NULL) ++ if (xkb == NULL) + { + return 5; /*AccessKeyboardQueryFailure;*/ + } +diff -ur accessx.orig/Access.h accessx/Access.h +--- accessx.orig/Access.h 2003-09-19 19:00:42.000000000 +0300 ++++ accessx/Access.h 2008-01-07 18:53:47.000000000 +0200 +@@ -21,7 +21,7 @@ + * + */ + +-#include <iostream.h> ++#include <iostream> + #include <math.h> + + inline char* onoroff(int val) +diff -ur accessx.orig/ax.C accessx/ax.C +--- accessx.orig/ax.C 2003-09-19 19:09:31.000000000 +0300 ++++ accessx/ax.C 2008-01-07 18:53:49.000000000 +0200 +@@ -20,6 +20,7 @@ + + #include "ax.h" + ++using namespace std; + + /////////////////////////////////////////////////////////////////////////////// + // +diff -ur accessx.orig/ax.h accessx/ax.h +--- accessx.orig/ax.h 2003-09-19 19:06:56.000000000 +0300 ++++ accessx/ax.h 2008-01-07 18:53:51.000000000 +0200 +@@ -24,7 +24,7 @@ + + // Include Files + +-#include <iostream.h> ++#include <iostream> + #include <stdio.h> + #include <stdlib.h> + #include <string.h> diff --git a/x11-misc/accessx/metadata.xml b/x11-misc/accessx/metadata.xml new file mode 100644 index 000000000000..731225048652 --- /dev/null +++ b/x11-misc/accessx/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>desktop-misc</herd> +</pkgmetadata> |