Package Details: proton-ide-git r182.e6b754e-3

Git Clone URL: https://aur.archlinux.org/proton-ide-git.git (read-only, click to copy)
Package Base: proton-ide-git
Description: A new IDE made with Vala.
Upstream URL: https://gitlab.com/raggesilver-proton/proton
Licenses: GPL3
Conflicts: proton-ide
Provides: proton-ide, proton-ide-git
Submitter: btd1337
Maintainer: None
Last Packager: btd1337
Votes: 1
Popularity: 0.000000
First Submitted: 2019-08-10 23:56 (UTC)
Last Updated: 2020-05-15 00:27 (UTC)

Latest Comments

Hyper commented on 2020-09-16 06:43 (UTC)

Hello, maintainer of AUR Proton!

When I installed Proton in Manjaro Gnome (AUR), it gave me a bug: "src/meson.build:37:0: ERROR: Program 'g-ir-compiler' not found".

I found out that "gobject-introspection" need to be installed. Before in my system i had "gobject-introspection-runtime".

Maybe "Dependencies" needs "gobject-introspection" to be added?

Tony.

ccorn commented on 2020-06-30 16:32 (UTC) (edited on 2020-07-09 09:27 (UTC) by ccorn)

Some changes:

  1. Dependency fixes
  2. Renaming of submodulesurl to _submodulesurl to indicate that it is not used outside this PKGBUILD
  3. Generation of icons
diff --git a/PKGBUILD b/PKGBUILD
old mode 100755
new mode 100644
index f41454f..f820547
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,25 +5,25 @@ _gitname=proton
 _author=raggesilver-proton
 _pkg=("${_gitname}-ide")
 pkgname=("${_pkg}-git")
-pkgver=r182.e6b754e
-pkgrel=3
+pkgver=v0.3.1.r1.g0c265e2
+pkgrel=1
 pkgdesc="A new IDE made with Vala."
 arch=('i686' 'x86_64')
 url="https://gitlab.com/${_author}/${_gitname}"
-submodulesurl="https://gitlab.com/${_author}/proton"
+_submodulesurl="https://gitlab.com/${_author}/proton"
 license=('GPL3')
 depends=('gtk3' 'granite' 'editorconfig-core-c' 'glib2' 'gtksourceview4' 'json-glib'
-       'libdazzle' 'marble-gtk' 'vte3')
-optdepends=('')
-makedepends=('git' 'meson>=0.50.0' 'vala')
+       'libgit2-glib' 'libdazzle' 'marble-gtk' 'vte3')
+optdepends=()
+makedepends=('git' 'meson>=0.50.0' 'vala' 'gobject-introspection' 'python')
 provides=("${_pkg}" "${pkgname}")
 conflicts=("${_pkg}")
 source=(
    "git+${url}.git"
-   "git+${submodulesurl}-runner-plugin.git"
-   "git+${submodulesurl}-editorconfig-plugin.git"
-   "git+${submodulesurl}-autobracket-plugin.git"
-   "git+${submodulesurl}-templates.git"
+   "git+${_submodulesurl}-runner-plugin.git"
+   "git+${_submodulesurl}-editorconfig-plugin.git"
+   "git+${_submodulesurl}-autobracket-plugin.git"
+   "git+${_submodulesurl}-templates.git"
 )
 md5sums=('SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP')

@@ -52,13 +52,26 @@ prepare() {

    git submodule init
    git config submodule.proton-templates.url $srcdir/proton-templates
-   git submodule update    
+   git submodule update
+
+   # text-x-editorconfig-symbolic.svg text-x-makefile-symbolic.svg are dangling symlinks
+   # https://gitlab.com/raggesilver-proton/proton/-/issues/56
+   find data/icons/hicolor/scalable/mimetypes -type l -name '*-symbolic.svg' | \
+   while read _f; do
+     rm "$_f"
+     cp -v "${_f%-symbolic.svg}.svg" "$_f"
+   done
 }

 build() {
     cd "${_gitname}/"
     meson . _build --prefix=/usr
     ninja -C _build
+
+    # Pending upstream issue:
+    # https://gitlab.com/raggesilver-proton/proton/-/issues/56
+    cd data/icons/hicolor
+    python render-symbolic.py
 }

 package() {

raggesilver commented on 2020-05-14 21:47 (UTC)

@btd1337 O repositório do Proton tem alguns submodules, então ele tem que ser clonado com --recursive. data/templates e src/plugins/* são todos submodules

btd1337 commented on 2020-05-14 21:32 (UTC)

@raggesilver Eu criei um novo pacote para seu projeto marble. Está instalando corretamente.

Porém o seu pacote Proton ao tentar compilar está dando o seguinte erro. Saberia dizer se este arquivo data/templates/meson.build realmente existe?

The Meson build system
Version: 0.54.1
Source dir: /home/arch/.cache/yay/proton-ide-git/src/proton
Build dir: /home/arch/.cache/yay/proton-ide-git/src/proton/_build
Build type: native build
Project name: proton
Project version: 0.3.1
Using 'CFLAGS' from environment with value: '-march=x86-64 -mtune=generic -O2 -pipe -fno-plt'
Using 'LDFLAGS' from environment with value: '-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now'
Using 'CPPFLAGS' from environment with value: '-D_FORTIFY_SOURCE=2'
Using 'CFLAGS' from environment with value: '-march=x86-64 -mtune=generic -O2 -pipe -fno-plt'
Using 'LDFLAGS' from environment with value: '-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now'
Using 'CPPFLAGS' from environment with value: '-D_FORTIFY_SOURCE=2'
C compiler for the host machine: cc (gcc 9.3.0 "cc (Arch Linux 9.3.0-1) 9.3.0")
C linker for the host machine: cc ld.bfd 2.34
Vala compiler for the host machine: valac (valac 0.48.5)
Host machine cpu family: x86_64
Host machine cpu: x86_64

data/meson.build:6:0: ERROR: Non-existent build file 'data/templates/meson.build'

A full log can be found at /home/arch/.cache/yay/proton-ide-git/src/proton/_build/meson-logs/meson-log.txt
==> ERRO: Uma falha ocorreu em build().
    Abortando...
Error making: proton-ide-git

raggesilver commented on 2020-05-08 12:27 (UTC)

Hi, author of Proton here, Proton's "marble" dependency refers to https://gitlab.com/raggesilver/marble not to the KDE app. I'm really bad at choosing unique names...