Package Details: pinta-gtk3-git r2618.6d26a525-1

Git Clone URL: https://aur.archlinux.org/pinta-gtk3-git.git (read-only, click to copy)
Package Base: pinta-gtk3-git
Description: Drawing/editing program modeled after Paint.NET. It's goal is to provide a simplified alternative to GIMP for casual users
Upstream URL: https://pinta-project.com
Licenses: MIT
Conflicts: pinta
Provides: pinta
Submitter: jsteinaker
Maintainer: FabioLolix
Last Packager: FabioLolix
Votes: 2
Popularity: 0.000000
First Submitted: 2021-05-14 16:45 (UTC)
Last Updated: 2024-04-21 09:57 (UTC)

Latest Comments

1 2 Next › Last »

FabioLolix commented on 2023-01-06 18:37 (UTC)

Hello @geekborg

  • your problem was with gtk-sharp-3-git not pinta-gtk3-git (gtk-sharp-3-git fixed just now), please post in the pertinent AURweb page
  • please use LANG=C makepkg to have the output in English
  • please quote the terminal output with 3 backticks (```) at top and bottom (markdown formatting)

geekborg commented on 2022-08-10 16:02 (UTC)

Impossible to build Gtk-sharp-git is impossible to download

` Construction de gtk-sharp-3-git... ==> Création du paquet gtk-sharp-3-git 3.22.1-1 (mer. 10 août 2022 16:51:39) ==> Vérification des dépendances pour l’exécution… ==> Vérification des dépendances pour la compilation… ==> Récupération des sources… -> Clonage du dépôt gtk-sharp git… Clonage dans le dépôt nu '/var/tmp/pamac-build-abdellahb/gtk-sharp-3-git/gtk-sharp' fatal: impossible de se connecter à github.com : github.com[0: 140.82.121.4]: errno=Connexion terminée par expiration du délai d'attente

==> ERREUR : Échec lors du téléchargement du dépôt gtk-sharp git Abandon… Impossible de construire gtk-sharp-3-git`

jsteinaker commented on 2022-01-07 13:57 (UTC)

@NicoHood one last minor change. In the 'sed' line, change Makefile.am for Makefile.in, otherwise configure will try to rebuild the entire build system. Your last PKGBUILD builds for me just with this minor change.

NicoHood commented on 2022-01-07 08:50 (UTC)

There is a new bugfix version out and the missing file is available there. But it still does not build. Do you have an idea?

# Maintainer: NicoHood <archlinux {cat} nicohood {dog} de>
# PGP ID: 97312D5EB9D7AE7D0BD4307351DAE9B7C1AE9161
# Contributor: Fabio 'Lolix' Loli <fabio.loli@disroot.org> -> https://github.com/FabioLolix
# Contributor: Balló György <ballogyor+arch at gmail dot com>
# Contributor: Konrad <konrad AT knauber DOT name>

pkgname='pinta'
pkgver=2.0.1
pkgrel=1
pkgdesc="Drawing/editing program modeled after Paint.NET. It's goal is to provide a simplified alternative to GIMP for casual users"
arch=('any')
url="https://pinta-project.com/"
license=('MIT')
depends=('gtk-sharp-3' 'mono-addins' 'gtk3>=3.24.21' 'dotnet-runtime')
makedepends=('intltool' 'dotnet-sdk')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/PintaProject/Pinta/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz"
        "${pkgname}-${pkgver}.tar.gz.asc::https://github.com/PintaProject/Pinta/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz.asc")
sha512sums=('092732bcb23db24c038b1182577f9cb440f4eaa6db9203dcaeca030aded280034eb8ac9af0db93048bbdefefcc2b482a011eff87c12247972c0f5b6f43e3819d'
            'SKIP')
validpgpkeys=('5BDA30D0C2E985E598089E444CF80E80E77C5C35') # Cameron White

prepare() {
  cd "${pkgname}-${pkgver}"
  sed -i '/^PINTA_BUILD_OPTS/ s/$/ -maxcpucount:1/' Makefile.am
}

build() {
  cd "${pkgname}-${pkgver}"
  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
  make
}

package() {
  cd "${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install

  install -Dm644 -t "${pkgdir}/usr/share/licenses/${pkgname}/" license-*.txt readme.md
}

jsteinaker commented on 2022-01-06 17:00 (UTC)

@NicoHood I've managed to build Pinta 2.0 successfully using your PKGBUILD with two minor changes:

1) Download install.proj from github into installer/linux folder.

2) (At least in my setup, use this only if needed) Add the following line to the build() section in your PKGBUILD, inmediately after 'cd' and before 'configure':

sed -i '/^PINTA_BUILD_OPTS/ s/$/ -maxcpucount:1/' Makefile.am

jsteinaker commented on 2022-01-05 22:15 (UTC)

@NicoHood for some reason, install.proj seems to be missing in the 2.0 release tarball. Try to download it from github (installer/linux/install.proj), put it in the right folder and give it a try. My PKGBUILD differs a little bit from yours but doing this change I was able to build, package and start Pinta 2.0.

If what I'm saying is true, you can ask Pinta developers to fix the tarball or use a workaround like downloading install.proj from 'sources' on the PKGBUILD

NicoHood commented on 2022-01-04 15:22 (UTC)

Sadly it does not help. Here is my log:

==> Starting package()...
Making install in xdg
make[1]: Entering directory '/build/pinta/src/pinta-2.0/xdg'
make[2]: Entering directory '/build/pinta/src/pinta-2.0/xdg'
make[2]: Nothing to be done for 'install-exec-am'.
 /usr/bin/mkdir -p '/build/pinta/pkg/pinta/usr/share/metainfo'
 /usr/bin/mkdir -p '/build/pinta/pkg/pinta/usr/share/applications'
 /usr/bin/mkdir -p '/build/pinta/pkg/pinta/usr/share/man/man1'
 /usr/bin/install -c -m 644 pinta.appdata.xml '/build/pinta/pkg/pinta/usr/share/metainfo'
 /usr/bin/install -c -m 644 pinta.desktop '/build/pinta/pkg/pinta/usr/share/applications'
 /usr/bin/install -c -m 644 pinta.1 '/build/pinta/pkg/pinta/usr/share/man/man1'
make[2]: Leaving directory '/build/pinta/src/pinta-2.0/xdg'
make[1]: Leaving directory '/build/pinta/src/pinta-2.0/xdg'
make[1]: Entering directory '/build/pinta/src/pinta-2.0'
make[2]: Entering directory '/build/pinta/src/pinta-2.0'
cd . && /usr/bin/dotnet build Pinta.sln --configuration Release -p:BuildTranslations=true
 /usr/bin/mkdir -p '/build/pinta/pkg/pinta/usr/lib/pkgconfig'
 /usr/bin/install -c -m 644 ./pinta.pc '/build/pinta/pkg/pinta/usr/lib/pkgconfig'
Microsoft (R) Build Engine version 17.0.0+c9eb9dd64 for .NET
Copyright (C) Microsoft Corporation. All rights reserved.


Build succeeded.
    0 Warning(s)
    0 Error(s)

Time Elapsed 00:00:02.37
make[2]: *** [Makefile:911: build] Error 1
make[2]: Leaving directory '/build/pinta/src/pinta-2.0'
make[1]: *** [Makefile:776: install-am] Error 2
make[1]: Leaving directory '/build/pinta/src/pinta-2.0'
make: *** [Makefile:467: install-recursive] Error 1

jsteinaker commented on 2022-01-04 14:09 (UTC)

@NicoHood I can't take a proper look right now, but from the top of my head:

1) Pinta depends on the dotnet-runtime package to run and it's not listed on 'depends' on your PKGBUILD

2) On my PKGBUILD I have the line sed -i '/^PINTA_BUILD_OPTS/ s/$/ -maxcpucount:1/' Makefile.am and that was because I was having trouble trying to build with multiple CPUs (basically every CPU nowadays is at least dual core so...). Check the build section on my PKGBUILD.

And please report back if you had success or not, and I'll take a better look then

NicoHood commented on 2022-01-03 23:08 (UTC)

@jsteinaker Could you please help me for the official arch package? It does not build for me for some unknown reason. The build runs fine, but it shows an unknown error. Cameron (the pinta dev) referred me to you, maybe you can help?

My pkgbuild:

# Maintainer: NicoHood <archlinux {cat} nicohood {dog} de>
# PGP ID: 97312D5EB9D7AE7D0BD4307351DAE9B7C1AE9161
# Contributor: Fabio 'Lolix' Loli <fabio.loli@disroot.org> -> https://github.com/FabioLolix
# Contributor: Balló György <ballogyor+arch at gmail dot com>
# Contributor: Konrad <konrad AT knauber DOT name>

pkgname='pinta'
pkgver=2.0
pkgrel=1
pkgdesc="Drawing/editing program modeled after Paint.NET. It's goal is to provide a simplified alternative to GIMP for casual users"
arch=('any')
url="https://pinta-project.com/"
license=('MIT')
depends=('gtk-sharp-3' 'mono-addins' 'gtk3>=3.24.21')
makedepends=('intltool' 'dotnet-sdk')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/PintaProject/Pinta/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz"
        "${pkgname}-${pkgver}.tar.gz.asc::https://github.com/PintaProject/Pinta/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz.asc")
sha512sums=('2fd5ce92bf2760cd43a7723b9e9f4bf6c2f1866dd83bf5d456ff2ebcf422f66f3e76436619a8414087cb7b145a0072462b1e92aa4d17a6fa3c1ea802b3099806'
            'SKIP')
validpgpkeys=('5BDA30D0C2E985E598089E444CF80E80E77C5C35') # Cameron White

build() {
  cd "${pkgname}-${pkgver}"
  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
  make
}

package() {
  cd "${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install

  install -Dm644 -t "${pkgdir}/usr/share/licenses/${pkgname}/" license-*.txt readme.md
}

jsteinaker commented on 2021-12-14 02:12 (UTC) (edited on 2021-12-14 02:13 (UTC) by jsteinaker)

GTK3 and .NET 6 are now on the master branch on Pinta's repo. Updated the PKGBUILD to build from there. As soon as 'pinta-git' gets updated on the AUR, this package shouldn't be needed anymore.