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

Bug 255140

Summary: [java-overlay] dev-lang/clojure (new package)
Product: Gentoo Linux Reporter: Ravi Nanavati <ravi_n+gentoo>
Component: [OLD] JavaAssignee: Default Assignee for New Packages <maintainer-wanted>
Status: RESOLVED FIXED    
Severity: normal CC: creideiki+gentoo-bugzilla, gentoo, java
Priority: High Keywords: EBUILD, InOverlay
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: attempt at updated ebuild
clojure-9999.ebuild builds clojure from svn hosted on googlecode.
svn ebuild for clojure-contrib
Ebuild for 1.1.0-rc2, adapted from java-overlay's 1.0.0.
New ebuild for Clojure 1.1.0.
Revised patch that includes slotting.
Updated ebuild: fixed license, added testing

Description Ravi Nanavati 2009-01-16 08:06:49 UTC
I'd like to install the latest clojure and it isn't available in the Gentoo java overlay. 

Reproducible: Always
Comment 1 Ravi Nanavati 2009-01-16 08:08:12 UTC
Created attachment 178670 [details]
attempt at updated ebuild

The major changes required to the previous clojure ebuild were for the new location where clojure releases are distributed (Google code) and because the structure of the clojure release changed slightly. I have verified that this ebuild can bring up the clojure repl, but not more than that.
Comment 2 Serkan Kaba (RETIRED) gentoo-dev 2009-01-16 14:15:08 UTC
(In reply to comment #1)
> Created an attachment (id=178670) [edit]
> attempt at updated ebuild
> 
> The major changes required to the previous clojure ebuild were for the new
> location where clojure releases are distributed (Google code) and because the
> structure of the clojure release changed slightly. I have verified that this
> ebuild can bring up the clojure repl, but not more than that.
> 
Thanks for the notification and submission. You can simplify the ebuild by defining S as ${WORKDIR}/${PN}
Comment 3 Serkan Kaba (RETIRED) gentoo-dev 2009-01-23 18:39:15 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > Created an attachment (id=178670) [edit]
> > attempt at updated ebuild
> > 
> > The major changes required to the previous clojure ebuild were for the new
> > location where clojure releases are distributed (Google code) and because the
> > structure of the clojure release changed slightly. I have verified that this
> > ebuild can bring up the clojure repl, but not more than that.
> > 
> Thanks for the notification and submission. You can simplify the ebuild by
> defining S as ${WORKDIR}/${PN}
> 
Bumped in java-overlay based on your ebuild. Thank you for your contribution.
Comment 4 Jeff Kowalczyk 2009-01-28 15:35:34 UTC
Created attachment 179971 [details]
clojure-9999.ebuild builds clojure from svn hosted on googlecode.

Clojure already seems reasonable to run from svn checkouts.

Attached is the clojure-9999.ebuild. With only minor changes, this builds a working clojure from svn hosted on googlecode. These include no rm .jar and no changes.txt.

Since the upstream clojure release packages are currently named with the datestring (e.g. 20081217), this ebuild as named will not be regarded as a higher version number.

Depending on gentoo package naming conventions, this could be renamed clojure-svn-9999.ebuild. I do not know whether packages will soon depend on clojure, in which case some mechanism needs to inform portage that clojure-svn provides clojure (are virtuals still advocated?). 

In my local portage, I have simply masked the 20081217 version for the time being, which works for me.
Comment 5 Christian Adåker 2009-03-07 18:02:03 UTC
Created attachment 184250 [details]
svn ebuild for clojure-contrib

Here's a quick-and-dirty ebuild for clojure-contrib as well.
Comment 6 Serkan Kaba (RETIRED) gentoo-dev 2009-05-18 17:33:36 UTC
Note for security: The sources has a bundled copy of asm in a renamed package.
Comment 7 Karl-Johan Karlsson 2009-12-28 16:28:16 UTC
Created attachment 214454 [details]
Ebuild for 1.1.0-rc2, adapted from java-overlay's 1.0.0.

I updated clojure-1.0.0.ebuild found in java-overlay to 1.1.0-rc2.
Comment 8 Daniel Solano Gómez 2010-01-09 00:09:06 UTC
Created attachment 215744 [details]
New ebuild for Clojure 1.1.0.

New ebuild for clojure 1.1.0 (released 31 Dec 2009).  This ebuild fixes a typo that failed to zip up sources and enhances to include Clojure sources as well.
Comment 9 Daniel Solano Gómez 2010-01-09 14:40:45 UTC
Created attachment 215819 [details]
Revised patch that includes slotting.

I have revised my patch so that it now uses a "1.1" slot.  When trying to compile the 1.0-compatible version of clojure-contrib, it fails to due namespace conflicts.

Also, I am willing to be a proxy maintainer for this and other clojure-related packages.
Comment 10 Daniel Solano Gómez 2010-03-10 13:06:25 UTC
Created attachment 222977 [details]
Updated ebuild: fixed license, added testing

I've update my ebuild and added it to java-experimental.  I have fixed a few things, particulary: the incorrect license and enabled tests.
Comment 11 Daniel Solano Gómez 2010-03-23 15:53:38 UTC
I have moved the clojure-1.1.0 ebuild to java-overlay. Also, I have updated the clojure-1.0.0 ebuild with the correct license and fixed it so that it actually installs the sources (the -r1 version installs an empty zip file).
Comment 12 Mr. Bones. (RETIRED) gentoo-dev 2010-07-20 16:31:16 UTC
clojure-1.1.0.ebuild is in portage.