Package Details: scopehal-apps-git 0.0.19bc636a-1

Git Clone URL: https://aur.archlinux.org/scopehal-apps-git.git (read-only, click to copy)
Package Base: scopehal-apps-git
Description: glscopeclient and other client applications for libscopehal
Upstream URL: https://github.com/glscopeclient/scopehal-apps
Licenses: BSD
Submitter: RigoLigo
Maintainer: RX14
Last Packager: RX14
Votes: 1
Popularity: 0.002781
First Submitted: 2021-12-15 14:22 (UTC)
Last Updated: 2024-09-19 19:13 (UTC)

Latest Comments

xorly commented on 2024-12-19 17:06 (UTC)

Hi, can we get linux-gpib as optional dependency? (as seen in patches in previous comments)

Also, could you please update PKGBUILD so it follows template https://wiki.archlinux.org/title/CMake_package_guidelines#Template and it does not call make directly, as people like me, may have different cmake build system than GNU make (e.g. Ninja).

ftk commented on 2024-04-03 12:44 (UTC)

removes patches

diff --git a/PKGBUILD b/PKGBUILD
index 92639eb..4aa6966 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,20 +1,17 @@

 pkgname=scopehal-apps-git
-pkgver=0.0.f18ad75
+pkgver=0.0.33c7cdd
 pkgrel=1
 pkgdesc="glscopeclient and other client applications for libscopehal"
 arch=('x86_64')
 url="https://github.com/glscopeclient/scopehal-apps"
 license=('BSD')
 groups=()
-depends=('gtkmm3' 'libsigc++' 'ffts' 'openmp' 'glfw' 'libvulkan.so' 'yaml-cpp' 'glew' 'catch2' 'spirv-tools' 'shaderc' 'liblxi' 'linux-gpib')
-makedepends=('cmake' 'git' 'vulkan-headers')
-source=("git+https://github.com/glscopeclient/scopehal-apps.git"
-        "modules.patch"
-        "target_link_libraries.patch")
-sha256sums=('SKIP'
-            'afcabed21ee30a3b08b86c452e09f964632f9ac2a2ce6d9eeea430c3060748af'
-            '39459c2f5b67968ca9b743e335026dc280e340ed6e3e4091ac26afd7d709f290')
+depends=('gtkmm3' 'libsigc++' 'ffts-git' 'openmp' 'glfw' 'yaml-cpp' 'glew')
+makedepends=('cmake' 'git' 'vulkan-headers' 'catch2')
+optdepends=('libvulkan.so'  'spirv-tools' 'shaderc' 'liblxi' 'linux-gpib' )
+source=("git+https://github.com/glscopeclient/scopehal-apps.git")
+sha256sums=('SKIP')

 pkgver() {
   cd "${srcdir}/scopehal-apps"
@@ -22,10 +19,9 @@ pkgver() {
 }

 prepare() {
-    patch "$srcdir/scopehal-apps/.gitmodules" modules.patch
-       cd "$srcdir/scopehal-apps"
-       git submodule update --init --recursive
-    patch -p1 < "$srcdir"/target_link_libraries.patch
+  sed -i 's%url = \.\./%url = https://github.com/glscopeclient/%' "$srcdir/scopehal-apps/.gitmodules"
+  cd "$srcdir/scopehal-apps"
+  git submodule update --init --recursive
 }

 build() {

XDjackieXD commented on 2023-06-27 09:15 (UTC)

Hi!

The modules.patch needs to be changed to:

diff --git a/.gitmodules b/.gitmodules
index 478f69b..8350711 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -1,18 +1,18 @@
 [submodule "lib"]
    path = lib
-   url = ../scopehal.git
+   url = https://github.com/glscopeclient/scopehal.git
 [submodule "doc"]
    path = doc
-   url = ../scopehal-docs.git
+   url = https://github.com/glscopeclient/scopehal-docs.git
 [submodule "src/imgui"]
    path = src/imgui
    url = https://github.com/ocornut/imgui
 [submodule "src/implot"]
    path = src/implot
-   url = ../implot.git
+   url = https://github.com/glscopeclient/implot.git
 [submodule "src/imgui-node-editor"]
    path = src/imgui-node-editor
-   url = ../imgui-node-editor.git
+   url = https://github.com/glscopeclient/imgui-node-editor.git
 [submodule "src/ImGuiFileDialog"]
    path = src/ImGuiFileDialog
    url = https://github.com/aiekick/ImGuiFileDialog

(set absolute path to implot)

RigoLigo commented on 2022-09-26 16:46 (UTC)

Uh, as the previous owner I'm sorry that I've not responded to the comments here. I've been on MacOS for a few months, and Arch on my old computer is being uninstalled, so I had to orphan this package for good. Hope someone who really needed this software can pick it up.

RX14 commented on 2022-09-23 14:28 (UTC)

The git URL needs to be updated to https://github.com/glscopeclient/scopehal-apps for this PKGBUILD to work

kbeckmann commented on 2022-08-28 12:01 (UTC)

The PKGBUILD file runs make -j6 directly. Could this be changed so that $MAKEFLAGS from /etc/makepkg.conf is used instead? I think it should be enough to just call make.

cdkitching commented on 2022-08-12 11:19 (UTC)

Missing dependency on yaml-cpp. Build fails unless you have it installed.

sajattack commented on 2022-04-29 01:33 (UTC)

@RigoLigo the source url needs to be updated to git+https://

RigoLigo commented on 2021-12-30 06:23 (UTC)

@XDjackieXD dependency added.

XDjackieXD commented on 2021-12-30 00:48 (UTC)

Thanks for the PKGBUILD! It is just missing one dependency (ffts-git). Could you please add it?