Hackathon8
From NetBSD Wiki
Contents |
[edit] pkgthon!
We've held a pkgsrc hackathon focusing on pkgsrc options and closing PRs.
See the summary
[edit] Goals
[edit] Package options
Make options.mk files for packages that don`t already use them, and improve support for options if the package uses them but more options could be added. For example when a media player package is compiled with mp3 and ogg support without the ability to decide which one you need, we would make it selectable by the options framework.
This will have another benefit: we can turn off failing dependencies during bulk builds, thus increasing the number of available packages. For example if audio/arts fails to build (and it does on some archs), it makes more than 200 packages unable to build.
[edit] Closing PRs
There are a lot of PRs in our bugtracker. We will try to handle trivial PRs and patches during the hackathon.
[edit] When will it be held?
Planned date: The weekend 3rd - 4th of November 2007.
You don't have to wait till weekend, feel free to add or take tickets earlier.
[edit] Where will it be?
During the hackathon, we will communicate on #netbsd-code at irc.freenode.net.
[edit] Who will be there?
If you want to participate, please sign your name here (just put four tildes in a new list item if you have a wiki login):
- Replaced 19:54, 27 October 2007 (CEST)
- Sjamaan 20:05, 27 October 2007 (CEST)
- ASau 02:21, 28 October 2007 (CET)
- Morr 07:38, 28 October 2007 (CET)
- Jkuittinen 16:29, 2 November 2007 (CET)
- leot
- haad 21:52, 4 November 2007 (CET)
[edit] Tickets
Please make tickets here, even if you can't or don't want to participate; we will handle them. :)
Tickets are package names, and options to add. We will use them to ensure we don`t do duplicate work and to help us picking up tasks.
[edit] Option tickets
| Package | Options | Status | Taker | Comments | |
|---|---|---|---|---|---|
| audio/cmus | ao, arts, flac, mad, mikmod, modplug, mpcdec, vorbis | Patch 1 2 committed | Replaced | None | |
| news/tin | ncurses | Rejected | Replaced | Already has ncurses option | |
| lang/python24 | expat ncurses readline(does devel/py-readline already handle this?) | WIP | Woei | Patches forthcoming | |
| net/libtorrent | kqueue | Patch options.mk | Woei | Doesn't work on NetBSD | |
| audio/rhythmbox | nautilus-cd-burner | Patch | Haad | Nice work Haad, looks fine. Replaced | |
| x11/qt4-tools | qtdemo qtuitools | Open | None | None | |
| devel/scmgit | doc nox11 | Open | None | None | |
| devel/mercurial | doc | WIP | Woei | None | |
| devel/darcs | doc | Open | None | None | |
| devel/gnustep-base | pth | Open | None | None | |
| misc/pinfo | ncurses | Patch New options.mk | Sjamaan | Works | |
| wip/evas | avoid-gnome-stack | Open | None | None | |
| emulators/qemu | sdl | Makefile patch new options.mk new patch-ab | Sjamaan | Works for me, Replaced | |
| sysutils/pfstatd | gd (needs update) | Open | None | None | |
| audio/arts | esd jack mad nas vorbis ao | Patch | Replaced | None | |
| multimedia/vlc | faad flac lame a52 cddb id3tag mad vorbis fribidi cdio ffmpeg mpeg2 ogg dvdnav dvdplay dvdread sdl freetype | WIP | Jkuittinen | ready: a52, cddax, cddb, dvdnav, dvdread, faad, ffmpeg, flac, freetype, fribidi, mad, mpeg2, ogg, sdl, vorbis | |
| devel/subversion-base | client only version | WIP | Replaced | Apparently needs some cleanup, and the ability to build it without any apache | |
| net/wireshark | X11 | Reopened | None | Wireshark can't be compiled without GTK, but tshark is console-based. It's perhaps best to split it off into a separate package | |
| math/maxima | clisp sbcl | Open | ASau | SBCL 1.0.3 is broken (confirmed by Woei), see PR 36885 for update. | |
| lang/clisp | many optional parts | WIP | ASau | ready: readline, pcre, zlib, i18n (split it into libiconv & gettext?) | |
| graphics/gimp | gimp-helpbrowser (remove dependency on www/libgtkhtml) | Open | None | ||
| graphics/php-gd | --with-gd=(path), use external (not bundled) gd | Open | None | None | |
| graphics/cairo | glitz | Patch | Krille | See this patch | |
| chat/irssi | socks | Rejected | leot | Please read this mail | |
| audio/musicpd | libao | Patch in PR 36173 | Sjamaan | None |
[edit] Other Tickets
| Package | TODO | Status | Taker | Comments |
|---|---|---|---|---|
| www/seamonkey, time/sunbird | make it recognise, but silently ignore "official-mozilla-branding" | Patch | Replaced | It's not a real solution to the problem, but it can save us from a few failed upgrades while using mozilla branding |
| pkgtools/pkg_comp | Does not work on 3.0 because digest fails on outdated pkg_install | Patch | Sjamaan | Turns out the bug was actually caused because pkg_install can't be installed on a clean system. The permissions check didn't work because it depended on digest and that failed because pkg_install was outdated. Fix is to skip permissions check on pkg_install. |
| print/teTeX | switch to TeX Live since teTeX is no longer maintained | Open | Sjamaan | This will take a while (probably long after the hackathon is over!) |
| audio/libao | selection of default plugin in buildlink3.mk is broken. The check that should select sun for NetBSD is never reached on that platform because the condition above always matches if you aren't on one of the three platforms. | Open | None | |
| lang/gcc3-c | Does not create working binaries on macppc. See also PR 31322. | Open | None | |
| sysutils/munin-node | Remove dependency on sysutils/munin-doc. This isn't necessary or desired on each node | Open | None | |
| shells/zsh | This isn't MAKE_JOBS_SAFE | Closed | agc@ | |
| www/firefox | ftp.mozilla.org recommends in the MOTD to use releases.mozilla.org to download releases | Open | None | |
| pkgtools/pkgfind | PR 36986 adds more features | Open | None |
Bonus Ticket: Add builtin.mk for all libs and proto pkgs that create fake .pc files
Any takers? :)
[edit] How to use the table?
Package: The package`s name in pkgsrc form. Example: audio/cmus
Options: Options desired to be added, from pkgsrc/mk/deafults/options.description
If its not there, write the dependency`s pkgsrc name.
If you would like to request an options for an already assigned package, please contact the taker.
Status: Either Open or Assigned, or a link the the final Patch, if it`s already finished.
Taker: your name, use ~~~
Comment: some hint for the taker and general information about what to do with the package
[edit] PR Reviews
| PR | Status | Reviewer | Comments |
|---|---|---|---|
| 37124 | review and apply | Open | None |
[edit] List of closed PRs
- PR 21688
- PR 21848
- PR 25093
- PR 25249
- PR 26879
- PR 27307
- PR 27777
- PR 29067
- PR 29910
- PR 31358
- PR 31396
- PR 32170
- PR 32724
- PR 32740
- PR 32791
- PR 33238
- PR 33240
- PR 33263
- PR 33872
- PR 33874
- PR 34069
- PR 34083
- PR 34099
- PR 34174
- PR 34221
- PR 34500
- PR 34572
- PR 34905
- PR 35043
- PR 36736
- PR 37190
- PR 37234
- PR 37242
- PR 37261
- PR 37263
[edit] Instructions
[edit] options.mk
Here`s a little reference of what, and how should we do.
You can find the prototype of options usage here:
pkgsrc/mk/bsd.options.mk
Here`s a list of already used option names:
pkgsrc/mk/defaults/options.description
If you can`t find there, request it in the wiki. We will make a patch for options.description after the hackathon.
[edit] Pasting code
You can use http://rafb.net/paste/ to show us some of your work and ask for advice.
[edit] Making patches
You can make your patches with cvs, by invoking the following command, once in the package's directory:
cvs diff -uN >patchname.udiff
This should automatically include any newly created files in the same diff file.
The diff files should be named according to the convention <category>-<package>.udiff. Example:
audio-cmus.udiff
