Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 125130

Summary: dev-lang/oorexx (new ebuild)
Product: Gentoo Linux Reporter: Cheyenne Wills <cwills>
Component: [OLD] DevelopmentAssignee: Default Assignee for New Packages <maintainer-wanted>
Status: RESOLVED FIXED    
Severity: enhancement CC: gbrendanoakley, robin.atwood, xgqt
Priority: High Keywords: EBUILD
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: ebuild for oorexx
corrected ebuild for oorexx
files/15orexx
ebuild for oorexx DOCS in PDF format
oorexx-3.1.0_beta2.ebuild
oorexx-3.1.0_beta2.ebuild
oorexx-3.1.0.ebuild

Description Cheyenne Wills 2006-03-05 13:24:16 UTC
The following is an ebuild for oorexx (oorexx.sourceforge.net)

I suggest placing this under /usr/portage/dev-lang/oorexx.

I'm working on an ebuild for the documentation files.  I suspect that the "pdf-doc" will be first since I've been having a little bit of problem compiling the doc source to the pdf format (nothing major, but the doc SGML source is looking for some includes that are not in the same place as gentoo puts them).
Comment 1 Cheyenne Wills 2006-03-05 13:25:34 UTC
Created attachment 81446 [details]
ebuild for oorexx
Comment 2 Cheyenne Wills 2006-03-05 14:14:03 UTC
Comment on attachment 81446 [details]
ebuild for oorexx

# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

SRC_URI="mirror://sourceforge/oorexx/ooRexx-${PV}.tar.gz"
HOMEPAGE="http://oorexx.sourceforge.net/"
DESCRIPTION="OORexx - Object Oriented Rexx"

LICENSE="CPL-1.0"
SLOT="0"
KEYWORDS="x86"
IUSE=""

S="${WORKDIR}/ooRexx-${PV}"

DEPEND=""

src_compile() {
     econf --prefix=/usr || die "Configuration failed"
     emake all || die "Make failed"
}

src_install() {
     emake install || die "Install failed"
     doenvd "${FILESDIR}"/15orexx
}
Comment 3 Cheyenne Wills 2006-03-05 14:14:24 UTC
Comment on attachment 81446 [details]
ebuild for oorexx

>SRC_URI="mirror://sourceforge/oorexx/ooRexx-${PV}.tar.gz"
>HOMEPAGE="http://oorexx.sourceforge.net/"
>DESCRIPTION="OORexx - Object Oriented Rexx"
>
>LICENSE="CPL-1.0"
>SLOT="0"
>KEYWORDS="x86"
>IUSE=""
>
>S="${WORKDIR}/ooRexx-${PV}"
>
>DEPEND=""
>src_compile() {
>     econf --prefix=/usr
>
>     emake || die "Parallel make failed"
>}
>src_install() {
>     einstall install
>}
Comment 4 Cheyenne Wills 2006-03-05 14:15:17 UTC
Created attachment 81462 [details]
corrected ebuild for oorexx

Corrected format, 

added doenvd
Comment 5 Cheyenne Wills 2006-03-05 14:15:57 UTC
Created attachment 81463 [details]
files/15orexx

env.d file for oorexx
Comment 6 Cheyenne Wills 2006-03-05 14:18:14 UTC
Eeekkk..

Sorry about all the append traffic.  -- I was trying to fix the ebuild

Anyway -- it should all be there
Comment 7 Cheyenne Wills 2006-03-05 16:00:06 UTC
Created attachment 81466 [details]
ebuild for oorexx DOCS in PDF format

this ebuild simply retrieves the PDF documentation.  An ebuild that creates the PDF files will be comminng as soon as I get some of the build errors out of the way
Comment 8 Brendan 2006-07-15 00:04:02 UTC
Created attachment 91754 [details]
oorexx-3.1.0_beta2.ebuild

Thanks for the good start.
I have edited and am re-submitting the ebuild, now updated for version 3.1.0_beta2 (released June 27, 2006).

Changes:

Made thorough use of versionator.
Eliminated some whitespace and changed space intents to tabs, per Handbook.
Corrected DESCRIPTION. The name is Open Object Rexx.
Set KEYWORDS to ~x86, as per general guidelines.
Removed redundant --prefix=/usr on econf, as it is already implied.
Changed src_install command to match the Handbook, as it did not build for me as it was.

Works for me now.
Comment 9 Brendan 2006-07-16 18:31:51 UTC
Created attachment 91941 [details]
oorexx-3.1.0_beta2.ebuild

Set DEPEND="!dev-lang/regina-rexx" because they both install /usr/bin/rexx. Not sure how else to handle that.

As for documentation, perhaps rather than a separate ebuild for PDF, maybe a doc USE variable which would download the zipped docs and install using dohtml?
Comment 10 Cheyenne Wills 2006-08-14 07:51:38 UTC
Sorry about not responding sooner, the email notices got "lost" in the noise..

Anyway your changes look fine, and the suggestion to just download the finished documentation sounds fine as well.

My original idea (to keep with the spirit of gentoo I guess :) was to build the doc files directly from the documentation source, but it was turning more into a configuration mess (there are some file location assumptions in the doc source that doesn't match up with where gentoo places some things).

Comment 11 Brendan 2006-10-27 10:27:07 UTC
Created attachment 100600 [details]
oorexx-3.1.0.ebuild

Update for 3.1.0 release. Removed versionator stuff as it doesn't seem needed now. I've done nothing with the docs yet.
Comment 12 Jakub Moc (RETIRED) gentoo-dev 2007-01-08 13:44:44 UTC
*** Bug 160881 has been marked as a duplicate of this bug. ***
Comment 13 Maciej Barć gentoo-dev 2024-01-31 00:51:09 UTC
Recently I've brought oorexx to Gentoo.