Commit Graph
2 Commits
Author SHA1 Message Date
Claude 454f925891 Rewrite orionpkg into full GUI package manager
Previously only an update manager. Now has three tabs:
- Search: pacman -Ss query, shows results with installed badge, Install button
- Installed: pacman -Q list with scrollable rows, Remove button
- Updates: checkupdates list, Update All runs pkexec pacman -Syu

Features:
- Editable search input field with cursor, Enter to search
- Row selection with highlight, double-click toggles
- Scrollable package lists with scrollbar
- Live log view + progress bar during install/remove/upgrade
- Spinner animation during async operations
- Cancel button during running operations
- Error/success status display
- Same dark-navy palette as rest of OrionOS
2026-08-30 20:55:05 +00:00
nmemmertandClaude Sonnet 4.6 0ed61cea4c Add orionpkg (package manager GUI) + installer locale step
orionpkg/orionpkg.c (~500 lines, native Xlib/Xft):
- Launches with checkupdates (pacman-contrib) to list pending upgrades
- ST_CHECKING: animated spinner while querying
- ST_UPDATES: scrollable package list with name / old ver → new ver columns
- ST_UPDATING: pkexec pacman -Syu in background, live log output,
  progress bar estimated from pacman's (N/M) counters
- ST_DONE / ST_ERROR: success or failure screen
- Refresh (r key), scroll (mouse wheel / arrow keys), Close (Esc/q)
- pacman-contrib added to ISO packages

Installer: add STEP_LOCALE (timezone + keyboard layout):
- Inserted between STEP_DISK and STEP_USER
- Timezone pane: searchable filter input + scrollable list of 37 zones
- Keyboard pane: 20 common layouts with code + description
- Timezone and keyboard passed as args 6/7 to orioninstall
- orioninstall: sets /etc/vconsole.conf and X11 xorg.conf.d keyboard
  config from args; uses selected timezone for localtime symlink

Also:
- Right-click menu: "Software Updates" → orionpkg
- Root Makefile: orionpkg target + install rule
- ISO: orionpkg binary installed, permissions map, gitignore

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-23 14:39:00 -04:00