From ce0c7b8d31bd98129088e35b1bca09119266f7f9 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Thu, 5 Jul 2012 20:53:42 -0300 Subject: clementine-libre-1.0.1-5: updating revision --- libre/clementine-libre/PKGBUILD | 13 +++++++++---- .../clementine-libre/clementine-1.0.1-global-menu.patch | 17 +++++++++++++++++ 2 files changed, 26 insertions(+), 4 deletions(-) create mode 100644 libre/clementine-libre/clementine-1.0.1-global-menu.patch diff --git a/libre/clementine-libre/PKGBUILD b/libre/clementine-libre/PKGBUILD index 466810d2b..d657add2a 100644 --- a/libre/clementine-libre/PKGBUILD +++ b/libre/clementine-libre/PKGBUILD @@ -3,12 +3,12 @@ #Contributor: BlackEagle #Contributor: Dany Martineau #Maintainer (Parabola): Kete -#Contributor (Parabola): André Silva +#Contributor (Parabola): André Silva _pkgname=clementine pkgname=clementine-libre pkgver=1.0.1 -pkgrel=4 +pkgrel=5 pkgdesc="A music player and library organizer, without spotify support" url="http://www.clementine-player.org/" license=('GPL') @@ -28,12 +28,14 @@ source=(http://clementine-player.googlecode.com/files/${_pkgname}-${pkgver}.tar. clementine-fix-albumcoverfetch-crash.patch clementine-fresh-start.patch remove-and-disable-spotify.patch - remove-nonfree-references-on-translations.patch) + remove-nonfree-references-on-translations.patch + clementine-1.0.1-global-menu.patch) sha1sums=('e05320da689e2fad744fd3e68518bc4103ecf0fd' 'fddd2e784181ce1dcc7809e7122cbade0af7b01f' 'd8abab4b8fb2d5284a2f43107505325e62d4af5f' '2fef46eaffa7b5cd61afbf19b1dc909d11972a34' - '745bc4fd639d7ef3230592c6275fb43b8956f3d5') + '745bc4fd639d7ef3230592c6275fb43b8956f3d5' + 'b716e4d43101fad535f93fd59034d7bbbb98cdb8') install=clementine.install build() { @@ -45,6 +47,9 @@ build() { # http://code.google.com/p/clementine-player/issues/detail?id=2752 patch -Np1 -i ../clementine-fix-albumcoverfetch-crash.patch + # FS#30549 + patch -Np1 -i ../clementine-1.0.1-global-menu.patch + # https://labs.parabola.nu/issues/99 patch -Np1 -i ../remove-and-disable-spotify.patch patch -Np1 -i ../remove-nonfree-references-on-translations.patch diff --git a/libre/clementine-libre/clementine-1.0.1-global-menu.patch b/libre/clementine-libre/clementine-1.0.1-global-menu.patch new file mode 100644 index 000000000..91f93e058 --- /dev/null +++ b/libre/clementine-libre/clementine-1.0.1-global-menu.patch @@ -0,0 +1,17 @@ +diff -Naur clementine-1.0.1.ori/src/main.cpp clementine-1.0.1/src/main.cpp +--- clementine-1.0.1.ori/src/main.cpp 2012-01-22 07:43:26.000000000 -0500 ++++ clementine-1.0.1/src/main.cpp 2012-07-05 13:58:49.040596906 -0400 +@@ -280,13 +280,6 @@ + UniversalEncodingHandler handler; + TagLib::ID3v1::Tag::setStringHandler(&handler); + +-#ifdef Q_OS_LINUX +- // Force Clementine's menu to be shown in the Clementine window and not in +- // the Unity global menubar thing. See: +- // https://bugs.launchpad.net/unity/+bug/775278 +- setenv("QT_X11_NO_NATIVE_MENUBAR", "1", true); +-#endif +- + // Initialise logging + logging::Init(); + logging::SetLevels(options.log_levels()); -- cgit v1.2.3-54-g00ecf