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-libs/xbae
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-libs/xbae')
-rw-r--r--x11-libs/xbae/Manifest1
-rw-r--r--x11-libs/xbae/files/xbae-4.60.4-Makefile.in.patch27
-rw-r--r--x11-libs/xbae/files/xbae-4.60.4-lxmp.patch11
-rw-r--r--x11-libs/xbae/files/xbae-4.60.4-tmpl.patch11
-rw-r--r--x11-libs/xbae/metadata.xml21
-rw-r--r--x11-libs/xbae/xbae-4.60.4.ebuild65
6 files changed, 136 insertions, 0 deletions
diff --git a/x11-libs/xbae/Manifest b/x11-libs/xbae/Manifest
new file mode 100644
index 00000000000..487dc08158a
--- /dev/null
+++ b/x11-libs/xbae/Manifest
@@ -0,0 +1 @@
+DIST xbae-4.60.4.tar.gz 1770938 SHA256 eb72702ed0a36d043f2075a9d5a4545556da1b8dab4d67d85fca92f37aeb04a8 SHA512 e9c2ea59ab598217a5d6a3df0b86ca9fa084c364116d9789334984a0ac83dec0d5b5e3fb643e067036fca10f13b175f6d5134325eb5041af614a4ed00745ba16 WHIRLPOOL 450621768a496149738511998cf6e357ad3d78684d41b4c651ebd7e389be1bd57e20e3b2c3aed156d987dbf07836dae8313f6339529ab5663f5dbe1d5f44105b
diff --git a/x11-libs/xbae/files/xbae-4.60.4-Makefile.in.patch b/x11-libs/xbae/files/xbae-4.60.4-Makefile.in.patch
new file mode 100644
index 00000000000..aa0625b815a
--- /dev/null
+++ b/x11-libs/xbae/files/xbae-4.60.4-Makefile.in.patch
@@ -0,0 +1,27 @@
+--- Makefile.in.orig 2007-04-03 15:06:53.066980500 +0100
++++ Makefile.in 2007-04-03 15:16:53.795027250 +0100
+@@ -230,14 +230,13 @@
+ x_includes = @x_includes@
+ x_libraries = @x_libraries@
+ MAINTAINERCLEANFILES = Makefile.in configure libtool config.guess config.sub ltconfig ltmain.sh aclocal.m4 config.h.in install-sh missing mkinstalldirs
+-SUBDIRS = include src examples doc scripts
++SUBDIRS = include src
+ EXTRA_DIST = configure ac_find_xbae.m4 Imakefile Xbae.tmpl Xbae.rules \
+ CVSMake
+
+ aclocaldir = @ACLOCALDIR@
+ @Aclocal_TRUE@aclocal_DATA = ac_find_xbae.m4
+ docdir = $(datadir)/Xbae
+-doc_DATA = NEWS README
+
+ #
+ # Some convenient targets for users of Exuberant ctags
+@@ -657,7 +656,7 @@
+
+ info-am:
+
+-install-data-am: install-aclocalDATA install-docDATA
++install-data-am: install-aclocalDATA
+
+ install-exec-am:
+
diff --git a/x11-libs/xbae/files/xbae-4.60.4-lxmp.patch b/x11-libs/xbae/files/xbae-4.60.4-lxmp.patch
new file mode 100644
index 00000000000..d5b66015eb0
--- /dev/null
+++ b/x11-libs/xbae/files/xbae-4.60.4-lxmp.patch
@@ -0,0 +1,11 @@
+--- examples/Mri/Makefile.in.orig 2007-04-03 14:52:55.326625000 +0100
++++ examples/Mri/Makefile.in 2007-04-03 14:53:12.731712750 +0100
+@@ -219,7 +219,7 @@
+ -I$(top_builddir)/include @MOTIF_CFLAGS@ @X_CFLAGS@
+
+ LDADD = ../../src/libXbae.la \
+- -lWc $(link_motif) @X_LIBS@ -lXt ${X_PRE_LIBS} -lXext -lX11 ${X_EXTRA_LIBS}
++ -lWc $(link_motif) @X_LIBS@ -lXt ${X_PRE_LIBS} -lXext -lX11 ${X_EXTRA_LIBS} -lXmp
+
+ all: all-am
+
diff --git a/x11-libs/xbae/files/xbae-4.60.4-tmpl.patch b/x11-libs/xbae/files/xbae-4.60.4-tmpl.patch
new file mode 100644
index 00000000000..0e87ba3da39
--- /dev/null
+++ b/x11-libs/xbae/files/xbae-4.60.4-tmpl.patch
@@ -0,0 +1,11 @@
+--- Xbae.tmpl.orig 2007-04-03 14:45:54.548519000 +0100
++++ Xbae.tmpl 2007-04-03 14:46:12.053613000 +0100
+@@ -13,7 +13,7 @@
+
+ #define DoNormalLib YES
+ #define DoSharedLib YES
+-#define DoDebugLib YES
++#define DoDebugLib NO
+
+ #include <Library.tmpl>
+
diff --git a/x11-libs/xbae/metadata.xml b/x11-libs/xbae/metadata.xml
new file mode 100644
index 00000000000..821284b9a30
--- /dev/null
+++ b/x11-libs/xbae/metadata.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>sci</herd>
+ <longdescription lang="en">
+ XbaeMatrix is a free Motif(R) table widget (also compatible with the free
+ LessTif) which presents an editable array of string data to the user in a
+ scrollable table similar to a spreadsheet. The rows and columns of the Matrix
+ may optionally be labelled. A number of "fixed" and "trailing fixed" rows
+ or columns may be specified.
+
+ The XbaeCaption widget is a simple Motif manager widget that associates
+ a label with a child.
+
+ In addition the XbaeInput widget is being distributed, a text input field
+ that provides generic customised data entry and formatting for strings.
+</longdescription>
+ <upstream>
+ <remote-id type="sourceforge">xbae</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-libs/xbae/xbae-4.60.4.ebuild b/x11-libs/xbae/xbae-4.60.4.ebuild
new file mode 100644
index 00000000000..c05fbf5a815
--- /dev/null
+++ b/x11-libs/xbae/xbae-4.60.4.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit autotools-utils
+
+DESCRIPTION="Motif-based widget to display a grid of cells as a spreadsheet"
+HOMEPAGE="http://xbae.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux"
+SLOT="0"
+IUSE="doc examples static-libs"
+
+RDEPEND="
+ x11-libs/motif:0
+ x11-libs/libXau
+ x11-libs/libXdmcp
+ x11-libs/libXext
+ x11-libs/libXmu
+ x11-libs/libXpm
+ x11-libs/libXt"
+
+DEPEND="${RDEPEND}"
+
+# tests need X display
+# and are interactive so virtualx will not help
+RESTRICT=test
+
+PATCHES=(
+ "${FILESDIR}"/${P}-tmpl.patch
+ "${FILESDIR}"/${P}-lxmp.patch
+ "${FILESDIR}"/${P}-Makefile.in.patch
+ )
+
+src_configure() {
+ local myeconfargs=( --enable-production )
+ autotools-utils_src_configure
+}
+
+src_test() {
+ cd ${AUTOTOOLS_BUILD_DIR}/examples
+ emake
+ "${S}"/examples/testall
+ emake clean
+}
+
+src_install() {
+ autotools-utils_src_install
+
+ insinto /usr/share/aclocal
+ doins ac_find_xbae.m4
+
+ use doc && dohtml -r doc/*
+
+ if use examples; then
+ find examples -name '*akefile*' -delete || die
+ rm examples/{testall,extest} || die
+ insinto /usr/share/doc/${PF}
+ doins -r examples
+ fi
+}