aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--licenses/XVIEW56
-rw-r--r--sci-chemistry/azara/Manifest4
-rw-r--r--sci-chemistry/nmrpipe/ChangeLog89
-rw-r--r--sci-chemistry/nmrpipe/Manifest12
-rw-r--r--sci-chemistry/nmrpipe/files/env-nmrpipe23
-rw-r--r--sci-chemistry/nmrpipe/metadata.xml10
-rw-r--r--sci-chemistry/nmrpipe/nmrpipe-9.27.2007.222.14.56.ebuild132
-rw-r--r--x11-libs/xview/ChangeLog133
-rw-r--r--x11-libs/xview/Manifest8
-rw-r--r--x11-libs/xview/files/CAN-2005-0076.patch29
-rw-r--r--x11-libs/xview/files/lseek.diff26
-rw-r--r--x11-libs/xview/files/lseek2.diff22
-rw-r--r--x11-libs/xview/metadata.xml10
-rw-r--r--x11-libs/xview/xview-3.2-r6.ebuild105
14 files changed, 657 insertions, 2 deletions
diff --git a/licenses/XVIEW b/licenses/XVIEW
new file mode 100644
index 000000000..114a7416a
--- /dev/null
+++ b/licenses/XVIEW
@@ -0,0 +1,56 @@
+ NOTICE TO USER: The source code, including the glyphs or icons
+ forming a par of the OPEN LOOK TM Graphic User Interface, on this
+ tape and in these files is copyrighted under U.S. and international
+ laws. Sun Microsystems, Inc. of Mountain View, California owns
+ the copyright and has design patents pending on many of the icons.
+ USL is the owner of the OPEN LOOK trademark associated with the
+ materials on this tape. Users and possessors of this source code
+ are hereby granted a nonexclusive, royalty-free copyright and
+ design patent license to use this code in individual and
+ commercial software. A royalty-free, nonexclusive trademark
+ license to refer to the code and output as "OPEN LOOK" compatible
+ is available from USL if, and only if, the appearance of the
+ icons or glyphs is not changed in any manner except as absolutely
+ necessary to accommodate the standard resolution of the screen or
+ other output device, the code and output is not changed except as
+ authorized herein, and the code and output is validated by USL.
+ Bigelow & Holmes is the owner of the Lucida (R) trademark for the
+ fonts and bit-mapped images associated with the materials on this
+ tape. Users are granted a royalty-free, nonexclusive license to use
+ the trademark only to identify the fonts and bit-mapped images if,
+ and only if, the fonts and bit-mapped images are not modified in any
+ way by the user.
+
+
+ Any use of this source code must include, in the user documentation
+ and internal comments to the code, notices to the end user as
+ follows:
+
+
+ (c) Copyright 1989, 1990, 1991 Sun Microsystems, Inc. Sun design
+ patents pending in the U.S. and foreign countries. OPEN LOOK is a
+ trademark of USL. Used by written permission of the owners.
+
+
+ (c) Copyright Bigelow & Holmes 1986, 1985. Lucida is a registered
+ trademark of Bigelow & Holmes. Permission to use the Lucida
+ trademark is hereby granted only in association with the images
+ and fonts described in this file.
+
+
+
+ SUN MICROSYSTEMS, INC., USL, AND BIGELOW & HOLMES
+ MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY OF
+ THIS SOURCE CODE FOR ANY PURPOSE. IT IS PROVIDED "AS IS"
+ WITHOUT EXPRESS OR IMPLIED WARRANTY OF ANY KIND.
+ SUN MICROSYSTEMS, INC., USL AND BIGELOW & HOLMES,
+ SEVERALLY AND INDIVIDUALLY, DISCLAIM ALL WARRANTIES
+ WITH REGARD TO THIS SOURCE CODE, INCLUDING ALL IMPLIED
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+ PARTICULAR PURPOSE. IN NO EVENT SHALL SUN MICROSYSTEMS,
+ INC., USL OR BIGELOW & HOLMES BE LIABLE FOR ANY
+ SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES,
+ OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA
+ OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
+ OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
+ WITH THE USE OR PERFORMANCE OF THIS SOURCE CODE.
diff --git a/sci-chemistry/azara/Manifest b/sci-chemistry/azara/Manifest
index ceb6cba42..0d2d063f5 100644
--- a/sci-chemistry/azara/Manifest
+++ b/sci-chemistry/azara/Manifest
@@ -1,5 +1,5 @@
AUX help-makefile.patch 4278 RMD160 1293ad23185d5d6ca6f3aa8e0429cb44635a9b91 SHA1 4220a44556b37d0b644bc829768fc42f3b1cb07d SHA256 9847738d161197912a12543b85988cbb6d6e1345181cfabb6e502af4c5d7735e
DIST azara-2.7-src.tar.gz 565272 RMD160 2426102dbb87984f88ec1266b72d2e307484af0c SHA1 53caa85953f700cdc4ec9ef26d2bb7d9448b77b0 SHA256 d639682d813278d2955b911c16ac0f9121cb3cf3fde6c5da4cf7bb79e478486d
EBUILD azara-2.7.ebuild 1622 RMD160 192dcb6980009eada1716c478fdd0b2cefaec52c SHA1 1d78d7bb58cfff59ed1ba3519b1455f6f90dbaf8 SHA256 38e744a90a4aaec0329bf4c9bcf46d142964234dac03148c9611297c0464139f
-MISC ChangeLog 221 RMD160 fc6c41b88e52d6989d28f718f5d690d391010a7c SHA1 c1c9e76526d6c8a4a8a83f31ce78674a62f47ee4 SHA256 55003b53f4a992dfe4f78a52c22c444515fa4c8c33423f35a699bb3cbea4abc1
-MISC metadata.xml 416 RMD160 6e42f1390655c326a5993a5bd683e9cdfebca8e6 SHA1 ffe281e9fa3345b021ff69fa3872ca46297b5beb SHA256 59b6c2b94695c9d84bd579a02bc2a1a06ac25e3f683fbe91e804ee9ea2e39842
+MISC ChangeLog 233 RMD160 bce551b0933dd4692e6ebb28323d99b8f87c5717 SHA1 e32462b7cfccb676e0e209364fbaad3b0cc9d2ed SHA256 91ba42c95d3d70f978e81db3f2d03e98e1f957c36fec1b731896d2ce730f6c87
+MISC metadata.xml 273 RMD160 77dd0acbd8530bfceee840dfeccd1f4228e0460b SHA1 7c6794b74e4f357c0cd501266226eda09417d6ee SHA256 ed6f9e4b8aa59f68498bb75bf3be63a6de60feda167e4ceb12c7cb81bf8aac09
diff --git a/sci-chemistry/nmrpipe/ChangeLog b/sci-chemistry/nmrpipe/ChangeLog
new file mode 100644
index 000000000..58f94cfa8
--- /dev/null
+++ b/sci-chemistry/nmrpipe/ChangeLog
@@ -0,0 +1,89 @@
+# ChangeLog for sci-chemistry/nmrpipe
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 03 Feb 2009; justin Lecher (jlec) <jlec@j-schmitz.net>
+ +x11-libs/xview/files/lseek2.diff,
+ +x11-libs/xview/files/CAN-2005-0076.patch, +licenses/XVIEW,
+ +sci-chemistry/nmrpipe/files/env-nmrpipe,
+ +sci-chemistry/nmrpipe/metadata.xml, +x11-libs/xview/files/lseek.diff,
+ +x11-libs/xview/metadata.xml:
+ added to sci overlay
+
+*nmrpipe-9.27.2007.222.14.56 (03 Jun 2008)
+
+ 03 Jun 2008; Jeff Gardner <je_fro@gentoo.org>
+ -nmrpipe-2.5.2006.184.15.37.ebuild, +nmrpipe-9.27.2007.222.14.56.ebuild:
+ New version, removed old as it's no longer available. Thanks to toto.
+
+ 28 Nov 2007; Jeff Gardner <je_fro@gentoo.org>
+ nmrpipe-2.5.2006.184.15.37.ebuild:
+ Fixing manifest and adding sed call as suggested by justin in bug 200389.
+
+ 22 Jul 2007; Donnie Berkholz <dberkholz@gentoo.org>;
+ nmrpipe-2.5.2006.184.15.37.ebuild:
+ Drop virtual/x11 references.
+
+ 18 Jul 2007; Jeff Gardner <je_fro@gentoo.org> metadata.xml:
+ Add myself as maintainer in metadata.xml
+
+ 17 Jul 2007; Jeff Gardner <je_fro@gentoo.org>
+ files/digest-nmrpipe-2.5.2006.184.15.37, ChangeLog, Manifest:
+ Updating Manifest with latest nmrpipe files.
+
+*nmrpipe-2.5.2006.184.15.37 (18 Oct 2006)
+
+ 18 Oct 2006; Olivier Fisette <ribosome@gentoo.org>
+ -nmrpipe-2.3.2005.167.14.44.ebuild, +nmrpipe-2.5.2006.184.15.37.ebuild:
+ New upstream version (fixes bug #151627, thanks to Stephen Floor
+ <snf@extrospective.net> for reporting.) Removing old version to avoid digest
+ mismatches.
+
+ 20 Sep 2006; Donnie Berkholz <dberkholz@gentoo.org>; metadata.xml:
+ (#148281) Change herd to sci-chemistry from sci.
+
+ 05 Feb 2006; Olivier Fisette <ribosome@gentoo.org>
+ nmrpipe-2.3.2005.167.14.44.ebuild:
+ Ported to modular X.
+
+ 30 Jan 2006; Robin H. Johnson <robbat2@gentoo.org> Manifest:
+ Manifest fix.
+
+ 29 Jan 2006; Marcus D. Hanwell <cryos@gentoo.org>
+ nmrpipe-2.3.2005.167.14.44.ebuild:
+ Dependency update: media-gfx/gnuplot -> sci-visualization/gnuplot.
+
+*nmrpipe-2.3.2005.167.14.44 (18 Oct 2005)
+
+ 18 Oct 2005; Olivier Fisette <ribosome@gentoo.org>
+ -files/nmrpipe-20050616-env, +files/env-nmrpipe,
+ +nmrpipe-2.3.2005.167.14.44.ebuild, -nmrpipe-20050616-r1.ebuild:
+ New version. Removing obsolete version.
+
+*nmrpipe-20050616-r1 (31 Aug 2005)
+
+ 31 Aug 2005; Olivier Fisette <ribosome@gentoo.org>
+ -nmrpipe-20050616.ebuild, +nmrpipe-20050616-r1.ebuild:
+ Ebuild clean-up. Removed useless installation log files.
+
+*nmrpipe-20050616 (22 Jul 2005)
+
+ 22 Jul 2005; Olivier Fisette <ribosome@gentoo.org>
+ files/nmrpipe-20050415-env, -nmrpipe-20050415-r1.ebuild,
+ +nmrpipe-20050616.ebuild:
+ New version. Removing the older version since the archives are no longer
+ available.
+
+*nmrpipe-20050415-r1 (20 Jul 2005)
+
+ 20 Jul 2005; Olivier Fisette <ribosome@gentoo.org>
+ files/nmrpipe-20050415-env, -nmrpipe-20050415.ebuild,
+ +nmrpipe-20050415-r1.ebuild:
+ Fixed a few potential problems, including bug #99685. Thanks to Katia
+ Lecours <klecours@rsvs.ulaval.ca> for reporting.
+
+*nmrpipe-20050415 (24 May 2005)
+
+ 24 May 2005; Olivier Fisette <ribosome@gentoo.org>
+ +files/nmrpipe-20050415-env, +metadata.xml, +nmrpipe-20050415.ebuild:
+ Initial import.
diff --git a/sci-chemistry/nmrpipe/Manifest b/sci-chemistry/nmrpipe/Manifest
new file mode 100644
index 000000000..31450fe3d
--- /dev/null
+++ b/sci-chemistry/nmrpipe/Manifest
@@ -0,0 +1,12 @@
+AUX env-nmrpipe 499 RMD160 11ab9f42b03700caedfe344186c47fd4a6409758 SHA1 8431685d268b14d88dd31cb494f0d333fff225b9 SHA256 f16820dd88ae38c8db6ffed19a97aade62f0de4c3de692b7a2c3b89897d894e2
+DIST acme.tar.Z 11681951 RMD160 fdcf35fab1b63ddda55288b1b2ed0f82c8299bef SHA1 5093f92a4d7e4173bc056b6b1922a6da8e6bbf0c SHA256 5713452a1461e636f0de48e5ce3476fc0ae60b3f78a0288744f45e455f3445d9
+DIST binval.com 3374 RMD160 8ed338cc415c483081cf2021724402af296ab5e9 SHA1 7246ab6cd2b8feaa917c563bdbe93aef47b04a22 SHA256 8140386fe3c0ec4658ed228f33c4306429f5d0aa55135e77348a7dca782baf6e
+DIST dyn.tar.Z 46449682 RMD160 75b6497431561b82127685a567d1a57201a207ae SHA1 a6642f82f1e7130aafb718763b262715abed2e4a SHA256 abfafb53be559a5d0983849a66ec9be0140d591a7fc4008018b0942058128fa6
+DIST install.com 24500 RMD160 95b2bf620786bec3a4ea452935df7a4dbe3582b9 SHA1 1e4201beab43306f92300d03c9a45ddd5eca8d0b SHA256 06102617ded486ee1236d34c2ede16f6ee482d146c83a0c1be53fc5a1fa8a5f7
+DIST mfr.tar.Z 1014585 RMD160 285bcc0acd67e8e4e86eceffda63731c61239c93 SHA1 5e8b15337a22eccd803ee657a5447075553012b1 SHA256 28fed5bb6a01719d98e139685c5961834877fb4e61c107673cfa21914f62891b
+DIST nmrpipe.linux9.tar.Z 43760321 RMD160 d02f6c11dc6340716cb8e43d7bdca4b327a1b4ae SHA1 301637f1318402e774f6d636e5b1cc295c86463e SHA256 596c989ad193cf4fe7a2af4c414dd014d225c19014f71096f987d2c54e93bae2
+DIST pdbH.tar.Z 88196505 RMD160 d1ac67f57f6d2bd3d9c07bd5b5362ffaa15b0d72 SHA1 519544ccacc8d369caa42c7510f5fd44f5e39722 SHA256 1960b2e544c3744ec83e49f927589e15adf8af480947ae3b4d2ece495a00e92a
+DIST valpha.tar 490800640 RMD160 da5779f72680ccc8b88bde8c485db26665970423 SHA1 5583e3c435496251750b464a737755c1f8d055cd SHA256 6072ac73245404d5810bef9300d76328585fcfb4bce9d517815624bcc0a9634c
+EBUILD nmrpipe-9.27.2007.222.14.56.ebuild 4434 RMD160 060e71f5dc1fa850aacea6e2e6fca33be2d26f44 SHA1 c4fac91534c5ca17580f0037633ccbeca6b0d1fe SHA256 eed3bf5f7c05764be316181e0108ed81655f801fb313516d9cf551e4f65e0df0
+MISC ChangeLog 3249 RMD160 4786942e4e5e55a167dce4041c9d9f7947f56812 SHA1 fe272a80ed0957e69f1f0f777747f47c9a3025a6 SHA256 13ccca72c23cca86c0ed77f5adfe7c6b3827d74993273ff539a68f946763a64d
+MISC metadata.xml 273 RMD160 77dd0acbd8530bfceee840dfeccd1f4228e0460b SHA1 7c6794b74e4f357c0cd501266226eda09417d6ee SHA256 ed6f9e4b8aa59f68498bb75bf3be63a6de60feda167e4ceb12c7cb81bf8aac09
diff --git a/sci-chemistry/nmrpipe/files/env-nmrpipe b/sci-chemistry/nmrpipe/files/env-nmrpipe
new file mode 100644
index 000000000..beb9d707e
--- /dev/null
+++ b/sci-chemistry/nmrpipe/files/env-nmrpipe
@@ -0,0 +1,23 @@
+# Platform
+BINTYPE="linux9"
+
+# NMRPipe
+NMRBASE="/opt/nmrpipe"
+NMRTXT="${NMRBASE}/nmrtxt"
+MANPATH="${NMRBASE}/man"
+PATH="${NMRBASE}/bin"
+# Auxiliary NMRPipe scripts
+# PATH="${PATH}:${NMRBASE}/com"
+
+# Dynamo
+DYNAMO_DIR="${NMRBASE}/dynamo"
+DYNAMO_PARAMS="${DYNAMO_DIR}/params"
+SURF_DIR="${DYNAMO_DIR}/surface"
+PATH="${PATH}:${DYNAMO_DIR}/tcl"
+DYNAMO_KEY="2002084"
+
+# PDBH
+PDBH_BASE="${NMRBASE}/pdb"
+PDBH_DIR="${PDBH_BASE}/pdbH"
+PDBH_LIST="${PDBH_BASE}/pdbH.list"
+PDBH_TAB="${PDBH_BASE}/resolution.tab"
diff --git a/sci-chemistry/nmrpipe/metadata.xml b/sci-chemistry/nmrpipe/metadata.xml
new file mode 100644
index 000000000..9b727ece3
--- /dev/null
+++ b/sci-chemistry/nmrpipe/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>maintainer-wanted</herd>
+ <maintainer>
+ <email>jlec@j-schmitz.net</email>
+ <name>Justin Lecher (jlec)</name>
+ </maintainer>
+</pkgmetadata>
+
diff --git a/sci-chemistry/nmrpipe/nmrpipe-9.27.2007.222.14.56.ebuild b/sci-chemistry/nmrpipe/nmrpipe-9.27.2007.222.14.56.ebuild
new file mode 100644
index 000000000..67206ba69
--- /dev/null
+++ b/sci-chemistry/nmrpipe/nmrpipe-9.27.2007.222.14.56.ebuild
@@ -0,0 +1,132 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+DESCRIPTION="Spectral visualisation, analysis and Fourier processing"
+# The specific terms of this license are printed automatically on startup
+# by some NMRPipe applications. The user also has to accept them before
+# downloading the package.
+LICENSE="as-is"
+HOMEPAGE="http://spin.niddk.nih.gov/bax/software/NMRPipe/"
+# The NMRPipe installation script which we are not allowed to modify
+# requires all the following to be present for a complete installation.
+# Many of the bundled applications and libraries are afterwards deleted
+# (by this ebuild). The Gentoo provided applications and libraries are
+# used instead. The notable exception is the Tcl/Tk libraries; NMRPipe
+# requires a modified version of these. Unfortunately, this requires to
+# redefine the location of the libraries, which is done by sourcing an
+# initialisation script. NMRPipe users are used to this, and this ebuild
+# also prints a notice to this effect.
+SRC_URI="${PN}.linux9.tar.Z
+ dyn.tar.Z
+ mfr.tar.Z
+ pdbH.tar.Z
+ valpha.tar
+ acme.tar.Z
+ binval.com
+ install.com"
+
+SLOT="0"
+IUSE=""
+# Right now, precompiled executables are only available for Linux on the
+# x86 architecture. The maintainer chose to keep the sources closed, but
+# says he will gladly provide precompiled executables for other platforms
+# if there are such requests.
+KEYWORDS="-* ~x86"
+
+# The maintainer absolutely wants to control redistribution.
+RESTRICT="fetch"
+
+DEPEND="app-shells/tcsh"
+
+RDEPEND="${DEPEND}
+ dev-lang/tcl
+ dev-lang/tk
+ dev-tcltk/blt
+ sys-libs/libtermcap-compat
+ sys-libs/ncurses
+ x11-libs/xview
+ x11-libs/libX11"
+
+S="${WORKDIR}"
+NMRBASE="/opt/${PN}"
+
+pkg_nofetch() {
+ einfo "Please visit:"
+ einfo "\t${HOMEPAGE}"
+ einfo
+ einfo "Contact the package maintainer, then download the following files:"
+ for i in ${A}; do
+ einfo "\t${i}"
+ done
+ einfo
+ einfo "Place the downloaded files in your distfiles directory:"
+ einfo "\t${DISTDIR}"
+ echo
+}
+
+src_unpack() {
+ # The installation script will unpack the package. We just provide symlinks
+ # to the archive files, ...
+ for i in ${PN}.linux9.tar.Z dyn.tar.Z mfr.tar.Z \
+ pdbH.tar.Z valpha.tar acme.tar.Z; do
+ ln -s "${DISTDIR}"/${i} ${i}
+ done
+ # ... copy the installation scripts ...
+ cp "${DISTDIR}"/{binval.com,install.com} .
+ # ... and make the installation scripts executable.
+ chmod +x binval.com install.com
+}
+
+src_compile() {
+ # Unset DISPLAY to avoid the interactive graphical test.
+ DISPLAY="" ./install.com "${S}" || die
+ # Remove the symlinks for the archives and the installation scripts.
+ for i in ${A}; do
+ rm ${i} || die "Failed to remove archive symlinks."
+ done
+ # Remove some of the bundled applications and libraries; they are
+ # provided by Gentoo instead.
+ rm -r nmrbin.linux9/{0.0,lib,*timestamp,xv,gnuplot*,rasmol*} \
+ || die "Failed to remove unnecessary libraries."
+ # Remove the initialisation script generated during the installation.
+ # It contains incorrect hardcoded paths; only the "nmrInit.com" script
+ # should be used.
+ rm com/nmrInit.linux9.com || die "Failed to remove broken init script."
+ # Make the precompiled Linux binaries executable.
+ chmod +x nmrbin.linux9/* || die "Failed to make programs executable."
+ # Set the correct path to NMRPipe in the auxiliary scripts.
+ cd com
+ for i in *; do
+ sed -e "s%/u/delaglio%${NMRBASE}%" -i ${i} || die \
+ "Failed patching scripts."
+ done
+ sed -i "s:${WORKDIR}:${NMRBASE}:g" font.com
+ # Remove installation log files.
+ cd "${S}"
+ rm *.log || die "Failed to remove installation log."
+}
+
+src_install() {
+ newenvd "${FILESDIR}"/env-${PN} 40${PN} || die "Failed to install env file."
+ insinto ${NMRBASE}
+ insopts -m0755
+ doins -r * || die "Failed to install application."
+ dosym ${NMRBASE}/nmrbin.linux9 ${NMRBASE}/bin || die \
+ "Failed to symlink binaries."
+}
+
+pkg_postinst() {
+ echo
+ ewarn "Before using NMRPipe applications, users must source the following"
+ ewarn "csh script, which will set the necessary environment variables:"
+ ewarn "\t${NMRBASE}/com/nmrInit.com"
+ ewarn
+ ewarn "Be aware that this script redefines the locations of the Tcl"
+ ewarn "libraries. This could break other non-NMRPipe Tcl applications"
+ ewarn "run in the same session."
+ ewarn
+ ewarn "Using Dynamo does not require running an additional initialisation"
+ ewarn "script. The necessary environment variables should already be set."
+ echo
+}
diff --git a/x11-libs/xview/ChangeLog b/x11-libs/xview/ChangeLog
new file mode 100644
index 000000000..84009e26e
--- /dev/null
+++ b/x11-libs/xview/ChangeLog
@@ -0,0 +1,133 @@
+# ChangeLog for x11-libs/xview
+# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 03 Feb 2009; justin Lecher (jlec) <jlec@j-schmitz.net>
+ xview-3.2-r6.ebuild, -xview-3.2-r7.ebuild, xview-3.2-r8.ebuild:
+ included fix from bug 245409 Thanks to pva
+ added to sci overlay
+
+ 03 Nov 2008; justin Lecher <justin@j-schmitz.net>
+ +files/CAN-2005-0076.patch, +files/lseek.diff, +metadata.xml,
+ +xview-3.2-r6.ebuild:
+ Taken over
+
+ 18 Jun 2008; Jeremy Olexa <darkside@gentoo.org> xview-3.2-r6.ebuild:
+ Add missing dep x11-misc/xbitmaps to xview. bug #227587
+
+ 21 Apr 2008; Christian Heim <phreak@gentoo.org> metadata.xml:
+ Fix up metadata.xml. If there's no maintainer for the package, the metadata
+ also needs to contain m-needed@g.o.
+
+ 12 Sep 2007; Raúl Porcel <armin76@gentoo.org> -xview-3.2-r5.ebuild,
+ xview-3.2-r6.ebuild:
+ x86 stable wrt #192290 and remove old
+
+ 22 Jul 2007; Donnie Berkholz <dberkholz@gentoo.org>; xview-3.2-r5.ebuild:
+ Drop virtual/x11 references.
+
+ 01 Jul 2007; Diego Pettenò <flameeyes@gentoo.org> ChangeLog:
+ Once again, with passion.
+
+ 01 Jul 2007; Diego Pettenò <flameeyes@gentoo.org> ChangeLog:
+ Regenerate digest to compensate Attic/ value in CVS header expansion.
+
+ 01 Jul 2007; Diego Pettenò <flameeyes@gentoo.org> +xview-3.2-r6.ebuild:
+ Revision bump to fix building when /usr/X11R6 is missing, see bug #149712
+ and the long list of dupes.
+
+ 29 Sep 2006; Olivier Fisette <ribosome@gentoo.org> xview-3.2-r5.ebuild:
+ Added missing dependency on imake.
+
+ 01 Aug 2006; Olivier Fisette <ribosome@gentoo.org> -xview-3.2.ebuild,
+ -xview-3.2-r1.ebuild, -xview-3.2-r3.ebuild, -xview-3.2-r4.ebuild,
+ xview-3.2-r5.ebuild, -xview-3.2-r6.ebuild:
+ Backported fix for bug #67924 to the stable tree. Removed stale versions.
+
+*xview-3.2-r6 (01 Aug 2006)
+
+ 01 Aug 2006; Olivier Fisette <ribosome@gentoo.org> +xview-3.2-r6.ebuild:
+ Added dependencies on Lucida Bright and Sun Cursor fonts. (Fixes bug
+ #67924.) These fonts are no longer provided by virtual/x11.
+
+ 16 Mar 2006; Donnie Berkholz <spyderous@gentoo.org>; xview-3.2.ebuild,
+ xview-3.2-r1.ebuild, xview-3.2-r3.ebuild, xview-3.2-r5.ebuild:
+ Fix for gcc 4.1. (#120910) Look for imake in the right place, fix by Octavio
+ Ruiz. No rev bump, since both result in compilation failures. Port remaining
+ ebuilds to modular X.
+
+*xview-3.2-r5 (19 Feb 2006)
+
+ 19 Feb 2006; Olivier Fisette <ribosome@gentoo.org> +files/lseek.diff,
+ +xview-3.2-r5.ebuild:
+ Fixed conflicting type declarations for lseek in libxview.
+
+ 25 Jan 2006; Patrick McLean <chutzpah@gentoo.org> xview-3.2-r4.ebuild:
+ Fix dependencies for modular X.
+
+ 25 Jan 2006; Patrick McLean <chutzpah@gentoo.org> xview-3.2.ebuild,
+ xview-3.2-r1.ebuild, xview-3.2-r3.ebuild, xview-3.2-r4.ebuild:
+ Mask on amd64 due to bug #108261.
+
+ 14 Dec 2005; Joshua Jackson <tsunam@gentoo.org> xview-3.2-r4.ebuild:
+ Stable on x86; bug #115452
+
+*xview-3.2-r4 (14 Aug 2005)
+
+ 14 Aug 2005; Olivier Fisette <ribosome@gentoo.org> +xview-3.2-r4.ebuild:
+ Fixed bug #88001: xview no longer builds its own versions of msgfmt and
+ xgettext.
+
+ 28 Jun 2005; Michael Hanselmann <hansmi@gentoo.org> xview-3.2.ebuild,
+ xview-3.2-r1.ebuild, xview-3.2-r3.ebuild:
+ Removed from hppa (#78118).
+
+ 01 Apr 2005; Bryan Østergaard <kloeri@gentoo.org> xview-3.2.ebuild,
+ xview-3.2-r1.ebuild, xview-3.2-r3.ebuild:
+ Mask alpha due to bug 78118.
+
+ 17 Feb 2005; Gustavo Felisberto <humpback@gentoo.org>;
+ +files/CAN-2005-0076.patch, -xview-3.2-r2.ebuild:
+ Removed -r2 that did not work with xorg. Added -r3 that does not use the
+ debian patches and has a new HOMEPAGE and seems to be supported there. This
+ version from the new home still needed the CAN-2005-0076 patch. This was
+ tested with xorg 6.8.0-r4 and 6.8.2 on x86.
+
+*xview-3.2-r2 (17 Feb 2005)
+
+ 17 Feb 2005; Gustavo Felisberto <humpback@gentoo.org>; +xview-3.2-r2.ebuild:
+ Adding -r2 with debian patch to solve security problem reported in bug #78118.
+
+ 16 Jan 2005; Guy Martin <gmsoft@gentoo.org> xview-3.2-r1.ebuild:
+ Stable on hppa.
+
+ 28 Dec 2004; Ciaran McCreesh <ciaranm@gentoo.org> :
+ Change encoding to UTF-8 for GLEP 31 compliance
+
+ 16 Dec 2004; Bryan Østergaard <kloeri@gentoo.org> xview-3.2-r1.ebuild:
+ Stable on alpha.
+
+ 18 Nov 2004; <pyrania@gentoo.org> xview-3.2-r1.ebuild:
+ Marked stable on x86.
+
+*xview-3.2-r1 (02 Oct 2004)
+
+ 02 Oct 2004; Bryan Østergaard <kloeri@gentoo.org> +xview-3.2-r1.ebuild:
+ Bump patches, new ebuild provided by genstef in #gentoo-bugs.
+
+ 11 Jun 2004; Bryan Østergaard <kloeri@gentoo.org> xview-3.2.ebuild:
+ Stable on alpha.
+
+ 30 Mar 2004; Chris Aniszczyk <zx@gentoo.org> metadata.xml, xview-3.2.ebuild:
+ Added metadata.xml
+
+ 30 Mar 2004; Chris Aniszczyk <zx@gentoo.org> xview-3.2.ebuild:
+ Marking stable on hppa.
+
+ 14 Mar 2004; Michael Sterrett <mr_bones_@gentoo.org> xview-3.2.ebuild:
+ don't assign to PN; tidy
+
+*xview-3.2 (02 AUG 2003)
+
+ 02 AUG 2003; Maarten Thibaut <murphy@gentoo.org> xview-3.2.ebuild :
+ Initial import.
diff --git a/x11-libs/xview/Manifest b/x11-libs/xview/Manifest
new file mode 100644
index 000000000..92ddecd89
--- /dev/null
+++ b/x11-libs/xview/Manifest
@@ -0,0 +1,8 @@
+AUX CAN-2005-0076.patch 984 RMD160 46d0ff56c23b414bf566c27720aedfbaf7b0d8a7 SHA1 e64c6efe18525d3519dbb5453cd4211ac0b7b9b4 SHA256 f94cc69cc3156bf5c80b3fe920f2b505e3daac0cf598def8b0b763abc2d06813
+AUX lseek.diff 897 RMD160 c70b0ed6d846369a7dc1a1f4093186b6f51de64a SHA1 ddecf2527aa1b555b484e3da48fe6c03c7899b7b SHA256 4a0eb56dfadd48f839d2621804763d3dd550f978ac94500660f5cd45877da578
+AUX lseek2.diff 815 RMD160 008b5a039b5014b581d0699a3241142d2a019c1c SHA1 a1b6899ec1e77ce5888a3be6af49bb5b93bb1ce0 SHA256 077e3516cae73d8649b477250cf7f70c7c8f21ba36515f837a8a737d8501ead3
+DIST xview-3.2-gcc-4.1-v0.1.patch.bz2 8018 RMD160 0387c073d7f4c8303467f3065ba2a573fdb6710e SHA1 f06eb2412e4d61dffaee7db436527d7933a50931 SHA256 2b26f10122535eff43a4f87fc97ffb54eac88c312a3688b05bce806ce9a273ba
+DIST xview-3.2p1.4-19c.tar.gz 3350088 RMD160 6e0e90a737df7de8d30dbbd647527d599f13e8dd SHA1 1a2023945edef33ea4251fcb3b9e69bcf35a531c SHA256 ce05762918ccaa0bd86819e1347b57b6d0e5d515b148f9f740d3ffd1fa9eea83
+EBUILD xview-3.2-r6.ebuild 3630 RMD160 354aba1eefb98be96218800e60861a92a31e87d6 SHA1 b147c1fba7ab2d318af0fa574f968e944f774f3a SHA256 cd2b1eb82c556997fdbdd92baebef56118393b5ad6274434b2553e25cfe7493b
+MISC ChangeLog 5022 RMD160 3fbdbd059b25f0eae2cebd5a9bedccec6d5a12ec SHA1 a157b30526742c77d9605399d65c01a910c489ea SHA256 e9123b0ae8a53056c7e862e1945c047d83e68a0ecb506414c679c4f7ebcd27f7
+MISC metadata.xml 273 RMD160 77dd0acbd8530bfceee840dfeccd1f4228e0460b SHA1 7c6794b74e4f357c0cd501266226eda09417d6ee SHA256 ed6f9e4b8aa59f68498bb75bf3be63a6de60feda167e4ceb12c7cb81bf8aac09
diff --git a/x11-libs/xview/files/CAN-2005-0076.patch b/x11-libs/xview/files/CAN-2005-0076.patch
new file mode 100644
index 000000000..53952e100
--- /dev/null
+++ b/x11-libs/xview/files/CAN-2005-0076.patch
@@ -0,0 +1,29 @@
+--- lib/libxview/base/xv_parse.c~ 2005-01-15 17:11:54.000000000 +0100
++++ lib/libxview/base/xv_parse.c 2005-01-15 17:20:23.000000000 +0100
+@@ -312,7 +312,7 @@ xv_parse_one(app_name, argc, argv)
+ if (argc <= slot->num_args) {
+ char dummy[128];
+
+- (void) sprintf(dummy,
++ (void) snprintf(dummy, sizeof(dummy),
+ XV_MSG("%s: missing argument after %s"),
+ app_name,
+ argv[0]);
+@@ -392,7 +392,7 @@ xv_parse_one(app_name, argc, argv)
+ if (defaults_lookup(argv[1], known_scales) == -1) {
+ char dummy[1024];
+
+- (void) sprintf(dummy,
++ (void) snprintf(dummy, sizeof(dummy),
+ XV_MSG("%s: unknown scale \"%s\" used with %s option"),
+ app_name, argv[1], argv[0]);
+ xv_error(XV_NULL,
+@@ -611,7 +611,7 @@ NegArg:
+ {
+ char dummy[128];
+
+- (void) sprintf(dummy,
++ (void) snprintf(dummy, sizeof(dummy),
+ XV_MSG("%s: can't have negative argument %s after %s"),
+ app_name, argv[bad_arg], argv[0]);
+ xv_error(XV_NULL,
diff --git a/x11-libs/xview/files/lseek.diff b/x11-libs/xview/files/lseek.diff
new file mode 100644
index 000000000..6a9ea51e6
--- /dev/null
+++ b/x11-libs/xview/files/lseek.diff
@@ -0,0 +1,26 @@
+--- lib/libxview/textsw/es_file.c.old 2006-02-18 23:26:14.000000000 -0500
++++ lib/libxview/textsw/es_file.c 2006-02-18 23:26:37.000000000 -0500
+@@ -119,9 +119,7 @@
+ extern int errno, sys_nerr;
+ extern char *sys_errlist[];
+ #endif
+-#ifndef __CYGWIN__
+-extern long lseek();
+-#endif
++extern off_t lseek();
+
+ static void update_read_buf(); /* update the read buf if overlaps write buf */
+ static Es_status es_file_commit();
+--- lib/libxview/sel/sel_agent.c.old 2006-02-18 23:17:33.000000000 -0500
++++ lib/libxview/sel/sel_agent.c 2006-02-18 23:18:23.000000000 -0500
+@@ -314,9 +314,7 @@
+ struct stat stat_buf;
+ int count, size;
+ char *destp;
+-#ifndef __CYGWIN__
+- extern long lseek();
+-#endif
++ extern off_t lseek();
+ if (fstat(fd, &stat_buf) != 0) {
+ perror(XV_MSG("Agent couldn't reply about a file"));
+ return SELN_FAILED;
diff --git a/x11-libs/xview/files/lseek2.diff b/x11-libs/xview/files/lseek2.diff
new file mode 100644
index 000000000..7f8715f78
--- /dev/null
+++ b/x11-libs/xview/files/lseek2.diff
@@ -0,0 +1,22 @@
+--- lib/libxview/textsw/es_file.c 1997-04-28 14:45:37.000000000 +0200
++++ lib/libxview/textsw/es_file.c.new 2009-02-03 09:51:34.000000000 +0100
+@@ -114,7 +114,7 @@
+
+ extern int errno, sys_nerr;
+ extern char *sys_errlist[];
+-extern long lseek();
++extern off_t lseek();
+
+ static void update_read_buf(); /* update the read buf if overlaps write buf */
+ static Es_status es_file_commit();
+--- lib/libxview/sel/sel_agent.c 1997-06-19 22:45:57.000000000 +0200
++++ lib/libxview/sel/sel_agent.c.new 2009-02-03 09:53:34.000000000 +0100
+@@ -309,7 +309,7 @@
+ struct stat stat_buf;
+ int count, size;
+ char *destp;
+- extern long lseek();
++ extern off_t lseek();
+
+ if (fstat(fd, &stat_buf) != 0) {
+ perror(XV_MSG("Agent couldn't reply about a file"));
diff --git a/x11-libs/xview/metadata.xml b/x11-libs/xview/metadata.xml
new file mode 100644
index 000000000..9b727ece3
--- /dev/null
+++ b/x11-libs/xview/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>maintainer-wanted</herd>
+ <maintainer>
+ <email>jlec@j-schmitz.net</email>
+ <name>Justin Lecher (jlec)</name>
+ </maintainer>
+</pkgmetadata>
+
diff --git a/x11-libs/xview/xview-3.2-r6.ebuild b/x11-libs/xview/xview-3.2-r6.ebuild
new file mode 100644
index 000000000..0d3849589
--- /dev/null
+++ b/x11-libs/xview/xview-3.2-r6.ebuild
@@ -0,0 +1,105 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/www/viewcvs.gentoo.org/raw_cvs/gentoo-x86/x11-libs/xview/Attic/xview-3.2-r6.ebuild,v 1.6 2008/12/21 09:03:33 ssuominen dead $
+
+inherit eutils toolchain-funcs
+
+MY_PN="${P}p1.4-19c"
+GCC_PATCHVER="0.1"
+
+DESCRIPTION="The X Window-System-based Visual/Integrated Environment for Workstations"
+HOMEPAGE="http://physionet.caregroup.harvard.edu/physiotools/xview/"
+LICENSE="XVIEW"
+# We use the xview tarball available from the X organization, but xfree86 appears
+# to be up and available more often so we use that (it's their primary mirror).
+SRC_URI="http://physionet.caregroup.harvard.edu/physiotools/xview/src/${MY_PN}.tar.gz
+ mirror://gentoo/${P}-gcc-4.1-v${GCC_PATCHVER}.patch.bz2"
+ # mirror://debian/pool/main/x/xview/${SRC_PATCH}.gz
+
+SLOT="0"
+IUSE=""
+KEYWORDS="-alpha -amd64 ~ppc ~sparc ~x86"
+
+RDEPEND="x11-libs/libXpm
+ x11-proto/xextproto
+ media-fonts/font-bh-75dpi
+ media-fonts/font-sun-misc
+ x11-misc/xbitmaps"
+
+DEPEND="${RDEPEND}
+ app-text/rman
+ x11-misc/gccmakedep
+ x11-misc/imake"
+
+S=${WORKDIR}/${MY_PN}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ # This is our compound patch derived from debian. We use it because:
+ # * xview is a contribution made by Sun Microsystems (?) to the X community,
+ # but fixes for it don't appear to be around other than in the other free
+ # distributions.
+ # * It does little harm, only some defaults are changed which we can redefine
+ # anyway.
+ #
+ # SRC_PATCH="${PN}_3.2p1.4-16woody2.diff"
+ epatch "${FILESDIR}"/lseek.diff
+ epatch "${DISTDIR}"/${P}-gcc-4.1-v${GCC_PATCHVER}.patch.bz2
+
+ # Do not build xgettext and msgfmt since they are provided by the gettext
+ # package. Using the programs provided by xview breaks many packages
+ # including vim, grep and binutils.
+ sed -e 's/MSG_UTIL = xgettext msgfmt/#MSG_UTIL = xgettext msgfmt/' \
+ -i util/Imakefile || die "gettext sed failed"
+
+ # (#120910) Look for imake in the right place
+ sed -i -e 's:\/X11::' imake || die "imake sed failed"
+
+ sed -i -e 's:/usr/X11R6:/usr:' "${S}/config/XView.cf" "${S}/Build-XView.bash"
+
+ # Nasty hacks to force CC and CFLAGS
+ sed -e "s:^\(IMAKEINCLUDE=.*\)\"$:\1 -DCcCmd=$(tc-getCC)\":" \
+ -e "s:usr/lib/X11/config:usr/$(get_libdir)/X11/config:" -i Build-XView.bash
+ sed -e "s:\(.*STD_DEFINES =.*\)$:\1 -D_GNU_SOURCE ${CFLAGS}:" -i config/XView.obj
+ sed -e "s:\(.*define LibXViewDefines .*\)$:\1 -D_GNU_SOURCE ${CFLAGS}:" -i config/XView.cf
+ sed -e "s:^\(MORECCFLAGS.*\)$:\1 -D_GNU_SOURCE ${CFLAGS}:" -i clients/olvwm-4.1/Imakefile
+}
+
+src_compile() {
+ export OPENWINHOME="/usr"
+ export X11DIR="/usr"
+
+ # This is crazy and I know it, but wait till you read the code in
+ # Build-XView.bash.
+ bash Build-XView.bash libs \
+ || die "building libs failed"
+ bash Build-XView.bash clients \
+ || die "building clients failed"
+ bash Build-XView.bash contrib \
+ || die "building contrib failed"
+ bash Build-XView.bash olvwm \
+ || die "building olvwm failed"
+}
+
+src_install() {
+ export OPENWINHOME="/usr"
+ export X11DIR="/usr"
+ export DESTDIR="${D}"
+
+ bash Build-XView.bash instlibs \
+ || die "installing libs failed"
+ bash Build-XView.bash instclients \
+ || die "installing clients failed"
+ bash Build-XView.bash instcontrib \
+ || die "installing contrib failed"
+ bash Build-XView.bash instolvwm \
+ || die "installing olvwm failed"
+ cd "${D}"/usr
+
+ # The rest of the docs is already installed
+ cd "${S}"/doc
+ dodoc README xview-info olgx_api.txt olgx_api.ps sel_api.txt \
+ dnd_api.txt whats_new.ps
+ rm -rf "${D}"/usr/X11R6/share/doc/xview && rm -rf "${D}"/usr/X11R6/share/doc
+}