Author Topic: libsl - porting tips?  (Read 4136 times)

obscurite

  • Full Member
  • ***
  • Posts: 125
    • View Profile
libsl - porting tips?
« on: October 18, 2004, 02:16:38 pm »
Hi guys,

I've seen several posts where people wanted to run their QTOPIA apps on X, or pure QT but couldn't because of dependencies on libsl or other proprietary sharp libraries where source is unavailable.

Can anyone either give tips/tricks on how to port these specific library calls to QT/X11 libraries, or can someone point me to a good thread/forum/resource that would give me a good starting point?

The application I'd try to work on first is FreenoteQT, which I love. I haven't contacted the author yet, because I don't know what I'm looking for in the source code yet. Your help is appreciated.

-Daniel
C3100, 5500, former C860 owner

tumnus

  • Hero Member
  • *****
  • Posts: 1176
    • View Profile
    • http://www.cpinkney.org.uk
libsl - porting tips?
« Reply #1 on: October 18, 2004, 06:10:54 pm »
Instead of porting these libraries to QT/X11, what about cross-compiling the Qtopia Virtual Frambuffer? I think the source is in the Qtopia-free SDK src RPM, so you should be able to cross compile it for the PDAXROM.

Then just make sure the Qtopia app can see all its dependent libraries on your Zaurus and run it on its own in the Virtual Framebuffer. Don't know what performance would be like though, but it isn't emulating much AFAIK.
# Search the Zaurus Howtos ## Search the Zaurus FAQs ## Find Z software at ELSI #
--------------------
UK SL5500 with Sharp ROM 3.13, SL5600 with Sharp ROM 1.32 - SuSE 9.0 Pro, Windows XP Home
Qualendar for Calendar and Todo
Socket Bluetooth CF Card (Rev F), Kingmax 512MB MMC Card, Palm Tungsten T Stylus,
Pretec CF->Smartmedia Adapter, Semsons Universal Battery Extender

obscurite

  • Full Member
  • ***
  • Posts: 125
    • View Profile
libsl - porting tips?
« Reply #2 on: October 18, 2004, 11:01:12 pm »
Tumnus,

Thanks for the interesting idea! I was thinking more along the lines of changing the sharp code to QT code, or similar. Have you run anything in VFB on your z?

Anyone care to share any experiences moving libsl code to QT/X11?

-Daniel
C3100, 5500, former C860 owner

ashikase

  • Sr. Member
  • ****
  • Posts: 280
    • View Profile
    • http://
libsl - porting tips?
« Reply #3 on: October 19, 2004, 12:18:21 am »
Try taking a look at Opie's implementation/emulation of the libsl classes (opie/libslcompat).

- ashikase
  anpachi, gifu, japan
SL-C3100 & SL-C760

Mickeyl

  • Hero Member
  • *****
  • Posts: 1495
    • View Profile
    • http://www.Vanille.de
libsl - porting tips?
« Reply #4 on: October 19, 2004, 05:06:03 am »
Unfortunately, Opie's libslcompat is more or less pointless. I started it to get one of the japanese apps running, but the effort was more or less wasted, since it would take months to do a full compat library. Maybe a coordinated activity could get it going? Patches (as always) welcome.

Oh btw., I don't think the qvfb approach is sensible. qvfb is slow as molasses even on a fast x86 pc. i really don't want to see how it performs on a Zaurus  
Cheers,

Michael 'Mickey' Lauer | Embedded Linux Freelancer | www.Vanille-Media.de
Consider donating, if you like the software I contribute to.

ashikase

  • Sr. Member
  • ****
  • Posts: 280
    • View Profile
    • http://
libsl - porting tips?
« Reply #5 on: October 19, 2004, 06:07:42 am »
Mickeyl:

Does the SlFileDialog implementation work?

If not, my app isn't going to work for OZ people (^_^)

- ashikase
  anpachi, gifu, japan
SL-C3100 & SL-C760

Mickeyl

  • Hero Member
  • *****
  • Posts: 1495
    • View Profile
    • http://www.Vanille.de
libsl - porting tips?
« Reply #6 on: October 19, 2004, 09:16:43 am »
Can't remember that, but probably not. libslcompat was started as a class library with empty methods to get things compiled. Functionality was the 2nd step, which was never completed.
Cheers,

Michael 'Mickey' Lauer | Embedded Linux Freelancer | www.Vanille-Media.de
Consider donating, if you like the software I contribute to.

obscurite

  • Full Member
  • ***
  • Posts: 125
    • View Profile
libsl - porting tips?
« Reply #7 on: October 19, 2004, 10:39:51 am »
Let's do it. Should we split up the most important pieces amongst those who are interested? How long would it take with 3 or more people working on this in their spare time?

-Daniel
C3100, 5500, former C860 owner