Package Details: openctm-tools 2:1.0.3-1

Git Clone URL: https://aur.archlinux.org/openctm-tools.git (read-only, click to copy)
Package Base: openctm-tools
Description: Open Compressed Triangle Mesh file format
Upstream URL: https://sourceforge.net/projects/openctm
Licenses: zlib
Submitter: exos
Maintainer: exos
Last Packager: exos
Votes: 6
Popularity: 0.184021
First Submitted: 2021-06-26 17:51 (UTC)
Last Updated: 2022-11-25 18:50 (UTC)

Latest Comments

sl1pkn07 commented on 2022-11-22 14:39 (UTC) (edited on 2022-11-22 14:49 (UTC) by sl1pkn07)

Hi. why this is installed on foo/local?

diff --git a/PKGBUILD b/PKGBUILD
index 51eb6be..d82224e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -35,11 +35,11 @@ package() {
     cd "OpenCTM-${pkgver}"

     O_LIBDIR=/usr/lib/
-    O_INCDIR=/usr/local/include/
-    O_BINDIR=/usr/local/bin/
-    O_MAN1DIR=/usr/local/man/man1/ # Use original directory 'share/man' breaks
+    O_INCDIR=/usr/include/
+    O_BINDIR=/usr/bin/
+    O_MAN1DIR=/usr/share/man/man1/

-    mkdir -p ${pkgdir}/usr/{lib,local/{include,bin},local/man/man1}
+    mkdir -p "${pkgdir}/usr/"{lib,include,bin,share/man/man1}

     make LIBDIR="${pkgdir}/${O_LIBDIR}" \
          INCDIR="${pkgdir}/${O_INCDIR}" \

bradpitcher commented on 2022-09-29 17:25 (UTC)

Please add the aarch64 architecture. It is working for me in Asahi linux

diff --git a/.SRCINFO b/.SRCINFO
index 3dcea17..e5b8c74 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -5,6 +5,7 @@ pkgbase = openctm-tools
        epoch = 2
        url = https://sourceforge.net/projects/openctm
        arch = x86_64
+       arch = aarch64
        license = zlib
        depends = gtk2
        depends = glu
diff --git a/PKGBUILD b/PKGBUILD
index 51eb6be..72fde22 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@ pkgver=1.0.3
 pkgrel=1
 epoch=2
 pkgdesc="Open Compressed Triangle Mesh file format"
-arch=('x86_64')
+arch=('x86_64' 'aarch64')
 url="https://sourceforge.net/projects/openctm"
 license=('zlib')
 depends=('gtk2' 'glu' 'glut')

mostlyharmless commented on 2022-05-18 16:32 (UTC) (edited on 2022-05-19 19:37 (UTC) by mostlyharmless)

Fails to build 5/18/2022

Same error as below, seems I was missing pkgconfig somehow; installing it fixed the problem

mickhowe commented on 2021-10-27 03:23 (UTC)

Build failed with :- sysdialog_gtk.cpp:28:10: fatal error: gtk/gtk.h: No such file or directory 28 | #include <gtk/gtk.h> | ^~~~~~~~~~~ compilation terminated. make[1]: [Makefile.linux:65: sysdialog_gtk.o] Error 1 make[1]: Waiting for unfinished jobs.... make[1]: Leaving directory '/home/mick/aur/openctm-tools/src/OpenCTM-1.0.3/tools' make: *** [Makefile.linux:43: toolset] Error 2 ==> ERROR: A failure occurred in build(). Aborting...

I have /usr/include/gtk-2.0/gtk/gtk.h and /usr/include/gtk-3.0/gtk/gtk.h not sure what to do. Can I create a symlink in /usr/include/ pointing to /usr/include/gtk-2.0/gtk/gtk.h ?? its been a few years since I tried anything like this.