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-misc/xcalendar | |
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-misc/xcalendar')
-rw-r--r-- | x11-misc/xcalendar/Manifest | 1 | ||||
-rw-r--r-- | x11-misc/xcalendar/files/xcalendar-4.0-implicits.patch | 22 | ||||
-rw-r--r-- | x11-misc/xcalendar/files/xcalendar-4.0-motif-gentoo.diff | 26 | ||||
-rw-r--r-- | x11-misc/xcalendar/metadata.xml | 5 | ||||
-rw-r--r-- | x11-misc/xcalendar/xcalendar-4.0-r1.ebuild | 54 |
5 files changed, 108 insertions, 0 deletions
diff --git a/x11-misc/xcalendar/Manifest b/x11-misc/xcalendar/Manifest new file mode 100644 index 000000000000..d0209a95ee71 --- /dev/null +++ b/x11-misc/xcalendar/Manifest @@ -0,0 +1 @@ +DIST xcalendar-4.0+i18n.tar.gz 48635 SHA256 f4c45d863c2a8a04bfcc4180cb06bd13bbdc26f855578e99b1e459e834c6fd7f diff --git a/x11-misc/xcalendar/files/xcalendar-4.0-implicits.patch b/x11-misc/xcalendar/files/xcalendar-4.0-implicits.patch new file mode 100644 index 000000000000..977ca96e572f --- /dev/null +++ b/x11-misc/xcalendar/files/xcalendar-4.0-implicits.patch @@ -0,0 +1,22 @@ +Fix implicit functions declarations + +--- xcalendar/xcalendar.h ++++ xcalendar/xcalendar.h +@@ -37,6 +37,7 @@ + + + #include <stdio.h> ++#include <stdlib.h> + #include <X11/Xos.h> + #include <X11/Xlib.h> + #include <X11/Intrinsic.h> +--- xcalendar/lists.c ++++ xcalendar/lists.c +@@ -25,6 +25,7 @@ + + #include "xcalendar.h" + ++is_last(LList *list); + + List + CreateList(length, elementSize) diff --git a/x11-misc/xcalendar/files/xcalendar-4.0-motif-gentoo.diff b/x11-misc/xcalendar/files/xcalendar-4.0-motif-gentoo.diff new file mode 100644 index 000000000000..a35d98bcb814 --- /dev/null +++ b/x11-misc/xcalendar/files/xcalendar-4.0-motif-gentoo.diff @@ -0,0 +1,26 @@ +--- xcalendar.orig/Imakefile Sat Sep 30 20:19:17 1995 ++++ xcalendar/Imakefile Tue Aug 20 08:37:48 2002 +@@ -1,18 +1,18 @@ + XCALENDAR_LIBDIR = $(LIBDIR)/xcalendar + LIBFILES = larrow.xbm qmark.xbm quit.xbm rarrow.xbm xcalendar.hlp + # Comment out the following two lines for the Motif version +-LOCAL_LIBRARIES = $(XAWLIB) $(XMULIB) $(XTOOLLIB) $(XLIB) +- EXTRA_DEFINES = -DATHENA ++#LOCAL_LIBRARIES = $(XAWLIB) $(XMULIB) $(XTOOLLIB) $(XLIB) ++# EXTRA_DEFINES = -DATHENA + # Uncomment the following two lines for the Motif version +-# LOCAL_LIBRARIES = -L/usr/local/Motif/lib -lXm $(XMULIB) $(XTOOLLIB) $(XLIB) +-# EXTRA_DEFINES = -I/usr/local/Motif/include ++ LOCAL_LIBRARIES = -lXm $(XMULIB) $(XTOOLLIB) $(XLIB) ++ EXTRA_DEFINES = + SRCS = xcalendar.c dayeditor.c lists.c + OBJS = xcalendar.o dayeditor.o lists.o + + # + # for Internationalization + # +-EXTRA_DEFINES = -DXI18N -DATHENA ++#EXTRA_DEFINES = -DXI18N -DATHENA + ##if !SharedLibXwchar + # _UseCat($(USRLIBDIR),$(CONTRIBSRC)/lib/Xwchar,/libXwchar.a) + # XWCHARLIB = LoaderLibPrefix _Use(-lXwchar,$(DEPXWCHARLIB)) diff --git a/x11-misc/xcalendar/metadata.xml b/x11-misc/xcalendar/metadata.xml new file mode 100644 index 000000000000..731225048652 --- /dev/null +++ b/x11-misc/xcalendar/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-misc</herd> +</pkgmetadata> diff --git a/x11-misc/xcalendar/xcalendar-4.0-r1.ebuild b/x11-misc/xcalendar/xcalendar-4.0-r1.ebuild new file mode 100644 index 000000000000..bcf7f1e0ad46 --- /dev/null +++ b/x11-misc/xcalendar/xcalendar-4.0-r1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 +inherit eutils multilib + +DESCRIPTION="A simple interactive calendar program with a notebook capability" +HOMEPAGE="http://www.freebsd.org/" +SRC_URI="ftp://daemon.jp.FreeBSD.org/pub/FreeBSD-jp/ports-jp/LOCAL_PORTS/${P}+i18n.tar.gz" + +LICENSE="HPND" +SLOT="0" +KEYWORDS="alpha amd64 ppc ppc64 x86 ~x86-fbsd" +IUSE="motif" + +RDEPEND="x11-libs/libX11 + x11-libs/libXmu + x11-libs/libXt + x11-libs/libXaw + x11-libs/libXext" +DEPEND="${RDEPEND} + x11-misc/imake + x11-proto/xproto + x11-misc/gccmakedep + motif? ( >=x11-libs/motif-2.3:0 )" + +S=${WORKDIR}/${PN} + +src_prepare() { + use motif && epatch "${FILESDIR}"/${P}-motif-gentoo.diff + epatch "${FILESDIR}"/${P}-implicits.patch + sed -e "s:%%XCALENDAR_LIBDIR%%:/usr/$(get_libdir)/xcalendar:" \ + -e "s:/usr/local/X11R5/lib/X11/:/usr/$(get_libdir)/:" \ + -i XCalendar.sed || die +} + +src_compile() { + xmkmf -a + emake CC="$(tc-getCC)" CDEBUGFLAGS="${CFLAGS}" EXTRA_LDOPTIONS="${LDFLAGS}" +} + +src_install() { + dobin xcalendar + newman xcalendar.man xcalendar.1 + + insinto /usr/share/X11/app-defaults + newins XCalendar.sed XCalendar + + insinto /usr/$(get_libdir)/xcalendar + doins *.xbm *.hlp + + dodoc README +} |