Compare commits
6 Commits
Author | SHA1 | Date | |
---|---|---|---|
8e175d173b | |||
908676a19c | |||
1088204cf4 | |||
03b4b01e7d | |||
f12160c2f3 | |||
9d8c1a8895 |
0
snap/hooks/disconnect-plug-host-hunspell
Normal file → Executable file
0
snap/hooks/disconnect-plug-host-hunspell
Normal file → Executable file
4
snap/hooks/install
Normal file → Executable file
4
snap/hooks/install
Normal file → Executable file
@@ -1 +1,3 @@
|
|||||||
post-refresh
|
#!/bin/sh
|
||||||
|
dir=$(dirname -- $(readlink -f $0))
|
||||||
|
${dir}/post-refresh
|
||||||
|
0
snap/hooks/post-refresh
Normal file → Executable file
0
snap/hooks/post-refresh
Normal file → Executable file
@@ -3,7 +3,7 @@
|
|||||||
# GNU General Public License version 3
|
# GNU General Public License version 3
|
||||||
|
|
||||||
name: zen-browser
|
name: zen-browser
|
||||||
version: 1.14.11b
|
version: 1.15.2b
|
||||||
license: MPL-2.0
|
license: MPL-2.0
|
||||||
summary: Zen Browser - Welcome to a calmer internet
|
summary: Zen Browser - Welcome to a calmer internet
|
||||||
description: |
|
description: |
|
||||||
@@ -28,6 +28,7 @@ apps:
|
|||||||
SPA_PLUGIN_DIR: "$SNAP/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/spa-0.2"
|
SPA_PLUGIN_DIR: "$SNAP/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/spa-0.2"
|
||||||
SPEECHD_ADDRESS: "unix_socket:/run/user/$SNAP_UID/speech-dispatcher/speechd.sock"
|
SPEECHD_ADDRESS: "unix_socket:/run/user/$SNAP_UID/speech-dispatcher/speechd.sock"
|
||||||
LD_LIBRARY_PATH: $LD_LIBRARY_PATH:$SNAP/usr/lib:$SNAP/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR:$SNAP/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/libproxy
|
LD_LIBRARY_PATH: $LD_LIBRARY_PATH:$SNAP/usr/lib:$SNAP/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR:$SNAP/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/libproxy
|
||||||
|
MOZ_APP_REMOTINGNAME: zen-browser_zen-browser
|
||||||
slots:
|
slots:
|
||||||
- mpris
|
- mpris
|
||||||
- dbus-daemon
|
- dbus-daemon
|
||||||
@@ -52,7 +53,7 @@ apps:
|
|||||||
- opengl
|
- opengl
|
||||||
- pcscd
|
- pcscd
|
||||||
- removable-media
|
- removable-media
|
||||||
- screen-inhibits-control
|
# - screen-inhibits-control
|
||||||
- system-packages-doc
|
- system-packages-doc
|
||||||
- u2f-devices
|
- u2f-devices
|
||||||
- unity7
|
- unity7
|
||||||
@@ -116,7 +117,6 @@ parts:
|
|||||||
after:
|
after:
|
||||||
- launcher
|
- launcher
|
||||||
- desktop
|
- desktop
|
||||||
- icons
|
|
||||||
build-packages:
|
build-packages:
|
||||||
- curl
|
- curl
|
||||||
- tar
|
- tar
|
||||||
@@ -124,58 +124,21 @@ parts:
|
|||||||
mkdir -p "$CRAFT_PART_INSTALL/usr/lib"
|
mkdir -p "$CRAFT_PART_INSTALL/usr/lib"
|
||||||
curl -L -O https://github.com/zen-browser/desktop/releases/download/$SNAPCRAFT_PROJECT_VERSION/zen.linux-x86_64.tar.xz
|
curl -L -O https://github.com/zen-browser/desktop/releases/download/$SNAPCRAFT_PROJECT_VERSION/zen.linux-x86_64.tar.xz
|
||||||
tar xf zen.linux-x86_64.tar.xz -C "$CRAFT_PART_INSTALL/usr/lib"
|
tar xf zen.linux-x86_64.tar.xz -C "$CRAFT_PART_INSTALL/usr/lib"
|
||||||
|
organize:
|
||||||
|
usr/lib/zen/browser/chrome/icons/default/default16.png: usr/share/icons/hicolor/16x16/apps/zen-browser.png
|
||||||
|
usr/lib/zen/browser/chrome/icons/default/default32.png: usr/share/icons/hicolor/32x32/apps/zen-browser.png
|
||||||
|
usr/lib/zen/browser/chrome/icons/default/default48.png: usr/share/icons/hicolor/48x48/apps/zen-browser.png
|
||||||
|
usr/lib/zen/browser/chrome/icons/default/default64.png: usr/share/icons/hicolor/64x64/apps/zen-browser.png
|
||||||
|
usr/lib/zen/browser/chrome/icons/default/default128.png: usr/share/icons/hicolor/128x128/apps/zen-browser.png
|
||||||
prime:
|
prime:
|
||||||
- usr/lib/zen
|
- usr/lib/zen
|
||||||
|
- usr/share/icons/*
|
||||||
- usr/lib/*/libproxy
|
- usr/lib/*/libproxy
|
||||||
- usr/lib/*/opensc-pkcs11.so
|
|
||||||
- usr/lib/*/pkcs11/opensc-pkcs11.so
|
|
||||||
- usr/lib/*/libasn1.so.*
|
|
||||||
- usr/lib/*/libcurl.so.*
|
|
||||||
- usr/lib/*/libgssapi.so.*
|
|
||||||
- usr/lib/*/libhcrypto.so.*
|
|
||||||
- usr/lib/*/libheimbase.so.*
|
|
||||||
- usr/lib/*/libheimntlm.so.*
|
|
||||||
- usr/lib/*/libhogweed.so.*
|
|
||||||
- usr/lib/*/libhx509.so.*
|
|
||||||
- usr/lib/*/libkrb5.so.*
|
|
||||||
- usr/lib/*/liblber-2.4.so.*
|
|
||||||
- usr/lib/*/libldap_r-2.4.so.*
|
|
||||||
- usr/lib/*/libnettle.so.*
|
|
||||||
- usr/lib/*/libnghttp2.so.*
|
|
||||||
- usr/lib/*/libpci.so.*
|
- usr/lib/*/libpci.so.*
|
||||||
- usr/lib/*/libpipewire*.so*
|
|
||||||
- usr/lib/*/libroken.so.*
|
|
||||||
- usr/lib/*/librtmp.so.*
|
|
||||||
- usr/lib/*/libsasl2.so.*
|
|
||||||
- usr/lib/*/libspeechd.so.*
|
|
||||||
- usr/lib/*/libssh.so.*
|
|
||||||
- usr/lib/*/libssl.so.*
|
|
||||||
- usr/lib/*/libvulkan*
|
|
||||||
- usr/lib/*/libVkLayer*
|
|
||||||
- usr/lib/*/libwind.so.*
|
|
||||||
- usr/lib/*/libXt.so.*
|
|
||||||
- usr/lib/*/pipewire-*
|
|
||||||
- usr/lib/*/spa-*
|
|
||||||
# alsa does not seem to be found
|
|
||||||
# - usr/share/alsa
|
|
||||||
- usr/share/pipewire
|
|
||||||
- usr/share/vulkan
|
|
||||||
stage-packages:
|
stage-packages:
|
||||||
- libproxy1v5
|
- libproxy1v5
|
||||||
- glib-networking
|
- glib-networking
|
||||||
- libasound2
|
|
||||||
- libcurl4
|
|
||||||
- libpci3
|
- libpci3
|
||||||
- libpipewire-0.3-0
|
|
||||||
- libpipewire-0.3-modules
|
|
||||||
- libspa-0.2-modules
|
|
||||||
- libspeechd2
|
|
||||||
- libvulkan1
|
|
||||||
- libxt6
|
|
||||||
- mesa-vulkan-drivers
|
|
||||||
- pipewire-bin
|
|
||||||
- pipewire-pulse
|
|
||||||
- opensc-pkcs11
|
|
||||||
|
|
||||||
desktop:
|
desktop:
|
||||||
plugin: dump
|
plugin: dump
|
||||||
@@ -188,27 +151,6 @@ parts:
|
|||||||
override-prime: |
|
override-prime: |
|
||||||
cp "$CRAFT_PROJECT_DIR/zen-browser.launcher" "$CRAFT_PRIME/"
|
cp "$CRAFT_PROJECT_DIR/zen-browser.launcher" "$CRAFT_PRIME/"
|
||||||
chmod a+rwx "$CRAFT_PRIME/zen-browser.launcher"
|
chmod a+rwx "$CRAFT_PRIME/zen-browser.launcher"
|
||||||
|
|
||||||
icons:
|
|
||||||
plugin: nil
|
|
||||||
build-packages:
|
|
||||||
- inkscape
|
|
||||||
- curl
|
|
||||||
override-build: |
|
|
||||||
curl -L -O https://raw.githubusercontent.com/zen-browser/desktop/refs/heads/dev/docs/assets/zen-dark.svg
|
|
||||||
inkscape -w 16 -h 16 "$SNAPCRAFT_PART_BUILD/zen-dark.svg" -o "$CRAFT_PART_INSTALL/16.png"
|
|
||||||
inkscape -w 32 -h 32 "$SNAPCRAFT_PART_BUILD/zen-dark.svg" -o "$CRAFT_PART_INSTALL/32.png"
|
|
||||||
inkscape -w 48 -h 48 "$SNAPCRAFT_PART_BUILD/zen-dark.svg" -o "$CRAFT_PART_INSTALL/48.png"
|
|
||||||
inkscape -w 64 -h 64 "$SNAPCRAFT_PART_BUILD/zen-dark.svg" -o "$CRAFT_PART_INSTALL/64.png"
|
|
||||||
inkscape -w 128 -h 128 "$SNAPCRAFT_PART_BUILD/zen-dark.svg" -o "$CRAFT_PART_INSTALL/128.png"
|
|
||||||
organize:
|
|
||||||
16.png: usr/share/icons/hicolor/16x16/apps/zen-browser.png
|
|
||||||
32.png: usr/share/icons/hicolor/32x32/apps/zen-browser.png
|
|
||||||
48.png: usr/share/icons/hicolor/48x48/apps/zen-browser.png
|
|
||||||
64.png: usr/share/icons/hicolor/64x64/apps/zen-browser.png
|
|
||||||
128.png: usr/share/icons/hicolor/128x128/apps/zen-browser.png
|
|
||||||
prime:
|
|
||||||
- usr/share/icons/*
|
|
||||||
|
|
||||||
slots:
|
slots:
|
||||||
dbus-daemon:
|
dbus-daemon:
|
||||||
@@ -219,3 +161,5 @@ slots:
|
|||||||
hooks:
|
hooks:
|
||||||
post-refresh:
|
post-refresh:
|
||||||
plugs: [host-usr-share-hunspell]
|
plugs: [host-usr-share-hunspell]
|
||||||
|
install:
|
||||||
|
plugs: [host-usr-share-hunspell]
|
||||||
|
@@ -1,26 +1,28 @@
|
|||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
Version=1.14.11b
|
Version=1.14.11b
|
||||||
Name=Zen Browser
|
Name=Zen Browser
|
||||||
GenericName=Web Browser
|
Exec=/usr/lib/zen/zen-browser.launcher %U
|
||||||
Comment=Welcome to a calmer internet
|
|
||||||
Keywords=Internet;WWW;Browser;Web;Explorer
|
|
||||||
Exec=/usr/lib/zen/zen-bin %U
|
|
||||||
Icon=/usr/share/icons/hicolor/128x128/apps/zen-browser.png
|
Icon=/usr/share/icons/hicolor/128x128/apps/zen-browser.png
|
||||||
Terminal=false
|
|
||||||
Type=Application
|
Type=Application
|
||||||
MimeType=text/html;text/xml;application/xhtml+xml;x-scheme-handler/http;x-scheme-handler/https;application/x-xpinstall;application/pdf;application/json;
|
MimeType=text/html;text/xml;application/xhtml+xml;x-scheme-handler/http;x-scheme-handler/https;application/x-xpinstall;application/pdf;application/json;
|
||||||
StartupWMClass=Zen Browser
|
StartupWMClass=zen
|
||||||
Categories=Network;WebBrowser;
|
Categories=Network;WebBrowser;
|
||||||
|
StartupNotify=true
|
||||||
|
Terminal=false
|
||||||
|
X-MultipleArgs=false
|
||||||
|
Keywords=Internet;WWW;Browser;Web;Explorer
|
||||||
Actions=new-window;new-private-window;profile-manager-window;
|
Actions=new-window;new-private-window;profile-manager-window;
|
||||||
|
GenericName=Web Browser
|
||||||
|
Comment=Welcome to a calmer internet
|
||||||
|
|
||||||
[Desktop Action new-window]
|
[Desktop Action new-window]
|
||||||
Name=Open a New Window
|
Name=Open a New Window
|
||||||
Exec=/usr/lib/zen/zen-bin --new-window %u
|
Exec=/usr/lib/zen/zen-browser.launcher %u
|
||||||
|
|
||||||
[Desktop Action new-private-window]
|
[Desktop Action new-private-window]
|
||||||
Name=Open a New Private Window
|
Name=Open a New Private Window
|
||||||
Exec=/usr/lib/zen/zen-bin --private-window %u
|
Exec=/usr/lib/zen/zen-browser.launcher --private-window %u
|
||||||
|
|
||||||
[Desktop Action profile-manager-window]
|
[Desktop Action profile-manager-window]
|
||||||
Name=Open the Profile Manager
|
Name=Open the Profile Manager
|
||||||
Exec=/usr/lib/zen/zen-bin --ProfileManager %u
|
Exec=/usr/lib/zen/zen-browser.launcher --ProfileManager %u
|
@@ -1 +1,4 @@
|
|||||||
exec "$SNAP/usr/lib/zen/zen-bin" "$@"
|
#!/bin/bash
|
||||||
|
export TMPDIR=$XDG_CACHE_HOME/tmp
|
||||||
|
|
||||||
|
exec "$SNAP/usr/lib/zen/zen" "$@"
|
Reference in New Issue
Block a user