user/gram: new package - #5506
Conversation
|
Marking as draft until gram 2.0.0 comes out (sooner than later, I think) |
|
is there a purpose behind this still being drafted? |
| From 08d6a96f2a899b4b32e564b4a19195750ef077f7 Mon Sep 17 00:00:00 2001 | ||
| From: ItsHarper <git-f4cbe@harperandrews.org> | ||
| Date: Sun, 10 May 2026 13:15:33 -0400 | ||
| Subject: show pkgrel on about modal |
There was a problem hiding this comment.
if this is solely about showing pkgrel, i don't think we need it and can drop it
| pkgrel = 0 | ||
| build_style = "cargo" | ||
| make_env = { | ||
| "RELEASE_VERSION": f"{pkgver}-chimera-linux-r{pkgrel}", |
| "sqlite-devel", | ||
| "zstd-devel", | ||
| ] | ||
| pkgdesc = "Code editor for humanoid apes and grumpy toads, forked from Zed" |
| "usr/share/applications", | ||
| name="app.liten.Gram.desktop", | ||
| ) | ||
| self.install_license("LICENSE-GPL") |
There was a problem hiding this comment.
it's unnecessary to install the GPL
| self.install_file( | ||
| "crates/gram/resources/app-icon.png", | ||
| "usr/share/icons/hicolor/512x512/apps", | ||
| name="app.liten.Gram.png", | ||
| ) | ||
| self.install_file( | ||
| "crates/gram/resources/app-icon@2x.png", | ||
| "usr/share/icons/hicolor/1024x1024/apps", | ||
| name="app.liten.Gram.png", | ||
| ) |
There was a problem hiding this comment.
please use the scalable app icon as in https://codeberg.org/GramEditor/gram/commit/76a368e0397a01141bbe7f7f13616cb70e5d8347#diff-89b78e428e295773d6e28127128e2a92d4beaea1 following upstream
don't install the png ones as they are different
follow the upstream naming as well, which will need adjustment for the .desktop file patch
| url = "https://gram-editor.com" | ||
| source = f"https://codeberg.org/GramEditor/gram/archive/{pkgver}.tar.gz" | ||
| sha256 = "091e2788a31261e76c01c272bdb9b4f53a3106a4c9e16dfa1318fb916e50e5bf" | ||
| # TODO(Harper): Patch message "Installation from source URL requires rustup to be installed" |
There was a problem hiding this comment.
this should be a simple change in crates/extensions_ui/src/extension_suggest.rs
| source = f"https://codeberg.org/GramEditor/gram/archive/{pkgver}.tar.gz" | ||
| sha256 = "091e2788a31261e76c01c272bdb9b4f53a3106a4c9e16dfa1318fb916e50e5bf" | ||
| # TODO(Harper): Patch message "Installation from source URL requires rustup to be installed" | ||
| # TODO(Harper): Patch in extension compilation errors that explain which packages to install |
Description
Gram is an anti-AI, anti-auto-download, hard fork of the Zed editor that also strips out the collaboration features (which may come back later in the form of Teamtype integration, with no WebRTC complexity or chat/calling features).
For more details, see these links:
https://gram.liten.app/docs/
https://gram.liten.app/docs/mission/
Checklist
Before this pull request is reviewed, certain conditions must be met.
The following must be true for all changes:
The following must be true for template/package changes:
The following must be true for new package submissions: