2017-10-10 16:29:22 -03:00
|
|
|
# Pamac-classic
|
|
|
|
|
|
|
|
A graphical package manager for pacman
|
|
|
|
|
|
|
|
# Features:
|
|
|
|
|
|
|
|
- Alpm bindings for Vala
|
|
|
|
- A DBus daemon to perform every tasks with root access using polkit to check authorizations
|
|
|
|
- A Gtk3 Package Manager
|
|
|
|
- A Gtk3 Updates Manager
|
|
|
|
- A Tray icon with configurable periodic refresh and updates notifications
|
|
|
|
- Complete AUR support:
|
|
|
|
* Multiple words search capability
|
|
|
|
* Enable/Disable check updates from AUR
|
|
|
|
* Build and update AUR packages
|
|
|
|
|
|
|
|
# How to build
|
|
|
|
|
|
|
|
## Requirements
|
|
|
|
|
|
|
|
- GTK+: 3.0
|
|
|
|
- GIO: 2.0
|
2017-10-11 17:42:54 -03:00
|
|
|
- GLib: 2.38
|
2017-10-10 16:29:22 -03:00
|
|
|
- GObject: 2.0
|
|
|
|
- Json-Glib: 1.0
|
|
|
|
- libalpm
|
|
|
|
- libcurl
|
|
|
|
- LibSoup: 2.4
|
|
|
|
- polkit-gobject-1
|
|
|
|
- libnotify
|
|
|
|
- vte: 2.91
|
|
|
|
- appindicator-gtk3 (optional to build KDE tray icon)
|
|
|
|
- CMake
|
2017-10-11 17:31:02 -03:00
|
|
|
- Vala: 0.38
|
2017-10-30 20:16:41 -03:00
|
|
|
- AutoVala: 1.2.0 (optional to regenerate CMake and Meson files)
|
2017-10-10 16:29:22 -03:00
|
|
|
|
2017-10-16 13:48:18 -03:00
|
|
|
## Using CMake with GNU Make
|
2017-10-10 16:29:22 -03:00
|
|
|
|
|
|
|
```
|
|
|
|
mkdir build
|
|
|
|
cd build
|
|
|
|
cmake .. \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
|
|
|
|
-DCMAKE_INSTALL_SYSCONFDIR=/etc
|
|
|
|
make
|
2017-10-30 20:16:41 -03:00
|
|
|
make install
|
2017-10-10 16:29:22 -03:00
|
|
|
```
|
|
|
|
### Extra build flags
|
|
|
|
|
|
|
|
- -DDISABLE_AUR=ON (to disable AUR in Pamac)
|
2017-10-16 13:48:18 -03:00
|
|
|
- -DKDE_TRAY=ON (to build kde tray icon instead of gtk tray icon)
|
2017-10-29 14:28:26 -03:00
|
|
|
- -DENABLE_UPDATE_ICON=ON (to install the update desktop entry)
|
|
|
|
- -DICON_UPDATE=OFF (to disable updating the icon cache)
|
2017-11-01 20:02:27 -03:00
|
|
|
- -DENABLE_HAMBURGER=ON (to build with the classic hamburger menu)
|
2017-10-10 16:29:22 -03:00
|
|
|
|
2017-10-16 13:48:18 -03:00
|
|
|
## Using CMake with Ninja
|
2017-10-10 16:29:22 -03:00
|
|
|
|
2017-10-16 13:48:18 -03:00
|
|
|
```
|
|
|
|
mkdir build
|
|
|
|
cd build
|
|
|
|
cmake .. \
|
|
|
|
-GNinja
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
|
|
|
|
-DCMAKE_INSTALL_SYSCONFDIR=/etc
|
|
|
|
ninja
|
2017-10-30 20:16:41 -03:00
|
|
|
ninja install
|
2017-10-16 13:48:18 -03:00
|
|
|
```
|
|
|
|
### Extra build flags
|
|
|
|
|
|
|
|
- -DDISABLE_AUR=ON (to disable AUR in Pamac)
|
|
|
|
- -DKDE_TRAY=ON (to build kde tray icon instead of gtk tray icon)
|
2017-10-29 14:28:26 -03:00
|
|
|
- -DENABLE_UPDATE_ICON=ON (to install the update desktop entry)
|
|
|
|
- -DICON_UPDATE=OFF (to disable updating the icon cache)
|
2017-11-01 20:02:27 -03:00
|
|
|
- -DENABLE_HAMBURGER=ON (to build with the classic hamburger menu)
|
2017-10-16 13:48:18 -03:00
|
|
|
|
|
|
|
## Using Meson with Ninja
|
|
|
|
|
|
|
|
```
|
|
|
|
mkdir build
|
|
|
|
cd build
|
|
|
|
meson \
|
|
|
|
--prefix=/usr \
|
|
|
|
--sysconfdir=/etc
|
|
|
|
ninja
|
2017-10-30 20:16:41 -03:00
|
|
|
ninja install
|
2017-10-16 13:48:18 -03:00
|
|
|
```
|
|
|
|
### Extra build flags
|
|
|
|
|
|
|
|
- -DDISABLE_AUR=ON (to disable AUR in Pamac)
|
|
|
|
- -DKDE_TRAY=ON (to build kde tray icon instead of gtk tray icon)
|
2017-10-29 14:28:26 -03:00
|
|
|
- -DENABLE_UPDATE_ICON=ON (to install the update desktop entry)
|
|
|
|
- -DICON_UPDATE=OFF (to disable updating the icon cache)
|
2017-11-01 20:02:27 -03:00
|
|
|
- -DENABLE_HAMBURGER=ON (to build with the classic hamburger menu)
|
2017-10-16 13:48:18 -03:00
|
|
|
|
|
|
|
## Using configure wrapper
|
|
|
|
|
|
|
|
The configure script is just a wrapper for CMake, in the background the build process is the same as using CMake with GNU Make.
|
2017-10-10 16:29:22 -03:00
|
|
|
|
|
|
|
```
|
|
|
|
./configure --prefix=/usr \
|
|
|
|
--libdir=/usr/lib \
|
|
|
|
--sysconfdir=/etc
|
|
|
|
make
|
2017-10-30 20:16:41 -03:00
|
|
|
make install
|
2017-10-10 16:29:22 -03:00
|
|
|
```
|
|
|
|
|
|
|
|
### Extra configure options
|
|
|
|
|
|
|
|
- --disable-aur (to disable Aur in Pamac)
|
2017-10-29 14:28:26 -03:00
|
|
|
- --enable-kde-tray (to build kde tray icon instead of gtk tray icon)
|
|
|
|
- --enable-update-desktop (to install the update desktop entry)
|
2017-11-01 20:02:27 -03:00
|
|
|
- --disable-icon-update (to disable updating the icon cache)
|
|
|
|
- --enable-hamburger (to build with the classic hamburger menu)
|