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 /dev-util/scanmem
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 'dev-util/scanmem')
-rw-r--r--dev-util/scanmem/Manifest1
-rw-r--r--dev-util/scanmem/files/scanmem-0.13-configure.patch31
-rw-r--r--dev-util/scanmem/files/scanmem-0.13-desktop.patch11
-rw-r--r--dev-util/scanmem/files/scanmem-0.13-docs.patch19
-rw-r--r--dev-util/scanmem/metadata.xml13
-rw-r--r--dev-util/scanmem/scanmem-0.15.2.ebuild53
6 files changed, 128 insertions, 0 deletions
diff --git a/dev-util/scanmem/Manifest b/dev-util/scanmem/Manifest
new file mode 100644
index 000000000000..ef7987ac4746
--- /dev/null
+++ b/dev-util/scanmem/Manifest
@@ -0,0 +1 @@
+DIST scanmem-0.15.2.tar.gz 243439 SHA256 37abf8f4e4992d2c0816670f0c9f2bf68f0e261e04604df67a52acdcc721dca5 SHA512 9d1211b10b30962e35821895d7dd7d5a179e64b3f539b6dd2585a3f6b0ade7cd092fe377454b2582ec66e2c7a7676f8c7f04e8aff5c9e6e449a9eb6fb0498501 WHIRLPOOL efefba182a891b792c32370d99de1e9f0d76dbfa5c3050eb96d66ecc64460a7960a861ec0ad0b41671d83c6dd1ba4a1202cea6dedd498806a7f6721a35003401
diff --git a/dev-util/scanmem/files/scanmem-0.13-configure.patch b/dev-util/scanmem/files/scanmem-0.13-configure.patch
new file mode 100644
index 000000000000..cedc96a07098
--- /dev/null
+++ b/dev-util/scanmem/files/scanmem-0.13-configure.patch
@@ -0,0 +1,31 @@
+--- scanmem-0.13/configure.ac
++++ scanmem-0.13/configure.ac
+@@ -108,16 +108,17 @@
+ test/Makefile
+ ])
+
+-AC_ARG_ENABLE(gui, [AS_HELP_STRING([--enable-gui],
+- [enable gameconqueror, the gui front-end of scanmem])],
+- [enable_gui=true
+- AC_CONFIG_FILES([
+- gui/Makefile
+- gui/consts.py
+- gui/gameconqueror
+- ])],
+- [enable_gui=false]
+- )
++AC_ARG_ENABLE([gui],
++ AS_HELP_STRING([--enable-gui],
++ [enable gameconqueror, the gui front-end of scanmem]))
+
+-AM_CONDITIONAL([ENABLE_GUI], [test x$enable_gui = xtrue])
++AS_IF([test "x$enable_gui" = "xyes"], [
++ AC_CONFIG_FILES([
++ gui/Makefile
++ gui/consts.py
++ gui/gameconqueror
++ ])
++])
++
++AM_CONDITIONAL([ENABLE_GUI], [test "x$enable_gui" = "xyes"])
+ AC_OUTPUT
diff --git a/dev-util/scanmem/files/scanmem-0.13-desktop.patch b/dev-util/scanmem/files/scanmem-0.13-desktop.patch
new file mode 100644
index 000000000000..7fabcb3f2860
--- /dev/null
+++ b/dev-util/scanmem/files/scanmem-0.13-desktop.patch
@@ -0,0 +1,11 @@
+--- scanmem-0.13/gui/GameConqueror.desktop
++++ scanmem-0.13/gui/GameConqueror.desktop
+@@ -4,6 +4,6 @@
+ Exec=gameconqueror
+ Terminal=false
+ Type=Application
+-Icon=GameConqueror_128x128.png
+-Categories=GNOME;Application;Game;
++Icon=GameConqueror_128x128
++Categories=GNOME;GTK;Game;
+ StartupNotify=true
diff --git a/dev-util/scanmem/files/scanmem-0.13-docs.patch b/dev-util/scanmem/files/scanmem-0.13-docs.patch
new file mode 100644
index 000000000000..7969de3ec0e8
--- /dev/null
+++ b/dev-util/scanmem/files/scanmem-0.13-docs.patch
@@ -0,0 +1,19 @@
+--- scanmem-0.13/gui/Makefile.am
++++ scanmem-0.13/gui/Makefile.am
+@@ -4,7 +4,6 @@
+ dist_icons_DATA = GameConqueror_128x128.png GameConqueror_72x72.png
+ dist_desktop_DATA = GameConqueror.desktop
+ dist_man_MANS = gameconqueror.1
+-dist_doc_DATA = README TODO COPYING
+ EXTRA_DIST = gameconqueror.in consts.py.in
+
+ gameconquerordir=$(datadir)/gameconqueror
+--- scanmem-0.13/Makefile.am
++++ scanmem-0.13/Makefile.am
+@@ -12,6 +12,5 @@
+ scanmem_SOURCES += scanroutines.h scanroutines.c show_message.h show_message.c
+ scanmem_CFLAGS = -O2 -g -Wall
+ dist_man_MANS = scanmem.1
+-dist_doc_DATA = README
+
+ EXTRA_DIST = gpl-2.0.txt gpl-3.0.txt
diff --git a/dev-util/scanmem/metadata.xml b/dev-util/scanmem/metadata.xml
new file mode 100644
index 000000000000..04f8eccd65d3
--- /dev/null
+++ b/dev-util/scanmem/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>maintainer-needed@gentoo.org</email>
+ </maintainer>
+ <use>
+ <flag name="gui">Enable the GameConqueror GUI</flag>
+ </use>
+ <upstream>
+ <remote-id type="github">scanmem/scanmem</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-util/scanmem/scanmem-0.15.2.ebuild b/dev-util/scanmem/scanmem-0.15.2.ebuild
new file mode 100644
index 000000000000..904512ded5fc
--- /dev/null
+++ b/dev-util/scanmem/scanmem-0.15.2.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+PYTHON_COMPAT=( python{2_7,3_3,3_4} )
+
+inherit autotools eutils python-single-r1
+
+DESCRIPTION="Locate and modify variables in executing processes"
+HOMEPAGE="https://github.com/scanmem/scanmem"
+SRC_URI="https://github.com/scanmem/scanmem/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="gui"
+
+DEPEND="sys-libs/readline:="
+RDEPEND="${DEPEND}
+ gui? (
+ ${PYTHON_DEPS}
+ dev-python/pygobject:3
+ sys-auth/polkit
+ )"
+
+REQUIRED_USE="gui? ( ${PYTHON_REQUIRED_USE} )"
+
+pkg_setup() {
+ use gui && python-single-r1_pkg_setup
+}
+
+src_prepare() {
+ sed -i "/CFLAGS/d" Makefile.am || die
+
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --docdir="/usr/share/doc/${PF}" \
+ $(use_enable gui)
+}
+
+src_install() {
+ default
+
+ if use gui ; then
+ docinto gui
+ dodoc gui/{README,TODO}
+ python_fix_shebang "${D}"
+ fi
+}