Hi ports@,

i ported cantata 1.5.1, a graphical mpd client written in qt. It can be
built agains qt4, qt5 or the kde4 libs. However, i could only get it to
build with kde4 bindings.

An outdated port for version 1.2.2 was available in the
openbsd-wip github-repo, so i used that source as inspiration:
https://github.com/jasperla/openbsd-wip/tree/master/audio/cantata

The port works for me on amd64, however i'm not sure if all the libs
in WANTLIB are needed. After running "make port-lib-depends-check", i
got the following output:

  $ make port-lib-depends-check
  Asking ports for dependency libiconv-1.14p1(converters/libiconv)
  Asking ports for dependency kdelibs-4.14.2p0(x11/kde4/libs,-main)
  Asking ports for dependency libstdc++-4.8.4(lang/gcc/4.8,-estdc)
  Asking ports for dependency gtk-update-icon-cache-2.24.25(x11/gtk+2,-guic)
  Asking ports for dependency phonon-vlc-0.8.0(multimedia/phonon-backend/vlc)
  Asking ports for dependency gettext-0.19.3(devel/gettext)
  Asking ports for dependency cdparanoia-3.a9.8p0(audio/cdparanoia)
  Asking ports for dependency libcddb-1.3.2(audio/libcddb)
  Asking ports for dependency taglib-1.9.1p1(audio/taglib)
  Asking ports for dependency desktop-file-utils-0.22(devel/desktop-file-utils)
  Asking ports for dependency ffmpeg-20150107(graphics/ffmpeg)
  Asking ports for dependency libmusicbrainz5-5.0.1p1(audio/libmusicbrainz5)
  Asking ports for dependency phonon-4.8.1p0(multimedia/phonon)
  Asking ports for dependency libmtp-1.1.6p0(devel/libmtp)
  Asking ports for dependency oxygen-icons-4.14.2(x11/kde4/oxygen-icons)
  Asking ports for dependency speex-1.2rc1p0(audio/speex)
  Asking ports for dependency qjson-0.8.1p0(devel/qjson)
  Asking ports for dependency qt4-4.8.6p0(x11/qt4,-main)
  Asking ports for dependency mpg123-1.21.0(audio/mpg123)

  cantata-1.5.1(audio/cantata):
  Extra:  iconv.6 intl.6 phonon_s.2

Now i added the three libs listed in 'Extra',
but still get the same output. What does Extra mean? Do these libs have
to be in WANTLIB, or not?

Also, /usr/ports/infrastructure/bin/portcheck reported the following:

  $ /usr/ports/infrastructure/bin/portcheck
  1 line(s) longer than 80 chars in Makefile
  kdeui instead of ${KDE4LIB}/kdeui in WANTLIB (check other libs, too!)
  kio instead of ${KDE4LIB}/kio in WANTLIB (check other libs, too!)
  missing @exec of gtk-update-icon-cache for icon theme hicolor
  missing @unexec-delete of gtk-update-icon-cache for icon theme hicolor
  missing @exec of update-desktop-database
  missing @unexec-delete of update-desktop-database
  translation file(s) found without devel/gettext dependency in MODULES or 
RUN_DEPENDS
  audio/cantata

So i added devel/gettext to MODULES and these 4 line (found in other
plists) to pkg/PLIST:

  @exec %D/bin/update-desktop-database
  @unexec-delete %D/bin/update-desktop-database
  @exec %D/bin/gtk-update-icon-cache -q -t %D/share/icons/hicolor
  @unexec-delete %D/bin/gtk-update-icon-cache -q -t %D/share/icons/hicolor


Finally, since google code doesn't offer a way to download tarballs
anymore, the author hosts all sourcefiles on google drive. As i could not
find a way to download them from vie the port infrastructure, i mirrored
the file on my webspace.


Comments?

Regards
Nils

Attachment: cantata-1.5.1.tar.gz
Description: GNU Zip compressed data

Reply via email to