public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/kde:master commit in: kde-apps/libkcompactdisc/files/
@ 2017-04-16 20:19 Andreas Sturmlechner
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas Sturmlechner @ 2017-04-16 20:19 UTC (permalink / raw
  To: gentoo-commits

commit:     9a8b5e7ac652dba8749de23792f2256d96091755
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 16 20:18:22 2017 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Apr 16 20:18:22 2017 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=9a8b5e7a

kde-apps/libkcompactdisc: Fix ALSA linking as well

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 .../files/libkcompactdisc-17.04.0-no-alsa.patch    | 23 ++++++++++++++++++----
 1 file changed, 19 insertions(+), 4 deletions(-)

diff --git a/kde-apps/libkcompactdisc/files/libkcompactdisc-17.04.0-no-alsa.patch b/kde-apps/libkcompactdisc/files/libkcompactdisc-17.04.0-no-alsa.patch
index e2bb2c11d3..6bebf88e7c 100644
--- a/kde-apps/libkcompactdisc/files/libkcompactdisc-17.04.0-no-alsa.patch
+++ b/kde-apps/libkcompactdisc/files/libkcompactdisc-17.04.0-no-alsa.patch
@@ -1,21 +1,36 @@
-commit 082b1637c6720a0955855a92a037cd033568ddf1
+commit bb427b44150e23e618209334d826d389b903ac8a
 Author: Andreas Sturmlechner <andreas.sturmlechner@gmail.com>
 Date:   Sun Apr 16 21:23:58 2017 +0200
 
     Fix build without ALSA again
+    
+    Signed-off-by: Andreas Sturmlechner <andreas.sturmlechner@gmail.com>
 
 diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
-index b25c7d7..c32f1f7 100644
+index b25c7d7..c89e9dd 100644
 --- a/src/CMakeLists.txt
 +++ b/src/CMakeLists.txt
-@@ -13,7 +13,9 @@ set_package_properties(ALSA PROPERTIES
+@@ -12,8 +12,10 @@ set_package_properties(ALSA PROPERTIES
+                        DESCRIPTION "ALSA provides audio and MIDI functionality"
                         TYPE OPTIONAL
                         PURPOSE "Play back audo CDs via ALSA")
- set(HAVE_ALSA ${ALSA_FOUND})
+-set(HAVE_ALSA ${ALSA_FOUND})
 -configure_file(config-alsa.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-alsa.h)
 +if(ALSA_FOUND)
++    add_definitions(-DHAVE_ALSA)
 +    configure_file(config-alsa.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-alsa.h)
 +endif(ALSA_FOUND)
  
  set(wmlib_audio_SRCS
          wmlib/audio/audio.c
+@@ -79,8 +81,8 @@ target_link_libraries(KF5CompactDisc
+     Phonon::phonon4qt5
+ )
+ 
+-if (HAVE_ALSA)
+-    target_link_libraries(KF5CompactDisc ${ALSA_LIBRARY})
++if (ALSA_FOUND)
++    target_link_libraries(KF5CompactDisc ${ALSA_LIBRARIES})
+ endif ()
+ 
+ if (USE_WMLIB)


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] proj/kde:master commit in: kde-apps/libkcompactdisc/files/
@ 2017-04-17 10:43 Andreas Sturmlechner
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas Sturmlechner @ 2017-04-17 10:43 UTC (permalink / raw
  To: gentoo-commits

commit:     33bbb5492895df1876e542e7c2695b6654f28951
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 17 08:52:14 2017 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Apr 17 09:10:59 2017 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=33bbb549

kde-apps/libkcompactdisc: Proper patch after upstream input

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 .../files/libkcompactdisc-17.04.0-no-alsa.patch    | 72 +++++++++++++---------
 1 file changed, 44 insertions(+), 28 deletions(-)

diff --git a/kde-apps/libkcompactdisc/files/libkcompactdisc-17.04.0-no-alsa.patch b/kde-apps/libkcompactdisc/files/libkcompactdisc-17.04.0-no-alsa.patch
index 6bebf88e7c..1346f74044 100644
--- a/kde-apps/libkcompactdisc/files/libkcompactdisc-17.04.0-no-alsa.patch
+++ b/kde-apps/libkcompactdisc/files/libkcompactdisc-17.04.0-no-alsa.patch
@@ -1,36 +1,52 @@
-commit bb427b44150e23e618209334d826d389b903ac8a
+commit 006fda07f559206f9f9f1ccc29080ce71a367b09
 Author: Andreas Sturmlechner <andreas.sturmlechner@gmail.com>
 Date:   Sun Apr 16 21:23:58 2017 +0200
 
-    Fix build without ALSA again
+    Fix linking with ALSA
     
-    Signed-off-by: Andreas Sturmlechner <andreas.sturmlechner@gmail.com>
+    REVIEW: 130089
 
-diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
-index b25c7d7..c89e9dd 100644
---- a/src/CMakeLists.txt
-+++ b/src/CMakeLists.txt
-@@ -12,8 +12,10 @@ set_package_properties(ALSA PROPERTIES
-                        DESCRIPTION "ALSA provides audio and MIDI functionality"
-                        TYPE OPTIONAL
-                        PURPOSE "Play back audo CDs via ALSA")
--set(HAVE_ALSA ${ALSA_FOUND})
--configure_file(config-alsa.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-alsa.h)
-+if(ALSA_FOUND)
-+    add_definitions(-DHAVE_ALSA)
-+    configure_file(config-alsa.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-alsa.h)
-+endif(ALSA_FOUND)
+diff --git a/src/kcompactdisc.cpp b/src/kcompactdisc.cpp
+index 437648f..2e297d1 100644
+--- a/src/kcompactdisc.cpp
++++ b/src/kcompactdisc.cpp
+@@ -22,6 +22,8 @@
+ #include "kcompactdisc.h"
+ #include "kcompactdisc_p.h"
  
- set(wmlib_audio_SRCS
-         wmlib/audio/audio.c
-@@ -79,8 +81,8 @@ target_link_libraries(KF5CompactDisc
-     Phonon::phonon4qt5
- )
++#include <config-alsa.h>
++
+ #include <QtDBus>
+ #include <QUrl>
+ #include <QtGlobal>
+diff --git a/src/wmlib/audio/audio.c b/src/wmlib/audio/audio.c
+index 9ed7a82..729ada5 100644
+--- a/src/wmlib/audio/audio.c
++++ b/src/wmlib/audio/audio.c
+@@ -19,9 +19,8 @@
+ #include "audio.h"
+ #include "../include/wm_config.h"
  
--if (HAVE_ALSA)
--    target_link_libraries(KF5CompactDisc ${ALSA_LIBRARY})
-+if (ALSA_FOUND)
-+    target_link_libraries(KF5CompactDisc ${ALSA_LIBRARIES})
- endif ()
+-#ifdef HAVE_ALSA
+ #include <config-alsa.h>
+-#endif
++
+ #include <string.h>
  
- if (USE_WMLIB)
+ struct audio_oops *setup_phonon(const char *dev, const char *ctl);
+diff --git a/src/wmlib/audio/audio_alsa.c b/src/wmlib/audio/audio_alsa.c
+index 87bbca5..af1a1cb 100644
+--- a/src/wmlib/audio/audio_alsa.c
++++ b/src/wmlib/audio/audio_alsa.c
+@@ -26,9 +26,10 @@
+ #include "../include/wm_struct.h"
+ #include "../include/wm_config.h"
+ 
++#include <config-alsa.h>
++
+ #ifdef HAVE_ALSA
+ 
+-#include <config-alsa.h>
+ #include <alsa/asoundlib.h>
+ 
+ static char *device = NULL;


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-04-17 10:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-16 20:19 [gentoo-commits] proj/kde:master commit in: kde-apps/libkcompactdisc/files/ Andreas Sturmlechner
  -- strict thread matches above, loose matches on Subject: below --
2017-04-17 10:43 Andreas Sturmlechner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox