From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001
From: V3n3RiX <venerix@redcorelinux.org>
Date: Mon, 9 Oct 2017 18:53:29 +0100
Subject: reinit the tree, so we can have metadata

---
 x11-libs/xbae/Manifest                            |  8 +++
 x11-libs/xbae/files/xbae-4.60.4-Makefile.in.patch | 27 ++++++++++
 x11-libs/xbae/files/xbae-4.60.4-lxmp.patch        | 11 ++++
 x11-libs/xbae/files/xbae-4.60.4-tmpl.patch        | 11 ++++
 x11-libs/xbae/metadata.xml                        | 24 +++++++++
 x11-libs/xbae/xbae-4.60.4.ebuild                  | 64 +++++++++++++++++++++++
 6 files changed, 145 insertions(+)
 create mode 100644 x11-libs/xbae/Manifest
 create mode 100644 x11-libs/xbae/files/xbae-4.60.4-Makefile.in.patch
 create mode 100644 x11-libs/xbae/files/xbae-4.60.4-lxmp.patch
 create mode 100644 x11-libs/xbae/files/xbae-4.60.4-tmpl.patch
 create mode 100644 x11-libs/xbae/metadata.xml
 create mode 100644 x11-libs/xbae/xbae-4.60.4.ebuild

(limited to 'x11-libs/xbae')

diff --git a/x11-libs/xbae/Manifest b/x11-libs/xbae/Manifest
new file mode 100644
index 000000000000..6b4f4689cfc1
--- /dev/null
+++ b/x11-libs/xbae/Manifest
@@ -0,0 +1,8 @@
+AUX xbae-4.60.4-Makefile.in.patch 824 SHA256 fa45eaff3ae3c2342b5f509fb028b7ffeacb46ddadb0384b17c310e95586ecd4 SHA512 5cae2c85b471324b136957236829f0fd416bc82e654ba752bf0b8de07918ec65e2e6a3879cac5a4508d9ef6d08355069db34e0281af0b56ea36b536201b9c7ba WHIRLPOOL 4a4b0a1772bd5f35fcc2a9bc5e3652492468e7e2e761dbb90a8c0d9920adc00ae838610160a25f61a49f4630e6cbe4d6793ec6baef4e56ac817af08a2746a1dd
+AUX xbae-4.60.4-lxmp.patch 437 SHA256 7c61dfbc26491d7655d82277994001ff4ae81c9d67d455483c7fd135ac14785a SHA512 79eae095bc565b67030590bcac0ef1f9e75def35774a8214c5be4227a764e418e9db2e2c1617d2f38f29ea70923e1daad7bc343785800f9e2f96c5a64b11b142 WHIRLPOOL cd8ec1e872accf840bcbb163016237882ff9780a411e86437176479458399790d1a69b94d3e0a64f9b25d58ed990f755a62665c0f46e02bf2662d6f152e5aba1
+AUX xbae-4.60.4-tmpl.patch 255 SHA256 be3893a4a083419a7e1e2b95fef7fa523a92887f14d4b691a87402d1b54fa32b SHA512 03bb77bd5ad97b8bf38149a8421ba5cb80e7fdd6488ba69566ba74df1a8025b1078ecff1acffaf19c3d835fc23a44260ed59d2d81fbcfc7ccde5b7d5e678b433 WHIRLPOOL aeedb38d2859e898d6ac2b4f6759799b37523486a8a1dee62178adfd3f0197390cb2f0730e1a58c1d8290b053fdb0cefe8f49bd5c84b2e01d767f9219c7b6c5c
+DIST xbae-4.60.4.tar.gz 1770938 SHA256 eb72702ed0a36d043f2075a9d5a4545556da1b8dab4d67d85fca92f37aeb04a8 SHA512 e9c2ea59ab598217a5d6a3df0b86ca9fa084c364116d9789334984a0ac83dec0d5b5e3fb643e067036fca10f13b175f6d5134325eb5041af614a4ed00745ba16 WHIRLPOOL 450621768a496149738511998cf6e357ad3d78684d41b4c651ebd7e389be1bd57e20e3b2c3aed156d987dbf07836dae8313f6339529ab5663f5dbe1d5f44105b
+EBUILD xbae-4.60.4.ebuild 1283 SHA256 5b0654160186303af98f9d1a3d89108e45b4d6cf5fab0242863b9206808235cf SHA512 5c0b0c13bdc30fcdc7c3f18cb621424709a6366aa2e1ca6d6a4c9eb0fa75ec5c237b55949328fb08870336caddc2e84d5a10a52de34db438a3230268377b6072 WHIRLPOOL 613a20e6d7c9b2d16a876b7e0fa3df3cfc3217368f27d89aeb63b0eb81dfa08945a65b5442dadba78d24eba955de74c2c515b0b9d1e04adead16f7556a4dd883
+MISC ChangeLog 2522 SHA256 226ccd8ba55910ccd730ca43883ed36156b4691ce27026ad50df347e50b52cb9 SHA512 6102d988a09be8868b6fe520d3ce361df2b8ac056bf6193cd21cabb91d56918dd5973c97e6cf7bc1d2f511d47ab7680ba1171bce506d5aca6cbf04266fe86236 WHIRLPOOL 79dceba935ff25742251494fe1f0de32ed79377cadcb1fd906a2ea4c1a3c517290cd39b33a29297b9716de598a82fe2a4244539af64bc4346cc689e4bfb5a4fe
+MISC ChangeLog-2015 2506 SHA256 35a046a94200bd4f56f10e8e750fd10ac5939528dcee5d436794a25465523e52 SHA512 56aa2a1201bcd208e9f1761bf8c957f8f02eb437e072b0e96336bd814bc9c89ebc03059fe93ea6685adbe759a9892e78a93e3d72f9a16146b1c187668ae72892 WHIRLPOOL bf8fb6dc0f222b079ccf7cee05baae0d9d4ab6018bf7aba8e4ed88d230dde4532fcf6994e2a46101d1d020baffbfcb62ba95ae9a683fed8584f37af41b6435ab
+MISC metadata.xml 974 SHA256 2593af58181b2e287f201bb4e58231a73d20ad00d188739955f17e9ea9036332 SHA512 e77c535823154352bf687daffb103d8e65387dcf15574dd09a3981c740eb0d3e2a0a700db01b2328c7def77f26aa0bba3f69ba388c3d7cd79f80daee2606da07 WHIRLPOOL beccf5375bf2558c75d8f76725796510c86dd0f56a97c186f9b2114d5dcd6cf0070b14d3372785b5d7293788a33489380c573b55d5e75c3ce39310264112b6ab
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 000000000000..aa0625b815af
--- /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 000000000000..d5b66015eb0c
--- /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 000000000000..0e87ba3da39c
--- /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 000000000000..a1dd8627a079
--- /dev/null
+++ b/x11-libs/xbae/metadata.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="project">
+		<email>sci@gentoo.org</email>
+		<name>Gentoo Science Project</name>
+	</maintainer>
+	<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 000000000000..b4d5e7e4ae29
--- /dev/null
+++ b/x11-libs/xbae/xbae-4.60.4.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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
+}
-- 
cgit v1.2.3