Package Details: gmsh-docs 4.12.2-1

Git Clone URL: https://aur.archlinux.org/gmsh.git (read-only, click to copy)
Package Base: gmsh
Description: TXT, HMTL and PDF doc for Gmsh
Upstream URL: https://gmsh.info
Licenses: GPL2
Submitter: S1G1
Maintainer: gborzi (carlosal1015, gpettinello)
Last Packager: carlosal1015
Votes: 61
Popularity: 0.046935
First Submitted: 2006-04-04 23:31 (UTC)
Last Updated: 2024-01-21 21:19 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 .. 20 Next › Last »

carlosal1015 commented on 2022-09-12 17:49 (UTC)

I am offer as volunteer to (co)maintain the package as doing with gmsh-bin.

gborzi commented on 2022-09-12 17:18 (UTC)

@gpettinello If you are interested in maintaining the package I can orphan it. I don't have much time anymore.

gborzi commented on 2022-09-12 17:16 (UTC)

Sorry for not answering the messages, I've been away for a while.

entshuld commented on 2022-08-25 16:41 (UTC) (edited on 2022-08-25 16:41 (UTC) by entshuld)

In package():

echo 'export PYTHONPATH="/usr/share/gmsh/api/python/:$PYTHONPATH"' > "$pkgdir/etc/profile.d/gmsh.sh"
echo 'setenv PYTHONPATH="/usr/share/gmsh/api/python/:$PYTHONPATH"' > "$pkgdir/etc/profile.d/gmsh.csh"

gpettinello commented on 2022-08-13 13:39 (UTC)

@gborzi I'm ready to submit the updated PKGBUILD but I'm not allowed to do it. Please could you add me in the list of contributors or could you update yourself:

# Maintainer: gborzi <gborzi@ieee.org>
# Contributor: mickele <mimocciola@yahoo.com>
# Contributor: gpettinello <g_pet@hotmail.com>
pkgname=('gmsh' 'gmsh-docs')
pkgver=4.10.5
pkgrel=1
pkgdesc="An automatic 3D finite element mesh generator with pre and post-processing facilities."
arch=('x86_64')
url="http://gmsh.info/"
license=('custom')
makedepends=('cmake' 'desktop-file-utils' 'sed' 'swig' 'texlive-core' 'voro++'
             'fltk' 'med' 'opencascade' 'cairo' 'metis' 'alglib' 'ann'
             'glu' 'cgns' 'lapack')
options=(!emptydirs)
source=("${url}src/${pkgname}-${pkgver}-source.tgz" gmsh.desktop gmsh.completion)
sha256sums=('cc030c5aee65e7d58f850b8b6f55a68945c89bc871f94e1239279f5a210fc4ea'
            '43a8ca33ac917ee7196fdae305ff2c8cb9ae1072569ee546c0ce8ff580c966ae'
            '11605e97636a56cf51e445e65019526ee253bd2e0553fb71ba6d94488dcd34ef')

prepare() {
   cd "${srcdir}/${pkgname}-${pkgver}-source"

   # Help links to local doc (package gmsh-docs)
   sed -e "s|https://gmsh.info/doc/texinfo/|file:///usr/share/doc/gmsh/|" \
       -i src/fltk/graphicWindow.cpp
   sed -e "s|https://gmsh.info/dev/doc/texinfo/|file:///usr/share/doc/gmsh/|" \
       -i src/fltk/graphicWindow.cpp
   sed -e "s|https://gmsh.info/|file:///usr/share/licenses/gmsh/|" \
       -i src/fltk/helpWindow.cpp

}

build() {
   cd "${srcdir}/${pkgname}-${pkgver}-source"

   mkdir -p build

   cd build

   cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr -DENABLE_BUILD_SHARED=ON \
      -DENABLE_SYSTEM_CONTRIB=ON -DENABLE_BLAS_LAPACK=ON \
      -DENABLE_CGNS=ON -DENABLE_ANN=ON -DENABLE_ALGLIB=ON \
      -DENABLE_METIS=ON -DENABLE_OCC=ON -DENABLE_MED=ON \
      -DENABLE_VOROPP=ON -DENABLE_EIGEN=OFF -DENABLE_PETSC=FALSE ..

   make
   LC_ALL=C make doc
}

package_gmsh() {
   depends=('fltk' 'med' 'opencascade' 'cairo' 'metis' 'alglib' 'ann'
            'glu' 'cgns' 'lapack')
   optdepends=('gmsh-docs: docs for gmsh'
            'python2: for gmsh.py'
            'python: for gmsh.py'
            'julia: for gmsh.jl')

   cd "${srcdir}/${pkgname}-${pkgver}-source/build"
   make DESTDIR=${pkgdir} install
   install -D -m644 "${pkgdir}/usr/lib/gmsh.py" "${pkgdir}/usr/share/gmsh/api/python/gmsh.py"
   install -D -m644 "${pkgdir}/usr/lib/gmsh.jl" "${pkgdir}/usr/share/gmsh/api/julia/gmsh.jl"
   rm -f "${pkgdir}/usr/lib/gmsh.py" "${pkgdir}/usr/lib/gmsh.jl"
   install -d "$pkgdir/etc/profile.d"
   echo 'export JULIA_LOAD_PATH="/usr/share/gmsh/api/julia/:$JULIA_LOAD_PATH"' > "$pkgdir/etc/profile.d/gmsh.sh"
   echo 'setenv JULIA_LOAD_PATH "/usr/share/gmsh/api/julia/:$JULIA_LOAD_PATH"' > "$pkgdir/etc/profile.d/gmsh.csh"


   install -d "${pkgdir}/usr/share/pixmaps/${pkgname}"
   install -m644 ../utils/icons/*.png "${pkgdir}/usr/share/pixmaps/${pkgname}"
   install -D -m644 ../utils/icons/gmsh-no-text.png "${pkgdir}/usr/share/icons/${pkgname}.png"

   desktop-file-install --dir="${pkgdir}/usr/share/applications" \
        "${srcdir}/${pkgname}.desktop"

   install -D -m 644 "../LICENSE.txt" "${pkgdir}/usr/share/licenses/$pkgname/LICENSE.txt"
   install -D -m 644 "../CREDITS.txt" "${pkgdir}/usr/share/licenses/$pkgname/CREDITS.txt"
   install -D -m644 $srcdir/gmsh.completion $pkgdir/etc/bash_completion.d/gmsh

   rm -rf ${pkgdir}/usr/share/doc
}

package_gmsh-docs() {
   pkgdesc="TXT, HMTL and PDF doc for Gmsh"
   arch=('any')
   license=('GPL2')

   cd "${srcdir}/${pkgbase}-${pkgver}-source/build"

   bsdtar -xf ${pkgbase}-${pkgver}-*.tgz

   cd "doc/texinfo"

   install -D -m644 gmsh.html "${pkgdir}/usr/share/doc/gmsh/gmsh.html"
   install -D -m644 gmsh.txt "${pkgdir}/usr/share/doc/gmsh/gmsh.txt"
   install -D -m644 gmsh.pdf "${pkgdir}/usr/share/doc/gmsh/gmsh.pdf"
   install -D -m644 gmsh.info "${pkgdir}/usr/share/info/gmsh.info"
}

carlosal1015 commented on 2022-08-09 17:58 (UTC)

Hi, I would like to ask if is possible to add as dependency explicitly the new package (3 days ago) med-openmpi since by default is installing med otherwise pacman always ask

:: Replace med with community/med-openmpi? [Y/n] 
resolving dependencies...
looking for conflicting packages...
:: hdf5-openmpi and hdf5 are in conflict. Remove hdf5? [y/N]

gpettinello commented on 2022-08-09 14:03 (UTC)

No. I modified the PKGBUILD and it compiles flawlessly Need to look how to submit the new PKGBUILD

Frisbee commented on 2022-07-11 08:30 (UTC)

Is there a reason why this is not updated to 4.10.5?

gborzi commented on 2022-03-01 21:55 (UTC)

@drwells If ENABLE_SYSTEM_CONTRIB is disabled the compilation "prefers" the bundled software over that already available in the installation.

drwells commented on 2022-03-01 20:46 (UTC)

Thanks. I think the other one that makes sense is switching to extra/lapack instead of using the internal copy of eigen. I'm not that familiar with gmsh's build system but I would prefer if we disabled ENABLE_SYSTEM_CONTRIB to better avoid conflicts between gmsh's bundled dependencies and stuff (like eigen or lapack) that is already available in the standard repositories.