1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-30 01:00:13 +02:00

Created Packaging Hints (markdown)

Jason Herskowitz
2015-12-02 14:57:24 -05:00
parent 92f35d24eb
commit cccf28dfd5

22
Packaging-Hints.md Normal file

@@ -0,0 +1,22 @@
If you're packaging Tomahawk, join the tomahawk-packagers Google Group (https://web.archive.org/web/20121213024743/https://groups.google.com/forum/#!forum/tomahawk-packagers) to be notified of new releases and changed dependencies
# Build options
Make sure to actually do a release build of Tomahawk, with the following cmake arguments -DCMAKE_BUILD_TYPE=RelWithDebInfo or -DCMAKE_BUILD_TYPE=Release (the default is Debug).
Also up to Tomahawk 0.5 you need to set a Tomahawk specific flag which is -DBUILD_RELEASE=ON to have a release version number without build date in it. From 0.6 on it will automatically assume a release build if the .git/ dir is missing, which is the case for release tarballs.
# Runtime dependencies
## QSql
If your distribution splits the QSqlite plugin for QSql into a separate package, make it a requirement of Tomahawk otherwise it may crash on startup.
## XMPP / jreen
Either jreen or (at least) Tomahawk's package should require the qca-ossl plugin, otherwise there's no GTalk/Jabber support.
## Audio / Phonon
Tomahawk requires phonon-vlc >= 0.4.1 or phonon-gstreamer >= 4.5.1 (esp. phonon-xine in any version will not work)
# Misc
## Firewall
Tomahawk offers P2P functionality, if your distribution offers a default firewall, it's nice to support a default profile for the standard Tomahawk P2P-port (50210). (cf. https://build.opensuse.org/package/view_file?file=tomahawk.SuSEfirewall2&package=tomahawk&project=KDE%3ADistro%3AFactory for openSUSE integration)
## Icons
In openSUSE there are macros for updating icon caches in KDE and GNOME ( %desktop_database_post[un] %icon_theme_cache_post[un]) after [un]installation , check if your distribution offers the same.