Skip to content

Commit 2c3bb6c

Browse files
committed
geph: remove geph5-client-gui
geph-official/geph5@f2221fb
1 parent 7f30577 commit 2c3bb6c

File tree

3 files changed

+6
-66
lines changed

3 files changed

+6
-66
lines changed

nixos/doc/manual/release-notes/rl-2605.section.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ of pulling the upstream container image from Docker Hub. If you want the old beh
5555

5656
- `services.pingvin-share` has been removed as the `pingvin-share.backend` package was broken and the project was archived upstream.
5757

58+
- `geph` package's built-in GUI `geph5-client-gui` has been [removed](https://github.com/geph-official/geph5/commit/f2221fb8386312daf2cef05483ebb353ff48bdb4) by the upstream. All users who wish to continue using the GUI should install the `gephgui-wry`, which is consistent with the official release version.
59+
5860
## Other Notable Changes {#sec-release-26.05-notable-changes}
5961

6062
<!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. -->

pkgs/by-name/ge/geph/package.nix

Lines changed: 4 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,11 @@
33
rustPlatform,
44
fetchFromGitHub,
55
pkg-config,
6-
libxkbcommon,
76
openssl,
87
rust-jemalloc-sys-unprefixed,
98
sqlite,
10-
vulkan-loader,
11-
wayland,
129
iproute2,
1310
iptables,
14-
libglvnd,
15-
copyDesktopItems,
16-
makeDesktopItem,
1711
nix-update-script,
1812
}:
1913
let
@@ -24,29 +18,23 @@ let
2418
in
2519
rustPlatform.buildRustPackage (finalAttrs: {
2620
pname = "geph5";
27-
version = "0.2.86";
21+
version = "0.2.93";
2822

2923
src = fetchFromGitHub {
3024
owner = "geph-official";
3125
repo = "geph5";
3226
rev = "geph5-client-v${finalAttrs.version}";
33-
hash = "sha256-68b6czefoqLskdqhc9kDIoS8eDCKu56lqvX8Jz47C3k=";
27+
hash = "sha256-ZYcGW6Ssauf5BUs75KBV+4Zub2ZCVN29cWTxeNi87cI=";
3428
};
3529

36-
cargoHash = "sha256-CoYnP83Ci5Jp3Hunm2+xdXBu0mlhADf4jyfLSIXZ0jI=";
30+
cargoHash = "sha256-0Ml8tgWghxhDJzUMMD+YGwy3fyFjKcNjbV8MDJW8rZk=";
3731

3832
postPatch = ''
3933
substituteInPlace binaries/geph5-client/src/vpn/*.sh \
4034
--replace-fail 'PATH=' 'PATH=${binPath}:'
41-
42-
# This setting is dumped from https://github.com/geph-official/gephgui-wry/blob/a85a632448e548f69f9d1eea3d06a4bdc8be3d57/src/daemon.rs#L230
43-
cat ${./settings_default.yaml} | base32 -w 0 | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ234567' '0123456789ABCDEFGHJKMNPQRSTVWXYZ' | sed 's/=//g' > binaries/geph5-client-gui/src/settings_default.yaml.base32
4435
'';
4536

46-
nativeBuildInputs = [
47-
pkg-config
48-
copyDesktopItems
49-
];
37+
nativeBuildInputs = [ pkg-config ];
5038

5139
buildInputs = [
5240
openssl
@@ -75,33 +63,6 @@ rustPlatform.buildRustPackage (finalAttrs: {
7563
"--skip=tests::ping_pong"
7664
];
7765

78-
desktopItems = [
79-
(makeDesktopItem {
80-
name = "Geph5";
81-
desktopName = "Geph5";
82-
icon = "geph5";
83-
exec = "geph5-client-gui";
84-
categories = [ "Network" ];
85-
comment = "Modular Internet censorship circumvention system designed specifically to deal with national filtering";
86-
})
87-
];
88-
89-
postInstall = ''
90-
install -m 444 -D binaries/geph5-client-gui/icon.png $out/share/icons/hicolor/512x512/apps/geph5.png
91-
'';
92-
93-
postFixup = ''
94-
# Add required but not explicitly requested libraries
95-
patchelf --add-rpath '${
96-
lib.makeLibraryPath [
97-
wayland
98-
libxkbcommon
99-
vulkan-loader
100-
libglvnd
101-
]
102-
}' "$out/bin/geph5-client-gui"
103-
'';
104-
10566
passthru.updateScript = nix-update-script {
10667
extraArgs = [
10768
"--version-regex"

pkgs/by-name/ge/geph/settings_default.yaml

Lines changed: 0 additions & 23 deletions
This file was deleted.

0 commit comments

Comments
 (0)