Prepare extra files for the PKGBUILD install #44
Labels
No labels
blocked
duplicate
high priority
needs
approval
needs
criteria
needs
estimate
needs
tests
question
step
doing
step
review
step
testing
step
todo
step
uat
type
admin
type
alert
type
bug
type
change
type
defect
type
dependencies
type
development
type
documentation
type
epic
type
idea
type
incident
type
investigation
type
spike
type
story
type
tests
won't fix
No project
No assignees
1 participant
Notifications
Total time spent: 57 seconds
Due date
Smithy-bot
57 seconds
No due date set.
Dependencies
No dependencies set
Reference
RabbitLabs/calculator#44
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Part of milestone 0.1.0 — desktop integration for the Arch
vyxcalcpackage (PKGBUILDonrelease/0.1.0).Context: The GUI already defines
APP_ID/ icon namecom.vylpes.vyxcalcand embedsassets/icon.png(src/gui.rs). Today’sPKGBUILDonly installs/usr/bin/vyxcalcand the license. #20 notes the.desktoplauncher is this packaged flow’s job.User story
AS a Linux user who installed
vyxcalcfrom the Arch packageI WANT a desktop launcher and system-wide application icon
SO THAT I can start the calculator from my desktop environment’s app menu with correct branding.
Acceptance criteria
Desktop entry in repo
GIVEN the calculator repository
WHEN packaging assets are reviewed
THEN a Freedesktop
.desktopfile is versioned in the repo (e.g. besidePKGBUILDor underpackaging/) including at minimum:Type=Application,Name,Comment,Exec=vyxcalc,Icon=com.vylpes.vyxcalc,CategoriescontainingCalculator, andTerminal=false.Install desktop entry
GIVEN a successful package build from the updated
PKGBUILDWHEN the
vyxcalcpackage is installedTHEN the
.desktopfile is installed under/usr/share/applications/as e.g.com.vylpes.vyxcalc.desktopwith file mode644.Install icon system-wide
GIVEN
assets/icon.pngin the repositoryWHEN the package is installed
THEN the icon is installed to
/usr/share/icons/hicolor/128x128/apps/com.vylpes.vyxcalc.png(matching GUIICON_NAME), file mode644.Launcher behaviour
GIVEN the package is installed on a GTK-based desktop
WHEN the user launches Vyxcalc from the application menu
THEN the GUI opens (equivalent to running
vyxcalcwith no subcommand — default GUI inmain.rs).Launcher icon
GIVEN the package is installed
WHEN the app entry appears in the application menu
THEN it shows the
com.vylpes.vyxcalcicon (not a missing/generic placeholder).Existing install steps unchanged
GIVEN the current
vyxcalcpackageWHEN this change is delivered
THEN installation of
/usr/bin/vyxcalcand/usr/share/licenses/vyxcalc/LICENSEbehaves as today.Production pipeline
GIVEN the Forgejo production workflow builds the Arch package from
PKGBUILDon tagWHEN this work is on the release branch used for builds
THEN
makepkg/ the publish job still succeeds and the produced package contains the new desktop and icon files.Subtasks
com.vylpes.vyxcalc.desktopsource filePKGBUILDpackage()to install the.desktopfilePKGBUILDpackage()to installassets/icon.pnginto hicolor128x128/appsExec,Icon, binary name, and GUIICON_NAMEall align (vyxcalc/com.vylpes.vyxcalc)Notes
.desktopfor DE integration + system-wide icon install.128x128are optional unless product wants multi-size icons later.