Package Details: phd2 2.6.13dev8-1

Git Clone URL: https://aur.archlinux.org/phd2.git (read-only, click to copy)
Package Base: phd2
Description: Open PHD Guiding - PHD2 astrophotography autoguiding tool
Upstream URL: http://openphdguiding.org/
Licenses: BSD3
Submitter: mobarre
Maintainer: RononDex
Last Packager: RononDex
Votes: 2
Popularity: 0.000000
First Submitted: 2021-01-14 11:27 (UTC)
Last Updated: 2025-11-12 08:36 (UTC)

Latest Comments

blemasle commented on 2025-10-21 18:56 (UTC)

I found that the last PKGBUILD provided by 1093i3511 does not work on my system. I did open an issue here after getting it to build with the following PKGBUILD

pkgname=phd2
_commit=7454c9a4f9b62e95525ee386eb228d5ea6762750
pkgver=2.6.13dev7
pkgrel=1
pkgdesc="Open PHD Guiding - PHD2 astrophotography autoguiding tool"
url="http://openphdguiding.org/"
arch=('i686' 'x86_64')
license=('BSD3')
depends=(
    'wxwidgets-gtk3' 
    'v4l-utils' 
    'zlib' 
    'cfitsio' 
    'opencv' 
    'libnova'
    'libindi'
    'qt6-base'
    'hdf5'
    'vtk'
    'jsoncpp'
    'glew'
    'fmt')
makedepends=('git' 'cmake' 'gtest' 'eigen')
source=("https://github.com/OpenPHDGuiding/phd2/archive/${_commit}.zip")
sha256sums=('dca63d1f96ff4327a788ec6daf57a6fd08c7bd9d16859df133f7be4e9fd60ad4')

prepare() {    
    mkdir build
    cd build

    # patch the missing <cassert> in the gaussian_process test
    sed -i '1i#include <cassert>' \
        ../phd2-${_commit}/contributions/MPI_IS_gaussian_process/src/gaussian_process.cpp

    cmake \
        -DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
        -DUSE_SYSTEM_LIBINDI=ON \
        -DUSE_SYSTEM_LIBUSB=ON \
        -DUSE_SYSTEM_GTEST=ON \
        -DEIGEN_SRC=/usr/include/eigen3 \
        ../phd2-$_commit
}

build() {
    cd build
    make
}

package() {
    cd build
    make DESTDIR="${pkgdir}" install
        rm -rf $pkgdir/usr/include  
}

This points to a few commits after 2.6.13dev7 which were needed for getting it to build, but it also works with the last revision

1093i3511 commented on 2025-07-24 13:51 (UTC)

The current PKGBUILD fails due to several reasons / missing CMake configurations. I've managed to trace the individual issues and building it locally with this PKGBUILD https://0x0.st/8nnf.txt successfully. Which definitely isn't optimal and does require a review.

darekp commented on 2025-05-06 07:44 (UTC) (edited on 2025-05-06 07:44 (UTC) by darekp)

With updated cmake package compilation fails. Can you add: cmake ../phd2-$pkgver -DCMAKE_POLICY_VERSION_MINIMUM=3.5 ?

RononDex commented on 2024-08-08 08:57 (UTC) (edited on 2024-08-08 08:58 (UTC) by RononDex)

Would it be possible to add "aarch64" as supported architectures? I already compiled it after manually adjusting PKGBUILD and it compiles fine on aarch64

wrenby commented on 2024-03-26 17:03 (UTC)

This isn't an issue specific to the newest release, but I've changed my default CMake generator to ninja since the last time I built this package, and it seems the PKGBUILD doesn't account for that possibility. That is, it always tries to run make, regardless of whether CMake actually produced a Makefile. Manually specifying the generator with a -G "Unix Makefiles" flag in the cmake line fixes this issue.

italic commented on 2024-01-12 05:10 (UTC)

Hi mobarre. I flagged because of release of 2.6.13 and pointed to the new release archive URL. I've also been running the package on my Odroid M2 with aarch64 without any issue for a long time.

mobarre commented on 2023-04-24 11:18 (UTC)

For whom it may concern: please avoid flagging as out of date unless a new stable version is officially released here: https://openphdguiding.org/downloads/

dev versions are just that: dev versions.