Author Topic: Inkscape  (Read 18821 times)

Armagon

  • Full Member
  • ***
  • Posts: 106
    • View Profile
    • http://
Inkscape
« Reply #30 on: March 16, 2006, 10:26:50 am »
Quote
Quote
  • libSigc++
  • GlibMM
  • GtkMM

<snip>

Any chance of making these available? I'm trying to compile

http://icculus.org/~jcspray/GNUDoku/GNUDoku-0.93.tar.gz

-- cheers
[div align=\"right\"][a href=\"index.php?act=findpost&pid=118834\"][{POST_SNAPBACK}][/a][/div]

I'd be happy to (especially since it appears that this last bout of overtime is finished at work).

Obviously I'll need to make .ipks with the release libraries in them.  

What is the best way to make a dev package that works for both native and cross-compilation?  I presume that it'd be an .ipk and you just have to do a little bit of extra work to extract it on your PC.  (I do hope that the files are easily relocatable.)

Armagon
Sharp Zaurus SL-C1000 -- 2 GB SD Card -- Zippy Slim Mini Keyboard -- Loving pdaXii13!

desertrat

  • Hero Member
  • *****
  • Posts: 743
    • View Profile
    • http://
Inkscape
« Reply #31 on: March 16, 2006, 11:39:10 am »
Quote
Obviously I'll need to make .ipks with the release libraries in them. 

What is the best way to make a dev package that works for both native and cross-compilation?  I presume that it'd be an .ipk and you just have to do a little bit of extra work to extract it on your PC.  (I do hope that the files are easily relocatable.)
I only need the native stuff, as so far I do all my compilations on board. But regardless of what [standard] format you package them in I should be able to make use of it.

-- cheers
SL-C3100 / Ambicon WL1100C-CF / pdaXrom 1.1.0beta3 / IceWM

Armagon

  • Full Member
  • ***
  • Posts: 106
    • View Profile
    • http://
Inkscape
« Reply #32 on: March 18, 2006, 07:12:37 pm »
The libraries used in building inkscape are now available at http://mail.pdaxrom.org/contrib/armagon/

These are:
  • glibmm2: C++ wrapper for GLib
  • gtkmm2: C++ wrapper for GTK+
  • libgc: Boehm-GC - A garbage collector for C and C++
  • libsigc++2: Typesafe signal and callback system for C++
The libraries come in normal and developer variants.

The rest of the post is for developers

-----------

Most of the libraries use package config.  I have edited the /usr/lib/pkgconfig/*.pc files, so that instead of using
Code: [Select]
prefix=/home/blackmore/Zaurus/Cross/installthey use
Code: [Select]
prefix=/usrwhich should be appropriate for native development.  If you are cross-compiling, you will need to edit the .pc files.

Please note that I haven't tested these files.  I did a rudimentary check of the .so files, but I haven't tried developing with the -devel packages.  

I believe I got the important dependancies down; at some level a library doesn't really have dependancies, but the applications that use it do.

Note that glibmm-devel may depend on perl and Perl::XMLParser.  OTOH, that might just have been a requirement to compile it -- If someone can verify this, I'd appreciate it.  

Please let me know if you have any problems with these libraries.  I think they will work.

Armagon

PS.  My goodness, but it was a fair bit of work to compile and package everything.  How do Laze and Sash do it?
Sharp Zaurus SL-C1000 -- 2 GB SD Card -- Zippy Slim Mini Keyboard -- Loving pdaXii13!

Armagon

  • Full Member
  • ***
  • Posts: 106
    • View Profile
    • http://
Inkscape
« Reply #33 on: March 22, 2006, 08:08:12 pm »
Quote
Quote
May I suggest if you haven't tried it already... Dia is also a great tool to have on the Zaurus.. I have sodipodi for arty vector graphics and Dia for more serious diagrams.
<snipped other quotes>

I just added dia 0.95-pre3 to OE. It crosscompiled cleanly and didn't need to many deps:

<snip>

So it shouldn't be too hard to compile it for pdaX.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=116549\"][{POST_SNAPBACK}][/a][/div]

Sorry that I never replied to this ... I've been rather busy.  Anyways, I've just compiled dia 0.94 (and while I haven't tried running it yet, I think it built successfully).  I haven't packaged it up yet.  I'm not very familiar with CVS, but if someone would give me the command to get the 0.95-pre3 tree (as opposed to the latest, possibly unstable version), I'd be happy to try to compile it.

Armagon
Sharp Zaurus SL-C1000 -- 2 GB SD Card -- Zippy Slim Mini Keyboard -- Loving pdaXii13!

cycle_55

  • Full Member
  • ***
  • Posts: 134
    • View Profile
Inkscape
« Reply #34 on: March 23, 2006, 10:15:55 pm »
Quote
DRUM ROLL PLEASE:

For your computing enjoyment, I give you: inkscape!

I have finally got it compiled and packaged up.  It should work on all the Zaurus models except the 5x00s.

There are two packages:
  • inkscape_0.43-Z1_armv5tel.ipk - the actual program
  • inkscape-data_0.43_armv5tel.ipk - tutorials and example files (see more about it, below)
Note: When I uploaded the files, the dashes were changed to underscores.  I don't know if that matters.

PERFORMACE:

I'm afraid inkscape really wants a more powerful machine than my C1000.  Not to scare you off, but:
  • the window is larger than the screen, and can't be resized [thank goodness for alt-dragging!]
  • it takes 30 seconds to start up
  • if I try to load a tutorial file (from the data package), it uses up all my RAM and terminates.
  • it really eats up the CPU!  It'll often be running at 100%, and it still seems unresponsive
On the plus side:
  • it sure looks nice
  • it will save and load files
  • the calligraphy tool is great with a touch screen!
Note: I decided it didn't serve much point to have the data files if you couldn't load them, which is why I put them in a separate .ipk.

For best performance, I found (and I can't believe I'm recommending this) that it works better if you overclock your machine.  [20 seconds to load instead of 30!]  Also, I expect that if you had a swap partition that it would work better for you.


DEPENDANCIES:

I believe I entered the dependancies into the .ipk correctly.  But, if you are like me, and don't have automatic dependancies working, the following may be useful (note that all version numbers are from the 1.1.0beta1 feeds.  I have no idea if it'll work with earlier versions.):

You most likely need to install the following:
  • libxslt_1.1.0_armv5tel.ipk
  • gnome-vfs_2.10.0_armv5tel.ipk
  • gconf_2.10.0-1_armv5tel.ipk
  • libbonobo_2.8.1_armv5tel.ipk
  • orbit2_2.10.2_armv5tel.ipk
You probably don't need to install these dependancies, as I believe they come with the standard pdaXrom install.
  • gtk2_2.6.2_armv5tel.ipk
  • atk_1.10.1_armv5tel.ipk
  • pango_1.10.0_armv5tel.ipk
  • libstdcxx_5.0.5_armv5tel.ipk
  • libxml2_2.6.13-1_armv5tel.ipk
  • libpng_1.2.5_armv5tel.ipk
  • popt_1.7_armv5tel.ipk
  • glib2_2.8.1-1_armv5tel.ipk
  • xfree_4.4.0_armv5tel.ipk
  • fontconfig_2.2.96_armv5tel.ipk
  • libiconv_1.9.2_armv5tel.ipk
  • freetype_2.1.9_armv5tel.ipk
  • libz_2.3_armv5tel.ipk
  • glibc_2.2.5_armv5tel.ipk
  • libgcc_1_armv5tel.ipk
  • expat_1.95.8_armv5tel.ipk
WHAT'S NEXT?

Well, I'd like to hear how well it works for you.  If you'd like to mirror the files, go right ahead.  I hope to look at the code and see if I can make it work better for the Z, but I'm not giving any guarantees that it can be made to work better.

Oh, and I hope to post some more build notes, for anyone who is interested.

Armagon
[div align=\"right\"][a href=\"index.php?act=findpost&pid=116280\"][{POST_SNAPBACK}][/a][/div]
Not sure if this is the right place to put this but on my C3100 running 1.1.0beta1 inkscape starts up in under 11 seconds and other than the large screen it's great, just what I needed. Thanks for all your hard work.

cycle_55
C3100,  1.1.0beta3, Rox, Ambicom WL100C-CF wireless , Buffalo ethernet

Armagon

  • Full Member
  • ***
  • Posts: 106
    • View Profile
    • http://
Inkscape
« Reply #35 on: March 23, 2006, 10:54:26 pm »
Quote
Not sure if this is the right place to put this but on my C3100 running 1.1.0beta1 inkscape starts up in under 11 seconds and other than the large screen it's great, just what I needed. Thanks for all your hard work.

cycle_55
[div align=\"right\"][a href=\"index.php?act=findpost&pid=120023\"][{POST_SNAPBACK}][/a][/div]

Wow!  I'm envious.  Glad to hear it works so well.  

Thanks for the feedback -- it is always nice to know one's work is appreciated.

Armagon
Sharp Zaurus SL-C1000 -- 2 GB SD Card -- Zippy Slim Mini Keyboard -- Loving pdaXii13!

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Inkscape
« Reply #36 on: March 15, 2007, 06:08:15 pm »
I know this is a really old post, but I cannot save my preferences under "Documents Preferences".
Should there be an [OK] or [Close] or [Apply] button. there is a large area at the bottom of the dialog, that is blank.
I'm trying to set my paper size, and using the enter key on my zaurus, doesn't close the dialog.
If I close the dialog, using the 'x' at the top, after setting my paper size, it doesn't save the preferences.
I also tried holding my pointer over the blank spot where a button should be, and clicking it or using enter on the keyboard.
There seems to be an absence of the button there.

Thanks for this really cool app! This is the closest thing to CorelDraw I have found for the Zaurus
There used to be some very basic, simple vector draw programs around during the Windows 3.1 days, but they have all seemed to have disappeared...
« Last Edit: March 15, 2007, 06:58:42 pm by Jon_J »
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

desertrat

  • Hero Member
  • *****
  • Posts: 743
    • View Profile
    • http://
Inkscape
« Reply #37 on: March 15, 2007, 07:47:17 pm »
Quote
If I close the dialog, using the 'x' at the top, after setting my paper size, it doesn't save the preferences.
It works for me (v0.43). Does the paper size change immediately (ie before you close dialog)?

Inkscape seems to follow its own demented rules for gui design and the absence of [OK] / [Cancel] appears to be intentional.
SL-C3100 / Ambicon WL1100C-CF / pdaXrom 1.1.0beta3 / IceWM

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Inkscape
« Reply #38 on: March 15, 2007, 07:49:51 pm »
Yes the paper size is saved, but if I start inkscape at a later time, I have to input my paper size and orientation once again, unless I open a previously saved file.
It doesn't remember that I use inches for paper size. I guess I'll have to get used to it, I'm used to Coreldraw. It saved all preferences  for all documents, unless you told it not to.
I'm using the one downloaded from this thread, I had to look in package manager, cause help about didn't open. it's 0.43-Z1
« Last Edit: March 15, 2007, 08:13:55 pm by Jon_J »
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Inkscape
« Reply #39 on: March 15, 2007, 08:15:09 pm »
Is there a way to import Coreldraw graphics into inkscape?
Is there a place I can get all the graphics file import/export filters all at one location?

EDIT: These extensions are not present.
I edited this post, but decided to leave this long list of extensions here for reference.
This is a copy of /home/root/.inkscape/extension-errors.log (just after install and first run)
Code: [Select]
Extension "GIMP Gradients" failed to load because a dependency was not met.
Dependency::
  type: plugin
  location: path
  string: gimpgrad

Extension "Dia Input" failed to load because a dependency was not met.
Dependency::
  type: executable
  location: path
  string: dia
  description: In order to import Dia files, Dia itself must be installed.  You can get Dia at http://www.gnome.org/projects/dia/

Extension "Text Input" failed to load because a dependency was not met.
Dependency::
  type: executable
  location: path
  string: perl

Extension "EPSI Output" failed to load because a dependency was not met.
Dependency::
  type: executable
  location: path
  string: ps2epsi

Extension "AI Output" failed to load because a dependency was not met.
Dependency::
  type: executable
  location: path
  string: gs

Extension "PDF Output" failed to load because a dependency was not met.
Dependency::
  type: executable
  location: path
  string: ps2pdf

Extension "AI Input" failed to load because a dependency was not met.
Dependency::
  type: executable
  location: path
  string: perl

Extension "DXF Input" failed to load because a dependency was not met.
Dependency::
  type: executable
  location: path
  string: dxf2svg
  description: dxf2svg may come with Inkscape, but is also at http://dxf-svg-convert.sourceforge.net/

Extension "Postscript Input" failed to load because a dependency was not met.
Dependency::
  type: executable
  location: path
  string: pstoedit

Extension "EPS Input" failed to load because a dependency was not met.
Dependency::
  type: extension
  location: path
  string: org.inkscape.input.ps

Extension "EPS Input" failed to load because a dependency was not met.
Dependency::
  type: executable
  location: path
  string: gs

Extension "Sketch Input" failed to load because a dependency was not met.
Dependency::
  type: executable
  location: path
  string: skconvert

Extension "Windows Metafile Input" failed to load because a dependency was not met.
Dependency::
  type: executable
  location: path
  string: wmf2svg

Extension "DXF Output" failed to load because a dependency was not met.
Dependency::
  type: executable
  location: path
  string: pstoedit
  description: pstoedit must be installed to run see http://www.pstoedit.net/pstoedit
« Last Edit: March 16, 2007, 05:11:23 pm by Jon_J »
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

Drake01

  • Full Member
  • ***
  • Posts: 226
    • View Profile
Inkscape
« Reply #40 on: March 15, 2007, 08:18:52 pm »
Quote
Yes the paper size is saved, but if I start inkscape at a later time, I have to input my paper size and orientation once again, unless I open a previously saved file.
It doesn't remember that I use inches for paper size. I guess I'll have to get used to it, I'm used to Coreldraw. It saved all preferences  for all documents, unless you told it not to.
I'm using the one downloaded from this thread, I had to look in package manager, cause help about didn't open. it's 0.43-Z1
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]
The man page suggests that you may be able to edit the config file.  If this is a "saveable" preference, it would probably be listed in this file.  You could try editing this file directly and see if that buys you anything.

From the [a href=\"http://inkscape.modevia.com/inkscape-man.html]Unix man page:[/url]
The preferences.xml configuration file located in ~/.inkscape/ is used to customize the application settings for the user.
Device: SL-C3200 running pdaXii13v2 build 5.5.0
Networking: Symbol Spectrum24 WLAN card; Kingston CIO10T CF NIC
Storage: 4GB Transcend 150x SD; 16GB Transcend 133x CF; 4GB Seagate CF HDD; 4GB Patriot SD
HID: Logitech V450 Laser Mouse; generic silicone USB keyboard; 2 generic optical mice; stock plastic stylus
GPS: generic "UT-41" USB GPS Receiver
Case: neoprene case from my old Palm foldable keyboard

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Inkscape
« Reply #41 on: March 15, 2007, 08:22:27 pm »
Thanks, that doesn't help me because it's not a plain text file. it's an xml file. it's formatted in a way that is unfamiliar to me, but thanks anyway. I'm a complete newb when it comes to editing files other than plain text files. I was hoping for some hidden setting in inkscape itself, buried in a menu somewhere.
« Last Edit: March 15, 2007, 09:00:26 pm by Jon_J »
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

desertrat

  • Hero Member
  • *****
  • Posts: 743
    • View Profile
    • http://
Inkscape
« Reply #42 on: March 15, 2007, 10:07:04 pm »
Quote
Yes the paper size is saved, but if I start inkscape at a later time, I have to input my paper size and orientation once again, unless I open a previously saved file.
Maybe create a (some) blank document(s) with your commonly used defaults?

Quote
Is there a way to import Coreldraw graphics into inkscape?
I wish there was. I don't think there are any CDR converters around. What I did once was to write a coreldraw script which went through all the clipart files and exported them as WMF (so I could use them in OOo).
SL-C3100 / Ambicon WL1100C-CF / pdaXrom 1.1.0beta3 / IceWM

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Inkscape
« Reply #43 on: March 15, 2007, 10:14:24 pm »
one last question desertrat.
What about *.cgm files?
These used to be very popular and I have a ton of them besides my 5 to 6 versions of Coreldraw CD's laying around, going back to 3.0
EDIT: Is there a complete list of import/export filters for inkscape somewhere?
« Last Edit: March 15, 2007, 10:19:30 pm by Jon_J »
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Inkscape
« Reply #44 on: March 15, 2007, 10:34:00 pm »
Quote
one last question desertrat.
What about *.cgm files?
These used to be very popular and I have a ton of them besides my 5 to 6 versions of Coreldraw CD's laying around, going back to 3.0
EDIT: Is there a complete list of import/export filters for inkscape somewhere?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=156481\"][{POST_SNAPBACK}][/a][/div]

on the inkscape website?
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K