Skip to content

user/gram: new package - #5506

Draft
ItsHarper wants to merge 1 commit into
chimera-linux:masterfrom
ItsHarper:add/gram
Draft

user/gram: new package#5506
ItsHarper wants to merge 1 commit into
chimera-linux:masterfrom
ItsHarper:add/gram

Conversation

@ItsHarper

@ItsHarper ItsHarper commented May 2, 2026

Copy link
Copy Markdown
Contributor

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:

  • I have read CONTRIBUTING.md
  • I acknowledge that overtly not following the above or the below will result in my pull request getting closed

The following must be true for template/package changes:

  • I have read Packaging.md
  • I have built and tested my changes on my machine

The following must be true for new package submissions:

  • I will take responsibility for my template and keep it up to date

@ItsHarper

Copy link
Copy Markdown
Contributor Author

Marking as draft until gram 2.0.0 comes out (sooner than later, I think)

@q66

q66 commented Jul 23, 2026

Copy link
Copy Markdown
Member

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

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if this is solely about showing pkgrel, i don't think we need it and can drop it

Comment thread user/gram/template.py
pkgrel = 0
build_style = "cargo"
make_env = {
"RELEASE_VERSION": f"{pkgver}-chimera-linux-r{pkgrel}",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

related to the above comment

Comment thread user/gram/template.py
"sqlite-devel",
"zstd-devel",
]
pkgdesc = "Code editor for humanoid apes and grumpy toads, forked from Zed"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Text editor forked from Zed

Comment thread user/gram/template.py
"usr/share/applications",
name="app.liten.Gram.desktop",
)
self.install_license("LICENSE-GPL")

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's unnecessary to install the GPL

Comment thread user/gram/template.py
Comment on lines +59 to +68
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",
)

@q66 q66 Jul 23, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Comment thread user/gram/template.py
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"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should be a simple change in crates/extensions_ui/src/extension_suggest.rs

Comment thread user/gram/template.py
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

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i don't think this is necessary

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants