1 |
commit: 99e76470a0f67e9bf152ab189fe4a60eb6a4e93b |
2 |
Author: Marco Scardovi <marco <AT> scardovi <DOT> com> |
3 |
AuthorDate: Tue Jun 22 16:20:49 2021 +0000 |
4 |
Commit: Jian Lin <jlin.gentoo <AT> outlook <DOT> com> |
5 |
CommitDate: Tue Jun 22 16:20:49 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=99e76470 |
7 |
|
8 |
gui-wm/phosh: fix patches |
9 |
|
10 |
Package-Manager: Portage-3.0.20, Repoman-3.0.3 |
11 |
Signed-off-by: Marco Scardovi <marco <AT> scardovi.com> |
12 |
|
13 |
gui-wm/phosh/Manifest | 1 + |
14 |
gui-wm/phosh/files/0004-calls-manager.patch | 17 ++++++++++++++--- |
15 |
gui-wm/phosh/files/0005-calls-manager.patch | 20 -------------------- |
16 |
gui-wm/phosh/phosh-0.11.0.ebuild | 13 ++++++++++--- |
17 |
4 files changed, 25 insertions(+), 26 deletions(-) |
18 |
|
19 |
diff --git a/gui-wm/phosh/Manifest b/gui-wm/phosh/Manifest |
20 |
index 5160cf822..246e4f282 100644 |
21 |
--- a/gui-wm/phosh/Manifest |
22 |
+++ b/gui-wm/phosh/Manifest |
23 |
@@ -1 +1,2 @@ |
24 |
+DIST c5ab6037f460406ac9799b1e5765de3ce0097a8b.tar.gz 46481 BLAKE2B 7ea8424d640d71361905e2eff346f45e024f9cd430cc8cc92c53d8cf72a8ea312c00bdbd0d9c25f499e1af2122fcafbf08a600d69f053ff9fa04baeb44283ccf SHA512 368d56223907d3eaafd35fce643abddf00e963800eebe98fb5cbe6fbbd8da115d1afb93bd5d557167e787579e3ff8b8e7885cae74d8f0326b45085870ac8cc05 |
25 |
DIST phosh-v0.11.0.tar.gz 447909 BLAKE2B e5e269a1c0d84000ba956b2f03e29079f53eceb03b83829f10f9aeea3e45668d7e275769f244d67e74e448deecd37abd0a0e3c4eefb945c9dce397e618911073 SHA512 77bb2898a63d3a4438d55775a55af852a90815f090bdb07889ea1743cbda7749cde2fef38ece073352303804852c9bcd1d296492a02a1334d4b5a00619b6ff0f |
26 |
|
27 |
diff --git a/gui-wm/phosh/files/0004-calls-manager.patch b/gui-wm/phosh/files/0004-calls-manager.patch |
28 |
index 419238ba4..8b7c8c88c 100644 |
29 |
--- a/gui-wm/phosh/files/0004-calls-manager.patch |
30 |
+++ b/gui-wm/phosh/files/0004-calls-manager.patch |
31 |
@@ -1,6 +1,17 @@ |
32 |
-diff --git a/src/calls-manager.c b/src/calls-manager.c |
33 |
-new file mode 100644 |
34 |
-index 00000000..b8ec2721 |
35 |
+diff --git a/src/shell.h b/src/shell.h |
36 |
+index 6465fd4..0d7c161 100644 |
37 |
+--- a/src/shell.h |
38 |
++++ b/src/shell.h |
39 |
+@@ -70,7 +70,9 @@ void phosh_shell_unlock (PhoshShell *self); |
40 |
+ void phosh_shell_set_primary_monitor (PhoshShell *self, PhoshMonitor *monitor); |
41 |
+ PhoshMonitor *phosh_shell_get_primary_monitor (PhoshShell *self); |
42 |
+ PhoshMonitor *phosh_shell_get_builtin_monitor (PhoshShell *self); |
43 |
++ |
44 |
+ PhoshLockscreenManager *phosh_shell_get_lockscreen_manager (PhoshShell *self); |
45 |
++PhoshCallsManager *phosh_shell_get_calls_manager (PhoshShell *self); |
46 |
+ PhoshBackgroundManager *phosh_shell_get_background_manager (PhoshShell *self); |
47 |
+ PhoshModeManager *phosh_shell_get_mode_manager (PhoshShell *self); |
48 |
+ PhoshMonitorManager *phosh_shell_get_monitor_manager (PhoshShell *self); |
49 |
--- /dev/null |
50 |
+++ b/src/calls-manager.c |
51 |
@@ -0,0 +1,418 @@ |
52 |
|
53 |
diff --git a/gui-wm/phosh/files/0005-calls-manager.patch b/gui-wm/phosh/files/0005-calls-manager.patch |
54 |
index 9eb3ed50c..ff9c3bb11 100644 |
55 |
--- a/gui-wm/phosh/files/0005-calls-manager.patch |
56 |
+++ b/gui-wm/phosh/files/0005-calls-manager.patch |
57 |
@@ -532,25 +532,5 @@ index c5894fde..2120e1f8 100644 |
58 |
PhoshWifiManager * |
59 |
phosh_shell_get_wifi_manager (PhoshShell *self) |
60 |
{ |
61 |
-diff --git a/src/shell.h b/src/shell.h |
62 |
-index 6465fd40..e0353f02 100644 |
63 |
---- a/src/shell.h |
64 |
-+++ b/src/shell.h |
65 |
-@@ -10,6 +10,7 @@ |
66 |
- |
67 |
- #include "background-manager.h" |
68 |
- #include "bt-manager.h" |
69 |
-+#include "calls-manager.h" |
70 |
- #include "docked-manager.h" |
71 |
- #include "feedback-manager.h" |
72 |
- #include "gtk-mount-manager.h" |
73 |
-@@ -77,6 +78,7 @@ PhoshBackgroundManager *phosh_shell_get_background_manager (PhoshShell *self); |
74 |
- PhoshFeedbackManager *phosh_shell_get_feedback_manager (PhoshShell *self); |
75 |
- PhoshGtkMountManager *phosh_shell_get_gtk_mount_manager (PhoshShell *self); |
76 |
- PhoshLockscreenManager *phosh_shell_get_lockscreen_manager (PhoshShell *self); |
77 |
-+PhoshCallsManager *phosh_shell_get_calls_manager (PhoshShell *self); |
78 |
- PhoshModeManager *phosh_shell_get_mode_manager (PhoshShell *self); |
79 |
- PhoshMonitorManager *phosh_shell_get_monitor_manager (PhoshShell *self); |
80 |
- PhoshToplevelManager *phosh_shell_get_toplevel_manager (PhoshShell *self); |
81 |
-- |
82 |
GitLab |
83 |
|
84 |
diff --git a/gui-wm/phosh/phosh-0.11.0.ebuild b/gui-wm/phosh/phosh-0.11.0.ebuild |
85 |
index 566efba2a..7007a1c28 100644 |
86 |
--- a/gui-wm/phosh/phosh-0.11.0.ebuild |
87 |
+++ b/gui-wm/phosh/phosh-0.11.0.ebuild |
88 |
@@ -9,7 +9,10 @@ MY_P="${PN}-v${PV}" |
89 |
|
90 |
DESCRIPTION="A pure Wayland shell prototype for GNOME on mobile devices" |
91 |
HOMEPAGE="https://source.puri.sm/Librem5/phosh" |
92 |
-SRC_URI="https://source.puri.sm/Librem5/phosh/-/archive/v0.11.0/${MY_P}.tar.gz" |
93 |
+SRC_URI=" |
94 |
+ https://source.puri.sm/Librem5/phosh/-/archive/v0.11.0/${MY_P}.tar.gz |
95 |
+ https://gitlab.gnome.org/GNOME/libgnome-volume-control/-/archive/c5ab6037f460406ac9799b1e5765de3ce0097a8b.tar.gz |
96 |
+" |
97 |
|
98 |
KEYWORDS="~amd64 ~arm64" |
99 |
LICENSE="GPL-3" |
100 |
@@ -35,8 +38,6 @@ BDEPEND=" |
101 |
dev-util/meson |
102 |
" |
103 |
|
104 |
-S="${WORKDIR}/${MY_P}" |
105 |
- |
106 |
PATCHES=( |
107 |
"${FILESDIR}"/0001-system-prompt-allow-blank-passwords.patch |
108 |
"${FILESDIR}"/0002-fix-locale-issue.patch |
109 |
@@ -46,9 +47,15 @@ PATCHES=( |
110 |
"${FILESDIR}"/0006-calls-manager.patch |
111 |
) |
112 |
|
113 |
+S="${WORKDIR}/${MY_P}" |
114 |
+ |
115 |
+MY_COMMIT="c5ab6037f460406ac9799b1e5765de3ce0097a8b" |
116 |
+ |
117 |
src_prepare() { |
118 |
default |
119 |
eapply_user |
120 |
+ rm -r "${S}"/subprojects/gvc || die |
121 |
+ mv "${WORKDIR}"/libgnome-volume-control-"${MY_COMMIT}" "${S}"/subprojects/gvc || die |
122 |
} |
123 |
|
124 |
src_install() { |