feat(phase-1/m5.3): packaging wired — derived version, icon/.desktop, image smoke, HiDPI+Wayland verdicts
packageVersion derived from app versionName (0.4.2.0 -> 0.4.2; printPackageVersion task). packaging/icon.png + packaging/incido.desktop template ship the icon (1.7.3 DSL exposes no iconFile — recorded). Image smoke caught a REAL bug: jlink runtime lacked jdk.unsupported, DataStore protobuf died on sun/misc.Unsafe only inside the image; fixed via modules.add. createDistributable re-verified: 171 MB image, bin/incido --self-test inside it rc=0. HiDPI: sun.java2d.uiScale=2 doubles requested geometry (screen-clamp proves it). Native Wayland: AWT probe on JDK17 AND 27 both resolve X11 XToolkit — stays XWayland; JBR bundling is Phase 2. New §3 traps + M5.3 run log recorded. Verify: :desktopApp:createDistributable (SUCCESSFUL, 171 MB); image bin/incido --data-dir /tmp/incido-img-smoke --self-test --exit-after 6 (SELFTEST id=1, RENDER notes=1, rc=0); :desktopApp:run --keys-smoke KEYS ALL-OK; :core:data-jvm:smoke M1a PASS; assembleDebug SUCCESSFUL.
This commit is contained in:
1 parent
0cad7729aa
commit
c894321fdf
5 files changed
+117
-4
No files matched your search
Binary file not shown.
|
After Width: | Height: | Size: 489 KiB |
@@ -0,0 +1,28 @@
|
||||
# Incido desktop entry — M5.3.
|
||||
#
|
||||
# deb/rpm installs get their own auto-generated .desktop from jpackage;
|
||||
# this file is for the app-image directory (build/compose/binaries/main/
|
||||
# app/incido). Install with the Exec/Icon paths pointed at wherever the
|
||||
# image lives, e.g.:
|
||||
#
|
||||
# mkdir -p ~/.local/share/applications ~/apps/incido
|
||||
# cp -r build/compose/binaries/main/app/incido/* ~/apps/incido/
|
||||
# cp desktopApp/packaging/icon.png ~/apps/incido/icon.png
|
||||
# sed -e "s|@PREFIX@|$HOME/apps/incido|" desktopApp/packaging/incido.desktop \
|
||||
# > ~/.local/share/applications/incido.desktop
|
||||
#
|
||||
# StartupWMClass=incido groups the AWT window (class "incido" under the
|
||||
# jpackage launcher) with its taskbar entry.
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Version=1.0
|
||||
Name=Incido
|
||||
GenericName=Notes
|
||||
Comment=Offline-first private notes
|
||||
Exec=@PREFIX@/bin/incido %U
|
||||
Icon=@PREFIX@/icon.png
|
||||
Terminal=false
|
||||
Categories=Office;TextEditor;Utility;
|
||||
Keywords=notes;offline;private;markdown;
|
||||
StartupNotify=true
|
||||
StartupWMClass=incido
|
||||
Reference in new issue
Block a user