First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 71808
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: George Shapovalov <george@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Rodolfo Schulz de Lima <rodolfo@rodsoft.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
boost-1.32.0.ebuild Sample ebuild for 1.32 text/plain Christopher Smith 2004-11-21 20:42 0000 3.77 KB Details
boost-1.32.0.ebuild.patch Patch for Sample ebuild for boost-1.32 patch Jan Misol 2004-11-26 02:45 0000 276 bytes Details | Diff
boost-1.32.0.ebuild.patch New Patch for Sample ebuild for boost-1.32.0 patch Jan Misol 2004-11-26 04:46 0000 328 bytes Details | Diff
boost-1.32.0.ebuild Initial attempt at ebuild application/octet-stream Gen Zhang 2004-11-29 05:07 0000 1.50 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 71808 depends on: Show dependency tree
Bug 71808 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-11-19 20:23 0000
They've finally released boost library version 1.32, as you can see in
http://www.boost.org. I personally need this version because the app I'm
working on uses it. I've managed to just get the 1.31 ebuild and adapt it to
1.32 with no problems.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.

------- Comment #1 From Christopher Smith 2004-11-21 20:42:54 0000 -------
Created an attachment (id=44446) [edit]
Sample ebuild for 1.32

This is an ebuild for 1.32 that worked for me. It's almost line for line a copy
of the 1.31 ebuild, but I'm too lazy to use patch. ;-)

------- Comment #2 From Jan Misol 2004-11-26 02:45:38 0000 -------
Created an attachment (id=44764) [edit]
Patch for Sample ebuild for boost-1.32 

Some files for documentation had changed
in version 1.32. This patch will install
missing images.

Jan

------- Comment #3 From Jan Misol 2004-11-26 04:46:54 0000 -------
Created an attachment (id=44772) [edit]
New Patch for Sample ebuild for boost-1.32.0

- Images from Documentation in 1.32 changed
- license changed from "freedist" to "Boost-1.0"
- $Header: $ added

------- Comment #4 From Gen Zhang 2004-11-28 08:52:12 0000 -------
Can we get this to use the Boost build/make/install stuff instead of us hacking
on our own find-xargs cruft?

------- Comment #5 From Gen Zhang 2004-11-28 09:03:25 0000 -------
This is the reference documentation that we should consult: 

http://boost.org/more/getting_started.html

There are two things that should/need to be set with the bjam build:

PYTHON_ROOT : defaults to /usr/local, gentoo standard is /usr
PYTHON_VERSION : defaults 2.2, we need to check and use the newer one

Then bjam stage should provide us with neatly directoried stuff, which we'd mv into ${D} and just allow things to take their course. This should be much cleaner than the current implementation.

I'm currently doing this by hand, just to make sure that all this actually works. Will report back, with ebuild if I can manage.

------- Comment #6 From Gen Zhang 2004-11-29 05:07:57 0000 -------
Created an attachment (id=44920) [edit]
Initial attempt at ebuild

This is my first attempt at an ebuild. It is very minimal. There needs to be
support at different archs, and some cruft for installing the docs (based on
USE="doc", obviously). It does, however, work in so far as installing the libs
and header files. Note for those who seek to add to it: ${MAKEOPTS} is
intentionally not used, as it seems to break the build by not copying libraries
and symlinking; it may be possible to use -jN in the make (stage) tho, and -j1
in the install since the install goes over all the libs and copies them again.
The dependency on Python could prob be left out, but considering we kinda
depend on python on a fundamental level, it might be appropriate for gentoo
nevertheless. Further work may be required if we want the entire Boost.Python
suite to Just Work -- in particular we don't do anything for Pyste right now (I
don't think gccxml and codependents are in portage anyway).

Feedback would be appreciated.

------- Comment #7 From Andreas Pokorny 2004-12-05 04:14:55 0000 -------
That ebuild worked on amd64 too, but i had to change every occurance of the
path 
 tools/build/jam_src/bin.linuxx86/bjam
to 
 tools/build/jam_src/bin.linux/bjam

I noticed that previous ebuilds used ${arch} at that point. 

The documentation is also missing in this ebuild. You could add the
documentation installing part from older ebuilds. 

------- Comment #8 From Disenchanted (RETIRED) 2004-12-10 10:12:41 0000 -------
Using what DieMumiee provided and adding Docs back in it seems to work fine.
Please test, reopen if you find issues

little tip for future ebuild submission: 
watch your headers, try to not drop the Gentoo Foundation and the newer license
watch KEYWORDS, do not drop them only because you dont posses the hardware
all stable archs should still be in the new ebuild with ~
in other words all archs in 1.31.0 should be in 1.32.0 with ~ added

Thanks everyone

------- Comment #9 From Gen Zhang 2004-12-20 05:43:21 0000 -------
One little niggle. The install stage isn't using --layout=system, which gets
rid of the 1_32 in the include and libs.

First Last Prev Next    No search results available      Search page      Enter new bug