Package Details: glnemo2 1.21.0-1

Git Clone URL: https://aur.archlinux.org/glnemo2.git (read-only, click to copy)
Package Base: glnemo2
Description: an interactive visualization 3D program for nbody snapshots.
Upstream URL: http://projets.oamp.fr/projects/glnemo2
Licenses: custom
Submitter: None
Maintainer: saimn
Last Packager: saimn
Votes: 3
Popularity: 0.000000
First Submitted: 2011-11-25 21:15 (UTC)
Last Updated: 2023-04-23 13:41 (UTC)

Latest Comments

saimn commented on 2023-04-23 13:43 (UTC)

Thanks lina, but it seems that the patch is not necessary with the latest version (1.21).

lina commented on 2023-03-28 18:13 (UTC)

The following fixed the build for me:

diff --git a/PKGBUILD b/PKGBUILD
index 8c36366..3d02dd8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,9 +8,14 @@ pkgdesc="an interactive visualization 3D program for nbody snapshots."
 arch=('i686' 'x86_64')
 url="http://projets.oamp.fr/projects/glnemo2"
 license=('custom')
-depends=('glu' 'qt5-base' 'ccfits' 'hdf5-cpp-fortran' 'glm' 'libtirpc')
-source=(https://gitlab.lam.fr/jclamber/glnemo2/-/archive/v${pkgver}/glnemo2-v${pkgver}.tar.gz)
-md5sums=('1ab79db67f9f5776d60d2baf3f9b5a51')
+depends=('glu' 'qt5-base' 'ccfits' 'hdf5' 'glm' 'libtirpc')
+source=(https://gitlab.lam.fr/jclamber/glnemo2/-/archive/v${pkgver}/glnemo2-v${pkgver}.tar.gz 'h5.patch')
+md5sums=('1ab79db67f9f5776d60d2baf3f9b5a51' 'SKIP')
+
+prepare() {
+  cd $pkgname-v$pkgver
+  patch --forward --strip=1 --input="${srcdir}/h5.patch"
+}

 build() {
   cd $pkgname-v$pkgver
diff --git a/h5.patch b/h5.patch
new file mode 100644
index 0000000..64b875c
--- /dev/null
+++ b/h5.patch
@@ -0,0 +1,13 @@
+diff --git a/plugins/gadgeth5/gadgeth5.cc b/plugins/gadgeth5/gadgeth5.cc
+index 64da520..6cf2c22 100644
+--- a/plugins/gadgeth5/gadgeth5.cc
++++ b/plugins/gadgeth5/gadgeth5.cc
+@@ -218,7 +218,7 @@ template <class U> std::vector<U> GH5<T>::getDataset(std::string dset_name, U du
+   }
+ 
+   // read vector of data
+-  dataset.read(&vret[0],mem_type,H5S_ALL,H5S_ALL,H5P_DEFAULT);
++  dataset.read(&vret[0],mem_type,H5S_ALL,H5S_ALL,H5::DSetMemXferPropList::DEFAULT);
+   mem_type.close();
+   data_type.close();
+   dataspace.close();

saimn commented on 2016-04-28 12:41 (UTC)

1.10.0 released : https://projets.lam.fr/news/208 (and 1.9.0 a few months ago ...)

<deleted-account> commented on 2013-03-02 17:40 (UTC)

I no longer use arch, I thought I orphaned this before, but apparently not...

mrbit commented on 2013-03-01 20:12 (UTC)

please change to qt4 and qmake4

mrbit commented on 2013-01-16 18:40 (UTC)

update 1.53.please...thanks

mrbit commented on 2012-12-03 12:46 (UTC)

update 1.52 .please...thanks

mrbit commented on 2012-05-16 14:37 (UTC)

update...please...thanks