Package Details: gle-graphics 4.2.5-1

Git Clone URL: https://aur.archlinux.org/gle-graphics.git (read-only)
Package Base: gle-graphics
Description: Graphics scripting language for creating graphs, plots, diagrams and figures
Upstream URL: http://www.gle-graphics.org/
Licenses: GPL, BSD
Submitter: bunder
Maintainer: None
Last Packager: bunder
Votes: 7
Popularity: 0.000000
First Submitted: 2009-10-17 13:17
Last Updated: 2016-08-24 03:11

Latest Comments

butterkeks commented on 2017-07-25 19:56

For me the package dos not compile as is. There is an option in the 'src/gle/surface/ffitcontour.cpp' file that should be triggered by the OS version, but is not:

...
/* "f2c.h" defines abs() -- conflict with the definition in <math.h> */
/* changing the order solves the problem */
#if ( defined(__OS2__) && defined(__EMX__) ) || defined(__WIN32__)
#include <stdio.h>
#include <math.h>
#include "f2c.h"
#else
#include "f2c.h"
#include <stdio.h>
#include <math.h>
#endif
...


as a workaround I deactivated this if clause before compiling.
Can it be fixed permanently?

Regards
Florian

bunder commented on 2016-08-24 03:14

Thank you for the comments! I've updated the package.

jerry73204 commented on 2015-07-04 12:10

Hi. I found PKGBUILD failed to build this package. I made some workaround here is my updated PKGBUILD.
I found the dependency "libpng15" may not be required since gle linked to libpng16.so did build and run. (I judged by "readelf --dynamic /usr/lib/libgle-graphics-4.2.4c.so" if I'm not wrong.)
make with -jX flags makes the package failed to build. I did some hack by adding "-j1" flags manually in PKGBUILD to avoid this problem.

=======================================
# Contributor: Anton Leontiev <bunder /at/ t-25.ru>
# Contributor: B. Lee <darklin20 /at/ gmail.com>
pkgname=gle-graphics
pkgver=4.2.4c
pkgrel=4
arch=('i686' 'x86_64')
pkgdesc='Graphics scripting language for creating graphs, plots, diagrams and figures'
url='http://www.gle-graphics.org/'
license=('BSD' 'GPL')
depends=('libtiff' 'libjpeg' 'ghostscript')
makedepends=('qt4' 'openssl' 'zlib' 'ghostscript' 'texlive-bin' 'texlive-core' 'texlive-latexextra')
optdepends=('texlive: latex labels in gle scripts' 'qt4: qgle')
source=(http://prdownloads.sourceforge.net/glx/gle-graphics-${pkgver}f-src.tar.gz
gle-graphics-$pkgver-transperancy.patch
gle-graphics-$pkgver-non-ascii.patch)
md5sums=('5eef0a63ee0077237b8a36fe1a24407f'
'cecfbdf3d18390485a8a963448fd55aa'
'2196ee0a27645b764ac84f59957c79f3')
install=gle-graphics.install

build() {
cd $srcdir/$pkgname-$pkgver

patch -p1 -i "$srcdir/gle-graphics-$pkgver-transperancy.patch"
patch -p1 -i "$srcdir/gle-graphics-$pkgver-non-ascii.patch"

./configure --prefix=/usr --with-qt --with-jpeg --with-png --with-tiff --with-z \
--with-manip --with-libgle --with-rpath=no --with-extrafonts --with-x

make -j1
make -j1 doc
}

package() {
cd $srcdir/$pkgname-$pkgver

make -j1 "DESTDIR=$pkgdir" install
install -D -m644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
install -D -m644 platform/autopackage/gle.png "$pkgdir/usr/share/icons/hicolor/48x48/apps/gle.png"
install -D -m644 platform/autopackage/gle.xml "$pkgdir/usr/share/mime/packages/gle.xml"
install -D -m644 platform/autopackage/gle.desktop "$pkgdir/usr/share/applications/gle.desktop"
}
=======================================

bunder commented on 2013-08-04 11:18

I can't reproduce this bug anymore.

bunder commented on 2012-08-18 17:04

As a workaround for the bug, check "Render with the Cairo graphics library" check-box in settings dialogue box.

bunder commented on 2012-04-28 05:21

I've wrote a bug report on this problem while ago (http://sourceforge.net/tracker/?func=detail&aid=3494736&group_id=11225&atid=111225), but they can't reproduce the problem.

bunder commented on 2012-04-28 05:21

I've wrote a bug report on this problem while ago (http://sourceforge.net/tracker/?func=detail&aid=3494736&group_id=11225&atid=111225), but they can't reproduce the problem.

CAVT commented on 2012-02-22 21:26

Hi. QGLE, provided in this package, fails when trying to create or previewing a file with the following console output:

QWidget::setWindowModified: The window title does not contain a '[*]' placeholder
Script:
size 12.0 12.0

GLE 4.2.4b[gle-p91izv.gle]-C-R-[gle-3reS3a][.eps]
lcms: Error #12288; Unknown output format

GLE itself works well, it's the QT-based GUI the one failing. Any ideas?