Package Details: astrodmx-capture 2.9.7-1

Git Clone URL: https://aur.archlinux.org/astrodmx-capture.git (read-only, click to copy)
Package Base: astrodmx-capture
Description: AstroDMx Capture Astronomical Imaging
Upstream URL: https://www.astrodmx-capture.org.uk/
Keywords: astrodmx astronomical astrophotography
Licenses: custom
Submitter: ashleyr
Maintainer: cernyhonza
Last Packager: cernyhonza
Votes: 6
Popularity: 0.162775
First Submitted: 2020-04-30 10:54 (UTC)
Last Updated: 2024-09-11 19:15 (UTC)

Latest Comments

« First ‹ Previous 1 2

ashleyr commented on 2021-09-29 14:12 (UTC) (edited on 2021-10-05 01:09 (UTC) by ashleyr)

UPDATE

Nicola (the author) has very helpfully agreed to copy new releases into the old folder as they are released as well as put them into the current folder so that we can use the consistent path in our PKGBUILD and avoid it breaking. I've updated this as of version 1.2.6.

Thanks heaps Nicola!

A quick note about the package breaking on new release

The author of AstroDMX is moving the archive location when they release a new version so the source link becomes invalid until I can update the version in the PKGBUILD.

I've contacted the author to see if there is a way we can fix this.

In the meantime, please flag as out of date, and I'll update as soon as I can.

Ash.

NicolasV commented on 2021-09-24 14:40 (UTC) (edited on 2021-09-24 14:48 (UTC) by NicolasV)

You need to replace "current" by "old" in the source package url in order to build 0.90.2. The right one is

https://www.astrodmx-capture.org.uk/sites/downloads/astrodmx/old/x86-64/astrodmx-glibc-2.30_${pkgver}_x86-64-manual.tar.gz

By the way, current version is 1.0.5 ;-)

arnaudlecam commented on 2021-05-04 22:27 (UTC) (edited on 2021-05-04 22:35 (UTC) by arnaudlecam)

Hi ashleyr,

Here are PKGBUILD's modifications I had to do:

pkgver=0.88.2

source=("https://www.astrodmx-capture.org.uk/sites/downloads/astrodmx/current/x86-64/astrodmx-glibc-2.30_${pkgver}_x86-64-manual.tar.gz")

sha256sums=("0ea638769e7a6fe305f111f5c701c4ffd8d75aff8af927875b077081ca10d52c")

ashleyr commented on 2021-04-17 07:16 (UTC)

@AstroDMx / Nicola,

Thanks so much for coming to AUR and commenting, happy to have you here! I'd be more than happy to have you as a co-maintainer if you like. I set this up originally because it didn't exist, I claim no special knowledge of it. :)

Once you release the new version, I'll update the package and remove the need to change directory as you suggest - thanks for the heads up. It may take a few days for to find the time to get this done though.

My only request at the moment, would be a clarification of the license in the package files so we can ensure we have this right our end.

Ash.

AstroDMx commented on 2021-04-16 17:26 (UTC) (edited on 2021-04-16 17:27 (UTC) by AstroDMx)

I'm the developer of AstroDMx Capture, it's nice to see that my application has been added to the Arch package manager. If I can help, please don't hesitate to contact me at astrosoftware@asys-it.com.

BTW: It's no longer necessary to start AstroDMx from its bin directory. It can be started from any location in the file system (true since 0.84.7). It is, however, a requirement to start the application from AstroDMx-Launcher. The launcher is now a binary which interrogates the CPU and runs an optimised binary for the user's microarchitecture.

I will be making a new release within the next week, the only change that you will need to make will be for the new version number. If I ever make a change that will break your package configuration, I will endeavour to let you know.

Nicola

ashleyr commented on 2021-03-20 09:22 (UTC)

Thanks @Tomxey, I've updated the package with your changes. Appreciate the help!

Tomxey commented on 2021-03-20 09:12 (UTC)

The old PKGBUILD does not work, here's a new version that works for me:

# Maintainer: Ashely Roll <ash at digitalnemesis dot com>

pkgname=astrodmx-capture
pkgver=0.86.3
pkgrel=1
pkgdesc="AstroDMx Capture Astronomical Imaging"
arch=('x86_64')
url="https://www.linux-astro-imaging.uk/"
# No licence file available in package, see https://www.linux-astro-imaging.uk/linux/astronomy/linux-downloads
# for details.
license=(custom)
options=(!strip)
install=$pkgname.install

source=("https://www.astrodmx-capture.org.uk/sites/downloads/astrodmx/current/x86-64/astrodmx-glibc-2.30_${pkgver}_x86-64-manual.tar.gz")
sha256sums=("26fec744b1ce169f09e83af9d8385c56b6a3cd4735635c64251579c621afe7b2")

_instdir="/usr/local/AstroDMx_Capture"
_prefix="R-Linux-64-2.30"

package() {
    # create the desitination folder
    mkdir -p "${pkgdir}${_instdir}"

    # copy over the linux 64 bit files
    cp --recursive ${_prefix}/usr/local/AstroDMx_Capture/* "${pkgdir}${_instdir}"

    # copy over the udev rules
    mkdir -p "${pkgdir}/etc/udev/rules.d"
    cp ${_prefix}/etc/udev/rules.d/* "${pkgdir}/etc/udev/rules.d"

    # create a profile file to add an alias for astrodmx
    # this is needed because the application has to be launced from the bin folder
    # to correctly work, so we can't just add the path. sigh.
    # Update V0.78.3: Now have to start with launcher.sh, this does a cd, so will continue
    # to wrap with pushd/popd to not mess up local path
    mkdir -p "${pkgdir}/etc/profile.d"
    echo "alias astrodmx=\"pushd '${_instdir}/bin'; ./AstroDMx-Launcher; popd\"" > "${pkgdir}/etc/profile.d/${pkgname}.sh"
}

ashleyr commented on 2020-09-05 08:25 (UTC)

Thanks @cptdark for letting me know it was out of date. Should be fixed now. Had to also adjust to use the launcher.sh rather than just calling the bin file.

ashleyr commented on 2020-04-30 11:55 (UTC) (edited on 2020-04-30 11:55 (UTC) by ashleyr)

This application needs to be launched from its bin folder. So rather than adding to the PATH to find it, I've had to add an alias astrodmx using the profile.d folder.

When you install you will need to reload your profile to get this alias.