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 /x11-themes/fvwm-themes
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 'x11-themes/fvwm-themes')
-rw-r--r--x11-themes/fvwm-themes/Manifest1
-rw-r--r--x11-themes/fvwm-themes/files/fvwm-themes-0.7.0-gentoo.patch27
-rw-r--r--x11-themes/fvwm-themes/files/fvwm-themes-0.7.0-posix-sort.patch11
-rw-r--r--x11-themes/fvwm-themes/fvwm-themes-0.7.0.ebuild45
-rw-r--r--x11-themes/fvwm-themes/metadata.xml10
5 files changed, 94 insertions, 0 deletions
diff --git a/x11-themes/fvwm-themes/Manifest b/x11-themes/fvwm-themes/Manifest
new file mode 100644
index 000000000000..e5181d5e8bad
--- /dev/null
+++ b/x11-themes/fvwm-themes/Manifest
@@ -0,0 +1 @@
+DIST fvwm-themes-0.7.0.tar.bz2 921517 SHA256 0854ab07c2d765a499e6bbb2fd0b2722bc824c5b4fe6d9f917d71042919b5848
diff --git a/x11-themes/fvwm-themes/files/fvwm-themes-0.7.0-gentoo.patch b/x11-themes/fvwm-themes/files/fvwm-themes-0.7.0-gentoo.patch
new file mode 100644
index 000000000000..5fdf7e5f3bb3
--- /dev/null
+++ b/x11-themes/fvwm-themes/files/fvwm-themes-0.7.0-gentoo.patch
@@ -0,0 +1,27 @@
+--- Makefile.am~ 2002-12-06 03:01:37.000000000 +0100
++++ Makefile.am 2003-04-15 20:14:34.000000000 +0200
+@@ -32,24 +32,7 @@
+ $(DESTDIR)$(SETTINGS_FILE) > $(DESTDIR)$(SETTINGS_FILE).tmp && \
+ mv -f $(DESTDIR)$(SETTINGS_FILE).tmp $(DESTDIR)$(SETTINGS_FILE)
+
+- PATH="$(DESTDIR)$(bindir):$(FVWM_BINDIR):$$PATH"; \
+- $(DESTDIR)$(bindir)/fvwm-themes-config --site --reset
+
+- if test "$(BUILD_MENUS)" = "yes"; then \
+- $(DESTDIR)$(bindir)/fvwm-themes-menuapp --site --build-menus --remove-popup; \
+- fi
+-
+- if test "$(GNOME_ICONS)" = "yes"; then \
+- $(DESTDIR)$(bindir)/fvwm-themes-images --ft-install --gnome; \
+- fi
+-
+- if test "$(KDE2_ICONS)" = "yes"; then \
+- $(DESTDIR)$(bindir)/fvwm-themes-images --ft-install --kde2; \
+- fi
+-
+- if test "$(RUN_UPDATEMENU)" = "yes"; then \
+- $(UPDATE_MENU); \
+- fi
+
+ @echo
+ @echo ------------------------------------------------------------------------------
diff --git a/x11-themes/fvwm-themes/files/fvwm-themes-0.7.0-posix-sort.patch b/x11-themes/fvwm-themes/files/fvwm-themes-0.7.0-posix-sort.patch
new file mode 100644
index 000000000000..3974f95c5c51
--- /dev/null
+++ b/x11-themes/fvwm-themes/files/fvwm-themes-0.7.0-posix-sort.patch
@@ -0,0 +1,11 @@
+--- fvwm-themes-0.7.0/configure.in
++++ fvwm-themes-0.7.0/configure.in
+@@ -195,7 +195,7 @@
+
+ # Hopefully this "sort" is portable (after many tries using awk and expr)
+ if (echo $REQUIRED_FVWM_VERSION; echo $FVWM_VERSION) \
+-| sed 's/\./ /g' | uniq | sort -n +0 -1 +1 -2 +2 -3 -c 2>/dev/null; then
++| sort -c -n -t . -k 1,1 -k 2,2 -k 3,3 2>/dev/null; then
+ :
+ # fvwm version is ok
+ else
diff --git a/x11-themes/fvwm-themes/fvwm-themes-0.7.0.ebuild b/x11-themes/fvwm-themes/fvwm-themes-0.7.0.ebuild
new file mode 100644
index 000000000000..12b056dcf7e4
--- /dev/null
+++ b/x11-themes/fvwm-themes/fvwm-themes-0.7.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=2
+inherit autotools eutils
+
+DESCRIPTION="A configuration framework for the fvwm window manager"
+HOMEPAGE="http://fvwm-themes.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha amd64 ~ia64 ~ppc ~ppc64 ~sparc x86"
+IUSE="gnome"
+
+RDEPEND=">=x11-wm/fvwm-2.6.2"
+DEPEND="${RDEPEND}
+ gnome? ( || (
+ media-gfx/imagemagick
+ media-gfx/graphicsmagick[imagemagick] ) )"
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${P}-gentoo.patch \
+ "${FILESDIR}"/${P}-posix-sort.patch
+
+ eautoreconf
+}
+
+src_configure() {
+ econf $(use_enable gnome gnome-icons)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ dodoc AUTHORS ChangeLog NEWS README TODO
+}
+
+pkg_postinst() {
+ fvwm-themes-config --site --reset
+ fvwm-themes-menuapp --site --build-menus --remove-popup
+
+ use gnome && fvwm-themes-images --ft-install --gnome
+}
diff --git a/x11-themes/fvwm-themes/metadata.xml b/x11-themes/fvwm-themes/metadata.xml
new file mode 100644
index 000000000000..6cdc4859cfde
--- /dev/null
+++ b/x11-themes/fvwm-themes/metadata.xml
@@ -0,0 +1,10 @@
+<?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>
+ <upstream>
+ <remote-id type="sourceforge">fvwm-themes</remote-id>
+ </upstream>
+</pkgmetadata>