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/wmtz | |
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/wmtz')
-rw-r--r-- | x11-plugins/wmtz/Manifest | 1 | ||||
-rw-r--r-- | x11-plugins/wmtz/files/wmtz-0.7.patch | 48 | ||||
-rw-r--r-- | x11-plugins/wmtz/metadata.xml | 5 | ||||
-rw-r--r-- | x11-plugins/wmtz/wmtz-0.7.ebuild | 44 |
4 files changed, 98 insertions, 0 deletions
diff --git a/x11-plugins/wmtz/Manifest b/x11-plugins/wmtz/Manifest new file mode 100644 index 000000000000..b7cab9de8fe0 --- /dev/null +++ b/x11-plugins/wmtz/Manifest @@ -0,0 +1 @@ +DIST wmtz-0.7.tar.gz 26350 SHA256 cb09e64a9823b3da71e542d7cc66e6cbd0135809bee1e565d18acdcf0565823a diff --git a/x11-plugins/wmtz/files/wmtz-0.7.patch b/x11-plugins/wmtz/files/wmtz-0.7.patch new file mode 100644 index 000000000000..adb5c68f1b6c --- /dev/null +++ b/x11-plugins/wmtz/files/wmtz-0.7.patch @@ -0,0 +1,48 @@ +diff -ur wmtz-0.7.orig/wmtz/Makefile wmtz-0.7/wmtz/Makefile +--- wmtz-0.7.orig/wmtz/Makefile 2001-03-11 15:57:59.000000000 +0200 ++++ wmtz-0.7/wmtz/Makefile 2008-01-12 15:24:29.000000000 +0200 +@@ -1,5 +1,5 @@ + CC = gcc +-LIBDIR = -L/usr/X11R6/lib ++LIBDIR = -L/usr/lib + LIBS = -lXpm -lXext -lX11 -lm + FLAGS = -O2 + DESTDIR = /usr/local +@@ -10,7 +10,7 @@ + + + .c.o: +- $(CC) -I/usr/X11R6/include $(FLAGS) -c -Wall $< -o $*.o ++ $(CC) -I/usr/include $(FLAGS) -c -Wall $< -o $*.o + + wmtz: $(OBJS) + $(CC) $(FLAGS) -o wmtz $^ -lXext $(LIBDIR) $(LIBS) +diff -ur wmtz-0.7.orig/wmtz/wmtz.c wmtz-0.7/wmtz/wmtz.c +--- wmtz-0.7.orig/wmtz/wmtz.c 2001-04-16 22:26:34.000000000 +0300 ++++ wmtz-0.7/wmtz/wmtz.c 2008-01-12 15:17:37.000000000 +0200 +@@ -51,8 +51,7 @@ + #define STRSIZE 10 + #define LMST 1 + #define GMST 0 +-#define ABOUT "xmessage -center -buttons \"Close\" \"WMTZ - Window Maker Time Zone dockapp v0.7 +-http://www.geocities.com/jl1n/wmtz/wmtz.html\"" ++#define ABOUT "xmessage -center -buttons \"Close\" \"WMTZ - Window Maker Time Zone dockapp v0.7\nhttp://www.geocities.com/jl1n/wmtz/wmtz.html\"" + + + /* +@@ -479,6 +478,7 @@ + but_stat = -1; + break; + default: ++ break; + } + } + +@@ -529,6 +529,7 @@ + exit(0); + break; + default: ++ break; + } + return; + } diff --git a/x11-plugins/wmtz/metadata.xml b/x11-plugins/wmtz/metadata.xml new file mode 100644 index 000000000000..b1a9efc4f2f0 --- /dev/null +++ b/x11-plugins/wmtz/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/wmtz/wmtz-0.7.ebuild b/x11-plugins/wmtz/wmtz-0.7.ebuild new file mode 100644 index 000000000000..9254c1011d0a --- /dev/null +++ b/x11-plugins/wmtz/wmtz-0.7.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=3 + +inherit eutils multilib toolchain-funcs + +DESCRIPTION="dockapp that shows the time in multiple timezones" +HOMEPAGE="http://www.gentoo.org/" +SRC_URI="mirror://gentoo/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc sparc x86" +IUSE="" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xextproto" + +S=${WORKDIR}/${P}/${PN} + +src_prepare() { + epatch "${FILESDIR}"/${P}.patch + + #Honour Gentoo LDFLAGS, see bug #337890. + sed -e "s/\$(FLAGS) -o wmtz/\$(LDFLAGS) -o wmtz/" -i Makefile +} + +src_compile() { + emake CC="$(tc-getCC)" FLAGS="${CFLAGS}" \ + LIBDIR="-L/usr/$(get_libdir)" || die "emake failed." +} + +src_install() { + dobin ${PN} + doman ${PN}.1 + insinto /etc + doins wmtzrc + dodoc ../{BUGS,CHANGES,README} +} |