Package Details: armorpaint-git 0.9.r2900.gef390132-1

Git Clone URL: https://aur.archlinux.org/armorpaint-git.git (read-only, click to copy)
Package Base: armorpaint-git
Description: ArmorPaint is a software for 3D PBR texture painting
Upstream URL: https://armorpaint.org/
Keywords: 3D gamedev graphics painting PBR
Licenses: zlib
Conflicts: armorpaint
Provides: armorpaint
Submitter: juliotux
Maintainer: None
Last Packager: juliotux
Votes: 10
Popularity: 0.000040
First Submitted: 2020-03-22 18:08 (UTC)
Last Updated: 2022-03-26 14:13 (UTC)

Latest Comments

1 2 Next › Last »

hellishbliss commented on 2024-12-17 22:40 (UTC) (edited on 2024-12-18 01:34 (UTC) by hellishbliss)

Regarding the comment by Graith95, the same can be used for armorlab, obviously change the checksums/git repo/edit desktop and sh files.

Also the pkgbuild fails as it looks for "LICENSE.md" when it needs to be "license.md" on line 50.

Graith95 commented on 2024-09-10 01:56 (UTC)

I have a working PKGBUILD for the 1.0 alpha at https://gist.github.com/GraithTiger/ebab9f777e62b52fe23141622c5669a3

The-Anathema commented on 2024-06-22 22:03 (UTC)

I intend to fix this one as well since I created and took on maintenance of stable (non-git, v0.9 at time of writing).

Right now that's not going to happen though, upstream is completely broken, some of these errors would be trivial to fix but I don't have the time to deep dive the codebase to fix it.

fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [makefile:12: krom.o] Error 1

It appears the entire project is currently undergoing some kind of restructuring, Kinc/make has been turned to just make, files have moved, etc. I suspect most of these issues will be ironed out in a few weeks when they finish restructuring.

sem.z commented on 2024-03-06 13:32 (UTC) (edited on 2024-03-06 13:47 (UTC) by sem.z)

Fixed pkgver build error:

# $Id$
# Maintainer: Julio Campagnolo <juliocampagnolo@gmail.com>

pkgname=('armorpaint-git')
_pkgname='armortools'
pkgver=1.0.alpha.r3637.g15ad4901
pkgrel=1
arch=('i686' 'x86_64')
pkgdesc="ArmorPaint is a software for 3D PBR texture painting"
url="https://armorpaint.org/"
license=('ZLIB')
depends=('mesa' 'alsa-lib' 'libxinerama' 'gcc-libs' 'nodejs')
makedepends=('git' 'nodejs' 'clang' 'make' 'gcc' 'gtk3' 'vulkan-headers')
provides=('armorpaint')
conflicts=('armorpaint')
source=("git+https://github.com/armory3d/armortools"
    "armorpaint.sh"
    "armorpaint.desktop"
    "armorpaint.png")
md5sums=(SKIP
    "74001d6c572fc79c96d0bee24427f7ba"
    "dd5d97aadd39966ff7d9dda68b5ae29a"
    "67cf4a0cb08c66c4a68c677885e8ac99")

pkgver() {
    cd "$srcdir/$_pkgname"
    ver="$(grep -oP 'version = "\K[^"]+' armorpaint/Sources/manifest.ts | sed 's/ /./')"
    printf "%s.r%s.g%s" "$ver" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

prepare() {
    cd "$srcdir/$_pkgname"
    git submodule update --init --recursive
}

build() {
    cd "$srcdir/$_pkgname/armorpaint"
    ../armorcore/Kinc/make --from ../armorcore -g opengl --compiler clang --compile
    cd ../armorcore/Deployment
    strip ArmorPaint
}

package() {
    cd "$srcdir/$_pkgname"
    mkdir -p ${pkgdir}/usr/{bin,share,lib}
    mkdir -p ${pkgdir}/usr/lib/armorpaint
    install -Dm755 ${srcdir}/armorpaint.sh ${pkgdir}/usr/bin/armorpaint
    install -Dm644 LICENSE.md ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
    install -Dm755 armorcore/Deployment/ArmorPaint ${pkgdir}/usr/lib/armorpaint/
    install -Dm644 ${srcdir}/armorpaint.desktop ${pkgdir}/usr/share/applications/armorpaint.desktop
    mkdir -p ${pkgdir}/usr/share/armorpaint
    cp -r build/krom ${pkgdir}/usr/share/armorpaint/krom
    install -Dm644 ${srcdir}/armorpaint.png ${pkgdir}/usr/share/icons/armorpaint.png
}

But unfortunately still unable to build. Some people right now also have troubles, see - https://github.com/armory3d/armortools/issues/1671.

juliotux commented on 2023-09-14 15:42 (UTC)

Hi @AmonDeShir, I orphaned the package. Feel free to adopt it.

AmonDeShir commented on 2023-09-14 00:40 (UTC) (edited on 2023-09-14 00:43 (UTC) by AmonDeShir)

I fixed build errors:

# $Id$
# Maintainer: Julio Campagnolo <juliocampagnolo@gmail.com>

pkgname=('armorpaint-git')
_pkgname='armortools'
pkgver=1.0.alpha.r3477.g56793906
pkgrel=1
arch=('i686' 'x86_64')
pkgdesc="ArmorPaint is a software for 3D PBR texture painting"
url="https://armorpaint.org/"
license=('ZLIB')
depends=('mesa' 'alsa-lib' 'libxinerama' 'gcc-libs')
makedepends=('git' 'make' 'gcc' 'gtk3' 'vulkan-headers')
provides=('armorpaint')
conflicts=('armorpaint')
source=("git+https://github.com/armory3d/armortools"
        "armorpaint.sh"
        "armorpaint.desktop"
        "armorpaint.png")
md5sums=(SKIP
         "74001d6c572fc79c96d0bee24427f7ba"
         "dd5d97aadd39966ff7d9dda68b5ae29a"
         "67cf4a0cb08c66c4a68c677885e8ac99")

pkgver() {
  cd "${srcdir}/${_pkgname}"
  ver="$(grep -oP 'version = "\K[^"]+' armorpaint/Sources/Manifest.hx | sed 's/ /./')"
  printf "%s.r%s.g%s" "$ver" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

prepare() {
    cd "${srcdir}/${_pkgname}"
    git submodule update --init --recursive
}

build() {
    cd "$srcdir/${_pkgname}/armorpaint"
    ../armorcore/Kinc/make --from ../armorcore -g opengl --compile
    cd ../armorcore/Deployment
    strip ArmorPaint
}

package() {
    cd "$srcdir"/"$_pkgname"
    mkdir -p ${pkgdir}/usr/{bin,share,lib}
    mkdir -p ${pkgdir}/usr/lib/armorpaint
    install -Dm755 ${srcdir}/armorpaint.sh ${pkgdir}/usr/bin/armorpaint
    install -Dm644 LICENSE.md ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
    install -Dm755 armorcore/Deployment/ArmorPaint ${pkgdir}/usr/lib/armorpaint/
    install -Dm644 ${srcdir}/armorpaint.desktop ${pkgdir}/usr/share/applications/armorpaint.desktop
    mkdir -p ${pkgdir}/usr/share/armorpaint
    cp -r armorpaint/build/krom ${pkgdir}/usr/share/armorpaint/krom
    install -Dm644 ${srcdir}/armorpaint.png ${pkgdir}/usr/share/icons/armorpaint.png
}

I changed GitHub URL because main repo was renamed to armortools. I also removed nodejs from dependencies (armorpaint has build-in v8). Furthermore, I had troubles with compilation using clang: "incompatible pointer to integer conversion passing 'zui_node_socket_t ' (aka 'struct zui_node_socket ') to parameter of type 'int' [-Wint-conversion]", in clang14 it was only a warning, but since clang15 it is an error now, unfortunately arch uses clang16. I failed to get kmake to use clang14 instead of the default clang16, so as a workaround, I changed clang to GCC.

mbway commented on 2023-02-11 17:56 (UTC) (edited on 2023-02-11 17:57 (UTC) by mbway)

The package fails to build.

  • Sources/Main.hx has moved to armorpaint/Sources/Main.hx
  • build/krom has moved to armorpaint/build/krom

lehthanis commented on 2021-11-03 18:14 (UTC)

I'm using an Nvidia RTX 2080 and I get incredible gpu usage spike and overheat and a framerate of about 1 frame every 1-3 seconds....it's bad...what am I doing wrong? Should I submit this to the devs?

juliotux commented on 2021-08-28 14:23 (UTC)

@Blaster84x package fixed.