1 |
philantrop 08/03/10 23:23:35 |
2 |
|
3 |
Added: kdebase-4.0.1-pam-optional.patch |
4 |
kdebase-4.0.1-opengl.patch |
5 |
Log: |
6 |
Version bump to KDE 4.0.2. |
7 |
(Portage version: 2.1.4.4) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 kde-base/kdebase/files/kdebase-4.0.1-pam-optional.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kdebase/files/kdebase-4.0.1-pam-optional.patch?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kdebase/files/kdebase-4.0.1-pam-optional.patch?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: kdebase-4.0.1-pam-optional.patch |
16 |
=================================================================== |
17 |
diff --git a/kdebase/workspace/cmake/modules/FindPAM.cmake b/kdebase/workspace/cmake/modules/FindPAM.cmake |
18 |
index 3499836..cd1c2bb 100644 |
19 |
--- a/kdebase/workspace/cmake/modules/FindPAM.cmake |
20 |
+++ b/kdebase/workspace/cmake/modules/FindPAM.cmake |
21 |
@@ -5,6 +5,8 @@ |
22 |
# PAM_INCLUDE_DIR - the pam include directory |
23 |
# PAM_LIBRARIES - libpam library |
24 |
|
25 |
+if (WITH_PAM) |
26 |
+ |
27 |
if (PAM_INCLUDE_DIR AND PAM_LIBRARY) |
28 |
# Already in cache, be silent |
29 |
set(PAM_FIND_QUIETLY TRUE) |
30 |
@@ -72,3 +74,5 @@ else (PAM_FOUND) |
31 |
endif (PAM_FOUND) |
32 |
|
33 |
mark_as_advanced(PAM_INCLUDE_DIR PAM_LIBRARY DL_LIBRARY PAM_MESSAGE_CONST) |
34 |
+ |
35 |
+endif (WITH_PAM) |
36 |
diff --git a/kdebase/workspace/cmake/modules/UnixAuth.cmake b/kdebase/workspace/cmake/modules/UnixAuth.cmake |
37 |
index ed8ab9e..ce3bcc2 100644 |
38 |
--- a/kdebase/workspace/cmake/modules/UnixAuth.cmake |
39 |
+++ b/kdebase/workspace/cmake/modules/UnixAuth.cmake |
40 |
@@ -1,4 +1,4 @@ |
41 |
-find_package(PAM) |
42 |
+macro_optional_find_package(PAM) |
43 |
|
44 |
set(UNIXAUTH_LIBRARIES) |
45 |
set(UNIXAUTH_INCLUDE_DIRS) |
46 |
|
47 |
|
48 |
|
49 |
1.1 kde-base/kdebase/files/kdebase-4.0.1-opengl.patch |
50 |
|
51 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kdebase/files/kdebase-4.0.1-opengl.patch?rev=1.1&view=markup |
52 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kdebase/files/kdebase-4.0.1-opengl.patch?rev=1.1&content-type=text/plain |
53 |
|
54 |
Index: kdebase-4.0.1-opengl.patch |
55 |
=================================================================== |
56 |
Index: workspace/kcontrol/screensaver/CMakeLists.txt |
57 |
=================================================================== |
58 |
--- workspace/kcontrol/screensaver/CMakeLists.txt (revision 769817) |
59 |
+++ workspace/kcontrol/screensaver/CMakeLists.txt (working copy) |
60 |
@@ -1,5 +1,7 @@ |
61 |
|
62 |
+if(OPENGL_FOUND) |
63 |
check_library_exists(GL glXChooseVisual "" HAVE_GLXCHOOSEVISUAL) |
64 |
+endif(OPENGL_FOUND) |
65 |
configure_file (config-screensaver.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-screensaver.h ) |
66 |
|
67 |
add_definitions (-DQT3_SUPPORT -DQT3_SUPPORT_WARNINGS) |
68 |
Index: workspace/CMakeLists.txt |
69 |
=================================================================== |
70 |
--- workspace/CMakeLists.txt (revision 769817) |
71 |
+++ workspace/CMakeLists.txt (working copy) |
72 |
@@ -16,8 +16,6 @@ |
73 |
include (MacroLibrary) |
74 |
include (KDE4Defaults) |
75 |
|
76 |
-macro_optional_find_package(OpenGL) |
77 |
- |
78 |
include(ConfigureChecks.cmake) |
79 |
configure_file(config-unix.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-unix.h ) |
80 |
configure_file(config-X11.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-X11.h ) |
81 |
Index: workspace/krunner/lock/CMakeLists.txt |
82 |
=================================================================== |
83 |
--- workspace/krunner/lock/CMakeLists.txt (revision 769817) |
84 |
+++ workspace/krunner/lock/CMakeLists.txt (working copy) |
85 |
@@ -5,7 +5,9 @@ |
86 |
########### next target ############### |
87 |
|
88 |
check_library_exists(Xxf86misc XF86MiscSetGrabKeysState "" HAVE_XF86MISCSETGRABKEYSSTATE) |
89 |
+if(OPENGL_FOUND) |
90 |
check_library_exists(GL glXChooseVisual "" HAVE_GLXCHOOSEVISUAL) |
91 |
+endif(OPENGL_FOUND) |
92 |
|
93 |
configure_file(config-krunner-lock.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-krunner-lock.h) |
94 |
|
95 |
|
96 |
|
97 |
|
98 |
-- |
99 |
gentoo-commits@l.g.o mailing list |