Package Details: seexpr1-2 2.11-1

Git Clone URL: https://aur.archlinux.org/seexpr1-2.git (read-only, click to copy)
Package Base: seexpr1-2
Description: An embeddable expression evaluation engine
Upstream URL: http://www.disneyanimation.com/technology/seexpr.html
Licenses: custom:APACHE
Conflicts: seexpr1
Provides: seexpr1=2.11
Submitter: bartus
Maintainer: bartus
Last Packager: bartus
Votes: 0
Popularity: 0.000000
First Submitted: 2019-09-01 11:19
Last Updated: 2020-07-22 16:37

Dependencies (10)

Required by (0)

Sources (2)

Latest Comments

tecnotercio commented on 2021-02-15 23:41

Hello,

Can you change the PKGBUILD, to disable building the "SeExprEditor", "demos" and "tests" modules?

That way you can remove the "sip" library from the dependencies and make the package compile again.

Here is the modified PKGBUILD:

# Maintainer : bartus <arch-user-repoᘓbartus.33mail.com>
# Contributor: Tércio Martins <echo dGVyY2lvd2VuZGVsQGdtYWlsLmNvbQo= | base64 -d>

pkgname=('seexpr1-2' 'seexpr1-2-doc')
_fragment="#tag=v2.11"
pkgver=2.11
pkgrel=1
pkgdesc="An embeddable expression evaluation engine"
arch=('i686' 'x86_64')
url="http://www.disneyanimation.com/technology/seexpr.html"
license=('custom:Apache')
depends=('gcc-libs')
makedepends=('doxygen' 'libpng' 'cmake' 'git')
provides=("${pkgname%-2}=${pkgver}")
conflicts=("${pkgname%-2}")
source=("git+https://github.com/wdas/SeExpr.git${_fragment}"
        "build.patch")
md5sums=('SKIP'
         'ad7a72d539fbb5b899f26f7fd1cfc950')

prepare() {
  cd ${srcdir}/SeExpr
  sed -i 's/env python/env python2/' src/build/build-info
  patch -Np1 -i ../build.patch
  sed -i '/SeExprEditor/d' CMakeLists.txt
  sed -i '/src\/demos/d' CMakeLists.txt
  sed -i '/src\/tests/d' CMakeLists.txt
}

build() {
  cd "$srcdir/SeExpr"
  mkdir -p build
  cd build
  cmake -DCMAKE_INSTALL_PREFIX='/usr' -DCMAKE_INSTALL_LIBDIR='/usr/lib' ..
  make
}

package_seexpr1-2() {
  cd "$srcdir/SeExpr/build"
  make DESTDIR="$pkgdir/" install
  # remove doc
  mkdir -p ${pkgdir}/../tmp/usr/share/
  mv ${pkgdir}/usr/share/doc ${pkgdir}/../tmp/usr/share/
  # Copy custom Apache license
  install -D -m644 "../LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}

package_seexpr1-2-doc() {
#reset defs
  arch=('any')
  depends=()
  optdepends=()
  provides=()
  conflicts=()

  cd ${srcdir}/SeExpr/build
  mkdir -p ${pkgdir}/usr/share/
  mv ${pkgdir}/../tmp/usr/share/doc ${pkgdir}/usr/share/
  install -D -m644 "../LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}

hecsa commented on 2021-01-30 05:35

Hi, When installing, I get this message:

==> Building and installing package ==> Install or build missing dependencies for seexpr1-2: error: target not found: sip=4.19.22 ==> Restart building seexpr1-2 ? [y/N] ==> ---------------------------------- ==>

Any ideas? Thanks, and best regards, HeCSa.

Loader009 commented on 2021-01-09 21:08

Please change dependency from sip to sip4

Although, bug is not fixed and upstream repo seems to be dead... I drop the idea to get this working, I don't have cpp and sip experience for this.

bartus commented on 2020-07-22 16:42

@StuckUpCreations: The issue was reported upstream, sadly my sip-foo is to weak to fix this on my own - perhaps will try again later.

By now, to build this package you need previous version of sip:4.19.22 (use downgraded to fetch the package file, and build inside chroot or temporary downgrade you local system)

StuckUpCreations commented on 2020-07-06 06:17

im getting this error when trying to install..

yay/seexpr1-2/src/SeExpr/src/SeExprEditor/SeExprEdDialog.h:70:5: note: candidate expects 1 argument, 0 provided
make[2]: [src/SeExprEditor/CMakeFiles/expreditor.dir/build.make:87: src/SeExprEditor/CMakeFiles/expreditor.dir/sipexpreditorpart0.o] Error 1
make[1]:
[CMakeFiles/Makefile2:342: src/SeExprEditor/CMakeFiles/expreditor.dir/all] Error 2
make: *** [Makefile:150: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
error making: %!s(func() string=0x55e944f32e80)

berilac commented on 2020-03-15 21:09

@bartus tried building in clean chroot, both with makechrootpkg and extra_x86-64 (as suggested below) but it fails with the following:

[ 98%] Linking CXX executable segraph
make[2]: Leaving directory '/build/seexpr1-2/src/SeExpr/build'
[ 98%] Built target segraph
make[1]: Leaving directory '/build/seexpr1-2/src/SeExpr/build'
make: *** [Makefile:130: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

If there's anything I can provide to help, let me know

yoarch commented on 2020-02-29 14:24

Sorry, I gave up and don't have the time right now to try it.

bartus commented on 2020-02-29 13:14

@yoarch: Can't reproduce, did you install all dependencies? could you try building with extra_x86-64

extra-x86_64-build -r /tmp/root -- \ 
-I qt4-4.8.7-31-x86_64.pkg.tar.zst \
-I python2-sip-4.19.19-1-x86_64.pkg.tar.zst \
-I python2-sip-pyqt4-4.19.19-1-x86_64.pkg.tar.zst \ 
-I pyqt4-common-4.12.3-4-x86_64.pkg.tar.zst \
-I python2-pyqt4-4.12.3-4-x86_64.pkg.tar.zst

yoarch commented on 2020-02-17 15:59

Hi,

I can not build it, getting:

sip: Unable to find file "QtGui/QtGuimod.sip"
make[2]:  [src/SeExprEditor/CMakeFiles/expreditor.dir/build.make:62: src/SeExprEditor/sipexpreditorpart0.cpp] Error 1
make[2]: Leaving directory '/tmp/yaourt-tmp/aur-seexpr1-2/src/SeExpr/build'
make[1]:  [CMakeFiles/Makefile2:321: 
src/SeExprEditor/CMakeFiles/expreditor.dir/all] Error 2
make[1]: Leaving directory '/tmp/yaourt-tmp/aur-seexpr1-2/src/SeExpr/build'
make: *** [Makefile:130: all] Error 2

/usr/share/sip/PyQt4/QtGui/QtGuimod.sip is in my file system.

Can not find a way to solve it.

tercio commented on 2020-01-10 06:24

Hi, I ask you to replace the dependency "python2-sip" on PKGBUILD with "python2-sip-pyqt4", because the first package no longer exists.