Package Details: octopi-git 0.14.0.r4.2db10e3b-1

Git Clone URL: https://aur.archlinux.org/octopi-git.git (read-only, click to copy)
Package Base: octopi-git
Description: This is Octopi, a powerful Pacman frontend using Qt libs
Upstream URL: https://github.com/aarnt/octopi
Keywords: aarnt aur automated automatic cachecleaner helper monitor notifier open-source package pacman paru repoeditor update yaourt yay
Licenses: GPL2
Conflicts: octopi, octopi-cachecleaner, octopi-dev, octopi-helper, octopi-kde-git, octopi-notifier, octopi-notifier-frameworks, octopi-notifier-noknotify, octopi-notifier-qt5, octopi-repoeditor, octopi-sudo
Provides: octopi, octopi-cachecleaner, octopi-helper, octopi-notifier, octopi-repoeditor, octopi-sudo
Submitter: mrbit
Maintainer: class101
Last Packager: class101
Votes: 78
Popularity: 0.001024
First Submitted: 2013-03-27 11:04 (UTC)
Last Updated: 2022-11-09 20:32 (UTC)

Pinned Comments

class101 commented on 2020-01-28 18:25 (UTC) (edited on 2020-01-28 20:59 (UTC) by class101)

v0.9.0.r332 brings proxy support, thank you @aarnt ! [2250904|e846990]

  • PKGBUILD updated to match a closer version to the official one provided on github
  • PKGBUILD WITH_KNOTIFICATION=1 -> Enable the Plasma/knotifications support notifier
  • PKGBUILD WITH_DARK_ICON=0 -> Replace grey icon for dark theme support by the original green icon
  • PKGBUILD -j removed, if you need parallel build, set MAKEFLAGS in /etc/makepkg.conf
  • PKGBUILD qt5-tools added as makedeps (a new requirement to build octopi-sudo)
  • I didn't feel it was necessary to keep the old numix icons but if you want them back just let me know

Latest Comments

1 2 3 4 5 Next › Last »

sl1pkn07 commented on 2024-03-29 16:20 (UTC) (edited on 2024-03-29 17:02 (UTC) by sl1pkn07)

remove the 'sudo' from #63 and #98 solve the issue

real fix:

# Maintainer           : Arnaud Dovi <mr.dovi@gmail.com>
# Contributor          : SharkEzz <icraft640@gmail.com>
# Contributor          : Nikola Milinković <nikmil@gmail.com>

# WITH_KNOTIFICATION = 0 -> Default notifier is use simply qt5
# WITH_KNOTIFICATION = 1 -> Enable the Plasma/knotifications support notifier
WITH_KNOTIFICATION=0

# WITH_DARK_ICON = 0 -> Default icons
# WITH_DARK_ICON = 1 -> Replace the green icon by a dark one (dark themes support)
WITH_DARK_ICON=1

pkgname=octopi-git
pkgver=0.15.0.r15.69e85ddd
pkgrel=1
pkgdesc="This is Octopi, a powerful Pacman frontend using Qt libs"
arch=('x86_64')
url="https://github.com/aarnt/octopi"
license=('GPL2')
depends=(
  'gcc-libs' # libgcc_s.so libstdc++.so
  'glibc' # libc.so
  'alpm_octopi_utils-git'
  'qt5-base' # libQt5Core.so libQt5Gui.so libQt5Network.so libQt5Widgets.so libQt5Xml.so
  'pkgfile'
  'qtermwidget' # libqtermwidget5.so
  'qt-sudo'
  'pacman' # libalpm.so
)
makedepends=(
  'git'
  'qt5-base'
  'qt5-tools'
)
provides=(
  'octopi'
  'octopi-cachecleaner'
  'octopi-helper'
  'octopi-notifier'
  'octopi-repoeditor'
)
conflicts=(
  'octopi'
  'octopi-cachecleaner'
  'octopi-helper'
  'octopi-notifier'
  'octopi-repoeditor'
  'octopi-dev'
  'octopi-kde-git'
  'octopi-notifier-frameworks'
  'octopi-notifier-qt5'
  'octopi-notifier-noknotify'
)
#install=octopi.install
source=(
  'git+https://github.com/aarnt/octopi.git'
  'octopi_dark.png'
)
sha256sums=(
  'SKIP'
  '49aa640be835eb9ccf216f44a2d86aba3b39bf349e62b855192096526883cdc0'
)

pkgver() {
  cd octopi
  printf "%s" "$(git describe --long --tags | sed 's/^v//;s/\([^-]*-\)g/r\1/;s/-/./g')"
}

prepare() {
  cd octopi

  sed 's|/usr/local/bin|/usr/bin|g' -i src/constants.h

  [[ "$WITH_KNOTIFICATION" == "1" ]] && sed -e "s|DEFINES += ALPM_BACKEND #KSTATUS|DEFINES += ALPM_BACKEND KSTATUS|" -i notifier/octopi-notifier.pro
  if [[ "$WITH_DARK_ICON" -eq "1" ]]; then
    cp resources/images/octopi_green.png resources/images/octopi_green.bak.png
    cp "${srcdir}/octopi_dark.png" resources/images/octopi_green.png
  fi
  cp resources/images/octopi_green.png resources/images/octopi.png
  # https://github.com/aarnt/octopi/commit/2250904a902fca96ea16adf463400fbda913aa70
  #patch --forward --strip=2 --input="${srcdir}/2250904a902fca96ea16adf463400fbda913aa70.patch"
}

build() {
  cd octopi
  echo "Starting build..."
  qmake-qt5 PREFIX=/usr QMAKE_CFLAGS="${CFLAGS}" QMAKE_CXXFLAGS="${CXXFLAGS}" QMAKE_LFLAGS="${LDFLAGS}" octopi.pro
  make

  _subdirs="cachecleaner helper notifier repoeditor"

  for _subdir in $_subdirs; do
    pushd $_subdir
    echo "Building octopi-$_subdir..."
    qmake-qt5 PREFIX=/usr QMAKE_CFLAGS="${CFLAGS}" QMAKE_CXXFLAGS="${CXXFLAGS}" QMAKE_LFLAGS="${LDFLAGS}" "octopi-$_subdir.pro"
    make
    popd
  done
}

package() {
  cd octopi
  make INSTALL_ROOT="${pkgdir}" install

  _subdirs="cachecleaner helper notifier repoeditor"

  for _subdir in $_subdirs; do
    pushd $_subdir
    make INSTALL_ROOT="${pkgdir}" install
    popd
  done
}

sl1pkn07 commented on 2024-03-29 16:15 (UTC)

/tmp/yay/octopi-git/PKGBUILD: línea 86: pushd: sudo: No existe el fichero o el directorio

xiota commented on 2024-03-17 00:06 (UTC)

Fails to build in clean chroot. Upstream PKGBUILD works after removing prepare() function. (But fails with it.)

class101 commented on 2020-01-28 18:25 (UTC) (edited on 2020-01-28 20:59 (UTC) by class101)

v0.9.0.r332 brings proxy support, thank you @aarnt ! [2250904|e846990]

  • PKGBUILD updated to match a closer version to the official one provided on github
  • PKGBUILD WITH_KNOTIFICATION=1 -> Enable the Plasma/knotifications support notifier
  • PKGBUILD WITH_DARK_ICON=0 -> Replace grey icon for dark theme support by the original green icon
  • PKGBUILD -j removed, if you need parallel build, set MAKEFLAGS in /etc/makepkg.conf
  • PKGBUILD qt5-tools added as makedeps (a new requirement to build octopi-sudo)
  • I didn't feel it was necessary to keep the old numix icons but if you want them back just let me know

Morganamilo commented on 2019-11-24 05:57 (UTC)

Please don't set -j in the pkgbuild. That's just bad practise..

DonHugo commented on 2019-07-08 04:36 (UTC)

The package does currently not build (e.g. pacmanhelper has been removed, a new sudo module added). Please see https://github.com/aarnt/octopi/blob/master/PKGBUILD for the updated dependencies and build instructions.