Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 80448 - media-gfx/ipe (new ebuild)
Summary: media-gfx/ipe (new ebuild)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL: http://tclab.kaist.ac.kr/ipe/
Whiteboard: [sunrise-overlay]
Keywords: EBUILD, InOverlay
Depends on:
Blocks:
 
Reported: 2005-02-02 05:24 UTC by Fritz Heinrichmeyer
Modified: 2012-05-10 17:09 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild for building ipe drawing editor (ipe-6.0_pre23.ebuild,953 bytes, text/plain)
2005-02-02 05:30 UTC, Fritz Heinrichmeyer
Details
ipe-6.0_pre23.ebuild (ipe-6.0_pre23.ebuild,776 bytes, text/plain)
2005-02-02 08:11 UTC, Rob Cakebread (RETIRED)
Details
ipe-6.0_pre28.ebuild (ipe-6.0_pre28.ebuild,1.92 KB, text/plain)
2007-01-07 02:32 UTC, Christian Schlotter
Details
Ebuild for IPE 7.0.4 (ipe-7.0.4.ebuild,2.23 KB, text/plain)
2009-10-20 21:15 UTC, Lukas Sandström
Details
7.0.13 needs one change: Gentoo has moc, not moc-qt4. I haven't checked the dependencies. (ipe-7.0.13.ebuild,2.00 KB, text/plain)
2011-02-10 20:40 UTC, Siim Ainsaar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fritz Heinrichmeyer 2005-02-02 05:24:19 UTC
See http://ipe.compgeom.org for details

Qt-based drawing editor utilizing PdfLaTeX. Can be compiled also as kde application. Eventually an IUSE flag should be introduced for this? My first ebuild, based on contributions from forum user "Pythonhead", initially started by forum user "hephaistos6".

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Fritz Heinrichmeyer 2005-02-02 05:30:56 UTC
Created attachment 50208 [details]
ebuild for building ipe drawing editor

drawing editor is compiled independent of kde. It is annoying that Mozilla as
help browser is compiled in as default but this can be changed by setting
IPEBROWSER variable. The kde variant would use kde defaults. 

Again, thanks to initiator hephaistos6 and to pythonhead.
Comment 2 Rob Cakebread (RETIRED) gentoo-dev 2005-02-02 08:11:37 UTC
Created attachment 50213 [details]
ipe-6.0_pre23.ebuild

Simplified MY_P a bit, got rid of MY_S and set S
Comment 3 Stefan Walkner 2005-02-07 08:08:09 UTC
hello!

thx for creating the ebuild!
hmm, you got a much shorter and IMHO nicer version :)
works great for me
Comment 4 Christian Schlotter 2007-01-07 02:32:03 UTC
Created attachment 105751 [details]
ipe-6.0_pre28.ebuild

Hi!

Please find attached an updated ebuild for Ipe 6.0pre28.  It builds on the ebuilds previously posted, but updates and changes some aspects:

* I dropped the dependency on urw-fonts because Ipe needs pdfLaTeX, which is included in teTeX and TeX Live.  Both distributions already include urw-fonts.
* The new ebuild also copies the fontmaps distributed with the Ipe tarball to /usr/share/ipe/${PV} and symlinks fontmap.xml in this directory to the fontmap of the TeX distribution which is installed.  The fontmap for TeX Live is untested, as I do not use this distribution yet.
* There's now a USE flag "firefox" which replaces Ipe's default browser mozilla with firefox, if enabled.

Regards
Christian
Comment 5 Christian Schlotter 2007-01-09 09:57:36 UTC
An improved version is now in the sunrise overlay.  You can find it at:
http://www.gentoo-sunrise.org/sunrise/browser/reviewed/media-gfx/ipe/
Comment 6 Christoph Lange 2007-04-03 09:13:42 UTC
The sunrise ebuild currently only contains the x86 architecture, but it also worked on my AMD64.
Comment 7 Christian Schlotter 2007-04-03 09:49:36 UTC
(In reply to comment #6)
> The sunrise ebuild currently only contains the x86 architecture, but it also
> worked on my AMD64.

Thanks!  I have commited the change, which will soon be in the official sunrise overlay.

http://www.gentoo-sunrise.org/sunrise/changeset/3319
Comment 8 James Cloos 2007-09-02 07:07:00 UTC
The sunrise ebuild failed for me (with gcc-4.2).

Three files in the tar contain code which adds -Werror to CXXFLAGS (overriding the -Wno-error additions from my CXXFLAGS and from qtmake).

Unfortunately ipebitmap.cpp has an unused variabe (length) in IpeBitmap::IpeBitmap(const IpeXmlAttributes&, IpeBuffer), which triggers a warning, which -Werror upgrades to an error, which kills the compile.

The easiest way for me to get it to compile was to edit out the -Werror with:

find "${S}" -type f -print0|xargs -0 perl -i -pe 's/-Werror/-Wno-error/g'

You’ll probably want a more elegant fix....

The three files are: src/config.pri, src/figtoipe/figtoipe.pro and src/ipe5toxml/ipe5toxml.pro.

Comment 9 Christian Schlotter 2007-09-10 16:54:49 UTC
Thank you, James!

I commited your suggested fix to the sunrise overlay[1]. It should soon be reviewed and be available for everyone. I also reported your bug upstream[2].

Please test after it has been reviewed, as I still use GCC 4.1.2.

Best regards
Christian

[1] http://overlays.gentoo.org/proj/sunrise/changeset/4596
[2] http://s105.theano.de/cgi-bin/bugzilla/show_bug.cgi?id=240
Comment 10 Christian Schlotter 2008-01-03 22:37:10 UTC
Ipe 6.0pre30 is now in Sunrise overlay.
http://overlays.gentoo.org/proj/sunrise/browser/reviewed/media-gfx/ipe
Comment 11 Lukas Sandström 2009-10-20 21:15:05 UTC
Created attachment 207744 [details]
Ebuild for IPE 7.0.4

-j1 is needed for compiling since some targets in the Makefiles are missing deps on the built shared libraries.
Comment 12 Siim Ainsaar 2011-02-10 20:40:40 UTC
Created attachment 262079 [details]
7.0.13 needs one change: Gentoo has moc, not moc-qt4. I haven't checked the dependencies.
Comment 13 Sébastien Fabbro (RETIRED) gentoo-dev 2012-05-10 17:09:32 UTC
now in cvs. thanks all