Package Details: libqglviewer 2.6.1-1

Package Base: libqglviewer
Description: C++ library based on Qt that eases the creation of OpenGL 3D viewers
Upstream URL: http://www.libqglviewer.com/
Category: lib
Licenses: GPL2, custom, GPL3
Submitter: ilpianista
Maintainer: gian
Last Packager: gian
Votes: 13
First Submitted: 2009-10-17 21:36
Last Updated: 2015-02-01 15:26

Dependencies (3)

Required by (2)

Sources

Latest Comments

Comment by bo0ts

2015-06-24 08:02

Upstream released 2.6.2 and broke the link to the 2.6.1 tarball :(

I'm aware of the aur4 transition, so I'll post it there to.

Comment by gian

2014-03-05 20:38

I already informed the upstream author of the problem.
Since they are in the examples, I think they can be skipped

I uploaded both packages for qt4 and qt5, but without the examples

Comment by bo0ts

2014-03-05 13:47

I fixed parts of the PKGBUILD to use 2.5.1, qmake, and depend on qt5-base but get build errors:

constrainedFrame.cpp:82:88: no matching call for Viewer::setMouseBinding

if I figure out how to fix those, I'll adopt the package and update it.

Comment by gian

2014-03-05 13:22

bo0ts, you are right, package orphaned

Comment by bo0ts

2014-03-05 09:58

Still no update? Could you yield ownership of this package so someone else can take care of this if you don't have the time to upgrade the package?

Comment by aehs29

2014-02-06 07:06

Newer version 2.5.0 fixes segmentation fault on the examples, it is a problem with qt4 and qt5 I believe.

Anyway changing:
- pkgver=2.4.0 to pkgver=2.5.0
- the md5
and in the build() function:
- qmake-qt4 to qmake
will make the package to compile successfully.

Comment by gian

2014-01-07 09:11

I know, I will update the package in the next 2 or 3 days. Sorry for the delay

Comment by nakednous

2014-01-06 20:27

2.5 has been out for a while

Comment by zorun

2013-10-13 22:57

Using this package, all examples from the official libqglviewer website segfault.

This may be caused by a qt4/qt5 confusion somewhere, I'll try to investigate further.

Comment by gian

2013-06-18 18:02

hi Anthon,

it should work now

Comment by gian

2013-06-17 13:51

Hi Anthon

I contacted the upstream maintainer after I uploaded tha package and it seems that I need to do some more work to have a package that work.

Sorry for now, I will update the package as soon as possible. (possibly today/tomorrow)

Comment by anthon

2013-06-17 13:28

Hello, the md5 seems wrong

Comment by mrbit

2013-03-01 21:11

"qt" was replaced by "qt4"
please update PKGBUILD

Comment by gian

2012-11-07 22:16

Hi Laurent,

I added the line you suggested to the PKGBUILD and it work fine on the x86_64 system, thanks.

As for the problem with the GLU dependency, as far as I remember, I already notified to upstream about it and the problem is fixed in 2.3.17. Anyway, I noted that the PKGBUILD should depend also on 'mesa'

Anonymous comment

2012-10-24 19:27

Hi,

The missing "-L../QGLViewer" option seems due to the fact that the build procedure doesn't handle correctly simultaneous make jobs.
options=(!makeflags) into the PKGBUILD solved the problem for me.

Qt 4.8 also dropped its GLU dependency. The PKGBUILD should thus depend on 'glu'.
Moreover, the QGLViewer.pro file needs to be patched to include a QMAKE_LIBS_OPENGL *= -lGLU line inside the unix section (but this is a libQGLViewer bug, so it should be fixed upstream).

Regards,
Laurent

Comment by gian

2012-09-21 21:27

Hi Ricardo,

the error seem to depend on libqglviewer itself.

The makefile miss the "-L../QGLViewer" option for the g++ when linking the designer plugin, but the option is present on 32 bit machine. I already notified the author about the problem.

Unluckily, since I have not a 64 bit machine on hand, for now I have not a clear solution other than to download the package and build it manually (with makepkg), manually patching the designer plugin Makefile.

bye
Gianluca

Anonymous comment

2012-09-19 20:51

Hi gian.

There's a new version 2.3.17, but I'm not able to compile 2.3.16 neither 2.3.17.
The error is the same in any case:


g++ -m64 -Wl,-O1,--sort-common,--as-needed,-z,relro -Wl,-O1 -shared -o libqglviewerplugin.so .obj/qglviewerPlugin.Qt4.o .obj/moc_qglviewerPlugin.Qt4.o -L/usr/X11R6/lib64 -L/usr/lib -L/usr/lib/qt/plugins/lib -lQGLViewer -lpthread -lGL -lGLU -lQtXml -lQtOpenGL -lQtGui -lQtCore -lQtDesigner
/usr/bin/ld: cannot find -lQGLViewer
collect2: error: ld devolvió el estado de salida 1
make[1]: *** [libqglviewerplugin.so] Error 1

Regards,

Ricardo

Comment by gian

2012-01-17 22:46

Hi Wiz
I updated the package. Let me know if it compile.

Anonymous comment

2012-01-16 13:38

Doesn't compile here. Had to remplace CXXLIBS to SUBLIBS in the PKGBUILD.

Comment by gian

2011-09-05 19:17

Hi

Thanks for the comment.

I uploaded a new version of the package that correct the problem.
If it fail again, please send me the output of the makepkg -g command, thanks

bye
Gianluca

Anonymous comment

2011-09-05 15:19

Hi!

I've got the following error trying to install libqglviewer:

==> Retrieving Sources...
-> Found libQGLViewer-2.3.10.tar.gz
==> Validating source files with md5sums...
libQGLViewer-2.3.10.tar.gz ... FAILED
==> ERROR: One or more files did not pass the validity check!
==> ERROR: Makepkg was unable to build libqglviewer.

The contents of PKGBUILD is as follows:

# Maintainer: Gianluca Montecchi <gian@grys.it>
# Contributor: Geoffroy Carrier <geoffroy.carrier@aur.archlinux.org>
# Contributor: Dmitriy Morozov <archlinux@foxcub.org>
# Contributor: Larry Hajali <larryhaja [at] gmail [dot] com>

pkgname=libqglviewer
_pkgname=libQGLViewer
pkgver=2.3.10
pkgrel=1
pkgdesc="C++ library based on Qt that eases the creation of OpenGL 3D viewers"
url="http://www.libqglviewer.com/"
depends=('qt')
arch=('i686' 'x86_64')
license=('GPL2' 'GPL3' 'custom')
source=("http://www.libqglviewer.com/src/${_pkgname}-${pkgver}.tar.gz")
md5sums=('617b298b98ae0c722d0caead74109c4b')

build()
{
cd ${_pkgname}-$pkgver

qmake -unix -o Makefile ${_pkgname}-${pkgver}.pro || return 1
make \
CFLAGS="-pipe ${CFLAGS} -D_REENTRANT -Wall -W -fPIC \$(DEFINES)" \
CXXFLAGS="-pipe ${CXXFLAGS} -D_REENTRANT -Wall -W -fPIC \$(DEFINES)" || return 1
}

package()
{
cd ${_pkgname}-$pkgver

make install INSTALL_ROOT="$pkgdir" || return 1

# Install license.
install -d -m 0755 "${pkgdir}"/usr/share/licenses/$pkgname/ || return 1
install -m 0644 LICENCE GPL_EXCEPTION "${pkgdir}"/usr/share/licenses/$pkgname/ || return 1
}

Your help would be appreciated.
piogun

Comment by gian

2011-03-14 09:07

Since it seems that PyQGLViewer depend on python2 and python-opengl, I opted for a separate package since I don't see the point to force the installation of all the python2 packages if someone don't need them. As long as the package will be ported to python3, I will merge the two packages.

Comment by foxcub

2011-03-10 23:37

Wait, I'm confused. This seems to defeat the purpose. I thought you'd include the Python bindings into this package. Now it's just a separate parallel package for libqglviewer. Is this what you intended?

Comment by gian

2011-03-10 23:30

Uploaded the pyQGLViewer package

Comment by foxcub

2011-03-03 07:42

Here's a PKGBUILD that works for me. You probably want to split it using build() and package() functions, as done now. http://aur.pastebin.com/WE6w0NgQ

Comment by gian

2011-03-02 21:44

foxhub, yes, I am interested. Just give me some days to look into it.

Comment by foxcub

2011-03-02 19:44

gian, would you be interested in adding Python bindings [1] to this PKGBUILD? It requires patching the source, so if I were to create a separate PKGBUILD for the bindings, it would have to have an entire parallel version of libQGLViewer. (I would personally prefer the bindings to be included in this PKGBUILD.)

[1] http://pyqglviewer.gforge.inria.fr/wiki/doku.php

Comment by gian

2011-02-06 11:20

foxhub, I am interested, adopted.

Comment by foxcub

2011-02-06 01:09

gian, are you interested in claiming it, or should I?

Comment by larryhaja

2011-02-06 01:07

Updated to version 2.3.9. Removed gcc-4.4 patch. I also orphan this package as I never use it anymore.

Comment by gian

2011-01-31 21:01

Just removing the patch command from the PKGBUILD seems to solve the problem since the package is build correctly.

Comment by foxcub

2010-10-22 20:50

There is no gcc-4.4.patch in the package, but the PKGBUILD tries to use it.