pytrainer: unpin python 3.10
[NixPkgs.git] / pkgs / kde / misc / polkit-qt-1 / full-paths.patch
blob72654d2d8ca90c115b933d23c9ad8286fa1fe36f
1 diff --git a/PolkitQt-1Config.cmake.in b/PolkitQt-1Config.cmake.in
2 index e09678c..57d465a 100644
3 --- a/PolkitQt-1Config.cmake.in
4 +++ b/PolkitQt-1Config.cmake.in
5 @@ -20,9 +20,9 @@ if(NOT POLKITQT-1_INSTALL_DIR)
6 set(POLKITQT-1_INSTALL_DIR "@CMAKE_INSTALL_PREFIX@")
7 endif(NOT POLKITQT-1_INSTALL_DIR)
9 -set_and_check(POLKITQT-1_INCLUDE_DIR "@PACKAGE_CMAKE_INSTALL_INCLUDEDIR@/@POLKITQT-1_INCLUDE_PATH@")
10 +set_and_check(POLKITQT-1_INCLUDE_DIR "@CMAKE_INSTALL_FULL_INCLUDEDIR@/@POLKITQT-1_INCLUDE_PATH@")
11 set_and_check(POLKITQT-1_INCLUDE_DIRS "${POLKITQT-1_INCLUDE_DIR}")
12 -set_and_check(POLKITQT-1_LIB_DIR "@PACKAGE_CMAKE_INSTALL_LIBDIR@")
13 +set_and_check(POLKITQT-1_LIB_DIR "@CMAKE_INSTALL_FULL_LIBDIR@")
14 set(POLKITQT-1_POLICY_FILES_INSTALL_DIR "${POLKITQT-1_INSTALL_DIR}/share/polkit-1/actions")
15 ##################################
17 diff --git a/polkit-qt-1.pc.cmake b/polkit-qt-1.pc.cmake
18 index ba8e46e..2d7ea64 100644
19 --- a/polkit-qt-1.pc.cmake
20 +++ b/polkit-qt-1.pc.cmake
21 @@ -1,7 +1,7 @@
22 prefix=@CMAKE_INSTALL_PREFIX@
23 exec_prefix=@CMAKE_INSTALL_PREFIX@
24 -libdir=${exec_prefix}/@CMAKE_INSTALL_LIBDIR@
25 -includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@/@POLKITQT-1_INCLUDE_PATH@
26 +libdir=@CMAKE_INSTALL_FULL_LIBDIR@
27 +includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@/@POLKITQT-1_INCLUDE_PATH@
29 Name: @POLKITQT-1_PCNAME@
30 Description: Convenience library for using polkit with a Qt-styled API
31 diff --git a/polkit-qt-agent-1.pc.cmake b/polkit-qt-agent-1.pc.cmake
32 index 23b2cae..86670a7 100644
33 --- a/polkit-qt-agent-1.pc.cmake
34 +++ b/polkit-qt-agent-1.pc.cmake
35 @@ -1,7 +1,7 @@
36 prefix=@CMAKE_INSTALL_PREFIX@
37 exec_prefix=@CMAKE_INSTALL_PREFIX@
38 -libdir=${exec_prefix}/@CMAKE_INSTALL_LIBDIR@
39 -includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@/@POLKITQT-1_INCLUDE_PATH@
40 +libdir=@CMAKE_INSTALL_FULL_LIBDIR@
41 +includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@/@POLKITQT-1_INCLUDE_PATH@
43 Name: @POLKITQT-1_AGENT_PCNAME@
44 Description: Convenience library for using polkit Agent with a Qt-styled API
45 diff --git a/polkit-qt-core-1.pc.cmake b/polkit-qt-core-1.pc.cmake
46 index fa501f0..61faa63 100644
47 --- a/polkit-qt-core-1.pc.cmake
48 +++ b/polkit-qt-core-1.pc.cmake
49 @@ -1,7 +1,7 @@
50 prefix=@CMAKE_INSTALL_PREFIX@
51 exec_prefix=@CMAKE_INSTALL_PREFIX@
52 -libdir=${exec_prefix}/@CMAKE_INSTALL_LIBDIR@
53 -includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@/@POLKITQT-1_INCLUDE_PATH@
54 +libdir=@CMAKE_INSTALL_FULL_LIBDIR@
55 +includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@/@POLKITQT-1_INCLUDE_PATH@
57 Name: @POLKITQT-1_CORE_PCNAME@
58 Description: Convenience library for using polkit with a Qt-styled API, non-GUI classes
59 diff --git a/polkit-qt-gui-1.pc.cmake b/polkit-qt-gui-1.pc.cmake
60 index 7261b0c..8c633bb 100644
61 --- a/polkit-qt-gui-1.pc.cmake
62 +++ b/polkit-qt-gui-1.pc.cmake
63 @@ -1,7 +1,7 @@
64 prefix=@CMAKE_INSTALL_PREFIX@
65 exec_prefix=@CMAKE_INSTALL_PREFIX@
66 -libdir=${exec_prefix}/@CMAKE_INSTALL_LIBDIR@
67 -includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@/@POLKITQT-1_INCLUDE_PATH@
68 +libdir=@CMAKE_INSTALL_FULL_LIBDIR@
69 +includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@/@POLKITQT-1_INCLUDE_PATH@
71 Name: @POLKITQT-1_GUI_PCNAME@
72 Description: Convenience library for using polkit with a Qt-styled API, GUI classes
73 diff --git a/polkit-qt5-1.pc.cmake b/polkit-qt5-1.pc.cmake
74 index ba8e46e..2d7ea64 100644
75 --- a/polkit-qt5-1.pc.cmake
76 +++ b/polkit-qt5-1.pc.cmake
77 @@ -1,7 +1,7 @@
78 prefix=@CMAKE_INSTALL_PREFIX@
79 exec_prefix=@CMAKE_INSTALL_PREFIX@
80 -libdir=${exec_prefix}/@CMAKE_INSTALL_LIBDIR@
81 -includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@/@POLKITQT-1_INCLUDE_PATH@
82 +libdir=@CMAKE_INSTALL_FULL_LIBDIR@
83 +includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@/@POLKITQT-1_INCLUDE_PATH@
85 Name: @POLKITQT-1_PCNAME@
86 Description: Convenience library for using polkit with a Qt-styled API
87 diff --git a/polkit-qt5-agent-1.pc.cmake b/polkit-qt5-agent-1.pc.cmake
88 index 60b22d5..ee8b80b 100644
89 --- a/polkit-qt5-agent-1.pc.cmake
90 +++ b/polkit-qt5-agent-1.pc.cmake
91 @@ -1,7 +1,7 @@
92 prefix=@CMAKE_INSTALL_PREFIX@
93 exec_prefix=@CMAKE_INSTALL_PREFIX@
94 -libdir=${exec_prefix}/@CMAKE_INSTALL_LIBDIR@
95 -includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@/@POLKITQT-1_INCLUDE_PATH@
96 +libdir=@CMAKE_INSTALL_FULL_LIBDIR@
97 +includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@/@POLKITQT-1_INCLUDE_PATH@
99 Name: @POLKITQT-1_AGENT_PCNAME@
100 Description: Convenience library for using polkit Agent with a Qt-styled API
101 diff --git a/polkit-qt5-core-1.pc.cmake b/polkit-qt5-core-1.pc.cmake
102 index 2f5d562..387c64b 100644
103 --- a/polkit-qt5-core-1.pc.cmake
104 +++ b/polkit-qt5-core-1.pc.cmake
105 @@ -1,7 +1,7 @@
106 prefix=@CMAKE_INSTALL_PREFIX@
107 exec_prefix=@CMAKE_INSTALL_PREFIX@
108 -libdir=${exec_prefix}/@CMAKE_INSTALL_LIBDIR@
109 -includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@/@POLKITQT-1_INCLUDE_PATH@
110 +libdir=@CMAKE_INSTALL_FULL_LIBDIR@
111 +includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@/@POLKITQT-1_INCLUDE_PATH@
113 Name: @POLKITQT-1_CORE_PCNAME@
114 Description: Convenience library for using polkit with a Qt-styled API, non-GUI classes
115 diff --git a/polkit-qt5-gui-1.pc.cmake b/polkit-qt5-gui-1.pc.cmake
116 index 1d208fb..dd95f52 100644
117 --- a/polkit-qt5-gui-1.pc.cmake
118 +++ b/polkit-qt5-gui-1.pc.cmake
119 @@ -1,7 +1,7 @@
120 prefix=@CMAKE_INSTALL_PREFIX@
121 exec_prefix=@CMAKE_INSTALL_PREFIX@
122 -libdir=${exec_prefix}/@CMAKE_INSTALL_LIBDIR@
123 -includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@/@POLKITQT-1_INCLUDE_PATH@
124 +libdir=@CMAKE_INSTALL_FULL_LIBDIR@
125 +includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@/@POLKITQT-1_INCLUDE_PATH@
127 Name: @POLKITQT-1_GUI_PCNAME@
128 Description: Convenience library for using polkit with a Qt-styled API, GUI classes
129 diff --git a/polkit-qt6-1.pc.cmake b/polkit-qt6-1.pc.cmake
130 index ba8e46e..2d7ea64 100644
131 --- a/polkit-qt6-1.pc.cmake
132 +++ b/polkit-qt6-1.pc.cmake
133 @@ -1,7 +1,7 @@
134 prefix=@CMAKE_INSTALL_PREFIX@
135 exec_prefix=@CMAKE_INSTALL_PREFIX@
136 -libdir=${exec_prefix}/@CMAKE_INSTALL_LIBDIR@
137 -includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@/@POLKITQT-1_INCLUDE_PATH@
138 +libdir=@CMAKE_INSTALL_FULL_LIBDIR@
139 +includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@/@POLKITQT-1_INCLUDE_PATH@
141 Name: @POLKITQT-1_PCNAME@
142 Description: Convenience library for using polkit with a Qt-styled API
143 diff --git a/polkit-qt6-agent-1.pc.cmake b/polkit-qt6-agent-1.pc.cmake
144 index 60b22d5..ee8b80b 100644
145 --- a/polkit-qt6-agent-1.pc.cmake
146 +++ b/polkit-qt6-agent-1.pc.cmake
147 @@ -1,7 +1,7 @@
148 prefix=@CMAKE_INSTALL_PREFIX@
149 exec_prefix=@CMAKE_INSTALL_PREFIX@
150 -libdir=${exec_prefix}/@CMAKE_INSTALL_LIBDIR@
151 -includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@/@POLKITQT-1_INCLUDE_PATH@
152 +libdir=@CMAKE_INSTALL_FULL_LIBDIR@
153 +includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@/@POLKITQT-1_INCLUDE_PATH@
155 Name: @POLKITQT-1_AGENT_PCNAME@
156 Description: Convenience library for using polkit Agent with a Qt-styled API
157 diff --git a/polkit-qt6-core-1.pc.cmake b/polkit-qt6-core-1.pc.cmake
158 index 2f5d562..387c64b 100644
159 --- a/polkit-qt6-core-1.pc.cmake
160 +++ b/polkit-qt6-core-1.pc.cmake
161 @@ -1,7 +1,7 @@
162 prefix=@CMAKE_INSTALL_PREFIX@
163 exec_prefix=@CMAKE_INSTALL_PREFIX@
164 -libdir=${exec_prefix}/@CMAKE_INSTALL_LIBDIR@
165 -includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@/@POLKITQT-1_INCLUDE_PATH@
166 +libdir=@CMAKE_INSTALL_FULL_LIBDIR@
167 +includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@/@POLKITQT-1_INCLUDE_PATH@
169 Name: @POLKITQT-1_CORE_PCNAME@
170 Description: Convenience library for using polkit with a Qt-styled API, non-GUI classes
171 diff --git a/polkit-qt6-gui-1.pc.cmake b/polkit-qt6-gui-1.pc.cmake
172 index 1d208fb..dd95f52 100644
173 --- a/polkit-qt6-gui-1.pc.cmake
174 +++ b/polkit-qt6-gui-1.pc.cmake
175 @@ -1,7 +1,7 @@
176 prefix=@CMAKE_INSTALL_PREFIX@
177 exec_prefix=@CMAKE_INSTALL_PREFIX@
178 -libdir=${exec_prefix}/@CMAKE_INSTALL_LIBDIR@
179 -includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@/@POLKITQT-1_INCLUDE_PATH@
180 +libdir=@CMAKE_INSTALL_FULL_LIBDIR@
181 +includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@/@POLKITQT-1_INCLUDE_PATH@
183 Name: @POLKITQT-1_GUI_PCNAME@
184 Description: Convenience library for using polkit with a Qt-styled API, GUI classes