This tasks requires creating a .bep file to allow Haikuporter to build from source code the listed package. You will need a working installation of Haiku, this could be on real hardware or in a VM, and haikuporter which can be installed by following the install instructions at HaikuPorts
Some knowledge of C, C++ may or may not be required in order to complete this task. Knowledge of the GNU autotools and/or cmake may also be helpful. The package may or may not require some patching to get it to work on Haiku. For these cases don't be afraid to ask for help. Many compile issues can be figured out by reading through the various wiki pages at HaikuPorts. Also google (or other web search engine) may be of help in finding solutions to build issues that you may run into, irc channel #haiku on freenode might also be of help. Be sure to follow the correct format for creating your .bep file, including the license and copyright entries.
http://ports.haiku-files.org/ticket/659
If you cannot get it to build within 4 hours of trying then a .bep that is complete except for completing the build step can be accepted as well, just mark the STATUS entry as "Broken", as this one may require an extra effort to get working on Haiku.
| File name/URL | File size | Date submitted | |
|---|---|---|---|
| v8-2.0.bep | 441 bytes | December 10 2012 23:02 UTC | |
| v8-2.0.bep | 452 bytes | December 10 2012 23:12 UTC | |
| v8-3.15.11.bep | 454 bytes | December 11 2012 10:49 UTC | |
| V8_amanda.bep | 536 bytes | December 20 2012 17:00 UTC | |
| V8-3.14.5.3.bep | 515 bytes | December 21 2012 02:24 UTC | |
| v8-r13067.bep | 1.3 KB | December 26 2012 11:31 UTC |
I would like to work on this task.
This task has been assigned to Titi. You have 72 hours to complete this task, good luck!
The work on this task is ready to be reviewed.
You obviously didn't even try to build it, the benchmarks-v2.zip file only contains javascript files of the benchmarks, not the source code for v8 itself. The sources are only available from the svn repository.
The build steps are taken from http://code.google.com/p/v8/source/browse/branches/bleeding_edge/build/README.txt but you actually missed some...
And the copyright seems wrong as well.
One of the mentors has sent this task back for more work. Talk to the mentor(s) assigned to this task to satisfy the requirements needed to complete this task, submit your work again and mark the task as complete once you re-submit your work.
The work on this task is ready to be reviewed.
The best way to make sure it works is by actually trying it with haikuporter...
you'd have seen that even checking out sources won't work because putting the http url directly makes it try to wget it.
So please fix this. Check other .bep in the haikuports tree for how to do this. The Oricutron one specifies an svn checkout from http.
Also, the MD5 sum is useless when checking out from svn, leave it empty and commented out.
Besides, the build steps are still incorrect; you are colling a script that isn't there. Their README specifies it has to be checked out from a separate svn repository...
Do not hesitate to come and ask on IRC if you need help, but please at least test things before submitting them, as it wastes your time and ours too.
One of the mentors has sent this task back for more work. Talk to the mentor(s) assigned to this task to satisfy the requirements needed to complete this task, submit your work again and mark the task as complete once you re-submit your work.
Forgot to set it for more work.
Did you make any progress on it ?
Don't wait to ask if you have difficulties.
The deadline of the task has been extended with 2 days and 0 hours.
If you need more time just ask.
Melange has detected that the final deadline has passed and it has reopened the task.
I would like to work on this task.
This task has been assigned to Amanda Pereira. You have 72 hours to complete this task, good luck!
The work on this task is ready to be reviewed.
For the bep, you shouldn't tab over from the FIELD entries, within a field you use a single tab in most case, two if the line is continued with a \ as the end of the previous line.
For the COPYRIGHT you put in the copyright info for the package your are building, not your own info.
On the configure line, make use of finddir, since hardcoding of pathnames makes it harder to move them later if Haiku were to change the location of this directory, and it make likely be changing at some point.
http://ports.haiku-files.org/wiki/FindDir
Does v8 build to a zip file if you use:
haikuporter -c -d v8
to build it? If so then include the output of the terminal showing everything from where you type in the haikuporter command until the zip file it made at the end so we can review it.
Good work so far.
One of the mentors has sent this task back for more work. Talk to the mentor(s) assigned to this task to satisfy the requirements needed to complete this task, submit your work again and mark the task as complete once you re-submit your work.
Almost forgot, the bep name should be the name of the package as it is listed on gentoo-portage.com, followed by -x.y.z.bep, where x.y.z is the version of the source code you are building from.
Here's the v8 entry from gentoo-portage:
http://gentoo-portage.com/dev-lang/v8
Also copy/paste the description from gentoo-portage's entry into the DESCRIPTION field.
The work on this task is ready to be reviewed.
Some newlines are obviously missing from the latest .bep this likely wouldn't even work... did you really try it?
Also, the convention currently is to use lowercase for project names, so "v8" rather than "V8"...
One of the mentors has sent this task back for more work. Talk to the mentor(s) assigned to this task to satisfy the requirements needed to complete this task, submit your work again and mark the task as complete once you re-submit your work.
The claim on this task has been removed, someone else can claim it now.
I would like to work on this task.
This task has been assigned to qxcv. You have 72 hours to complete this task, good luck!
There's been some work on creating a bep for this recently posted to a trac ticket:
So for this task, review the bep and patch(es) on this ticket and test them out to verifty that they work. Also check and see if they are any tests available and if so and a TEST section to the bep.
http://ports.haiku-files.org/ticket/659
Fix any fields that are not quite right, such as the COPYRIGHT one with the missing years.
This is the .bep on the Trac ticket but with the various typos fixed. I looked through the tests that failed, and it appears that most of them are thread-related, with the exception of the d8-os mjsunit tests which fail (innocuously, as the tests in question always fail as root) and the LogAccessor cctests (which I have not been able to determine a cause for).
The work on this task is ready to be reviewed.
Congratulations, this task has been completed successfully.
I've committed the bep. Thanks for the testing and updates to the bep.