Hackathon8

From NetBSD Wiki

Jump to: navigation, search

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

The Mighty Tickets Table
PackageOptionsStatusTakerComments
audio/cmusao, arts, flac, mad, mikmod, modplug, mpcdec, vorbisPatch 1 2 committedReplacedNone
news/tinncursesRejectedReplacedAlready has ncurses option
lang/python24expat ncurses readline(does devel/py-readline already handle this?)WIPWoeiPatches forthcoming
net/libtorrentkqueuePatch options.mkWoeiDoesn't work on NetBSD
audio/rhythmboxnautilus-cd-burnerPatchHaadNice work Haad, looks fine. Replaced
x11/qt4-toolsqtdemo qtuitoolsOpenNoneNone
devel/scmgitdoc nox11OpenNoneNone
devel/mercurialdocWIPWoeiNone
devel/darcsdocOpenNoneNone
devel/gnustep-basepthOpenNoneNone
misc/pinfoncursesPatch New options.mkSjamaanWorks
wip/evasavoid-gnome-stackOpenNoneNone
emulators/qemusdlMakefile patch new options.mk new patch-abSjamaanWorks for me, Replaced
sysutils/pfstatdgd (needs update)OpenNoneNone
audio/artsesd jack mad nas vorbis aoPatchReplacedNone
multimedia/vlcfaad flac lame a52 cddb id3tag mad vorbis fribidi cdio ffmpeg mpeg2 ogg dvdnav dvdplay dvdread sdl freetypeWIPJkuittinenready: a52, cddax, cddb, dvdnav, dvdread, faad, ffmpeg, flac, freetype, fribidi, mad, mpeg2, ogg, sdl, vorbis
devel/subversion-baseclient only versionWIPReplacedApparently needs some cleanup, and the ability to build it without any apache
net/wiresharkX11ReopenedNoneWireshark can't be compiled without GTK, but tshark is console-based. It's perhaps best to split it off into a separate package
math/maximaclisp sbclOpenASauSBCL 1.0.3 is broken (confirmed by Woei), see PR 36885 for update.
lang/clispmany optional partsWIPASauready: readline, pcre, zlib, i18n (split it into libiconv & gettext?)
graphics/gimpgimp-helpbrowser (remove dependency on www/libgtkhtml)OpenNone
graphics/php-gd--with-gd=(path), use external (not bundled) gd OpenNoneNone
graphics/cairoglitzPatchKrilleSee this patch
chat/irssisocksRejectedleotPlease read this mail
audio/musicpdlibaoPatch in PR 36173SjamaanNone

[edit] Other Tickets

Tickets Table for Other Tickets
PackageTODOStatusTakerComments
www/seamonkey, time/sunbirdmake it recognise, but silently ignore "official-mozilla-branding"PatchReplacedIt's not a real solution to the problem, but it can save us from a few failed upgrades while using mozilla branding
pkgtools/pkg_compDoes not work on 3.0 because digest fails on outdated pkg_installPatchSjamaanTurns 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/teTeXswitch to TeX Live since teTeX is no longer maintainedOpenSjamaanThis will take a while (probably long after the hackathon is over!)
audio/libaoselection 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.OpenNone
lang/gcc3-cDoes not create working binaries on macppc. See also PR 31322. Open None
sysutils/munin-nodeRemove dependency on sysutils/munin-doc. This isn't necessary or desired on each nodeOpenNone
shells/zshThis isn't MAKE_JOBS_SAFEClosedagc@
www/firefoxftp.mozilla.org recommends in the MOTD to use releases.mozilla.org to download releasesOpenNone
pkgtools/pkgfindPR 36986 adds more featuresOpenNone


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

Table for PR Revievs
PRStatusReviewerComments
37124review and applyOpenNone

[edit] List of closed PRs

[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
Personal tools