| 1   2     3   | Next | Last
maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] Port Xournal 0.4.2.1 for Maemo (https://talk.maemo.org/showthread.php?t=18837)

anidel 2008-04-07 21:07

[Announce] Port Xournal 0.4.2.1 for Maemo with touchscreen pressure support
 
1 Attachment(s)
Fremantle/Diablo UPDATE:
2009-08-25 Xournal alpha for Fremantle has been updated to Fremantle Extra-Devel.

Soon I'll release a Diablo version as well, then I'll try to keep both updated with the same feature set.

2008-04-18 Xournal is now in the Maemo Extras repository
2008-04-17 a bunch of new features, keep reading
2008-04-09 now with touchscreen pressure support.

At the follow link you can find the latest changes:

NEWS


***WARNING****
If you have an old version of Xournal remove it!
Remove also the "ghostscript" package, even if this is optional for now (it will later substituted by "gs").

If you want, you can remove Xournal from the command line (root):

dpkg -r libart-2.0
dpkg -r libgnomeprint2.2
dpkg -r libgnomecanvas
dpkg -r ghostscript (OPTIONAL)
dpkg -r xournal

also remove my own old repository. That's going to be shut down soon.

Then install Xournal from the Application Manager the usual way after having enabled the "maemo Extras" repository that is, by default, disabled.

Please, let me know of ANY issues you might have especially for the pressure sensitivity option.
It's enabled by default along with maximum thickness (otherwise you won't have noticed).

And sorry for the trouble of upgrading from version 0.4.1, but I assure you next upgrades will be smoother as soon as it'll hit maemo-extras.

Aniello

yadin 2008-04-07 21:42

Re: [Announce] Port Xournal 0.4.2.1 for Maemo
 
Thanks for the port. Before I install, can you clarify with regards to ghostscript? I use ghostscript for other purposes, so why should I remove it? and if I remove it, will it be totally replaced by a similar package? If I don't remove it will I have a problem installing the new ersion?

anidel 2008-04-07 21:45

Re: [Announce] Port Xournal 0.4.2.1 for Maemo
 
That's why its removal is "optional".
If you need it or are using it.. just leave it there.

"Ghostscript" is listed as an optional dependency in the Xournal INSTALL file.
It's a huge package, so I decided to maintain it as an optional package.

If you leave it there you will have no problems whatsoever.
However it has been replaced (or renamed) to: gs-gpl-8.54.dfsg

So that's the next package I will make available. But Xournal will never require it.

Benson 2008-04-07 21:45

Re: [Announce] Port Xournal 0.4.2.1 for Maemo
 
Haven't installed it, am having patience... But it looks awesome, shape recognition should be cool (Now maybe my arrows stop looking so horrible?!), and I have wished for selection resizing. Can't wait to try it out, but I will anyway.

anidel 2008-04-07 21:49

Re: [Announce] Port Xournal 0.4.2.1 for Maemo
 
Yup Shape recognition does indeed works well :)
Never drew a line or circle so perfectly ... shaped!!

qwerty12 2008-04-07 21:59

Re: [Announce] Port Xournal 0.4.2.1 for Maemo
 
Hehe, thanks, after going through dependcy hell, i got it working :)

But may I ask where are libgnomeprint2.2-data 2.12.1-7chinook2 and libgnomecanvas2-common 2.14.0-2chinook2

You will understand my dpkg log : :)

Quote:

Setting up libgnomecanvas2-common (2.14.0-2chinook1) ...
Setting up libgnomeprint2.2-data (2.12.1-7chinook1) ...
Setting up libgail-common (1.20.1-1) ...
dpkg: libgnomeprint2.2-0: dependency problems, but configuring anyway as you request:
libgnomeprint2.2-0 depends on libgnomeprint2.2-data (= 2.12.1-7chinook2); however:
Version of libgnomeprint2.2-data on system is 2.12.1-7chinook1.
Setting up libgnomeprint2.2-0 (2.12.1-7chinook2) ...
ldconfig: /usr/lib/libphysfs-1.0.so.1 is not a symbolic link

dpkg: libgnomecanvas2-0: dependency problems, but configuring anyway as you request:
libgnomecanvas2-0 depends on libgnomecanvas2-common (= 2.14.0-2chinook2); however:
Version of libgnomecanvas2-common on system is 2.14.0-2chinook1.
Setting up libgnomecanvas2-0 (2.14.0-2chinook2) ...



anidel 2008-04-07 22:15

Re: [Announce] Port Xournal 0.4.2.1 for Maemo
 
Uops! putting them on-line :D sorry!

Updated the first post.

Where did you get the "chinook1" versions ?
I guess you have the statusbar-cpu applet installed, do you ?

Well, time to go to sleep. Tomorrow I'll have a look at it.

qwerty12 2008-04-07 22:20

Re: [Announce] Port Xournal 0.4.2.1 for Maemo
 
Hehe, thanks :)

Also, I have 2 xournal entries, I believe /usr/share/applications/xournal.desktop is the false one as it tries to execute xournal %f which it then says doesn't exist.

Thanks for a great port, loving it! :)

"
Where did you get the "chinook1" versions ?
I guess you have the statusbar-cpu applet installed, do you ?"

Yep :) but I went on gronmayer to solve depends :)

yadin 2008-04-07 22:23

Re: [Announce] Port Xournal 0.4.2.1 for Maemo
 
I tried to install, but when doing dpkg -i libggnomecanvas2-0_2.14.0-2chinnok2_armel.deb it will not install due to dependency on libart-2.0 that I had to install in red pill mode from repository, and then it still did not install due to dependency on libgnome2canvas2-common which is missing.

yadin 2008-04-07 22:37

Re: [Announce] Port Xournal 0.4.2.1 for Maemo
 
OK I needed to install poppler-util from red pill and it installs. Works great!
shape recognition works. No icon in extras. Thanks very much!

qwerty12 2008-04-07 22:38

Re: [Announce] Port Xournal 0.4.2.1 for Maemo
 
Shape recognise is nice! :
http://i30.tinypic.com/14w4utc.png

sleepkyng 2008-04-07 22:49

Re: [Announce] Port Xournal 0.4.2.1 for Maemo
 
looks awesome - is there anyway to rotate the canvas so that it lays out in a landscape?

so stoked about this

Benson 2008-04-07 23:11

Re: [Announce] Port Xournal 0.4.2.1 for Maemo
 
No need to "rotate", fully configurable page size.

Benson 2008-04-07 23:12

Re: [Announce] Port Xournal 0.4.2.1 for Maemo
 
Anidel, I haven't tried yet, and the description's not quite the clearest, but the shape recognizer recognizes straight lines, right? Would it make more sense to have it replace the ruler in the toolbar?

yadin 2008-04-08 01:15

Re: [Announce] Port Xournal 0.4.2.1 for Maemo
 
Actually the shape recognizer does not recognize short lines only long lines,
so if you want to plot an arrow it will not recognize the two short lines off the head and you need the ruler for that.

locusf 2008-04-08 03:34

Re: [Announce] Port Xournal 0.4.2.1 for Maemo
 
Wow. Double the wow. I hope this gets in to maemo extras soon , so that I can upgrade safely. Does this version open up the files made with the older version?

EDIT: Does the pdf exporting still work even when the ghostscript package is removed?

Benson 2008-04-08 04:19

Re: [Announce] Port Xournal 0.4.2.1 for Maemo
 
Quote:

Originally Posted by yadin (Post 166622)
Actually the shape recognizer does not recognize short lines only long lines,
so if you want to plot an arrow it will not recognize the two short lines off the head and you need the ruler for that.

Well, in the case of an arrow, the shape recognizer is suppposed to catch it as an arrow. But still, there would be places you do need shorrt lines.

anidel 2008-04-08 06:29

Re: [Announce] Port Xournal 0.4.2.1 for Maemo
 
waiting for the bus to drive me in the lab...
the general dependencies issue will be solved when i'll be able to upload the packages into the extras repo.
the libgnomecanvas and print packages (chinook1) are made by an indipendent (from me :)) developer.
we botth have to agree on which packages will have to make it to extras...

anidel 2008-04-08 08:19

Re: [Announce] Port Xournal 0.4.2.1 for Maemo
 
Oh man, there are so many small things to take care...

So todo today:

- fix desktop file installation (two entries in Extras)
- fix mime type binding
- fix post installation/removal script
- fix icon
- fix dependencies of libgnomecanvas and libgnomeprint
- upload to maemo-extras

this should be enough to fill up my day :)

anidel 2008-04-08 08:21

Re: [Announce] Port Xournal 0.4.2.1 for Maemo
 
Quote:

Originally Posted by Benson (Post 166560)
Anidel, I haven't tried yet, and the description's not quite the clearest, but the shape recognizer recognizes straight lines, right? Would it make more sense to have it replace the ruler in the toolbar?

As stated by others I think they have quite different meanings.
Shape recognizer recognizes and fix long straight lines...

Benson 2008-04-08 12:08

Re: [Announce] Port Xournal 0.4.2.1 for Maemo
 
I know they're different; but if shape rec can do ~50% of what I use ruler for, plus other stuff that is its own domain, I'd rather have it accessible, cause I'll use it more often.

anidel 2008-04-08 12:25

Re: [Announce] Port Xournal 0.4.2.1 for Maemo
 
When I will be able to concentrate on the port itself (UI improvements for the tablet) over packaging it, I'll take a look at it :)

Bundyo 2008-04-08 12:26

Re: [Announce] Port Xournal 0.4.2.1 for Maemo
 
Quote:

Originally Posted by Benson (Post 166765)
I know they're different; but if shape rec can do ~50% of what I use ruler for, plus other stuff that is its own domain, I'd rather have it accessible, cause I'll use it more often.

Yeah, shape recogniser cries for a button... :)

anidel 2008-04-08 12:55

Re: [Announce] Port Xournal 0.4.2.1 for Maemo
 
I must be deaf then :p :) ehehhe

yadin 2008-04-08 15:42

Re: [Announce] Port Xournal 0.4.2.1 for Maemo
 
I have a question concerning pressure sensitivity implemented in the new 0.4.2 upstream version. This option is greyed out in the option menu of the maemo version. Does it mean that it is not implemented in the maemo version? This is not impossible in the NIT since mypaint implements pressure sensitivity.

anidel 2008-04-08 16:04

Re: [Announce] Port Xournal 0.4.2.1 for Maemo
 
I checked in the code.
Xournal is using "XInput" to handle pressure sensitivity and on our tablet looks like this does not work.
Xournal checks for that and sets "can_xinput" to false, thus greying out those options.

I'll have a look at mypaint.

anidel 2008-04-08 16:21

Re: [Announce] Port Xournal 0.4.2.1 for Maemo
 
As for now the packages are ready. I had to remake them and now they all look correctly packaged (that means that whoever played with the .debs I've put on-line has to remove them ;)).

I am waiting to resolve the maemo extras upload issue I am having with the RSA key and then I will put them on-line.
Moreover I was busy enabling the MIME type handling so that you can double tap a .xoj file and have it open in Xournal.
This works as far as Xournal is already started when you double-tap on the file in the File Manager.
Otherwise Xournal would start and then quit after loading the file.

Weird.. someone has hints regarding this ?

Also I am not having success in showing the correct icon for Xournal ..

anidel 2008-04-09 13:02

Re: [Announce] Port Xournal 0.4.2.1 for Maemo
 
First post updated with latest infos and latest packages.

Noticed that I have repackaged libgnomecanvas and libgnomeprint to match gronmayer versions and remove warning during update.
Moreover these packages will likely uploaded to Maemo extras soon.

anidel 2008-04-09 13:06

Re: [Announce] Port Xournal 0.4.2.1 for Maemo
 
Quote:

Originally Posted by yadin (Post 166872)
I have a question concerning pressure sensitivity implemented in the new 0.4.2 upstream version. This option is greyed out in the option menu of the maemo version. Does it mean that it is not implemented in the maemo version? This is not impossible in the NIT since mypaint implements pressure sensitivity.

Done :)
Let me know your comments on the latest package.

anidel 2008-04-09 13:11

Re: [Announce] Port Xournal 0.4.2.1 for Maemo
 
TODO list in random order:

- go thru the menu items (example: XInput option should be removed)
- update UI
- make the correct Xournal icon show in the Task Navigator area
- upload to maemo-extras
- backup/restore support
- locale support
- Maemo help support
- Maemo Downloads updates
- garage project (bugzilla)

yadin 2008-04-09 17:27

Re: [Announce] Port Xournal 0.4.2.1 for Maemo
 
Hello Anidel,
I tried the new version. Unfortunately it is broken. When you first start it, it seems to be OK but after a few lines what you write does not appear to be where you wrote it but appears one or two lines above. Also the pressure sensitivity seems erratic and does not change linearly with the pressure. Maybe we should abandon the pressure sensitivity. Thank you.

anidel 2008-04-09 17:35

Re: [Announce] Port Xournal 0.4.2.1 for Maemo
 
it happens only when you scroll the page.
it keeps drawing on the upper, left part of the virtual paper.

i'll fix it.

the pressure does work for me tho, weird.
can you further describe the behaviour please?

yadin 2008-04-09 17:48

Re: [Announce] Port Xournal 0.4.2.1 for Maemo
 
What I see is that when I start the program (btw there is an icon now) the width of the lines is thick as without pressure sensitivity, and if I apply very very weak pressure it is still the same. If I go to option menu and I check pressure sensitivity then the lines appear much weaker but they are the same if I apply a lot of pressure, so where is the pressure sensitivity? The are only too values, strong if unchecked and weak if checked. If I uncheck xinput it reverts to previous behavior and the scrolling problem is not there also.

yadin 2008-04-09 17:55

Re: [Announce] Port Xournal 0.4.2.1 for Maemo
 
btw I have an n800 not an n810.

heavyt 2008-04-09 17:59

Re: [Announce] Port Xournal 0.4.2.1 for Maemo
 
Has the update been uploaded to Maemo Extras?

anidel 2008-04-09 19:02

Re: [Announce] Port Xournal 0.4.2.1 for Maemo
 
Not yet sorry, still issues with the RSA keys.

anidel 2008-04-09 19:09

Re: [Announce] Port Xournal 0.4.2.1 for Maemo
 
Quote:

Originally Posted by yadin (Post 167494)
What I see is that when I start the program (btw there is an icon now) the width of the lines is thick as without pressure sensitivity, and if I apply very very weak pressure it is still the same. If I go to option menu and I check pressure sensitivity then the lines appear much weaker but they are the same if I apply a lot of pressure, so where is the pressure sensitivity? The are only too values, strong if unchecked and weak if checked. If I uncheck xinput it reverts to previous behavior and the scrolling problem is not there also.

The icon shows up to you ?
I mean the icon on the left area, not in the menu... is that one that appears to you ?

About the width of the line, you're right.
I put the pressure on by default but it was barely noticeable with the default MEDIUM thickness, so I put that to the biggest value.
I think I will leave the default settings as usual and try to put a button easily reachable for it.
UI improvements are a must, now.

Unchecking Xinput makes Xournal behave EXACTLY as the former release.

Pressure sensitivity is a value between 0 and 1.
When it is unchecked the default static value for it is 1 (i.e. maximum pressure according to Xournal standards).
When you check it, then the value depends on the actual pressure.
On my tests it goes around 0.3 with the "regular" pressure and goes up to 0.4-0.5 when heavily pressed (using stylus).
If I use my thumb, tho, the pressure sensitivity values change drastically.
They go from a low value of 0.5 up to 0.9!

That's why with pressure enabled, the line is thinner.

Try to enable pressure and use your thumb to draw and apply different pressures while drawing a stroke.

That's why I've enabled thickness at its maximum, but this was for testing.

yadin 2008-04-09 19:32

Re: [Announce] Port Xournal 0.4.2.1 for Maemo
 
Anidel,
1. About the icon: There is no proper icon on the left (just the default 4 leaves). There is an icon in the application menu.
2. You are right that with the thumb pressure dependence is more visible.
Maybe mathematically you can stretch the range 0.3-0.5 to 0.1 to 0.9 or something like that? Like y=4 x -1.1 maps one interval to the other.

yadin 2008-04-09 19:35

Re: [Announce] Port Xournal 0.4.2.1 for Maemo
 
One more thing: I think the default should be Xinput unchecked, and people
who want preasure sensitivity can check Xinput and also check pressure sensitivity.

debernardis 2008-04-09 19:39

Re: [Announce] Port Xournal 0.4.2.1 for Maemo
 
Thus we need a 'calligraphic input' button (maybe with a stylus pen icon) which toggles between pressure sensitivity plus maximum line width - and no pressure sensitivity plus the line width you choose in your tools menu.
Also, when shape recognitions intervenes, lines get the width set in the menu. So it could be nice to be able to separately choose the width of shape lines, so that you could simultaneously scribble text in calligraphy, with pressure sensitivity, and draw lines and circles with thin lines.

BTW, you're great anidel!


| 1   2     3   | Next | Last
All times are GMT. The time now is 00:53.

vBulletin® Version 3.8.8