Package Details: ipe 7.2.4-1

Git Clone URL: https://aur.archlinux.org/ipe.git (read-only)
Package Base: ipe
Description: The extensible drawing editor
Upstream URL: http://tclab.kaist.ac.kr/ipe/
Licenses: GPL
Conflicts: ipe
Submitter: foxcub
Maintainer: foxcub
Last Packager: foxcub
Votes: 70
Popularity: 0.004002
First Submitted: 2007-01-02 01:58
Last Updated: 2016-06-23 17:39

Latest Comments

angelo commented on 2016-01-11 19:12

I've been otherwise occupied for a while.
Version 7.2.1 compiles and installs with no issue, even without adding -fPIC.

eolianoe - thanks for the instructions, which may be useful if this comes up again (the issue seems to affect several packages).

zhtlancer commented on 2016-01-05 21:30

@lianxiangru I met this problem before too. You can try add "export QT_SELECT=5" in build() section of PKGBUILD and see if it's fixed.

foxcub commented on 2016-01-05 06:49

I've updated the PKGBUILD to Ipe 7.2.1 and pushed some changes to IpePresenter. Let me know if it works now.

eolianoe commented on 2016-01-03 17:01

@angelo: Add -fPIC to CPPFLAGS before building IpePresenter

angelo commented on 2016-01-02 02:25

I'm having trouble compiling this with makepkg:

It seems that a -fPIC flag is required for compatibility with Qt. I'm not sure where/how to add the flag, or if a different approach is better to remove the need for this flag.

[code]
g++ mainwindow.cpp -c -D_FORTIFY_SOURCE=2 -I ../ipe-7.1.9/src/include -I ../ipe-7.1.9/src/ipecanvas -I/usr/include/qt/QtGui -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtCore -I/usr/include/qt
In file included from /usr/include/c++/5.3.0/x86_64-unknown-linux-gnu/bits/os_defines.h:39:0,
from /usr/include/c++/5.3.0/x86_64-unknown-linux-gnu/bits/c++config.h:482,
from /usr/include/c++/5.3.0/cstdio:41,
from ../ipe-7.1.9/src/include/ipebase.h:35,
from ../ipe-7.1.9/src/include/ipelib.h:37,
from ../ipe-7.1.9/src/ipecanvas/ipecanvas.h:35,
from ../ipe-7.1.9/src/ipecanvas/ipecanvas_qt.h:35,
from mainwindow.h:36,
from mainwindow.cpp:32:
/usr/include/features.h:328:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
# warning _FORTIFY_SOURCE requires compiling with optimization (-O)
^
In file included from /usr/include/qt/QtGui/qwindowdefs.h:37:0,
from /usr/include/qt/QtWidgets/qwidget.h:37,
from /usr/include/qt/QtWidgets/QWidget:1,
from ../ipe-7.1.9/src/ipecanvas/ipecanvas_qt.h:37,
from mainwindow.h:36,
from mainwindow.cpp:32:
/usr/include/qt/QtCore/qglobal.h:1067:4: error: #error "You must build your code with position independent code if Qt was built with -reduce-relocations. " "Compile your code with -fPIC (-fPIE is not enough)."
# error "You must build your code with position independent code if Qt was bui
^
Makefile:36: recipe for target 'mainwindow.o' failed
make: *** [mainwindow.o] Error 1
==> ERROR: A failure occurred in build().
Aborting...
[/code]

lianxiangru commented on 2015-12-20 10:51

I am having this issue while building ipe:


make[1]: Entering directory '/tmp/yaourt-tmp-xiangru/aur-ipe/src/ipe-7.1.9/src/ipecanvas'
Running moc on ipecanvas_qt.h...
moc -o moc_ipecanvas_qt.cpp ipecanvas_qt.h
Compiling moc_ipecanvas_qt.cpp...
g++ -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fPIC -Wall -g -O2 -fPIC -D_FORTIFY_SOURCE=2 -DIPEUI_QT -I../include -I../ipecairo -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/qt/QtWidgets -I/usr/include/qt -I/usr/include/qt/QtGui -I/usr/include/qt -I/usr/include/qt/QtCore -I/usr/include/qt -c -o ../../build/obj/ipecanvas/moc_ipecanvas_qt.o moc_ipecanvas_qt.cpp
moc_ipecanvas_qt.cpp:13:2: error: #error "This file was generated using the moc from 4.8.7. It"
#error "This file was generated using the moc from 4.8.7. It"
^
moc_ipecanvas_qt.cpp:14:2: error: #error "cannot be used with the include files from this version of Qt."
#error "cannot be used with the include files from this version of Qt."
^
moc_ipecanvas_qt.cpp:15:2: error: #error "(The moc has changed too much.)"
#error "(The moc has changed too much.)"
^
moc_ipecanvas_qt.cpp:47:7: error: ‘QMetaObjectExtraData’ does not name a type
const QMetaObjectExtraData ipe::Canvas::staticMetaObjectExtraData = {
^
moc_ipecanvas_qt.cpp:53:34: error: ‘staticMetaObjectExtraData’ was not declared in this scope
qt_meta_data_ipe__Canvas, &staticMetaObjectExtraData }
^
moc_ipecanvas_qt.cpp: In member function ‘virtual const QMetaObject* ipe::Canvas::metaObject() const’:
moc_ipecanvas_qt.cpp:62:71: error: conditional expression between distinct pointer types ‘QDynamicMetaObjectData*’ and ‘const QMetaObject*’ lacks a cast
return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
^
../common.mak:203: recipe for target '../../build/obj/ipecanvas/moc_ipecanvas_qt.o' failed
make[1]: *** [../../build/obj/ipecanvas/moc_ipecanvas_qt.o] Error 1
rm moc_ipecanvas_qt.cpp
make[1]: Leaving directory '/tmp/yaourt-tmp-xiangru/aur-ipe/src/ipe-7.1.9/src/ipecanvas'
Makefile:48: recipe for target 'ipecanvas' failed
make: *** [ipecanvas] Error 2
==> ERROR: A failure occurred in build().
Aborting...

calegria commented on 2015-12-01 22:37

I am having this issue while executing ipe:
---
This application failed to start because it could not find or load the Qt platform plugin "xcb".

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, xcb.

Reinstalling the application may fix this problem.
Aborted (core dumped)
---

foxcub commented on 2015-11-05 23:30

Thanks. This must have changed very recently because I did get ipe-7.1.9 originally from GitHub. In any case, it's fixed now.

eolianoe commented on 2015-11-05 08:02

The source are not available on GitHub and the ipe website [1] redirect to [2]. Could you change the url and source arrays?

[1] http://ipe.otfried.org/
[2] https://dl.bintray.com/otfried/generic/ipe/7.1/ipe-7.1.9-src.tar.gz

Liquen commented on 2015-10-12 23:22

mrzv.org is reachable from here.

All comments