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
This commit is contained in:
Claude committed 2026-08-30 20:55:05 +00:00
1 parent a5b2c5aee3
commit 454f925891
2 files changed
+568 -363

No files matched your search

+17 -10
View File
@@ -1,15 +1,22 @@
CC = gcc
PKG_C := $(shell pkg-config --cflags x11 xft 2>/dev/null)
PKG_L := $(shell pkg-config --libs x11 xft 2>/dev/null)
ifeq ($(PKG_C),)
$(error "Required: libx11-dev libxft-dev")
endif
CFLAGS = -Wall -Wextra -O2 $(PKG_C)
LDFLAGS = $(PKG_L)
BIN = orionpkg BIN = orionpkg
CC = gcc .PHONY: all clean install
CFLAGS = -Wall -Wextra -O2 \ all: $(BIN)
$(shell pkg-config --cflags x11 xft fontconfig 2>/dev/null)
LIBS = $(shell pkg-config --libs x11 xft fontconfig 2>/dev/null) \
-lX11 -lXft -lfontconfig
$(BIN): orionpkg.c $(BIN): orionpkg.c
$(CC) $(CFLAGS) -o $@ $< $(LIBS) $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
install: $(BIN)
install -Dm755 $(BIN) /usr/local/bin/$(BIN)
clean: clean:
rm -f $(BIN) rm -f $(BIN)
.PHONY: clean
+551 -353
View File
File diff suppressed because it is too large. Load diff