summaryrefslogtreecommitdiff
path: root/x11-misc/menumaker
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /x11-misc/menumaker
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-misc/menumaker')
-rw-r--r--x11-misc/menumaker/Manifest6
-rw-r--r--x11-misc/menumaker/files/menumaker-0.99.10-AM_PATH_PYTHON.patch100
-rw-r--r--x11-misc/menumaker/menumaker-0.99.10.ebuild58
-rw-r--r--x11-misc/menumaker/metadata.xml15
4 files changed, 179 insertions, 0 deletions
diff --git a/x11-misc/menumaker/Manifest b/x11-misc/menumaker/Manifest
new file mode 100644
index 000000000000..62df2ba08443
--- /dev/null
+++ b/x11-misc/menumaker/Manifest
@@ -0,0 +1,6 @@
+AUX menumaker-0.99.10-AM_PATH_PYTHON.patch 2517 SHA256 e8ab4130eed558a4c46acee8a9145ada003936d9dfa124c7fb576eb8a48995ba SHA512 8ba6d7898f5346a6e64ac1cbf17f914c44835f603c9d5952e226063c2d7d3ad64597e41a8a0bbfa4dd12966ddbf53722bc4c28d3ee0e5c860073e08f56fa2805 WHIRLPOOL aed775eed5e2ebb1019dc4b1b6ee493ef3433e2654ed0e2c637e1f3a2ae0104f8d60ab6b31069b29bc87a66ce53f082cb51eddc726abc5c0b2e1baadc9af0e7b
+DIST menumaker-0.99.10.tar.gz 202580 SHA256 7e22db0f0d937d33bb338e03f6eac9aa549b9a790c666e519b13de39de66a4d6 SHA512 e7a731ac848089cbdb845fdb0e344b48e70d3bb7220870127d3616549d31fa62b61a48e3efff52d7767b597a4407a8548e776c16976072d0aa7f5c96740cd207 WHIRLPOOL 25db03310dd3847ad419d7e47c4a7e39e527b383027af889292ae693187e72360f3bdf4d77e25d42091945dc277f95562e9bdc43ba84b38e4530bf03914d5ac3
+EBUILD menumaker-0.99.10.ebuild 1117 SHA256 6b48fcd06648956b69496defa4bae350ab6fe3c4ba514f365c243fa743ef5638 SHA512 034927ead7d0f83819f1953c1fa3dc93efcc7bba541274d7da6b1bcfaef4b9e243b5945e93f6063cc4885d295e6cc048d58b104c502d8f8a96933db98ff6cf88 WHIRLPOOL 586da9b3f1fe9d3f5b200cefe9d94b2300617f4907b7357f47a9e4f0872f8ae057c2ee3c550e86c07b9fb61523e88d7ceace22bd6211cf1b4447847366663061
+MISC ChangeLog 2833 SHA256 f35f613cb91ae9c75dd9e28122b4deec7a63126705968675c3091f994e6c6045 SHA512 b67cb46e686a048e6b9dc21073baf0b1f9ab1e2fdacf3a0b9d79aa27c7ea981de72185f9d50d5d6e3e64bd716ec20e37486ae8c8a50a080c6f58d18ee4a25f32 WHIRLPOOL 3e4e919734f843a10c8666d1c0dd0225294defc5411a73bb6649700bf75ec1071b2d3c4d1d88fce745de7269718c770d9b2a72b905ab474612adfaeffe819902
+MISC ChangeLog-2015 2468 SHA256 ec2536fbc31c77f83202005dd3e00c39107fc128944402fddf615d9fb07062c1 SHA512 749aff0113f3ac5ba8db4fe276ee2b1f81b98cb7c1ad96451fe752d5e3ee264034ab571ca1e804c3e34d45200c9d48e448f0f5c3e79351b1ea821b46272871b8 WHIRLPOOL fd79f2330856a59c720829152ae23d8b719b5e87aa2b8324018e1905d0daf54f5c98dfb53e45fd2c97a3bda232fc684a48499e6e987c84dba62466883ca75217
+MISC metadata.xml 439 SHA256 92043ca8af431599745c2f87c5c68192c24a6d70e285b4615119815a5394947e SHA512 5f68ee720bbfc364f200335a1045982b4c82aab73e24a8e5143d8a776919b6b676088c5af49ea74cdb09d09cf1f055b596471915f173ab6afbb17bc553a6b07c WHIRLPOOL 1fb2533b6dd2036be59ff4d4b9753d7e1a9ea9865dd8f2096ac2a3ac7ff63494f5cb4315090301100806865ff141745e44425fd72215b98ee1baaf46bb08bc7f
diff --git a/x11-misc/menumaker/files/menumaker-0.99.10-AM_PATH_PYTHON.patch b/x11-misc/menumaker/files/menumaker-0.99.10-AM_PATH_PYTHON.patch
new file mode 100644
index 000000000000..8e645a8b2fbc
--- /dev/null
+++ b/x11-misc/menumaker/files/menumaker-0.99.10-AM_PATH_PYTHON.patch
@@ -0,0 +1,100 @@
+Use AM_PATH_PYTHON instead of broken hacks
+
+--- a/configure.ac
++++ b/configure.ac
+@@ -1,23 +1,13 @@
+-AC_INIT(MenuMaker, 0.99.10)
++AC_INIT([MenuMaker], [0.99.10])
+
+ AM_INIT_AUTOMAKE
+
+-#AZ_PYTHON_DEFAULT
++AM_PATH_PYTHON
+
+-#AZ_PYTHON_WITH
+-
+-#if test -z "$PYTHON"; then
+-# AZ_PYTHON_PATH
+-#fi
+-
+-#AZ_PYTHON_VERSION_ENSURE([2.7])
+-
+-#AZ_PYTHON_RUN
+-
+-AX_PYTHON
+-
+-AC_CONFIG_FILES([Makefile])
+-AC_CONFIG_FILES([doc/Makefile])
+-AC_CONFIG_FILES([Config.py])
++AC_CONFIG_FILES([
++ Makefile
++ doc/Makefile
++ Config.py
++])
+
+ AC_OUTPUT
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -1,15 +1,53 @@
+-ACLOCAL_AMFLAGS = -I m4
+-
+ SUBDIRS = doc
+
+ dist_bin_SCRIPTS = mmaker
+
+-nobase_dist_pkgdata_DATA = *.py MenuMaker/*.py Prophet/*.py Prophet/Desktop/*.py Prophet/Legacy/*.py Prophet/Debian/*.py Prophet/Debian/menu/*
++python_PYTHON = \
++ Config.py \
++ Keywords.py \
++ Paths.py
++
++pythonMenuMakerdir = $(pythondir)/MenuMaker
++pythonMenuMaker_PYTHON = \
++ MenuMaker/BlackBox.py \
++ MenuMaker/CLI.py \
++ MenuMaker/Deskmenu.py \
++ MenuMaker/FluxBox.py \
++ MenuMaker/IceWM.py \
++ MenuMaker/__init__.py \
++ MenuMaker/OpenBox3.py \
++ MenuMaker/PekWM.py \
++ MenuMaker/WindowMaker.py \
++ MenuMaker/xBox.py \
++ MenuMaker/Xfce4.py
++
++pythonProphetdir = $(pythondir)/Prophet
++pythonProphet_PYTHON = \
++ Prophet/Categories.py \
++ Prophet/__init__.py
++
++pythonProphetDesktopdir = $(pythondir)/Prophet/Desktop
++pythonProphetDesktop_PYTHON = \
++ Prophet/Desktop/__init__.py
++
++pythonProphetLegacydir = $(pythondir)/Prophet/Legacy
++pythonProphetLegacy_PYTHON = \
++ Prophet/Legacy/Development.py \
++ Prophet/Legacy/Editor.py \
++ Prophet/Legacy/Emulator.py \
++ Prophet/Legacy/Graphics.py \
++ Prophet/Legacy/__init__.py \
++ Prophet/Legacy/Multimedia.py \
++ Prophet/Legacy/Network.py \
++ Prophet/Legacy/Shell.py
+
+-install-exec-local :
+- echo "#!/usr/bin/env $(PYTHON_BIN)" > $(DESTDIR)/$(bindir)/mmaker
+- echo "import sys; sys.path = ['$(pkgdatadir)'] + sys.path" >> $(DESTDIR)/$(bindir)/mmaker
+- echo "import MenuMaker.CLI" >> $(DESTDIR)/$(bindir)/mmaker
++pythonProphetDebiandir = $(pythondir)/Prophet/Debian
++pythonProphetDebian_PYTHON = \
++ Prophet/Debian/__init__.py
+
+-install-data-local :
+- $(PYTHON) -c 'import compileall; compileall.compile_dir(dir="$(DESTDIR)/$(pkgdatadir)", ddir="$(pkgdatadir)")'
++pythonProphetDebianMenudir = $(pythondir)/Prophet/Debian/menu
++dist_pythonProphetDebianMenu_DATA = \
++ Prophet/Debian/menu/debian-2.2r5 \
++ Prophet/Debian/menu/debian-8.1 \
++ Prophet/Debian/menu/ubuntu-5.04 \
++ Prophet/Debian/menu/ubuntu-5.10
diff --git a/x11-misc/menumaker/menumaker-0.99.10.ebuild b/x11-misc/menumaker/menumaker-0.99.10.ebuild
new file mode 100644
index 000000000000..07a220f4d6f6
--- /dev/null
+++ b/x11-misc/menumaker/menumaker-0.99.10.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5} )
+
+inherit autotools python-r1
+
+DESCRIPTION="Utility that scans through the system and generates a menu of installed programs"
+HOMEPAGE="http://menumaker.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="amd64 ~ppc x86 ~x86-fbsd"
+
+IUSE="doc"
+
+RDEPEND="${PYTHON_DEPS}"
+DEPEND="${RDEPEND}
+ doc? ( sys-apps/texinfo )"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.99.10-AM_PATH_PYTHON.patch
+)
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ configure() {
+ ECONF_SOURCE="${S}" econf PYTHON="${EPYTHON}"
+ }
+ python_foreach_impl run_in_build_dir configure
+}
+
+src_compile() {
+ compile() {
+ default
+ use doc && emake html
+ }
+ python_foreach_impl run_in_build_dir compile
+}
+
+src_install() {
+ compile() {
+ default
+ use doc && emake DESTDIR="${D}" install-html
+ }
+ python_foreach_impl run_in_build_dir compile
+ python_replicate_script "${ED%/}"/usr/bin/mmaker
+ einstalldocs
+}
diff --git a/x11-misc/menumaker/metadata.xml b/x11-misc/menumaker/metadata.xml
new file mode 100644
index 000000000000..fd651f75dd2c
--- /dev/null
+++ b/x11-misc/menumaker/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>aklhfex@gmail.com</email>
+ <name>Chris Mayo</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">menumaker</remote-id>
+ </upstream>
+</pkgmetadata>