Re: [Libreoffice] LibreOffice Android Port

2011-05-22 Thread rcsilv...@gmail.com
Hello, all!

Sorry about this sooo late reply - I didn't give up, I'm just busy but LO
for Honeycomb is one of my top priorities now.

I'll answer inline.



On Fri, May 6, 2011 at 05:57, Michael Meeks wrote:

> Hi Tor,
>
> On Thu, 2011-05-05 at 23:59 -0600, Tor Lillqvist wrote:
> > Or 2) Adapt the LibreOffice build mechanism to work with
> > cross-compilation.
> ..
> >  gbuild work hopefully should make it easier. Interestingly, enabling
> > cross-compilation will benefit LO builds for Windows hugely...
>
> Right - so, as one precursor we really want to help with moving
> ~everything to gnumake so we only have to do the heavy lifting in one
> place. Of course, that has a great knock-on effect of improving our
> build speed, and as a side-effect having a great synergy with our
> end-goal of moving to cross-compiling the Windows builds.
>

I didn't know about this problem. I don't have much experience in
cross-compilation (I thought LO had already take care of it) but* *I'll ask
some friends for help.


>
> > What is interesting in this discussion here and earlier on the
> > "discuss" list is that nobody seems to ponder how the user interface
> > of (a subset of) LibreOffice running on a tablet/touch device should
> > look and work. Surely designing that is equally hard as overcoming
> > technical build hurdles or restructuring what gets built.
>
> This is of course an excellent point :-) However, it is clear that
> with
> lots of complementary, baby-steps in the right direction, we will get
> somewhere useful in the end.
>

This is what I have in mind. Develop a new interface for tablets and
commiting it for a public repository (probably Github) so I can get external
help and feedback. "Release early, release often"


>
> >  Or do you really expect people to want to use the normal LibreOffice
> > GUI with hierarchical menus and other stuff from a desktop style GUI
> > on a touch device?
>
> Not in the end-game; but as a demo to generate lots of interest,
> and
> attract more developers to help re-work the chrome: I think this would
> be a wonderful first-step.
>

Actually I think that today's UI can't be used on a tablet for 2 reasons:

   1. It isn't prepared for this
   2. Would be completely visually unintegrated with the other apps

Maybe making it work could generate interest but I wonder if the efford
would worth it. I really don't know... I'll probably be sure after getting
the cross-compilation work!


>
>ATB,
>
>Michael.
>
> --
>  michael.me...@novell.com  <><, Pseudo Engineer, itinerant idiot
>
>
Michael, thank you very much for your orientation. Without it I would be
lost. I've subscribed to the dev list, so I can easily comunicate with
others.

Jonathan, let's get our hands dirty and make it work!

Best regards!
--
Rodrigo

http://www.rodrigocarvalho.blog.br

Participe do I Hack'n Rio 

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] Android versions that we will compile LO for

2011-06-06 Thread rcsilv...@gmail.com
Hi, Martin and everybody

I'm one of the "great individuals" Jonathan mentioned (although I'm not so
great like he said :P).

Our plans is to make an LibO version for tablets. Of course, Android API
make it possible to tablet apps run on smartphones as well, but it affects
our target version.

Jonathan, I think it'd be better to target 3.0 for now. I think that most of
the Android tablets will run 3.1 but, let's stick with 3.0 until we have
good reasons to increase our minimum version. What do you think?

Regards!
--
Rodrigo

http://www.rodrigocarvalho.blog.br

Participe do I Hack'n Rio 




On Mon, Jun 6, 2011 at 07:26, Martin Hosken  wrote:

>
> > I am working with 2 other great individuals in regards to bring LO to
> > android devices. The sdk has support for android version 1.5 all the way
> > up to the latest 3.1
> >
> > Question becomes what versions do we want to get cross compilation to
> > work with?
>
> Having just come off a low level android project, I would suggest you
> target 2.3 as your earliest, at least until you have it working. Anything
> before that is fraught with problems and your mileage as to whether anything
> will work will vary.
>
> Yours,
> Martin
> ___
> LibreOffice mailing list
> LibreOffice@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/libreoffice
>
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice] Doubts on Android cross-compilation

2011-06-09 Thread rcsilv...@gmail.com
Hello, devs!

As some of you might know, Jonathan Aquilina and me are trying to compile
LibO to Android. I'm learning LibO compilation and I'm trying to compile it
following the instructions on README.cross [1]. I'm getting the following
error:

"configure: error: C compiler cannot create executables"

I'm looked for some autogen.sh docs on its site[2] but there isn't. What
docs do you recomend me to read?

I'm using an Ubuntu 11.04 computer for this compilation and first I tried to
run the autogen.sh without running "apt-get build-dep libreoffice" because I
think it's useless when you're using Android NKD toolchain. After getting
this error, I've run "build-dep" but I'm still with the same error. Is it
necessary to have the build dependencies installed?

[1] http://cgit.freedesktop.org/libreoffice/bootstrap/plain/README.cross
[2] http://buildconf.brlcad.org/

Regards!
--
Rodrigo

http://www.rodrigocarvalho.blog.br

Participe do I Hack'n Rio 

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] Doubts on Android cross-compilation

2011-06-09 Thread rcsilv...@gmail.com
Hello!

Thank you for your answers.

On Thu, Jun 9, 2011 at 10:36, Tor Lillqvist  wrote:

> >> *Where* do you get that error? Already when running the top autogen.sh
> > Yes, that's configure, so.. ;)
>
> But as I am sure you are aware, there are lots of 3rd-party libraries
> involved, for which configure scripts are also run. (Sure, not when using
> --with-system-libs; but not all of these libs are avilable as system ones
> for Android.) So this error can come from some of them, too.
>

Yes, I get this error when running the top autogen.sh. I also know it's
experimental and I would run into errors soon. Thats what I want to solve :)
I don't have much experience with C++ build or cross-compilation but I want
to focus on that and learn.


>
> > Well, I doubt completely cross-compiling is not possible anyway
> > unless you wrap the commands which check the current system (like in sal)
> > to use whatever wrapper emulating the environment/ABI (qemu?)
>
> All such things will have to be found out, one by one, obviously. If you
> look in the Makefile.in at the cross-build-tools target, that lists those
> modules that need to be built natively so far, to get build-time tools to be
> run on the build platform. (Yes, I know that is sub-optimally done
> currently; work-in-progress you see. And once gbuild has spread more, this
> can be done simpler anyway.)
>
> > Can one get nfs or some remote fs on a rooted phone/tablet? And/or a
> > real big(tm) SD card? Then one could compile on the target hardware,
> > can't one?
>
> Nah, let's not be that pessimistic yet.
>

Yes, I also don't think we'll need such a complex process.

> Read generic cross-compilation documentation for Autoconf ?
> Try to cross-compile some very simple library for Android first to get a
general grip of what is going on.

I'll do these.

Thank you all! I'll keep you up to date.

Regards!
--
Rodrigo

http://www.rodrigocarvalho.blog.br

Participe do I Hack'n Rio 

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] Doubts on Android cross-compilation

2011-06-09 Thread rcsilv...@gmail.com
On Thu, Jun 9, 2011 at 17:15, Tor Lillqvist  wrote:

> > Yes, I get this error when running the top autogen.sh.
>
> OK, that is not supposed to happen. Could you paste your complete
> config.log to http://pastebin.com please?
>
>
http://pastebin.com/CuFKS0P1

> --tml
>
>
>
--
Rodrigo

http://www.rodrigocarvalho.blog.br

Participe do I Hack'n Rio 

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] Doubts on Android cross-compilation

2011-06-09 Thread rcsilv...@gmail.com
Hello, Tor

I've finally could run ./autogen.sh. It was my mistake... Sorry.

Now I'm going through errors and try to solve them, until I can compile it!

Sorry again for my "noobness" and thank you for your patience.

Regards!
--
Rodrigo

http://www.rodrigocarvalho.blog.br

Participe do I Hack'n Rio <http://hacknrio.org/>




On Thu, Jun 9, 2011 at 19:43, rcsilv...@gmail.com wrote:

>
> On Thu, Jun 9, 2011 at 17:15, Tor Lillqvist  wrote:
>
>> > Yes, I get this error when running the top autogen.sh.
>>
>> OK, that is not supposed to happen. Could you paste your complete
>> config.log to http://pastebin.com please?
>>
>>
> http://pastebin.com/CuFKS0P1
>
>> --tml
>>
>>
>>
> --
> Rodrigo
>
> http://www.rodrigocarvalho.blog.br
> 
> Participe do I Hack'n Rio <http://hacknrio.org/>
> 
>
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] LibreOffice Android Port

2011-05-05 Thread rcsilv...@gmail.com
Hello, Michael

On Thu, May 5, 2011 at 14:16, Michael Meeks wrote:

> Hi there,
>
> On Wed, 2011-05-04 at 22:05 -0300, rcsilv...@gmail.com wrote:
> > Very nice, Michael! I think that, at this moment, a tablet (Honeycomb)
> > interface is much more needed because it can be a full-featured
> > version in a market that isn't dominated by MS Office. Additionally,
> > we already have the "OpenOffice Reader" for smatphones that works
> > well.
>
> Sounds good to me :-) I cc'd the dev list incidentally.
>

Great! Very good to CC the list. Jonathan (CC'd) already came to me so we
can work together on this.


>
> > What do your think? Can I focus on that?
>
> Certainly. In fact Android for tablet or mobile would need to use
> the
> same rendering approach anyway I think, so - I wouldn't worry about
> that.
>
> > What about the initial code? Can I commit to a GitHub repository? Do
> > you suggest some place else?
>
> Oh - well; if you git clone the repos, then you can commit to your
> local git repository of course.
>
>As/when you have something that is more generally useful we can get
> that into master, as/when it starts to be interesting for others to work
> with you - we'll get a commit account setup so you can push to a feature
> branch.
>

Perfect.


>
>How does that sound ? For the while - I suggest you work in your own
> git repo, (and I'd recommend getting a Linux build working first so
> you're familiar with the build etc.) - and then look at the
> cross-compilation.
>

Good ideias and I'll follow your advices.


>
>Some other thoughts are: perhaps as a first set of tasks - we would
> want to have a -very- cut-down build mode: that throws away lots of
> pieces that we don't want: to save size, eg. I don't think 'base'
> belongs on a tablet (with hsqldb), nor binfilter, nor rhino or
> beanshell, no wizards, and no templates. Possibly our older filter
> formats: lwp, wpd, works, dbase,  etc. could be thrown overboard too.
>
>Possibly it would make sense working on creating a distro-config/
> file
> (that we can use with autogen.sh) that builds an absolutely minimal
> LibreOffice - with as much minority feature-weight removed as possible.
> Potentially that means adding new compile options to disable things (eg.
> the Java wizards). Possibly we would want to also be able to cut out
> things un-needed in a reader - such as the gallery eg.
>

I couldn't agree more with you!


>
>All of that should be easy to write and test, on a stock Linux
> machine
> without worrying about cross-compilation etc.
>

I hope so :)


>
>ATB,
>
>Michael.
>
> --
>  michael.me...@novell.com  <><, Pseudo Engineer, itinerant idiot
>
>
>
Thank you very much and I keep you up to date.

Regards,
--
Rodrigo

http://www.rodrigocarvalho.blog.br

Participe do I Hack'n Rio <http://hacknrio.org/>

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice