-
Notifications
You must be signed in to change notification settings - Fork 629
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deb package for debian-base distro #4092
Conversation
Can you try to output what the found version is, if it's not v1.0.0? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should read this, Ghostty does not plan on supporting packages built in the repo for Linux
deb/build.sh
Outdated
# Step 6: Create .desktop file for application menu/search | ||
echo "Creating .desktop file..." | ||
DESKTOP_FILE="$DESKTOP_DIR/$APP_NAME.desktop" | ||
cat <<EOF > "$DESKTOP_FILE" | ||
[Desktop Entry] | ||
Version=1.0 | ||
Name=Ghostty | ||
Comment=A fast, feature-rich, and cross-platform terminal emulator that uses platform-native UI and GPU acceleration. | ||
Exec=$APP_NAME | ||
Icon=$APP_NAME | ||
Terminal=true | ||
Type=Application | ||
Categories=Utility;System; | ||
EOF |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is already packaged with ghostty
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
so this means i dont have to create a .desktop file myself, Just copy from this and use right?
FInallyyyyyy got everything working😭, now its building on github-actions im getting a deb file for amd64 architecture. |
I've packaged ghostty for debian if anyone wants to reference it. https://github.com/clayrisser/debian-ghostty The I worked around the above issues by using the pre-built binaries in the https://github.com/clayrisser/debian-ghostty/tree/debian/bookworm/debian/prebuilt |
Closing pr, because deb package is already made for ghostty. |
[DO NOT APPROVE TO RUN WORKFLOW]
I have created this
deb/build.sh
script by which we can build a .deb package which will install ghostty binary in/usr/bin/ghostty
and desktop app in/usr/share/applications/ghostty
. The main problem with this is i need help in github-actions. I am not very good at it.I tried to run it in my repo and im getting this error, i looked the code in build.zig it checks whether its a git repo if yes then checks for
v1.0.0
, i tried everything still getting error in that.Need help in this part.