You are not logged in.
I plan to write a(nother :-) ) GUI frontend to Pacman using Java + Swing. However I need some advice regarding how should I interact with Pacman.
Basically my requirements are:
1. Reading/Searching package database
2. Showing a download progress bar
3. Showing a progress bar when Pacman is installing/removing package(s)
As 'alpm' is a C library it's not easily accessible from Java. The only and perhaps dummest solution that I can think of is to write my own pseudo-alpm library to handle the requirements but I'd seriously rather avoid the re-work and bugs of such a process. Is there any other way?
I'd appreciate any idea/hint. TIA,
--
Bahman
Offline
Offline
Thanks. Though I already knew about JNA. I was looking for a simpler solution :-)
Offline
If you have some success creating jni bindings to libalpm you might consider creating an AUR package to join the lua, perl and python packages that are there now.
Offline