Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 109265 - mecat-1.1.ebuild (New Package)
Summary: mecat-1.1.ebuild (New Package)
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL: http://sourceforge.net/projects/mecat/
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2005-10-14 05:39 UTC by Stephan R. Palm
Modified: 2013-06-22 18:00 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
mecat-1.1.ebuild (mecat-1.0.ebuild,1.76 KB, text/plain)
2005-10-14 05:44 UTC, Stephan R. Palm
Details
mecat-1.0-gentoo.patch (mecat-1.0-gentoo.patch,355 bytes, patch)
2005-10-14 05:46 UTC, Stephan R. Palm
Details | Diff
digest-mecat-1.1 (digest-mecat-1.1,65 bytes, text/plain)
2005-10-14 10:30 UTC, Stephan R. Palm
Details
mecat-1.1-r1.ebuild (mecat-1.1-r1.ebuild,803 bytes, text/plain)
2005-10-15 13:32 UTC, Stephan R. Palm
Details
mecat-1.2.ebuild (mecat-1.2.ebuild,889 bytes, text/plain)
2006-08-31 14:49 UTC, Stephan R. Palm
Details
mecat-1.3.ebuild (mecat-1.3.ebuild,889 bytes, text/plain)
2006-10-03 17:16 UTC, Stephan R. Palm
Details
mecat-1.4.1.ebuild (mecat-1.4.1.ebuild,889 bytes, text/plain)
2006-12-20 02:06 UTC, Stephan R. Palm
Details
mecat-1.4.2 (mecat-1.4.2.ebuild,964 bytes, text/plain)
2006-12-21 14:55 UTC, Stephan R. Palm
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stephan R. Palm 2005-10-14 05:39:34 UTC
Hi!

MeCat is an OS-independent Media Catalog. Whether you want to catalog your dvds,
books or anything else, MeCat is able to do the job. It is possible to sort and
filter the items in a catalog. 
This ebuild is desgined for the second release of the software. 
I suggest the package app-misc/mecat.

sincerely
     Stephan

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Stephan R. Palm 2005-10-14 05:44:22 UTC
Created attachment 70655 [details]
mecat-1.1.ebuild

This is the ebuild for mecat-1.1. The ebuild needs the patch
"mecat-1.0-gentoo.patch".
Comment 2 Stephan R. Palm 2005-10-14 05:46:39 UTC
Created attachment 70656 [details, diff]
mecat-1.0-gentoo.patch
Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2005-10-14 07:51:38 UTC
Could a java guy have a look if the ebuild matches our standards, please?
Comment 4 Thomas Matthijs (RETIRED) gentoo-dev 2005-10-14 08:09:43 UTC
it doesn't
Comment 5 Stephan R. Palm 2005-10-14 10:30:12 UTC
Created attachment 70673 [details]
digest-mecat-1.1
Comment 6 Petteri Räty (RETIRED) gentoo-dev 2005-10-14 11:23:48 UTC
(In reply to comment #5)
> Created an attachment (id=70673) [edit]
> digest-mecat-1.1
> 

You should not attach digests. Those who use ebuilds from bugzilla should now
how to create them.
Comment 7 Petteri Räty (RETIRED) gentoo-dev 2005-10-14 11:27:55 UTC
See http://www.gentoo.org/proj/en/java/java-devel.xml for information on how to
improve the ebuild. You should not do any special tricks in the ebuild for 1.5
support. We already have a generic solution to this problem, which is currently
under testing. You are welcome to join the testing/documentation effort if like
to get 1.5 unmasked faster.
Comment 8 Stephan R. Palm 2005-10-14 13:11:57 UTC
(In reply to comment #7)
> See http://www.gentoo.org/proj/en/java/java-devel.xml for information on how to
> improve the ebuild. You should not do any special tricks in the ebuild for 1.5
> support. We already have a generic solution to this problem, which is currently
> under testing. You are welcome to join the testing/documentation effort if like
> to get 1.5 unmasked faster.

First of all thanks, looks like I'm not up-to-date anymore to the current events
concerning Java (at least I did not find the java-devel.xml the last time I
tried to commit a package for MeCat). What is the generic solution for Java 1.5
support? Afaik using 1.5 as system-wide VM results in conlict in several
packages like OpenOffice. In the documentation I only find methods to "die" if
Java 1.5 is not the current system-wide VM. What did I miss? For the
testing/documentation effort: Where?
Comment 9 Petteri Räty (RETIRED) gentoo-dev 2005-10-14 13:16:03 UTC
(In reply to comment #8)
> support? Afaik using 1.5 as system-wide VM results in conlict in several
> packages like OpenOffice. In the documentation I only find methods to "die" if
> Java 1.5 is not the current system-wide VM. What did I miss? For the
> testing/documentation effort: Where?

For example:
http://bugs.gentoo.org/show_bug.cgi?id=65937#c30

Join #gentoo-java@freenode to get in direct contact with the java team if you
have questions.
Comment 10 Petteri Räty (RETIRED) gentoo-dev 2005-10-14 13:17:23 UTC
http://gentoo-wiki.com/Java_FAQ#But_I_really_need_Java_1.5....
Comment 11 Thomas Matthijs (RETIRED) gentoo-dev 2005-10-14 13:33:28 UTC
"In the documentation I only find methods to "die" if
Java 1.5 is not the current system-wide VM. "

Where does it say that?
Comment 12 Stephan R. Palm 2005-10-14 13:37:50 UTC
(In reply to comment #11)
> "In the documentation I only find methods to "die" if
> Java 1.5 is not the current system-wide VM. "
> 
> Where does it say that?

I thought that the functionality from "java-utils.eclass" tests if the _current_
vm matches a requirement or else "die".
Comment 13 Stephan R. Palm 2005-10-15 13:32:42 UTC
Created attachment 70748 [details]
mecat-1.1-r1.ebuild

Redesigned ebuild.
Comment 14 Stephan R. Palm 2006-08-31 14:49:07 UTC
Created attachment 95587 [details]
mecat-1.2.ebuild

New ebuild readjusted for the new java concept.
Comment 15 Stephan R. Palm 2006-10-03 17:16:18 UTC
Created attachment 98734 [details]
mecat-1.3.ebuild

Ebuild for the new version 1.3 of MeCat
Comment 16 Stephan R. Palm 2006-12-20 02:06:52 UTC
Created attachment 104432 [details]
mecat-1.4.1.ebuild

Ebuild for the new version of mecat
Comment 17 Petteri Räty (RETIRED) gentoo-dev 2006-12-21 03:00:34 UTC
(In reply to comment #16)
> Created an attachment (id=104432) [edit]
> mecat-1.4.1.ebuild
> 
> Ebuild for the new version of mecat
> 

Some feedback to improve the ebuild:
IUSE="java"
Does not look like you would be using the java use flag for anything.

RDEPEND=">=virtual/jre-1.5
	=dev-java/xerces-2*
	virtual/tetex
	dev-tex/latex-unicode"

DEPEND=">=virtual/jdk-1.5
	dev-java/ant"

DEPEND does not pull in for example dev-java/xerces that is needed to build this thing. Does this really need full dev-java/ant or is just dev-java/ant-core enough? If it does need the full ant, there should be a comment in the ebuild saying why it needs full ant.

src_compile() {
	eant
}

You can remove this if the default target is named jar as java-pkg-2.eclass has  a default src_compile function nowadays. 

The ebuild needs the doc and source use flags before it can be added to the tree.
Comment 18 Stephan R. Palm 2006-12-21 14:50:55 UTC
(In reply to comment #17)
> (In reply to comment #16)
> > Created an attachment (id=104432) [edit]
> > mecat-1.4.1.ebuild
> > 
> > Ebuild for the new version of mecat
> > 
> 
> Some feedback to improve the ebuild:
> IUSE="java"
> Does not look like you would be using the java use flag for anything.

And now it's gone.

> RDEPEND=">=virtual/jre-1.5
>         =dev-java/xerces-2*
>         virtual/tetex
>         dev-tex/latex-unicode"
> 
> DEPEND=">=virtual/jdk-1.5
>         dev-java/ant"
> 
> DEPEND does not pull in for example dev-java/xerces that is needed to build
> this thing. Does this really need full dev-java/ant or is just
> dev-java/ant-core enough? If it does need the full ant, there should be a
> comment in the ebuild saying why it needs full ant.

just needs ant-core

> src_compile() {
>         eant
> }
> 
> You can remove this if the default target is named jar as java-pkg-2.eclass has
>  a default src_compile function nowadays. 

Yes, nowaday ;)
I've rewritten the build.xml for mecat version 1.4.2 and it has now a target jar and javadoc.

> The ebuild needs the doc and source use flags before it can be added to the
> tree.
> 

Added use and source flags.
Comment 19 Stephan R. Palm 2006-12-21 14:55:01 UTC
Created attachment 104540 [details]
mecat-1.4.2

Ebuild for the new version of mecat.
The version that I made to include the new build.xml.
Comment 20 Michael Palimaka (kensington) gentoo-dev 2013-06-22 18:00:08 UTC
Package no longer builds.