Hi Daniel,

I think that's probably because Ubuntu 13.10 has a new version of poppler
and so it needs the addpoppler hack because newer poppler packages don't
include the header files xournalpp uses. If you checkout the addpoppler
branch and compile that, hopefully that will work (sometimes autotools
gives you a bit of hassle as well).

I haven't tested the compile on 13.10, but I've got it working on 13.04,
see here for details:
https://github.com/xournalpp/xournalpp/wiki/Mint-15-(Ubuntu-Raring)

Hope that helps!
Wilson


On Mon, Nov 18, 2013 at 8:10 AM, D M German <d...@uvic.ca> wrote:

>
>
>
>  Wilson> Xournalpp is written in C++ while Xournal is written in C :) They
> are very
>  Wilson> different code-wise. In terms of feature sets, I'm not sure what
> the
>  Wilson> current state of Xournal is feature-wise and how far it's gone
> since
>
> hi Wilson
>
> I downloaded xournapp and tried to compile it (ubuntu 13.10) but got the
> following error:
>
> any idea what might be the problem?
>
> thanks!
>
> --dmg
>
>
>
> dmg@iodine:~/git.w/xournalpp$ make
> make  all-recursive
> make[1]: Entering directory `/home/dmg/git.w/xournalpp'
> Making all in src
> make[2]: Entering directory `/home/dmg/git.w/xournalpp/src'
> Making all in util
> make[3]: Entering directory `/home/dmg/git.w/xournalpp/src/util'
> /bin/bash ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H
> -I. -I../.. -DPACKAGE_DATA_DIR=\""/usr/local/share"\"
> -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -pthread
> -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include
> -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0
> -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/
> -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
> -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12
> -I/usr/include/harfbuzz -I/usr/include/poppler/glib -I/usr/include/poppler
> -I/usr/include/libglade-2.0 -I/usr/include/libxml2
> -I/usr/include/librsvg-2.0     -I../../src/util -g -rdynamic -Wreturn-type
> -Wuninitialized -Wunused-value -Wunused-variable -g -O2 -MT
> libutil_la-CrashHandler.lo -MD -MP -MF .deps/libutil_la-CrashHandler.Tpo -c
> -o libutil_la-CrashHandler.lo `test -f 'CrashHandler.cpp' || echo
> './'`CrashHandler.cpp
> libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../..
> -DPACKAGE_DATA_DIR=\"/usr/local/share\"
> -DPACKAGE_LOCALE_DIR=\"/usr/local/share/locale\" -pthread
> -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include
> -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0
> -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/
> -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
> -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12
> -I/usr/include/harfbuzz -I/usr/include/poppler/glib -I/usr/include/poppler
> -I/usr/include/libglade-2.0 -I/usr/include/libxml2
> -I/usr/include/librsvg-2.0 -I../../src/util -g -rdynamic -Wreturn-type
> -Wuninitialized -Wunused-value -Wunused-variable -g -O2 -MT
> libutil_la-CrashHandler.lo -MD -MP -MF .deps/libutil_la-CrashHandler.Tpo -c
> CrashHandler.cpp  -fPIC -DPIC -o .libs/libutil_la-CrashHandler.o
> In file included from
> ../control/../model/../pdf/popplerdirect/poppler/../workaround/workaround.h:9:0,
>                  from
> ../control/../model/../pdf/popplerdirect/poppler/XojPopplerPage.h:22,
>                  from
> ../control/../model/../pdf/popplerdirect/poppler/XojPopplerDocument.h:15,
>                  from ../control/../model/Document.h:23,
>                  from ../control/SaveHandler.h:18,
>                  from CrashHandler.cpp:21:
> ../control/../model/../pdf/popplerdirect/poppler/../workaround/CairoOutputDev.h:128:25:
> error: ‘Link’ has not been declared
>    virtual void drawLink(Link *link, Catalog *catalog);
>                          ^
> ../control/../model/../pdf/popplerdirect/poppler/../workaround/CairoOutputDev.h:378:25:
> error: ‘Link’ has not been declared
>    virtual void drawLink(Link *link, Catalog *catalog) { }
>                          ^
> make[3]: *** [libutil_la-CrashHandler.lo] Error 1
>
>
>  Wilson> Xournalpp was started. The last Xournal release I used was the
> one packaged
>  Wilson> with Debian Squeeze, which didn't have support for inserting
> images and I
>  Wilson> found that some documents used up a lot of RAM, so that's why I
> switched to
>  Wilson> Xournalpp which was much less stable but had both of those
> problems fixed.
>  Wilson> Since Xournalpp represented such a large rewrite there are things
> like the
>  Wilson> sidebar, multi-page document views, different eraser types, latex
> input,
>  Wilson> etc. that probably also don't exist in Xournal.
>
>  Wilson> I suspect at this point, moving the features of Xournalpp into
> Xournal
>  Wilson> would be a hefty task, so I'm not sure that's an option. Updating
> Xournalpp
>  Wilson> to be GTK3 compatible should be possible, but there may be a
> number of
>  Wilson> features Xournal now has that would also be difficult to port,
> I'm not sure.
>
>  Wilson> Hope that helps,
>  Wilson> Wilson
>
>
>
>  Wilson> On Sun, Nov 17, 2013 at 8:44 PM, Shuhao <shu...@shuhaowu.com>
> wrote:
>
>  >> Can't we merge the two projects into one? This seems confusing with
>  >> xournalpp.
>  >>
>  >> Shuhao
>  >>
>  >> On 11/17/2013 08:38 PM, Wilson Brenna wrote:
>  >> > Hello - I can't speak for much of the development so the others can
>  >> > hopefully fill in more details here, but I've been working on the C++
>  >> > branch, Xournalpp, on Github at github.com/xournalpp/xournalpp. The
> GTK3
>  >> > branch of the original Xournal is to my knowledge just a few months
> old,
>  >> > but from what I hear it's looking like most things from original
> Xournal
>  >> > are working there: https://github.com/dmgerman/xournal/commits/gtk3.
>  >> >
>  >> > I can't say much more though, because I don't have GTK3 on any of my
>  >> > machines and I'm also a newbie at GTK+ development. I would love to
> see
>  >> > Xournalpp GTK3 compatible though it's not my immediate priority
> mostly
>  >> > because I currently lack test systems. I do plan to be involved with
> the
>  >> > project for some time, if that gives you any idea about its future.
> From
>  >> > what I can tell the two most currently updated Xournal branches are
> the
>  >> > Xournalpp project on Github and the GTK3 branch on Github as well.
>  >> >
>  >> > Regarding feasibility on Xournalpp of what you suggested, I think for
>  >> sure
>  >> > some of it is possible. Certainly I would encourage anyone who wants
> to
>  >> put
>  >> > a presentation mode in Xournalpp and do my best to help out. I'll
> address
>  >> > the ideas you had below:
>  >> >
>  >> >
>  >> > On Sun, Nov 17, 2013 at 6:09 PM, Torsten Wagner <
>  >> torsten.wag...@gmail.com>wrote:
>  >> >
>  >> >> Hi,
>  >> >> I am looking into the development of xournal for some time and got a
>  >> >> bit confused.
>  >> >> There is a C++ branch which seems to get some but not much work at
> the
>  >> >> moment.
>  >> >> There is a SVN and a GIT. In the GIT there seems to be a GTK3
> branch.
>  >> >> Some Github forks exists as well.
>  >> >>
>  >> >> I couldn't figure out what is the actual up-to-date repro resp. from
>  >> >> where to start.
>  >> >> Should one wait for the GTK3 port?
>  >> >> Is there any future for the C++ branch?
>  >> >> Furthermore, I have a bit trouble to start reading the code. Is
> there
>  >> >> any developer manual? Filestructure, coding style, etc.?
>  >> >>
>  >> >> I'm not an experienced developer so I've just added to the code
> keeping
>  >> as
>  >> > close to the original style as I can. No specific style guide for
>  >> Xournalpp
>  >> > that I know of. Andreas might have a better answer for the Xournalpp
>  >> > filestructure, I didn't ever ask him, I just sort of fell into it. I
> can
>  >> > tell you that collab/ is deprecated and I have no particular need
> for it,
>  >> > /control contains most of the Xournalpp core with exporting, saving,
>  >> > zooming, clipboard stuff, selecting objects, etc., /gui is fairly
> self
>  >> > explanatory, /model has the general classes of Xournalpp objects,
> /pdf
>  >> > contains the handlers for export to PDF as well as the complete
>  >> standalone
>  >> > poppler library for compatibility with recent versions of libpoppler,
>  >> /undo
>  >> > deals with all of the different types of action undo commands, and
> /util
>  >> > has an assortment of things - especially useful in there are the
>  >> stacktrace
>  >> > and error/memory handling bits, and the serialization routines.
>  >> Definitely
>  >> > feel free to ask me any questions and I'll do the best I can to
> bring you
>  >> > up to speed.
>  >> >
>  >> >
>  >> >> Actually, I want to add a presentation mode to xournal. That is
>  >> >> (ordered by piority):
>  >> >>
>  >> >> a) An extra window which mirrors the content of the actual drawing
>  >> >> area (to be placed on the video projector screen)
>  >> >>
>  >> >
>  >> > This should be possible in Xournalpp, not without some difficulty,
> but
>  >> > possible nonetheless. I think the biggest hurdle might be the
> threading
>  >> > that glib is using to redraw the canvas. A mode where both the
> original
>  >> > canvas and the mirror are forced to be static might be the easiest
> way.
>  >> >
>  >> > My current mode of operation here is to either export to PDF and then
>  >> > mirror my computer's display to give a presentation while seeing the
>  >> > content, or else to present from Xournalpp with the right zoom so
> that
>  >> it's
>  >> > full screen (that way I can edit on the fly) and again mirror the
> laptop
>  >> > screen. I'm pretty sure there was a bug in Xournalpp where page-up
> and
>  >> > page-down didn't do the right thing in a full-zoom presentation
> mode, and
>  >> > as I recall that is fixed on Github now, so page down will go to the
> next
>  >> > slide.
>  >> >
>  >> >
>  >> >> b) Make xournal aware of LaTeX beamer, which creates frames and
>  >> >> slides... a frame can consists of several slides to mimic the effect
>  >> >> of animations (add text and images part by part to the same frame).
>  >> >> Thus, a PDF  which contains only a single frame might consist of
>  >> >> several pages. It would make sense, that Xournal keeps all kind of
>  >> >> annotation until the next frame.
>  >> >>
>  >> >
>  >> > I'm not 100% sure what you're asking for here, but my take was you
> want
>  >> > something like a single Xournal slide with some separator of content
>  >> (e.g.
>  >> > layers) such that when exported to a PDF or put in presentation mode,
>  >> > consecutive layers are added one after the other, to produce
> additional
>  >> > content like the \pause in Beamer? I don't see any problem with
> having an
>  >> > option in the export to PDF that you could check off in preferences
> that
>  >> > would create a new slide for each consecutive layer. Certainly the
> latter
>  >> > solution should be quite easy to add.
>  >> >
>  >> >
>  >> >> d) Create a pane on the main window to see the next slide (and/or
> frame)
>  >> >>
>  >> >
>  >> > Xournalpp has a sidebar pane that shows a list of slides. If you had
> a
>  >> > static presentation window as in a), this part is basically taken
> care
>  >> of.
>  >> >
>  >> >
>  >> >> e) Display presentation time (either way, just a clock, time in
>  >> >> minutes or time left)
>  >> >>
>  >> >
>  >> > I'm not entirely sure how I'd go about doing this...
>  >> >
>  >> >
>  >> >> c) Switch state of the presentation window into black, white or
> freeze
>  >> >> (keep the slide to allow the presenter to search through the
>  >> >> presentation and after the right frame/slide is found unfreeze and
> the
>  >> >> presentation window will be updated)
>  >> >>
>  >> >
>  >> > This should be possible but not without some serious initiative.
>  >> Something
>  >> > to add on to the additional presentation window from a).
>  >> >
>  >> >
>  >> >> d) set and jump to bookmarks easily
>  >> >>
>  >> >
>  >> > I'm not totally sure how this would be done at the moment but it
> should
>  >> be
>  >> > possible. Probably something like a toolbar option that lets you set
>  >> custom
>  >> > hotkeys that would jump to a given page.
>  >> >
>  >> >
>  >> >>
>  >> >> I would be very glad if you could give me some feedback on how
>  >> >> difficulte it would be to reach the above aims. Would that be
>  >> >> something of general interest for xournal or should it be a fork
> like
>  >> >> xournal-presenter? Was there already some activity in this
> direction?
>  >> >>
>  >> >>
>  >> > Definitely I've been using Xournalpp as a presentation tool so I've
> made
>  >> > some moves in terms of improving usability this way, such as the
>  >> > page-up/down fix mentioned above as well as some better zooming
> behaviour
>  >> > and the addition of things like built in Latex support for equations
> on
>  >> > slides. I was looking at getting some backgrounds included that are
>  >> better
>  >> > suited for presentations, see
>  >> > https://github.com/xournalpp/xournalpp/issues/30.
>  >> >
>  >> > Cheers,
>  >> > Wilson
>  >> >
>  >> >
>  >> >
>  >> >> Thanks for your support
>  >> >>
>  >> >> Torwag
>  >> >>
>  >> >>
>  >> >>
>  >>
> ------------------------------------------------------------------------------
>  >> >> DreamFactory - Open Source REST & JSON Services for HTML5 & Native
> Apps
>  >> >> OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API
> Access
>  >> >> Free app hosting. Or install the open source package on any LAMP
> server.
>  >> >> Sign up and see examples for AngularJS, jQuery, Sencha Touch and
> Native!
>  >> >>
>  >>
> http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
>  >> >> _______________________________________________
>  >> >> Xournal-devel mailing list
>  >> >> Xournal-devel@lists.sourceforge.net
>  >> >> https://lists.sourceforge.net/lists/listinfo/xournal-devel
>  >> >>
>  >> >
>  >> >
>  >> >
>  >> >
>  >>
> ------------------------------------------------------------------------------
>  >> > DreamFactory - Open Source REST & JSON Services for HTML5 & Native
> Apps
>  >> > OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
>  >> > Free app hosting. Or install the open source package on any LAMP
> server.
>  >> > Sign up and see examples for AngularJS, jQuery, Sencha Touch and
> Native!
>  >> >
>  >>
> http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
>  >> >
>  >> >
>  >> >
>  >> > _______________________________________________
>  >> > Xournal-devel mailing list
>  >> > Xournal-devel@lists.sourceforge.net
>  >> > https://lists.sourceforge.net/lists/listinfo/xournal-devel
>  >> >
>  >>
>  >>
>  >>
> ------------------------------------------------------------------------------
>  >> DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
>  >> OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
>  >> Free app hosting. Or install the open source package on any LAMP
> server.
>  >> Sign up and see examples for AngularJS, jQuery, Sencha Touch and
> Native!
>  >>
> http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
>  >> _______________________________________________
>  >> Xournal-devel mailing list
>  >> Xournal-devel@lists.sourceforge.net
>  >> https://lists.sourceforge.net/lists/listinfo/xournal-devel
>  >>
>  Wilson>
> ------------------------------------------------------------------------------
>  Wilson> DreamFactory - Open Source REST & JSON Services for HTML5 &
> Native Apps
>  Wilson> OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API
> Access
>  Wilson> Free app hosting. Or install the open source package on any LAMP
> server.
>  Wilson> Sign up and see examples for AngularJS, jQuery, Sencha Touch and
> Native!
>  Wilson>
> http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
>  Wilson> _______________________________________________
>  Wilson> Xournal-devel mailing list
>  Wilson> Xournal-devel@lists.sourceforge.net
>  Wilson> https://lists.sourceforge.net/lists/listinfo/xournal-devel
>
> --
> Daniel M. German                  "Diminutive as a mote of dust,
>                                    a mere peck of the pen, a crumb on the
>                                    keyboard, the full stop --the period--
>                                    is the unsung legislator of our
>     Alberto Manguel ->             writing systems"
> http://turingmachine.org/
> http://silvernegative.com/
> dmg (at) uvic (dot) ca
> replace (at) with @ and (dot) with .
>
>
>
------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
Xournal-devel mailing list
Xournal-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xournal-devel

Reply via email to