Am 18.04.2011 11:32, schrieb Michael J Gruber: > Andreas Butti venit, vidit, dixit 31.03.2011 19:06: >> Hello >> >> I'm still working on a new release, I did some re-factoring: > ... >> And there are also some things not working with "make install", if >> somebody has time or good knowledge of autotools I would appreciate some >> help;-) > Ciao Andreas, > > what's the best way in which we can help (besides autotools)? It seems > that there's no point investing in xournal (non-pp) any more, code-wise. > So, since I'm very interested in getting image inclusion, I'm forced to > look at xournalpp...
Are you a developer? (You don't know Autotools either?;-)) Else: Testing... As you did. > I've set up a private git-svn mirror and found the sparsity of commit > messages (though typical for svn) makes it difficult to keep up with the > good progress. A commit message or two, and you don't need to send > "state" posts :) I don't commend all commits, because often there are only small chages, bugfixes, or some refactoring which are not important. If I did something important I always add comments. > I could puush that git-svn mirror to a public host for everyone's > browsing and cloning pleasure, if that helps. > > On Fedora 14 (x86_64), xournalpp@r131 compiles after > > ./configure --prefix=$HOME CPPFLAGS="-I$HOME/include" LIBS=-lz > > with a copy of poppler/CairoOutputDev.h in $HOME/include. Drawing, text > (even with custom ttf fonts) work nicely, the resize issues of previous > versions are gone. Very nice! Image inclusion works. Updating the > preview after resizing an image shows some lag (first I thought it > doesn't update the preview), that's OK. (An option for omitting previews > from the xoj might be nice.) > > Trying to "Export to PDF" gives a crash for an xoj with an included png > (image object). I'll include the error log below. Printing to PDF with > the same xoj works nicely. Taking that png as a background (not > attached) and exporting to pdf gives the same crash. PDF don't know background image or foreground image, there is simple an image. I'll try to find the problem from the stacktrace... > Regarding Images: > Having the option to not attach them (just like backgrounds) would be > really nice, with an element like: > > <image left="74.00" top="278.00" right="595.28" bottom="799.28" > filename="bg_1.png"/> why? The Image format I use is 100% compatible with the pach which is available for Xournal on sf.net For future releases I'll create a new format (e.g. based on ZIP) which can handle resources better. > BTW: xournalpp produced that 'filename="bg_1.png"' for the image > background, but the filename is "wrong". But then it does find it on > restart! Quite confusing. OTOH, the "resuse image" dialog for image > backgrounds is great and just what I would love for detached image > objects also :) I'll check this, I don't understand what you mean now, but I didn't really test background image yet;-) Andreas > Anyway, thanks for the great work so far, and let me know how to help > (with some time constraints, though). > > Michael > > Error: signal 11: > [bt]: (0) src/xournalpp() [0x4e025e] > [bt]: (1) /lib64/libc.so.6() [0x35e4c33140] > [bt]: (2) src/xournalpp(_Z16xoj_type_getNamei+0x74d) [0x4e939d] > [bt]: (3) > src/xournalpp(_ZN23BackgroundImageContents11unreferenceEv+0x4e) [0x4bface] > [bt]: (4) src/xournalpp(_ZN15BackgroundImageD2Ev+0x82) [0x4bed22] > [bt]: (5) src/xournalpp(_ZN15BackgroundImageD0Ev+0x9) [0x4bedb9] > [bt]: (6) src/xournalpp(_ZN7XojPageD1Ev+0xb8) [0x4cb7d8] > [bt]: (7) src/xournalpp(_ZN7XojPageD0Ev+0x9) [0x4cb869] > [bt]: (8) src/xournalpp(_ZN7PageRefaSEP7XojPage+0x22) [0x4c6f42] > [bt]: (9) src/xournalpp(_ZN14SidebarPreviewD1Ev+0xa4) [0x4971a4] > [bt]: (10) src/xournalpp(_ZN14SidebarPreviewD0Ev+0x9) [0x497299] > [bt]: (11) src/xournalpp(_ZN7SidebarD1Ev+0xbf) [0x4951df] > [bt]: (12) src/xournalpp(_ZN7SidebarD0Ev+0x9) [0x4952d9] > [bt]: (13) src/xournalpp(_ZN7ControlD1Ev+0x1bf) [0x46c75f] > [bt]: (14) src/xournalpp(_ZN7ControlD0Ev+0x9) [0x46c939] > [bt]: (15) src/xournalpp(_ZN11XournalMain3runEiPPc+0x5a9) [0x484c89] > [bt]: (16) src/xournalpp(main+0x43) [0x4ebaf3] > [bt]: (17) /lib64/libc.so.6(__libc_start_main+0xfd) [0x35e4c1ee5d] > [bt]: (18) src/xournalpp() [0x4473f9] > > > Try to get a better stracktrace... > [bt] #1 src/xournalpp() [0x4e03d7] > /home/mjg/src/xournal-devel/src/util/CrashHandler.cpp:118 > [bt] #2 /lib64/libc.so.6() [0x35e4c33140] > ??:0 > [bt] #3 src/xournalpp(_Z16xoj_type_getNamei+0x74d) [0x4e939d] > /home/mjg/src/xournal-devel/src/util/XournalType.cpp:43 > [bt] #4 src/xournalpp(_ZN23BackgroundImageContents11unreferenceEv+0x4e) > [0x4bface] > /home/mjg/src/xournal-devel/src/model/BackgroundImageContents.cpp:22 > [bt] #5 src/xournalpp(_ZN15BackgroundImageD2Ev+0x82) [0x4bed22] > /home/mjg/src/xournal-devel/src/model/BackgroundImage.cpp:19 > [bt] #6 src/xournalpp(_ZN15BackgroundImageD0Ev+0x9) [0x4bedb9] > /home/mjg/src/xournal-devel/src/model/BackgroundImage.cpp:20 > [bt] #7 src/xournalpp(_ZN7XojPageD1Ev+0xb8) [0x4cb7d8] > /home/mjg/src/xournal-devel/src/model/XojPage.cpp:34 > [bt] #8 src/xournalpp(_ZN7XojPageD0Ev+0x9) [0x4cb869] > /home/mjg/src/xournal-devel/src/model/XojPage.cpp:35 > [bt] #9 src/xournalpp(_ZN7PageRefaSEP7XojPage+0x22) [0x4c6f42] > /home/mjg/src/xournal-devel/src/model/PageRef.cpp:45 > [bt] #10 src/xournalpp(_ZN14SidebarPreviewD1Ev+0xa4) [0x4971a4] > /home/mjg/src/xournal-devel/src/gui/sidebar/SidebarPreview.cpp:35 > [bt] #11 src/xournalpp(_ZN14SidebarPreviewD0Ev+0x9) [0x497299] > /home/mjg/src/xournal-devel/src/gui/sidebar/SidebarPreview.cpp:46 > [bt] #12 src/xournalpp(_ZN7SidebarD1Ev+0xbf) [0x4951df] > /home/mjg/src/xournal-devel/src/gui/sidebar/Sidebar.cpp:108 > [bt] #13 src/xournalpp(_ZN7SidebarD0Ev+0x9) [0x4952d9] > /home/mjg/src/xournal-devel/src/gui/sidebar/Sidebar.cpp:119 > [bt] #14 src/xournalpp(_ZN7ControlD1Ev+0x1bf) [0x46c75f] > /home/mjg/src/xournal-devel/src/control/Control.cpp:142 > [bt] #15 src/xournalpp(_ZN7ControlD0Ev+0x9) [0x46c939] > /home/mjg/src/xournal-devel/src/control/Control.cpp:158 > [bt] #16 src/xournalpp(_ZN11XournalMain3runEiPPc+0x5a9) [0x484c89] > /home/mjg/src/xournal-devel/src/control/XournalMain.cpp:222 > [bt] #17 src/xournalpp(main+0x43) [0x4ebaf3] > /home/mjg/src/xournal-devel/src/Xournalpp.cpp:30 > [bt] #18 /lib64/libc.so.6(__libc_start_main+0xfd) [0x35e4c1ee5d] > ??:0 > [bt] #19 src/xournalpp() [0x4473f9] > ??:0 > > > ------------------------------------------------------------------------------ > Benefiting from Server Virtualization: Beyond Initial Workload > Consolidation -- Increasing the use of server virtualization is a top > priority.Virtualization can reduce costs, simplify management, and improve > application availability and disaster protection. Learn more about boosting > the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev > _______________________________________________ > Xournal-devel mailing list > Xournal-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/xournal-devel ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev _______________________________________________ Xournal-devel mailing list Xournal-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xournal-devel