From cccf28dfd5d29c7084dfc6ac180c773d6549a0fc Mon Sep 17 00:00:00 2001 From: Jason Herskowitz Date: Wed, 2 Dec 2015 14:57:24 -0500 Subject: [PATCH] Created Packaging Hints (markdown) --- Packaging-Hints.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Packaging-Hints.md diff --git a/Packaging-Hints.md b/Packaging-Hints.md new file mode 100644 index 0000000..0070578 --- /dev/null +++ b/Packaging-Hints.md @@ -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. \ No newline at end of file