mirror of
https://github.com/stan220/flathub.git
synced 2026-09-08 15:28:56 +00:00
Add io.github.filegram.Filegram
This commit is contained in:
+6664
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,10 @@
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=Filegram
|
||||
Comment=Disk space analyzer with an interactive treemap
|
||||
Exec=filegram
|
||||
Icon=io.github.filegram.Filegram
|
||||
Terminal=false
|
||||
Categories=Utility;System;Filesystem;
|
||||
Keywords=disk;space;usage;treemap;analyzer;
|
||||
StartupWMClass=filegram
|
||||
@@ -0,0 +1,64 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<component type="desktop-application">
|
||||
<id>io.github.filegram.Filegram</id>
|
||||
|
||||
<name>Filegram</name>
|
||||
<summary>Disk space analyzer with an interactive treemap</summary>
|
||||
|
||||
<metadata_license>CC0-1.0</metadata_license>
|
||||
<project_license>MIT</project_license>
|
||||
|
||||
<developer id="io.github.filegram">
|
||||
<name>Filegram</name>
|
||||
</developer>
|
||||
|
||||
<description>
|
||||
<p>
|
||||
Filegram scans a directory tree and visualizes disk usage as an
|
||||
interactive treemap, making it easy to spot what takes up space.
|
||||
</p>
|
||||
<p>Features:</p>
|
||||
<ul>
|
||||
<li>Fast parallel scan of any folder or whole disk</li>
|
||||
<li>Interactive treemap — zoom into folders and drill down to files</li>
|
||||
<li>Move large files and folders to the trash without leaving the app</li>
|
||||
<li>Reveal any item in your file manager</li>
|
||||
<li>Light and dark themes</li>
|
||||
</ul>
|
||||
</description>
|
||||
|
||||
<launchable type="desktop-id">io.github.filegram.Filegram.desktop</launchable>
|
||||
|
||||
<categories>
|
||||
<category>Utility</category>
|
||||
<category>System</category>
|
||||
<category>Filesystem</category>
|
||||
</categories>
|
||||
|
||||
<keywords>
|
||||
<keyword>disk</keyword>
|
||||
<keyword>space</keyword>
|
||||
<keyword>usage</keyword>
|
||||
<keyword>treemap</keyword>
|
||||
<keyword>analyzer</keyword>
|
||||
</keywords>
|
||||
|
||||
<screenshots>
|
||||
<screenshot type="default">
|
||||
<caption>The treemap view of a scanned directory</caption>
|
||||
<image>https://raw.githubusercontent.com/filegram/filegram-desktop/master/packaging/flatpak/screenshot.png</image>
|
||||
</screenshot>
|
||||
</screenshots>
|
||||
|
||||
<url type="homepage">https://github.com/filegram/filegram-desktop</url>
|
||||
<url type="bugtracker">https://github.com/filegram/filegram-desktop/issues</url>
|
||||
<url type="vcs-browser">https://github.com/filegram/filegram-desktop</url>
|
||||
|
||||
<content_rating type="oars-1.1" />
|
||||
|
||||
<releases>
|
||||
<release version="0.2.5" date="2026-06-15">
|
||||
<url type="details">https://github.com/filegram/filegram-desktop/releases/tag/v0.2.5</url>
|
||||
</release>
|
||||
</releases>
|
||||
</component>
|
||||
@@ -0,0 +1,63 @@
|
||||
# Flatpak manifest for Filegram, built from source for Flathub.
|
||||
#
|
||||
# Flathub builds run offline, so every Cargo dependency is vendored into
|
||||
# cargo-sources.json (regenerate with ./generate-cargo-sources.sh on a bump).
|
||||
# The metainfo and the app-id-named desktop file are carried here rather than
|
||||
# pulled from the tagged source tree, so a release tag needs no Flatpak-aware
|
||||
# changes to be packageable.
|
||||
id: io.github.filegram.Filegram
|
||||
runtime: org.freedesktop.Platform
|
||||
runtime-version: '24.08'
|
||||
sdk: org.freedesktop.Sdk
|
||||
sdk-extensions:
|
||||
- org.freedesktop.Sdk.Extension.rust-stable
|
||||
command: filegram
|
||||
|
||||
finish-args:
|
||||
# GPU-accelerated rendering (iced/wgpu) on Wayland with an X11 fallback.
|
||||
- --socket=wayland
|
||||
- --socket=fallback-x11
|
||||
- --share=ipc
|
||||
- --device=dri
|
||||
# A disk-usage analyzer must read the whole tree it is pointed at, and
|
||||
# moving files to the trash needs to write there too. Same scope as Baobab.
|
||||
- --filesystem=host
|
||||
# "Reveal in file manager" (opener) and "open" of files/URLs go through the
|
||||
# portal-backed file manager interface.
|
||||
- --talk-name=org.freedesktop.FileManager1
|
||||
|
||||
build-options:
|
||||
append-path: /usr/lib/sdk/rust-stable/bin
|
||||
env:
|
||||
CARGO_HOME: /run/build/filegram/cargo
|
||||
build-args:
|
||||
- --share=network=false
|
||||
|
||||
modules:
|
||||
- name: filegram
|
||||
buildsystem: simple
|
||||
build-commands:
|
||||
- cargo --offline build --release --verbose
|
||||
- install -Dm755 target/release/filegram /app/bin/filegram
|
||||
# App-id-named desktop entry + AppStream metainfo (carried in this repo).
|
||||
- install -Dm644 io.github.filegram.Filegram.desktop
|
||||
/app/share/applications/io.github.filegram.Filegram.desktop
|
||||
- install -Dm644 io.github.filegram.Filegram.metainfo.xml
|
||||
/app/share/metainfo/io.github.filegram.Filegram.metainfo.xml
|
||||
# Icons, renamed to the app id at every packaged size.
|
||||
- install -Dm644 assets/icon/icon.svg
|
||||
/app/share/icons/hicolor/scalable/apps/io.github.filegram.Filegram.svg
|
||||
- for s in 16 32 48 64 128 256 512; do
|
||||
install -Dm644 "assets/icon/icon-$s.png"
|
||||
"/app/share/icons/hicolor/${s}x${s}/apps/io.github.filegram.Filegram.png";
|
||||
done
|
||||
sources:
|
||||
- type: git
|
||||
url: https://github.com/filegram/filegram-desktop.git
|
||||
tag: v0.2.5
|
||||
commit: 2a2b971eec3f5e1f11d852c549fc3dba7f75729d
|
||||
- cargo-sources.json
|
||||
- type: file
|
||||
path: io.github.filegram.Filegram.desktop
|
||||
- type: file
|
||||
path: io.github.filegram.Filegram.metainfo.xml
|
||||
Reference in New Issue
Block a user