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-plugins/wmfortune | |
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-plugins/wmfortune')
-rw-r--r-- | x11-plugins/wmfortune/Manifest | 1 | ||||
-rw-r--r-- | x11-plugins/wmfortune/files/wmfortune-0.241-stringh.patch | 11 | ||||
-rw-r--r-- | x11-plugins/wmfortune/metadata.xml | 5 | ||||
-rw-r--r-- | x11-plugins/wmfortune/wmfortune-0.241.ebuild | 41 |
4 files changed, 58 insertions, 0 deletions
diff --git a/x11-plugins/wmfortune/Manifest b/x11-plugins/wmfortune/Manifest new file mode 100644 index 000000000000..508d410b2a74 --- /dev/null +++ b/x11-plugins/wmfortune/Manifest @@ -0,0 +1 @@ +DIST wmfortune-0.241.tar.gz 23406 SHA256 b149067b7e3521f7e03354b12754baaf9c5556af4d286bbd6d169b1db9f6dba0 SHA512 d5640090c2f2ba788ab9367b70d948d4f1d846174714e2415e81500f5fef6c3e7e81b12575274bdb3a760fa3e2e9ab499880713a923add136089969b394f9409 WHIRLPOOL 1bbfec73e9858e78aa627409c7df08b51edf0b36bfcf7f4cfbe8a5c862400585054eb60761962677cd3002edcf775d2296cf90fadad7e2537346902a69ae487c diff --git a/x11-plugins/wmfortune/files/wmfortune-0.241-stringh.patch b/x11-plugins/wmfortune/files/wmfortune-0.241-stringh.patch new file mode 100644 index 000000000000..a8e9f9ff6eda --- /dev/null +++ b/x11-plugins/wmfortune/files/wmfortune-0.241-stringh.patch @@ -0,0 +1,11 @@ +diff -ur wmfortune-0.241.orig/wmfortune.c wmfortune-0.241/wmfortune.c +--- wmfortune-0.241.orig/wmfortune.c 2001-09-01 03:25:39.000000000 +0300 ++++ wmfortune-0.241/wmfortune.c 2008-01-15 10:21:17.000000000 +0200 +@@ -25,6 +25,7 @@ + + #include <unistd.h> + #include <stdio.h> ++#include <string.h> + #include "dockapp.h" + #include "XPM/panel.xpm" + #include "XPM/panel_button_pressed.xpm" diff --git a/x11-plugins/wmfortune/metadata.xml b/x11-plugins/wmfortune/metadata.xml new file mode 100644 index 000000000000..b1a9efc4f2f0 --- /dev/null +++ b/x11-plugins/wmfortune/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-dock</herd> +</pkgmetadata> diff --git a/x11-plugins/wmfortune/wmfortune-0.241.ebuild b/x11-plugins/wmfortune/wmfortune-0.241.ebuild new file mode 100644 index 000000000000..de9e4d661c10 --- /dev/null +++ b/x11-plugins/wmfortune/wmfortune-0.241.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils multilib toolchain-funcs + +DESCRIPTION="a dockapp showing fortune-mod messages" +HOMEPAGE="http://dockapps.windowmaker.org/file.php/id/90" +SRC_URI="http://dockapps.windowmaker.org/download.php/id/128/${P}.tar.gz" + +LICENSE="GPL-1" +SLOT="0" +KEYWORDS="amd64 ppc sparc x86" +IUSE="" + +RDEPEND="games-misc/fortune-mod + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xproto + x11-proto/xextproto" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-stringh.patch + + # Honour Gentoo LDFLAGS. Closes bug #336446. + sed -i 's/-o $(DEST)/$(LDFLAGS) -o $(DEST)/' Makefile +} + +src_compile() { + emake CC="$(tc-getCC)" OPTIMIZE="${CFLAGS}" \ + XLIBDIR="/usr/$(get_libdir)" || die "emake failed." +} + +src_install() { + dobin ${PN} + dodoc CHANGES README TODO +} |