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-plugins/wmCalClock
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-plugins/wmCalClock')
-rw-r--r--x11-plugins/wmCalClock/Manifest1
-rw-r--r--x11-plugins/wmCalClock/files/wmCalClock-1.25-makefile.patch35
-rw-r--r--x11-plugins/wmCalClock/metadata.xml10
-rw-r--r--x11-plugins/wmCalClock/wmCalClock-1.25-r2.ebuild39
4 files changed, 85 insertions, 0 deletions
diff --git a/x11-plugins/wmCalClock/Manifest b/x11-plugins/wmCalClock/Manifest
new file mode 100644
index 000000000000..7e1e1a3f3bf9
--- /dev/null
+++ b/x11-plugins/wmCalClock/Manifest
@@ -0,0 +1 @@
+DIST wmCalClock-1.25.tar.gz 71574 SHA256 4b42b55bb7c1d7c58b5ee1f0058c683d3e4f3e3380d3a69c54a50b983c7c1b3f
diff --git a/x11-plugins/wmCalClock/files/wmCalClock-1.25-makefile.patch b/x11-plugins/wmCalClock/files/wmCalClock-1.25-makefile.patch
new file mode 100644
index 000000000000..64046c83f4be
--- /dev/null
+++ b/x11-plugins/wmCalClock/files/wmCalClock-1.25-makefile.patch
@@ -0,0 +1,35 @@
+--- Makefile.orig 1999-03-27 07:46:38.000000000 +0100
++++ Makefile 2008-01-27 22:45:09.000000000 +0100
+@@ -1,8 +1,8 @@
+-CC = gcc
+-CFLAGS = -O2 -Wall
+-INCDIR = -I/usr/X11R6/include/X11 -I/usr/X11R6/include
+-DESTDIR= /usr/X11R6
+-LIBDIR = -L/usr/X11R6/lib
++CC ?= gcc
++CFLAGS += -Wall
++INCDIR = -I/usr/include/X11 -I/usr/include
++PREFIX ?= /usr
++LIBDIR ?= /usr/lib
+
+ # for Linux
+ LIBS = -lXpm -lX11 -lXext
+@@ -22,7 +22,7 @@
+
+ wmCalClock.o: wmCalClock_master.xpm wmCalClock_mask.xbm
+ wmCalClock: $(OBJS)
+- $(CC) $(COPTS) $(SYSTEM) -o wmCalClock $^ $(INCDIR) $(LIBDIR) $(LIBS)
++ $(CC) $(CFLAGS) -o wmCalClock $^ $(INCDIR) -L$(LIBDIR) $(LDFLAGS) $(LIBS)
+
+ clean:
+ for i in $(OBJS) ; do \
+@@ -31,6 +31,7 @@
+ rm -f wmCalClock
+
+ install:: wmCalClock
+- install -c -s -m 0755 wmCalClock $(DESTDIR)/bin
+- install -c -m 0644 wmCalClock.1 $(DESTDIR)/man/man1
++ install -d $(DESTDIR)$(PREFIX)/bin $(DESTDIR)$(PREFIX)/share/man/man1
++ install -m 0755 wmCalClock $(DESTDIR)$(PREFIX)/bin
++ install -m 0644 wmCalClock.1 $(DESTDIR)$(PREFIX)/share/man/man1
+
diff --git a/x11-plugins/wmCalClock/metadata.xml b/x11-plugins/wmCalClock/metadata.xml
new file mode 100644
index 000000000000..e77e67165d89
--- /dev/null
+++ b/x11-plugins/wmCalClock/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>desktop-dock</herd>
+<longdescription>
+wmCalClock is a calendar clock with anti-aliased text and drop shadows. Colors
+and fonts in the time field are user configurable. It displays local time,
+universal time and sidereal time.
+</longdescription>
+</pkgmetadata>
diff --git a/x11-plugins/wmCalClock/wmCalClock-1.25-r2.ebuild b/x11-plugins/wmCalClock/wmCalClock-1.25-r2.ebuild
new file mode 100644
index 000000000000..608ee43554a2
--- /dev/null
+++ b/x11-plugins/wmCalClock/wmCalClock-1.25-r2.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+inherit eutils multilib toolchain-funcs
+
+DESCRIPTION="WMaker DockApp: A Calendar clock with antialiased text"
+SRC_URI="http://dockapps.windowmaker.org/download.php/id/16/${P}.tar.gz"
+HOMEPAGE="http://dockapps.windowmaker.org/file.php/id/9"
+
+RDEPEND="x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXpm"
+DEPEND="${RDEPEND}
+ x11-proto/xproto
+ x11-proto/xextproto"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="alpha amd64 ~mips ppc ppc64 sparc x86"
+IUSE=""
+
+S="${WORKDIR}/${P}/Src"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-makefile.patch
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" LIBDIR="/usr/$(get_libdir)" || die "Compilation failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "install failed"
+
+ dodoc ../{BUGS,CHANGES,HINTS,README,TODO}
+}