Commit Graph

659 Commits

Author SHA1 Message Date
Seth 76a3cb798a docs: README.sethlabels.md — include upstream remote setup in build-from-source
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-29 12:03:49 -04:00
Seth 891cc7c1c8 docs: add session handoff (first-release) 2026-04-29 11:56:47 -04:00
Seth 2d049437ff docs: refresh CLAUDE.md to post-first-release phase 2026-04-29 11:54:35 -04:00
Seth 2108e2cf15 docs: changelog for 3.99-master618-seth1 3.99-master618-seth1 2026-04-29 11:53:32 -04:00
Seth 8290870f06 docs: add README.sethlabels.md (fork entry point) 2026-04-29 11:43:28 -04:00
Seth 9b970804fc docs: add scripts/README.md (operator run guide) 2026-04-29 11:42:34 -04:00
Seth 2a789e30f8 fix: guard batch AppImage icon path with pre-flight check 2026-04-29 11:41:33 -04:00
Seth e619699660 chore: add xvfb to deps-debian.sh (required by build-appimages smoke tests)
build-appimages.sh T3/T4 smoke tests start Xvfb automatically when no
DISPLAY is set. Without xvfb in the deps array, a clean Debian/Ubuntu
host would pass the dep check but fail at smoke-test time.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-29 11:39:10 -04:00
Seth f7e35652a9 fix: prune unused binary from each AppDir before linuxdeploy bundling
Previously cmake --install populated both AppDirs with both binaries,
causing the batch AppImage (57MB) to be larger than the GUI AppImage
(47MB). Add rm lines after the sanity-check block to strip the
unwanted binary from each AppDir before linuxdeploy runs.

Also prune the upstream GUI desktop files from the batch AppDir (they
reference Exec=glabels-qt which is now absent) and supply --icon-file
+ --icon-filename so --create-desktop-file resolves the icon lookup.
Both AppImages now contain only their respective binary (~33-34MB each).

Also document the QMAKE=/usr/bin/qmake6 workaround (Debian 13 Qt6
qmake discovery failure in linuxdeploy-plugin-qt).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-29 11:39:02 -04:00
Seth d5fb872518 feat: add build-appimages.sh with inline smoke tests T3, T4
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-29 11:14:58 -04:00
Seth 13d4047fe1 fix: guard rm -rf in build-deb.sh against empty BUILD_DIR 2026-04-29 10:50:10 -04:00
Seth 4f2de8a92c feat: add build-deb.sh with inline smoke tests T1, T2
Also fixes deps-debian.sh for Debian 13 (trixie): libqt6core6 was
renamed to libqt6core6t64; libgnubarcode-dev removed (not in Debian
13 repos, optional upstream dep).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-29 10:44:01 -04:00
Seth 34b72ca384 feat: add packaging metadata + initial changelog 2026-04-29 10:37:38 -04:00
Seth 4a0185df53 feat: add linuxdeploy.sh bootstrap (pinned per F9)
Bootstraps linuxdeploy (1-alpha-20251107-1) and linuxdeploy-plugin-qt
(1-alpha-20250213-1) to scripts/.cache/ on first run. Dual-mode:
sourceable (exports $LINUXDEPLOY_BIN / $LINUXDEPLOY_PLUGIN_QT_BIN) or
executable (prints paths). Pinned dated snapshots per spec §F9 — no
rolling continuous tag.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-29 10:34:01 -04:00
Seth cb2f687a6b feat: add deps-debian.sh (build-dep manifest + checker)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-29 10:28:55 -04:00
Seth 0631c55c0f fix: check-no-upstream-edits.sh aborts when upstream/master ref missing
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-29 10:26:00 -04:00
Seth caee5291ff feat: add check-no-upstream-edits.sh + bats tests (enforces I1)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-29 10:22:18 -04:00
Seth 9cc418c68f feat: add compute-version.sh + bats tests
Emits <upstream-tag>-seth<N> to stdout. Pure logic, no side effects.
5/5 bats tests pass; output verified as 3.99-master618-seth1.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-29 10:18:12 -04:00
Seth 52096c0d63 chore: add packaging directory skeleton + .gitignore build patterns 2026-04-29 10:14:09 -04:00
Seth 33525a8c1d docs: add packaging implementation plan (12 tasks) 2026-04-29 10:11:29 -04:00
Seth da74709433 docs: add session handoff (spec-approved-pre-implementation)
Captures session state at the natural pause point: design spec
approved, no implementation started. Supersedes the scaffold-only
handoff (which described an empty-dir state).

Validated 80/100 by validate_handoff.py. The 4 file-not-found
warnings reference scripts/* that are intentionally unwritten —
they are the next session's deliverables per the spec.

Resume next session with writing-plans skill against the spec at
sethlabels-docs/specs/2026-04-29-packaging-design.md.
2026-04-29 10:00:59 -04:00
Seth d3e14c63c0 docs: refresh CLAUDE.md + IDEA.md for design-approved phase
Reflects state changes from this session:
- Phase moved from "ideation, no upstream pull" to "design-approved,
  pre-implementation"
- Repo confirmed live at git.sethpc.xyz/Seth/sethLabels (was TBD)
- Qt6 6.2 confirmed (was Qt5-or-Qt6 TBD)
- Target framing corrected: Debian-family generic + macOS via brew tap;
  steel141 is a build host, NOT the install target
- Strict-zero source-patch policy spelled out (replaces vague "keep
  diffs surgical")
- Versioning scheme noted (<upstream-tag>-seth<N>)
- Eventual-public flip on GitHub captured

Pointer to spec at sethlabels-docs/specs/2026-04-29-packaging-design.md
added to CLAUDE.md "Current State".
2026-04-29 09:55:07 -04:00
Seth 8e272c0bd8 docs: add packaging design spec + decision log
Captures the brainstormed design for sethLabels' packaging pipeline:
- Strict-zero source patches; all sethLabels content in NEW top-level dirs
- Linux artifacts: .deb (CPack-driven) + AppImage (linuxdeploy + Qt plugin),
  both built from upstream's existing install() rules
- macOS: Homebrew tap, build-from-source — no macOS CI, no signing,
  no Apple Developer ID
- Build infra: manual local builds during battle-test phase; shell
  scripts under scripts/ are the canonical recipe (CI YAML at the
  eventual public-flip on GitHub will call them verbatim)
- Versioning: <upstream-tag>-seth<N> for clear lineage + rebuild counter
- Package name: glabels-qt (matches binary, brew formula, command)

Spec at sethlabels-docs/specs/2026-04-29-packaging-design.md.
Decision log at DECISIONS.md.

No code introduced — design only. Plan-writing follows.
2026-04-29 09:37:56 -04:00
Seth 9dc6776bb4 chore: add sethLabels deployment-fork scaffold
Adds Seth's homelab convention files on top of upstream glabels-qt master:
CLAUDE.md (project instructions), IDEA.md (brief), DECISIONS.md (decision
log, empty), and the kickoff handoff under .claude/handoffs/. Appends a
clearly-marked sethLabels section to .gitignore for .backup/, the
GITEA_API.md symlink, .env files, and handoff drafts.

This is the only non-upstream commit on main. All preceding history is
authored by the glabels.org team (Jaye Evins et al.) and untouched.
Future upstream merges should fast-forward or rebase cleanly since the
scaffold lives in distinct files at repo root.

No source-code changes. License unchanged (GPL-3.0).
2026-04-29 09:04:54 -04:00
Jaye Evins d1ee78e58a Fix incorrect font sizes (#321)
Recently, when chasing the font size differences between the wayland and xcb Qt backends, I ended up normalizing on the wayland sizing when bypassing the backend's font metrics calculation (#272).  Unfortunately, the wayland backend was not rendering the font sizes correctly, and it was a mistake to duplicate its behavior. 

* Assume a virtual DPI of 72 pixels/in instead of 96 when compulting font size
  - Based on testing, this produces the correct font size
  - Updated reference labels.
* No longer need to scale fonts when importing glabels-3 files.
  - The glabels-3 font sizes were correct afterall!  (#306)
  - No longer need to compensate for scale factor in unit tests when importing glabels-3 files.
2026-03-27 15:47:46 -04:00
Jaye Evins 06675f8314 Create template style guide and minor updates to templates and docs (#314)
* Add style guide for creating product template submissions.
* Some updates to TODO.md.  (#270)
* Remove Meta nodes with deprecated product_url attributes.
2026-02-22 16:54:07 -05:00
Jaye Evins 226841fe38 Minor UI cleanup (#313)
* Adjust tab-order of widgets to follow a logical spatial order.  (#309)
* Remove default attribute from Print button in PrintView.  (#308)
2026-02-18 11:38:38 -05:00
Jaye Evins 6ad97b76dc Reconcile LINGUAS with #290. 2026-02-11 17:21:55 -05:00
Weblate (bot) 1220c04f37 Translations update from Fedora Weblate (#290)
* Translated using Weblate (Swedish)

Currently translated at 100.0% (107 of 107 strings)

Translation: glabels-qt/templates
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/templates/sv/

* Translated using Weblate (Swedish)

Currently translated at 100.0% (667 of 667 strings)

Translation: glabels-qt/glabels
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/glabels/sv/

* Translated using Weblate (Portuguese (Brazil))

Currently translated at 93.5% (624 of 667 strings)

Translation: glabels-qt/glabels
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/glabels/pt_BR/

* Translated using Weblate (Italian)

Currently translated at 100.0% (667 of 667 strings)

Translation: glabels-qt/glabels
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/glabels/it/

* Translated using Weblate (Estonian)

Currently translated at 0.9% (1 of 107 strings)

Translation: glabels-qt/templates
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/templates/et/

* Translated using Weblate (Estonian)

Currently translated at 1.9% (13 of 669 strings)

Translation: glabels-qt/glabels
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/glabels/et/

* Translated using Weblate (Indonesian)

Currently translated at 99.8% (666 of 667 strings)

Translation: glabels-qt/glabels
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/glabels/id/

* Translated using Weblate (Portuguese (Brazil))

Currently translated at 98.6% (658 of 667 strings)

Translation: glabels-qt/glabels
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/glabels/pt_BR/

* Translated using Weblate (Indonesian)

Currently translated at 100.0% (107 of 107 strings)

Translation: glabels-qt/templates
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/templates/id/

* Translated using Weblate (Greek)

Currently translated at 0.5% (4 of 667 strings)

Translation: glabels-qt/glabels
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/glabels/el/

* Translated using Weblate (Dutch)

Currently translated at 98.5% (555 of 563 strings)

Translation: glabels-qt/glabels
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/glabels/nl/

* Translated using Weblate (Danish)

Currently translated at 31.3% (209 of 667 strings)

Translation: glabels-qt/glabels
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/glabels/da/

* Translated using Weblate (Czech)

Currently translated at 31.3% (209 of 667 strings)

Translation: glabels-qt/glabels
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/glabels/cs/

* Translated using Weblate (Danish)

Currently translated at 73.0% (487 of 667 strings)

Translation: glabels-qt/glabels
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/glabels/da/

* Translated using Weblate (Czech)

Currently translated at 54.8% (366 of 667 strings)

Translation: glabels-qt/glabels
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/glabels/cs/

* Translated using Weblate (Hungarian)

Currently translated at 31.3% (209 of 667 strings)

Translation: glabels-qt/glabels
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/glabels/hu/

* Translated using Weblate (Hungarian)

Currently translated at 63.8% (426 of 667 strings)

Translation: glabels-qt/glabels
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/glabels/hu/

* Translated using Weblate (Romanian)

Currently translated at 30.8% (206 of 667 strings)

Translation: glabels-qt/glabels
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/glabels/ro/

* Translated using Weblate (Norwegian Bokmål)

Currently translated at 56.1% (316 of 563 strings)

Translation: glabels-qt/glabels
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/glabels/nb_NO/

* Translated using Weblate (Chinese (Traditional) (zh_TW))

Currently translated at 26.2% (175 of 667 strings)

Translation: glabels-qt/glabels
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/glabels/zh_TW/

* Translated using Weblate (Romanian)

Currently translated at 65.3% (436 of 667 strings)

Translation: glabels-qt/glabels
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/glabels/ro/

* Translated using Weblate (Slovenian)

Currently translated at 31.1% (208 of 667 strings)

Translation: glabels-qt/glabels
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/glabels/sl/

* Translated using Weblate (Portuguese)

Currently translated at 39.2% (221 of 563 strings)

Translation: glabels-qt/glabels
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/glabels/pt/

* Translated using Weblate (Serbian (Latin script))

Currently translated at 31.3% (209 of 667 strings)

Translation: glabels-qt/glabels
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/glabels/sr_Latn/

* Translated using Weblate (Russian)

Currently translated at 31.1% (208 of 667 strings)

Translation: glabels-qt/glabels
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/glabels/ru/

* Translated using Weblate (Greek)

Currently translated at 31.7% (212 of 667 strings)

Translation: glabels-qt/glabels
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/glabels/el/

* Translated using Weblate (Catalan)

Currently translated at 21.2% (142 of 667 strings)

Translation: glabels-qt/glabels
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/glabels/ca/

* Translated using Weblate (English (United Kingdom))

Currently translated at 31.1% (208 of 667 strings)

Translation: glabels-qt/glabels
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/glabels/en_GB/

* Translated using Weblate (Arabic)

Currently translated at 14.3% (96 of 667 strings)

Translation: glabels-qt/glabels
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/glabels/ar/

* Translated using Weblate (Chinese (Simplified) (zh_CN))

Currently translated at 24.5% (164 of 667 strings)

Translation: glabels-qt/glabels
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/glabels/zh_CN/

* Translated using Weblate (Serbian)

Currently translated at 31.3% (209 of 667 strings)

Translation: glabels-qt/glabels
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/glabels/sr/

* Translated using Weblate (Occitan)

Currently translated at 39.2% (221 of 563 strings)

Translation: glabels-qt/glabels
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/glabels/oc/

* Translated using Weblate (Korean)

Currently translated at 19.1% (128 of 667 strings)

Translation: glabels-qt/glabels
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/glabels/ko/

* Translated using Weblate (Galician)

Currently translated at 9.2% (62 of 667 strings)

Translation: glabels-qt/glabels
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/glabels/gl/

* Translated using Weblate (Finnish)

Currently translated at 24.2% (162 of 667 strings)

Translation: glabels-qt/glabels
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/glabels/fi/

* Translated using Weblate (Esperanto)

Currently translated at 24.4% (163 of 667 strings)

Translation: glabels-qt/glabels
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/glabels/eo/

* Translated using Weblate (Latvian)

Currently translated at 31.3% (209 of 667 strings)

Translation: glabels-qt/glabels
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/glabels/lv/

* Translated using Weblate (Japanese)

Currently translated at 31.1% (208 of 667 strings)

Translation: glabels-qt/glabels
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/glabels/ja/

* Translated using Weblate (Bosnian)

Currently translated at 31.3% (209 of 667 strings)

Translation: glabels-qt/glabels
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/glabels/bs/

* Translated using Weblate (Chinese (Hong Kong) (zh_HK))

Currently translated at 26.2% (175 of 667 strings)

Translation: glabels-qt/glabels
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/glabels/zh_HK/

* Translated using Weblate (Turkish)

Currently translated at 31.3% (209 of 667 strings)

Translation: glabels-qt/glabels
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/glabels/tr/

* Translated using Weblate (Slovak)

Currently translated at 33.7% (225 of 667 strings)

Translation: glabels-qt/glabels
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/glabels/sk/

* Translated using Weblate (Serbian)

Currently translated at 46.7% (50 of 107 strings)

Translation: glabels-qt/templates
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/templates/sr/

* Translated using Weblate (Occitan)

Currently translated at 64.6% (364 of 563 strings)

Translation: glabels-qt/glabels
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/glabels/oc/

* Translated using Weblate (Dutch)

Currently translated at 28.8% (30 of 104 strings)

Translation: glabels-qt/templates
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/templates/nl/

* Translated using Weblate (Turkish)

Currently translated at 53.6% (358 of 667 strings)

Translation: glabels-qt/glabels
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/glabels/tr/

* Translated using Weblate (Korean)

Currently translated at 40.6% (271 of 667 strings)

Translation: glabels-qt/glabels
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/glabels/ko/

* Translated using Weblate (Russian)

Currently translated at 29.9% (32 of 107 strings)

Translation: glabels-qt/templates
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/templates/ru/

* Translated using Weblate (Latvian)

Currently translated at 59.9% (400 of 667 strings)

Translation: glabels-qt/glabels
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/glabels/lv/

* Translated using Weblate (Arabic)

Currently translated at 27.8% (186 of 667 strings)

Translation: glabels-qt/glabels
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/glabels/ar/

* Translated using Weblate (Japanese)

Currently translated at 28.0% (30 of 107 strings)

Translation: glabels-qt/templates
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/templates/ja/

* Translated using Weblate (Serbian)

Currently translated at 51.2% (342 of 667 strings)

Translation: glabels-qt/glabels
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/glabels/sr/

* Translated using Weblate (Catalan)

Currently translated at 46.3% (309 of 667 strings)

Translation: glabels-qt/glabels
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/glabels/ca/

* Translated using Weblate (Slovak)

Currently translated at 67.4% (450 of 667 strings)

Translation: glabels-qt/glabels
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/glabels/sk/

* Translated using Weblate (Bosnian)

Currently translated at 53.2% (355 of 667 strings)

Translation: glabels-qt/glabels
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/glabels/bs/

* Translated using Weblate (Serbian (Latin script))

Currently translated at 46.7% (50 of 107 strings)

Translation: glabels-qt/templates
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/templates/sr_Latn/

* Translated using Weblate (Greek)

Currently translated at 55.9% (373 of 667 strings)

Translation: glabels-qt/glabels
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/glabels/el/

* Translated using Weblate (Esperanto)

Currently translated at 56.0% (374 of 667 strings)

Translation: glabels-qt/glabels
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/glabels/eo/

* Translated using Weblate (Portuguese)

Currently translated at 48.0% (50 of 104 strings)

Translation: glabels-qt/templates
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/templates/pt/

* Translated using Weblate (Slovenian)

Currently translated at 58.4% (390 of 667 strings)

Translation: glabels-qt/glabels
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/glabels/sl/

* Translated using Weblate (Norwegian Bokmål)

Currently translated at 14.4% (15 of 104 strings)

Translation: glabels-qt/templates
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/templates/nb_NO/

* Translated using Weblate (Spanish)

Currently translated at 39.2% (42 of 107 strings)

Translation: glabels-qt/templates
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/templates/es/

* Translated using Weblate (Turkish)

Currently translated at 29.9% (32 of 107 strings)

Translation: glabels-qt/templates
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/templates/tr/

* Translated using Weblate (Finnish)

Currently translated at 54.1% (361 of 667 strings)

Translation: glabels-qt/glabels
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/glabels/fi/

* Translated using Weblate (Occitan)

Currently translated at 47.1% (49 of 104 strings)

Translation: glabels-qt/templates
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/templates/oc/

* Translated using Weblate (Romanian)

Currently translated at 27.1% (29 of 107 strings)

Translation: glabels-qt/templates
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/templates/ro/

* Translated using Weblate (Russian)

Currently translated at 54.7% (365 of 667 strings)

Translation: glabels-qt/glabels
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/glabels/ru/

* Translated using Weblate (Slovenian)

Currently translated at 29.9% (32 of 107 strings)

Translation: glabels-qt/templates
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/templates/sl/

* Translated using Weblate (Korean)

Currently translated at 4.6% (5 of 107 strings)

Translation: glabels-qt/templates
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/templates/ko/

* Translated using Weblate (Portuguese)

Currently translated at 93.2% (525 of 563 strings)

Translation: glabels-qt/glabels
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/glabels/pt/

* Translated using Weblate (Portuguese)

Currently translated at 93.2% (525 of 563 strings)

Translation: glabels-qt/glabels
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/glabels/pt/

* Translated using Weblate (Slovak)

Currently translated at 15.8% (17 of 107 strings)

Translation: glabels-qt/templates
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/templates/sk/

* Translated using Weblate (Serbian (Latin script))

Currently translated at 53.5% (357 of 667 strings)

Translation: glabels-qt/glabels
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/glabels/sr_Latn/

* Translated using Weblate (Galician)

Currently translated at 26.9% (180 of 667 strings)

Translation: glabels-qt/glabels
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/glabels/gl/

* Translated using Weblate (Latvian)

Currently translated at 46.7% (50 of 107 strings)

Translation: glabels-qt/templates
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/templates/lv/

* Translated using Weblate (Japanese)

Currently translated at 55.0% (367 of 667 strings)

Translation: glabels-qt/glabels
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/glabels/ja/

* Translated using Weblate (Chinese (Hong Kong) (zh_HK))

Currently translated at 54.1% (361 of 667 strings)

Translation: glabels-qt/glabels
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/glabels/zh_HK/

* Translated using Weblate (Chinese (Traditional) (zh_TW))

Currently translated at 53.9% (360 of 667 strings)

Translation: glabels-qt/glabels
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/glabels/zh_TW/

* Translated using Weblate (Chinese (Simplified) (zh_CN))

Currently translated at 49.9% (333 of 667 strings)

Translation: glabels-qt/glabels
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/glabels/zh_CN/

* Translated using Weblate (Spanish)

Currently translated at 40.1% (43 of 107 strings)

Translation: glabels-qt/templates
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/templates/es/

* Translated using Weblate (Indonesian)

Currently translated at 100.0% (667 of 667 strings)

Translation: glabels-qt/glabels
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/glabels/id/

* Translated using Weblate (Spanish)

Currently translated at 64.7% (432 of 667 strings)

Translation: glabels-qt/glabels
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/glabels/es/

* Translated using Weblate (German)

Currently translated at 100.0% (107 of 107 strings)

Translation: glabels-qt/templates
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/templates/de/

* Translated using Weblate (Danish)

Currently translated at 100.0% (107 of 107 strings)

Translation: glabels-qt/templates
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/templates/da/

* Translated using Weblate (Danish)

Currently translated at 100.0% (667 of 667 strings)

Translation: glabels-qt/glabels
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/glabels/da/

* Added translation using Weblate (Kabyle)

* Added translation using Weblate (Kabyle)

* Translated using Weblate (Kabyle)

Currently translated at 8.8% (59 of 669 strings)

Translation: glabels-qt/glabels
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/glabels/kab/

---------

Co-authored-by: Daniel Nylander <po@danielnylander.se>
Co-authored-by: Rafael Fontenelle <rafaelff@gnome.org>
Co-authored-by: Nathan <nathan95@live.it>
Co-authored-by: Priit Jõerüüt <jrtkbfdr@users.noreply.translate.fedoraproject.org>
Co-authored-by: Arif Budiman <arifpedia@gmail.com>
Co-authored-by: Jim Spentzos <jimspentzos2000@gmail.com>
Co-authored-by: Mario Blättermann <mario.blaettermann@gmail.com>
Co-authored-by: Juan Jose Pablos <juanjo@apertus.es>
Co-authored-by: Andika Triwidada <andika@gmail.com>
Co-authored-by: joe dalton <joedalton2@yahoo.dk>
Co-authored-by: ButterflyOfFire <butterflyoffire@users.noreply.translate.fedoraproject.org>
2026-02-11 17:16:04 -05:00
Jaye Evins e6673a0a24 Add generic templates (#307)
- Add generic full-page templates.  (This feature from 3.4 was missing)
- Also add generic half-page, quarter-page, and envelope templates.
- Add several more common envelope sizes to page-sizes.xml
- Qt print backend does not need pwg_size.
    - Replace with pwg_class, to distinguish between ISO and NA sizes
2026-02-11 11:27:41 -05:00
Jaye Evins 993e1e460d Tweaks to glabels-3 text object compatability. (#306)
This commit partially addresses issues in #296.  Due to the fact that glabels-3
and glabels-4 use different underlying technologies for rendering text, a
pixel-perfect import can probably never be fully achieved.

This commit focuses on small adjustments to imported text objects to approximate
the visual appearance of these objects.

- glabels-3 rendered text at 75% of stated font size, compensate by adjusting
  font size of imported object.
- Text boxes behave differently in glabels-4 than in glabels-3.  In glabels-4,
  text boxes must be of a fixed size, so compensate when a variable sized
  box (when w=0 and/or h=0) is detected and fix the size to the natural text
  size.
- In glabels-3, the fixed margin size (3pt) was not used in the text baseline
  calculations.  Compensate by adjusting vertical position of imported text
  object.
2026-02-05 18:45:18 -05:00
Mario Blättermann 73d90c28f8 Add hint to README.md about unofficial Fedora package (#302) 2026-02-02 00:27:14 -05:00
Mario Blättermann 6018daf56e Update TRANSLATIONS.md (#297) 2026-01-28 17:49:27 -05:00
Mario Blättermann d51091e089 Update README.md regarding the Archlinux package (#295)
I'm no longer maintaining the Archlinux package. Changed to the name and Github page of the new maintainer.
2026-01-26 01:15:36 -05:00
Jaye Evins 78448a44c9 Replace TRANSLATION_FILES.txt cmake include file with LINGUAS file (#287)
Generate lists of translation (.ts) files by reading LINGUAS in CMake.
2026-01-16 14:17:36 -05:00
Weblate (bot) 0f758456b4 Translations update from Fedora Weblate (#288)
* Translated using Weblate (Ukrainian)

Currently translated at 99.8% (666 of 667 strings)

Translation: glabels-qt/glabels
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/glabels/uk/

* Translated using Weblate (Italian)

Currently translated at 91.9% (613 of 667 strings)

Translation: glabels-qt/glabels
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/glabels/it/

* Translated using Weblate (Polish)

Currently translated at 73.3% (489 of 667 strings)

Translation: glabels-qt/glabels
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/glabels/pl/

* Translated using Weblate (Portuguese (Brazil))

Currently translated at 90.2% (602 of 667 strings)

Translation: glabels-qt/glabels
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/glabels/pt_BR/

* Translated using Weblate (French)

Currently translated at 99.2% (662 of 667 strings)

Translation: glabels-qt/glabels
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/glabels/fr/

* Translated using Weblate (Spanish)

Currently translated at 64.7% (432 of 667 strings)

Translation: glabels-qt/glabels
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/glabels/es/

* Translated using Weblate (French)

Currently translated at 100.0% (107 of 107 strings)

Translation: glabels-qt/templates
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/templates/fr/

* Translated using Weblate (German)

Currently translated at 100.0% (667 of 667 strings)

Translation: glabels-qt/glabels
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/glabels/de/

* Translated using Weblate (German)

Currently translated at 100.0% (667 of 667 strings)

Translation: glabels-qt/glabels
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/glabels/de/

* Translated using Weblate (French)

Currently translated at 100.0% (667 of 667 strings)

Translation: glabels-qt/glabels
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/glabels/fr/

* Translated using Weblate (French)

Currently translated at 100.0% (667 of 667 strings)

Translation: glabels-qt/glabels
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/glabels/fr/

* Added translation using Weblate (Estonian)

* Added translation using Weblate (Estonian)

---------

Co-authored-by: Rafael Fontenelle <rafaelff@gnome.org>
Co-authored-by: meteos meteos <meteos@free.fr>
Co-authored-by: Mario Blättermann <mario.blaettermann@gmail.com>
Co-authored-by: Priit Jõerüüt <jrtkbfdr@users.noreply.translate.fedoraproject.org>
Co-authored-by: Jaye Evins <evins@snaught.com>
2026-01-16 14:00:56 -05:00
Weblate (bot) 9341a3b6a2 Translations update from Fedora Weblate (#285)
* Translated using Weblate (Ukrainian)

Currently translated at 99.8% (666 of 667 strings)

Translation: glabels-qt/glabels
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/glabels/uk/

* Translated using Weblate (Italian)

Currently translated at 91.9% (613 of 667 strings)

Translation: glabels-qt/glabels
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/glabels/it/

* Translated using Weblate (Polish)

Currently translated at 73.3% (489 of 667 strings)

Translation: glabels-qt/glabels
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/glabels/pl/

* Translated using Weblate (Portuguese (Brazil))

Currently translated at 90.2% (602 of 667 strings)

Translation: glabels-qt/glabels
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/glabels/pt_BR/

* Translated using Weblate (French)

Currently translated at 99.2% (662 of 667 strings)

Translation: glabels-qt/glabels
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/glabels/fr/

* Translated using Weblate (Spanish)

Currently translated at 64.7% (432 of 667 strings)

Translation: glabels-qt/glabels
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/glabels/es/

* Translated using Weblate (French)

Currently translated at 100.0% (107 of 107 strings)

Translation: glabels-qt/templates
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/templates/fr/

* Translated using Weblate (German)

Currently translated at 100.0% (667 of 667 strings)

Translation: glabels-qt/glabels
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/glabels/de/

* Translated using Weblate (German)

Currently translated at 100.0% (667 of 667 strings)

Translation: glabels-qt/glabels
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/glabels/de/

* Translated using Weblate (French)

Currently translated at 100.0% (667 of 667 strings)

Translation: glabels-qt/glabels
Translate-URL: https://translate.fedoraproject.org/projects/glabels-qt/glabels/fr/

---------

Co-authored-by: Rafael Fontenelle <rafaelff@gnome.org>
Co-authored-by: meteos meteos <meteos@free.fr>
Co-authored-by: Mario Blättermann <mario.blaettermann@gmail.com>
2026-01-15 17:32:29 -05:00
Rafael Fontenelle 56713aa86f Delete translations/templates_en.ts (#284) 2026-01-14 15:51:51 -05:00
Rafael Fontenelle 1b8b6e55dc Remove redundant pl_PL locale (#283) 2026-01-14 13:57:53 -05:00
Jaye Evins 4b16b0900b Update copyright notices for 2026. (#280) 2026-01-13 19:19:42 -05:00
Jaye Evins 7cadf5308d Implement sizeHint in TemplatePicker's HTML item delegate. (#279)
Height is not always dominated by icon size on all platforms, potentially
cutting off text.
2026-01-13 00:59:47 -05:00
Jaye Evins 1c902230fe Big-Ugly Style Update (#278)
* Bulk replaced tabs with spaces
* Bulk removed trailing whitespace from lines
* Replaced c-style comments with c++-style comments in file banners
* Replace nested namespace definitions with single concise definitions (C++17), this keeps the indentation more manageable
* Cleanup ordering and spacing of include directives
* Bulk renaming of header file extensions from '.h' to '.hpp'.
* Update CODING-STYLE.md
* Update target_compile_features from cxx_std_11 to cxx_std_20.
* Refresh .clang-format file.  Still needs a lot of tweaking.
3.99-master618
2026-01-07 19:43:34 -05:00
Jaye Evins 3cd173a37f Replaced all Qt foreach loops with modern C++ range-based loops. (#277) 2026-01-05 15:24:00 -05:00
Jaye Evins 45a92eda89 Base TemplatePicker on QListView instead of QListWidget (#276) 2026-01-05 14:09:00 -05:00
Jaye Evins 742b80fc47 Use canonical file paths for filenames in model (#275) 2026-01-02 13:34:44 -05:00
Jaye Evins d17bb2e1be Add merge input option to glabels-batch-qt. (#267,#274) 2026-01-01 19:51:38 -05:00
alextrical 3309837080 Add instructions to compile on MacOS AMD64 and ARM64 (#244)
* Add instructions to compile on MacOS AMD64 and ARM64
* Update build instructions for QT6
* Update BUILD-INSTRUCTIONS-MACOS.md
2025-12-30 21:26:00 -05:00
Martin Malec 19a8c246ad Update glabels-4 major version in doc from qt-5 to qt-6 (#269) 2025-12-30 18:48:27 -05:00
Jaye Evins ce8bbad26c Bypass Qt font metric calculations (#272)
- This originally showed up as fonts rendering differently on X11 than Wayland. (#230)
- Setting font size in points should be device and back end independent, however the same exact font face and size, on
  the same machine, sometimes results in different font metrics between the xcb and wayland Qt back ends.
- Setting font size in pixels, assuming a virtual DPI of 96 pixels/inch, results in consistent font metrics and rendering
  between these back ends. Furthermore, this virtual DPI works for either on-screen or hi-res printer QPainter contexts.
- This virtual DPI seems to work correctly with some limited testing with Windows and MacOS.
- Add rendering tests to build-tests CI script.
2025-12-30 00:33:17 -05:00
Jaye Evins 82b264a7a0 Manpages update for glabels-qt and glabels-batch-qt
- Document new verbose version option (-V/--Version) introduced in #257
2025-12-17 23:50:33 -05:00