maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Xournal 0.4.1 coming to OS2008/Chinook (https://talk.maemo.org/showthread.php?t=12774)

anidel 2007-12-05 18:46

Xournal 0.4.1 for OS2008/Chinook beta port (WAS: Xournal coming...)
 
I am very happy and I can't wait to tell you that a port of Xournal (latest version 0.4.1) is coming to Os2008.

See: http://anidel.blogspot.com/2007/12/x...08-almost.html

for some info and a screenshot.

:D

UPDATE: The port of Xournal 0.4.1 to Maemo is at its 5th release. You can find it in the OS2008 Downloads section of the Meamo site.

fpp 2007-12-05 19:09

Re: Xournal 0.4.1 coming to OS2008/Chinook
 
Congrats ! I guess you're going to make quite a few happy campers there, and help some migrations to OS2008 :-)

GreySim 2007-12-06 07:30

Re: Xournal 0.4.1 coming to OS2008/Chinook
 
Not to mention make some jealous 770 users VERY impatient for the HE OS release that supports Chinook. :(

anidel 2007-12-06 08:05

Re: Xournal 0.4.1 coming to OS2008/Chinook
 
As soon as the packages for Chinook are ready, I will see how difficult is to make Bora (Maemo 3.0 / OS2007) and Mistral (Maemo 2.0 / OS2006) packages as well.

anidel 2007-12-07 16:27

Re: Xournal 0.4.1 coming to OS2008/Chinook
 
Here it is guys, I have made a beta version of Xournal 0.4.1 (latest) to OS2008 Beta.
I have tried it on my N800.

Please read my blog entry carefully.

http://anidel.blogspot.com/2007/12/x...8-is-here.html

Moonshine 2007-12-07 17:02

Re: Xournal 0.4.1 coming to OS2008/Chinook
 
I tried xournal a while back and it seemed to be a "sketch" style app. I couldn't find a text tool for notes or anything. Was I missing something? Or is this basically just more powerful then the sketch app included with the OS? I know people like it so I'm wondering what I'm missing :)

anidel 2007-12-07 17:08

Re: Xournal 0.4.1 coming to OS2008/Chinook
 
It allows you to annotate PDF files...
Even if, currently, it doesn't open any PDF file.. and I am trying to solve the issue.

Benson 2007-12-07 18:02

Re: Xournal 0.4.1 coming to OS2008/Chinook
 
Hmmm... I have version 0.3.1 on OS2007, PDF stuff works fine (loading to annotate, and exporting). Hope you can get it working.
But having 0.4 would be nice, as it lets you do text regions. Have you considered incorporating some of the third-party patches into your builds? The pressure-sensitivity one looks particularly nice.

anidel 2007-12-08 20:10

Re: Xournal 0.4.1 coming to OS2008/Chinook
 
I will dig into that too as soon as PDF support works in Xournal.
As for now it does not. I am sure it's a stupid issue somewhere, but I can work on it only when in the lab.
We'll see on monday.

anidel 2007-12-11 11:17

Re: Xournal 0.4.1 coming to OS2008/Chinook
 
So far a new release of Xournal is available.
This time you can open and annotate PDFs, but I still have issues in exporting annotated PDFs (and regular notes as well).
Some other polishing to the menus are needed...

A big thanks to whoever found this port useful :)

zeez 2007-12-11 11:40

Re: Xournal 0.4.1 coming to OS2008/Chinook
 
Hmm i get the following error:
Code:

xournal[9371]: GLIB WARNING ** Gtk - gtk_menu_attach_to_widget(): menu already attached to GtkImageMenuItem
xournal: symbol lookup error: /usr/lib/libgnomecanvas-2.so.0: undefined symbol: art_alloc


anidel 2007-12-12 09:48

Re: Xournal 0.4.1 coming to OS2008/Chinook
 
Looks like you're missing the libart package.
How did you install it ?

zeez 2007-12-12 10:13

Re: Xournal 0.4.1 coming to OS2008/Chinook
 
Downloaded that .install file from your site and opened it in the file manager...

anidel 2007-12-12 12:02

Re: Xournal 0.4.1 coming to OS2008/Chinook
 
Weird... did it install the Extras-Devel repository ?

libart is actually a direct dependencies of Xournal, even if it should be an indirect one (Xournal depends on libgnomecanvas that in turn depends on libart.. I'll fix that).. but still, it should install it.

Might you check if you have libart installed ?

Rebski 2007-12-12 12:27

Re: Xournal 0.4.1 coming to OS2008/Chinook
 
Quote:

Might you check if you have libart installed ?
I don't have libart either. Nor libgnomecanvas - if this is supposed to be there too.

Also I got a 'Sound not installed error' on installation with Application Manager.

The app runs but I haven't really tested it fully yet.

Let me know if I can test anything and thanks for the good work.

ShyBoy 2007-12-12 13:17

Re: Xournal 0.4.1 coming to OS2008/Chinook
 
I was also having problem installing the app, and I also need to re-flash the tablet, so I reflash it first and then just install it with the .install file. and it went OK.

now its keep crashing on my tablet and I also noticed that I do no have libart either?

is the installer messed up??

geneven 2007-12-12 13:42

Re: Xournal 0.4.1 coming to OS2008/Chinook
 
I didn't use the .install file; I put in the repositories indicated and chose Install from application manager. I'll try .install!

ShyBoy 2007-12-12 14:11

Re: Xournal 0.4.1 coming to OS2008/Chinook
 
OK, now I un-installed it and install again from application manager.

and it is crashing again. (it took longer this way to crash, before it was crashing to quickly).

Any way around ??

BTW application is amazing.... :-)

Kahlius 2007-12-12 21:41

Re: Xournal 0.4.1 coming to OS2008/Chinook
 
I installed xournal using the install file, and it installed perfectly. Usage is mostly good, it's a great app. PDF reading, anotating and saving works well, and regular journal also works fine. The fullscreen key on my n800 doesn't seem to work though, I have to use
the menu to get fullscreen. But the biggest problem is the frequent crashes that have been reported here by others. It doesn't seem to matter what I am doing in xournal, it will crash after a little bit anyway.

debernardis 2007-12-13 06:47

Re: Xournal 0.4.1 coming to OS2008/Chinook
 
Anidel, why don't you try to compile that older version that Etrunko ported for os2006 (version 0.3.1)? Maybe that one is more stable and should have everything needed.

anidel 2007-12-13 07:42

Re: Xournal 0.4.1 coming to OS2008/Chinook
 
Well I will try to fix those bugs first, then I will check out the 0.3.1 and see if it is crashing too ( that will mean that there's an issue with hildon and the way I'm using it )

Unfortuntately I can work on it during my work hours, so I can't be that fast.
I don't know if today (Dec. 13th) I can work on it, but almost for sure tomorrow I will (as I will not be at work for other reasons :) ).

Thanks to everyone for reporting the issues (glad to see you like my port anyway :P) and thanks to De Bernardis (debernardis) for the hint he gave me (I don't even remember where, somewhere in a thread here in the forums) that fired up something in me and brought you this port.

EDIT: oh, btw, you won't see the Xournal dependencies in the App Manager as they are NOT marked as "user/<something>", but as "libs" and thus App Manager won't show them up to you.
You will only see Ghostscript (as this is a set of programs and libraries).
So if Xournal is showing up when started then you have ALL the needed libraries. If it is not, then something went wrong and I frankly don't know what... Xournal should NOT install unless all the dependencies are met (i.e. all the other packages are correctly installed first).
I could only think of an App Manager bug, but, before filing a bug there, let's check out our issues first.

Thanks again guys!

anidel 2007-12-13 09:17

Re: Xournal 0.4.1 coming to OS2008/Chinook
 
Ok guys :)

I'm happy to tell you that Zoom In/Out and FullScreen buttons are now supported on Xournal 0.4.1.

A new release is available, just update it from the Application Manager.

I've followed the documentation from the Maemo Documentation website, so it should also work on the N810.

Just let me know guys. And thanks, again, for beta-testing it.

I've noticed that the desktop version of Xournal shows up a few more icons. Looking into that too..tomorrow!!! (shut, I should work now :p)

anidel 2007-12-13 11:13

Re: Xournal 0.4.1 coming to OS2008/Chinook
 
Forget what I said about working :p
My boss is out and I do not have deadlines so... here it is a new release of my port!

Release #4 adds a few more buttons to the toolbar (Go to first page, go to last page and zoom buttons) and binds the Escape button to the Undo action.
I've also fixed a few small bugs in the code as well (just 2, but now I don't get any GTK Critical log on the console anymore).

Unfortunately the program still crashes after a minute or so (but doesn't if you don't use it.. gotta check this out now..or tomorrow.. yeah...)

Go update it.
See you.

Kahlius 2007-12-14 12:54

Re: Xournal 0.4.1 coming to OS2008/Chinook
 
Hey,

great update, I like the added funcions! Zoomkeys and fullscreen work well, as you say. A little thing I noticed: The colourpicker button on the bottom menu doesn't seem to do anything. Instead, you can pick the colour from the arrow next to it. Again, great port, as soon as you figure out how to make it stop crashing it will be a great tool :)

anidel 2007-12-14 13:29

Re: Xournal 0.4.1 coming to OS2008/Chinook
 
About the colour button. I've looked into that.
If I remove it from the code, it removes the arrow as well.
I think the colour button and the arrow are ONE thing but when you click on the button it doesn't do anything.

I have to look at a better way to let people choose colors.
The desktop version of Xournal has all the colors in another bar, but they have plenty of space there.
We'll see.

PinCushionQueen 2007-12-16 13:38

Re: Xournal 0.4.1 coming to OS2008/Chinook
 
Fabulous program!! I can't wait to see it fully working :D The pdf annotation/highlighting is incredible. However,as you're already aware it crashes after a few minutes of use regardless of what you're doing.

Jussi_K 2007-12-16 23:25

Re: Xournal 0.4.1 coming to OS2008/Chinook
 
hello.
this app is amazing, it is just what i need to highlight my pubmed articles. I cant wait the crash-free version

ssam 2007-12-16 23:31

Re: Xournal 0.4.1 coming to OS2008/Chinook
 
i have tried running xounal from an xterm on my n800, to see if there was any clue when it crashed.

so far it has not crashed on the xterm. i have left it over night, and filled a few pages with doodles and it has stayed running.

can anyone get it to crash in an xterm? maybe there is a clue.

anidel 2007-12-17 08:03

Re: Xournal 0.4.1 coming to OS2008/Chinook
 
It "crashed" on me plenty of times from xterm. But there was no error displayed.
Nothing.
That's why I think it does not crash.. it just exits.
Anyway it doesn't always close. Several times it was working perfectly fine.

Did you guys tried the PDF annotation/save/load features ? do they all work ?

Also, if you notice menus that are intended for the desktop, please point it out to me, I'll remove it.
Thanks

Jussi_K 2007-12-17 08:40

Re: Xournal 0.4.1 coming to OS2008/Chinook
 
hi! I tried pdf functions for half hour. Sadly in addition to these exit crashes, it jammed once and crashed the whole os once.
about 33 percent of pdfs opened succesfully, rest had some minor problems. 3 times there whre some pages missing.

back and forward buttons did not work very well. they did symply not do their jobs when pressed.

Biggest problem occured in the end. the anonnation just stopped working. there comes this red message saying unable to anonnate pdf. i tryed ro boot os two times but the problem is still there.

anidel 2007-12-17 09:34

Re: Xournal 0.4.1 coming to OS2008/Chinook
 
Thanks! I was looking forward for this king of comments.
I will play with Xournal on the desktop for a while to see if these problems also are in that version or they only appear on the tablet.
I just worked on the GTK stuff, so it should not be a port problem, but Xournal on the desktop seemed quite stable and functioning..
Let's see if I can figure out things.

Thanks for your report.

anidel 2007-12-18 08:50

Re: Xournal 0.4.1 coming to OS2008/Chinook
 
Again, one just need to read documentation before starting doing its work, or a lot of time is thrown away.
Read this from the Maemo Tutorial (I am starting to love it):

Quote:

All maemo applications need to be initialized correctly, or they will not work as expected. One symptom of missing initialization is that application starts from Task Navigator, but closes automatically after few seconds
Guess when Xournal quits ? :)
Answer: only when run from the menu. If I run it from the terminal it won't shutdown, it stays running and working.

So.. now that I've figured out it's my fault (well I knew that already) and that I know where to look for, I think I'll be able to release a non-quitting version soon.

Stay tuned.

PS: about the PDF stuff, I've noticed problems even on the desktop version. I'll look into that later. I first want to release a fully Maemo compatible version before sending the patches to the Xournal author and dig into PDF annotation issues. Sorry about that.

anidel 2007-12-18 09:01

Re: Xournal 0.4.1 coming to OS2008/Chinook
 
Ok great!
That was it: I was using 'org.anidel.xournal' in the Name clause of the D-BUS service file and only 'xournal' in the osso_initialize function.

They need to be the same, as explained in the Maemo Tutorial.

I've release version #5 that fixes the 'crashes' after a few seconds Xournal was started.
Go update it and report any other issue you may find.

Thanks!

PS: I would love to see if I could put the changes for each release in the Info that is displayed by the Application Manager when you upgrade a new package. I'll dig into that too.. but now I really need to go back to work.

Enjoy it.

Jussi_K 2007-12-18 11:20

Re: Xournal 0.4.1 coming to OS2008/Chinook
 
Hello,

I figured out what was my biggest problem in PDF anonnation. Somehow OS2008 thinks my memory card is read-only and the pdf where naturally there. So it really wasn't xournals problem.

I tested it again and it doesn't crash anymore. GREAT! Thanks a lot. I would still have few questions though. These are minor things but would add a lot for its usability.
1) Is it possible that when u anonnate pdf it would remember pdf's name and where it is. This would be great. Now it doesn't remember neighter and it is hard if u try to replace the original pdf. The beaty of this software is that u can read pdfs and make notes from them. so it would be natural that u could replace the original pdf.
For example I have a pdf - archive software on my computer and I sync my pdf archive to n800 for reading. When I read I make notes and it would be great to sync them back. This only works if I replace the original PDF file.
If this is impossible would it be possible to see other pdf files when u export to pdf. This way i wouldn't need to copy the right filename from my memory. (and those filenames are long...)

I will test it harder today and post my ideas. This is really beatiful app thanks a lot making it for us.

anidel 2007-12-18 11:28

Re: Xournal 0.4.1 coming to OS2008/Chinook
 
Thanks to you for testing and reporting.
About what your feature request, if you export the annotated PDF to .. PDF :) will it do what you're looking for ?
As far as I know Xournal can save the annotated PDF as a PDF or as a journal + PDF.
The former means that the exported PDF is a regular PDF, while the latter means that the annotations are saved in a Xournal internal format applied to the original PDF when you open the journal (that is, it should be possible to modify them later).

Jussi_K 2007-12-18 12:10

Re: Xournal 0.4.1 coming to OS2008/Chinook
 
Hello,

I highlighted just 6 pages long PDF with photos. This tool is superb. But here is the things i noticed
- IT REMEMBERS the name, but for some reason it adds .pdf (1) to the end. I managed to overwrite the original file by simply going to right folder and deleting the .pdf (1). Please if possible try to make it possible to simply overwrite the anonnated pdf as normal option. (think it's the most useful think this app could do, highlight pdfs and save them highlighted).
- This is not a big problem. When u highlight there appears a small yellow box in the end last highlight to show where u are. But when u use arrows to navigate (works great by the way) the small yellow box starts to travel. This is little annoying, but it really is not a big problem.
- Really not a problem, but would be handy. When u read A4 sized documents u want to read them one column a time (text is rather small). This works very well, but when u bus the next page button from the toolbar it goes little wrong. Ideal would be that it would start from top from left corner. However it starts though from top but sadly doesn't correct the left right axis. Again this is a minor problem, but if it's easy to fix it would be nice that it would jump automaticly to the left too.

PDF anonnation works really well. Had some problems with few pdfs (some text was missing from frontpage) (doesnt bother me) but it really dont lose any pages if u wait it to anonnate them (is kind a slow, especially with photos).

Editing highlighting, undoing, moving all work very well.

It is stable!

Exporting works very well, I exported my pdf three times until I figured how to overwrite the original file.

Again thank you many many times. This is an excellent application. If u could make replacing a little easier I would be in heaven

Thank you
Jussi K

edit:

By exporting it export also the notes to the pdf file. Sadly the highlight dont stay in right place. They come little bigger.

Edit 2
Looked the exported pdf more carefully. It really can't match the right place for these highlights i will send u a copy of my pdf with PM. This is naturally a bigger problem and makes pdf anonnation a bit un useful...

anidel 2007-12-18 12:21

Re: Xournal 0.4.1 coming to OS2008/Chinook
 
Thanks :)

Some of those issues are related to the desktop version (in particular when reading A4 PDFs).
The yellow box is the cursor (on the desktop it moves around as you move the mouse).
This should be handled by Maemo, I'll see if I can make it disappear in the port.

One of the first fixes was about the annotation feature.
Xournal makes a copy of the PDF into a temp directory. Usually /tmp is the place for these temporary files, but lately even on the desktop the file system when /tmp relies is small. So I changed it, but looks like I'll have to revisit it and double check it when saving, exporting and so far.

just be patient, I am doing this during my working hours.
Again.. thanks :)

Jussi_K 2007-12-18 12:37

Re: Xournal 0.4.1 coming to OS2008/Chinook
 
Hello,

Dont use too much time with the cursor thing... it really isn't a problem.

If u somehow could fix exporting that those highlight would stay in right place it would help me and probably others also a lot more...

iamthewalrus 2007-12-18 19:48

Re: Xournal 0.4.1 coming to OS2008/Chinook
 
Hi Anidel,

First of all a big thanks for the port. It makes my n800 finally usable for jotting notes on articles for study. It still crashes randomly though. I found out that if I comment out these lines in /usr/applications/hildon/Xournal.desktop the app is more stable:

X-Osso-Type=application/x-executable
X-Osso-Service=org.anidel.xournal

Are there any downsides to commenting out these lines?

Furthermore the install link seems to be removed from downloads.maemo.

traveller604 2007-12-18 20:16

Re: Xournal 0.4.1 coming to OS2008/Chinook
 
So where do I get libgail-common & libgail18 ?? :confused:


All times are GMT. The time now is 06:54.

vBulletin® Version 3.8.8