Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 114379 - Ebuild for the SWI-Prolog Package
Summary: Ebuild for the SWI-Prolog Package
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2005-12-03 11:37 UTC by Sérgio Marques
Modified: 2005-12-09 23:05 UTC (History)
1 user (show)

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


Attachments
The Ebuild package (swi-prolog.tar.bz2,710 bytes, application/octet-stream)
2005-12-03 11:45 UTC, Sérgio Marques
Details
SWI Prolog 5.4.7 Ebuild (swi-prolog-5.4.7.ebuild,417 bytes, text/plain)
2005-12-03 16:11 UTC, Sérgio Marques
Details
SWI Prolog 5.4.7 Ebuild FIXED (swi-prolog-5.4.7.ebuild,520 bytes, text/plain)
2005-12-04 10:28 UTC, Sérgio Marques
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sérgio Marques 2005-12-03 11:37:42 UTC
Ebuild for the swi-prolog package.
It retrieves the rpm package from the official website and then builds from it.

Reproducible: Always
Steps to Reproduce:
Comment 1 Sérgio Marques 2005-12-03 11:45:05 UTC
Created attachment 74002 [details]
The Ebuild package

It is only necessary to unpack the package in /usr/local/portage/dev-lang and
then ebuild it
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-12-03 12:05:49 UTC
Please, *no* tarballs. Reopen with a plaintext ebuild.

http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2&chap=3#doc_chap2
Comment 3 Sérgio Marques 2005-12-03 16:11:47 UTC
Created attachment 74018 [details]
SWI Prolog 5.4.7 Ebuild
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2005-12-04 00:35:36 UTC
1/ Invalid header - http://dev.gentoo.org/~ciaranm/docs/mw-faq/header.txt

2/ Do not hardcode version into SRC_URI -
http://dev.gentoo.org/~ciaranm/docs/mw-faq/hardcoded.txt

3/ Quoting in src_unpack() - http://dev.gentoo.org/~ciaranm/docs/mw-faq/quoting.txt

4/ inherit should be just below header, move IUSE

5/ SLOT is mandatory

Please, fix the above problems and REOPEN then.
Comment 5 Sérgio Marques 2005-12-04 10:28:54 UTC
Created attachment 74053 [details]
SWI Prolog 5.4.7 Ebuild FIXED

I dont know howto fix this step: the name of the file does not match the name
of the package, so please explain me howto do that.

2/ Do not hardcode version into SRC_URI -
http://dev.gentoo.org/~ciaranm/docs/mw-faq/hardcoded.txt
Comment 6 Sérgio Marques 2005-12-04 10:29:49 UTC
I dont know howto fix this step: the name of the file does not match the name 
of the package, so please explain me howto do that. 
 
2/ Do not hardcode version into SRC_URI - 
http://dev.gentoo.org/~ciaranm/docs/mw-faq/hardcoded.txt 
Comment 7 Keri Harris gentoo-dev 2005-12-09 10:45:01 UTC
What's the benefit of this ebuild? Currently dev-lang/swi-prolog-lite contains  
ebuilds for full versions of swi-prolog (including 5.4.7).  
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2005-12-09 10:54:20 UTC
*** Bug 115008 has been marked as a duplicate of this bug. ***
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2005-12-09 10:55:10 UTC
(In reply to comment #7)
> What's the benefit of this ebuild? Currently dev-lang/swi-prolog-lite contains  
> ebuilds for full versions of swi-prolog (including 5.4.7).  

Ooops... WONTFIX. Thanks.
Comment 10 Sérgio Marques 2005-12-09 18:59:24 UTC
(In reply to comment #7)
> What's the benefit of this ebuild? Currently dev-lang/swi-prolog-lite contains  
> ebuilds for full versions of swi-prolog (including 5.4.7).  

Excuse me if i'm not right, but i think that the swi-prolog-lite does not
contain the xpce commanda that allows you having a graphical interface. Correct
me if i'm wrong.
Comment 11 Keri Harris gentoo-dev 2005-12-09 23:05:25 UTC
The swi-prolog-lite directory in dev-lang is a bit of a misnomer. Not only does 
it contain pl-lite-5.0.10, but it also contains *full version* ebuilds 
containing the xpce package. For example: 
 
$ equery files =swi-prolog-lite-5.5.39 | grep xpce 
 
/usr/lib/pl-5.5.39/xpce 
/usr/lib/pl-5.5.39/xpce-6.5.39 
/usr/lib/pl-5.5.39/xpce-6.5.39/COPYING 
/usr/lib/pl-5.5.39/xpce-6.5.39/CXX 
/usr/lib/pl-5.5.39/xpce-6.5.39/CXX/demo 
/usr/lib/pl-5.5.39/xpce-6.5.39/ChangeLog 
/usr/lib/pl-5.5.39/xpce-6.5.39/Defaults 
 
<snip> 
 
/usr/lib/pl-5.5.39/xpce-6.5.39/prolog/lib/xref 
/usr/lib/pl-5.5.39/xpce-6.5.39/prolog/lib/xref/common.pl 
/usr/lib/pl-5.5.39/xpce-6.5.39/prolog/lib/xref/mkcommon.pl 
/usr/lib/pl-5.5.39/xpce-6.5.39/prolog/lib/xref/quintus.pl 
/usr/lib/pl-5.5.39/xpce-6.5.39/prolog/lib/xref/sicstus.pl 
/usr/lib/pl-5.5.39/xpce-6.5.39/src 
/usr/lib/pl-5.5.39/xpce-6.5.39/src/itf 
/usr/lib/pl-5.5.39/xpce-6.5.39/src/itf/main.cxx 
/usr/lib/pl-5.5.39/xpce.rc 
/usr/share/man/man1/xpce-client.1.gz 
/usr/share/man/man1/xpce.1.gz