| Server IP : 185.11.201.71 / Your IP : 192.168.7.18 Web Server : Apache/2.4.29 (Ubuntu) System : Linux tech-virtual-machine 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 User : tech ( 1000) PHP Version : 7.4.28 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /snap/gnome-system-monitor/current/snap/ |
Upload File : |
name: gnome-system-monitor
adopt-info: gnome-system-monitor
summary: System Monitor
description: |
GNOME System Monitor is a GNOME process viewer and system monitor with
an attractive, easy-to-use interface, It has features, such as a tree
view for process dependencies, icons for processes, the ability to hide
processes that you don't want to see, graphical time histories of
CPU/memory/swap usage, the ability to kill/renice processes needing root
access, as well as the standard features that you might expect from a
process viewer.
grade: stable # must be 'stable' to release into candidate/stable channels
confinement: strict
base: core24
build-snaps:
- gnome-46-2404/latest/candidate
plugs:
run-systemd-sessions:
interface: system-files
read:
- /run/systemd/sessions
slots:
# for GtkApplication registration
gnome-system-monitor:
interface: dbus
bus: session
name: org.gnome.SystemMonitor
apps:
gnome-system-monitor:
extensions: [ gnome ]
command: usr/bin/gnome-system-monitor
plugs:
- unity7
- mount-observe
- network-observe
- hardware-observe
- system-observe
- process-control
- run-systemd-sessions
desktop: usr/share/applications/org.gnome.SystemMonitor.desktop
common-id: org.gnome.SystemMonitor.desktop
parts:
gnome-system-monitor:
# ext:updatesnap
source: https://gitlab.gnome.org/GNOME/gnome-system-monitor.git
source-type: git
source-tag: '48.1'
source-depth: 1
plugin: meson
parse-info: [usr/share/metainfo/gnome-system-monitor.metainfo.xml]
meson-parameters:
- --prefix=/snap/gnome-system-monitor/current/usr
- --buildtype=release
- -Dsystemd=true
organize:
snap/gnome-system-monitor/current/usr: usr
override-pull: |
craftctl default
craftctl set version=$(git describe --tags --abbrev=10)
sed -i.bak -e 's|Icon=@APP_ID@$|Icon=${SNAP}/meta/gui/org.gnome.SystemMonitor.svg|g' ./data/org.gnome.SystemMonitor.desktop.in.in
sed -i.bak -E -e 's|^(NotShowIn=.*)$|# \1|g' ./data/org.gnome.SystemMonitor.desktop.in.in
override-build: |
craftctl default
mkdir -p $CRAFT_PART_INSTALL/meta/gui/
cp $CRAFT_PART_BUILD/data/org.gnome.SystemMonitor.desktop $CRAFT_PART_INSTALL/meta/gui/
cp $CRAFT_PART_SRC/data/icons/public/hicolor/scalable/apps/org.gnome.SystemMonitor.svg $CRAFT_PART_INSTALL/meta/gui/
build-packages:
- catch2 # Renamed to libcatch2-dev after Ubuntu 24.04 LTS
- libgtop2-dev
- libsigc++-2.0-dev
- libsystemd-dev
- policykit-1
stage-packages:
- libsigc++-2.0-0v5
build-snaps:
- gnome-46-2404-sdk/latest/candidate
# workaround snapcraft trying to outsmart us by copying ldd listed libraries
libraries:
after: [gnome-system-monitor]
plugin: nil
stage-packages:
- libgtop-2.0-11
prime:
- "usr/lib/*/libgtop*"
- "usr/lib/*/libsigc-2.0.so.0*"
# Find files provided by the base and platform snap and ensure they aren't
# duplicated in this snap
cleanup:
after: [libraries]
plugin: nil
build-snaps: [core24, gnome-46-2404]
override-prime: |
set -eux
for snap in "core24" "gnome-46-2404"; do
cd "/snap/$snap/current" && find . -type f,l -exec rm -f "$CRAFT_PRIME/{}" \;
done