Re: [fossil-users] Fossil for Android?

2014-07-14 Thread Oliver Friedrich
I think it is pretty dead. Maybe you can get the code from the owner by 
simply asking him?


It served a whole directory, like fossil serve did.

Am 14.07.2014 07:31, schrieb Urmil Parikh:

Hi,

I tried it today, but cannot get it to work.
First, it told me that it could not find HOME folder (which was null).
After explicitely editing HOME, it says it cannot open database.

Is this app maintained?
Does it support serving a single repo or multiple ones (like fossil 
serve folder)?


Thanks
- Urmil


On Mon, Jun 16, 2014 at 8:25 PM, Oliver Friedrich beowul...@gmx.de 
mailto:beowul...@gmx.de wrote:


Hi Urmil,

actually there is an apk for fossil, though it only supports
serving repos AFAIR.

https://play.google.com/store/apps/details?id=es.dadbiz.fossil

I used it often to backup my repos to my phones sd-card and it
worked out quite well.



Am 16.06.2014 12:02, schrieb Urmil Parikh:

There was some discussion in past about compiling fossil for
Android.
Is it still alive?
Is there any .apk available?


___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
mailto:fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users




___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Fossil for Android?

2014-07-13 Thread Urmil Parikh
Hi,

I tried it today, but cannot get it to work.
First, it told me that it could not find HOME folder (which was null).
After explicitely editing HOME, it says it cannot open database.

Is this app maintained?
Does it support serving a single repo or multiple ones (like fossil serve
folder)?

Thanks
- Urmil


On Mon, Jun 16, 2014 at 8:25 PM, Oliver Friedrich beowul...@gmx.de wrote:

 Hi Urmil,

 actually there is an apk for fossil, though it only supports serving repos
 AFAIR.

 https://play.google.com/store/apps/details?id=es.dadbiz.fossil

 I used it often to backup my repos to my phones sd-card and it worked out
 quite well.



 Am 16.06.2014 12:02, schrieb Urmil Parikh:

  There was some discussion in past about compiling fossil for Android.
 Is it still alive?
 Is there any .apk available?


 ___
 fossil-users mailing list
 fossil-users@lists.fossil-scm.org
 http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Fossil for Android?

2014-06-16 Thread Oliver Friedrich

Hi Urmil,

actually there is an apk for fossil, though it only supports serving 
repos AFAIR.


https://play.google.com/store/apps/details?id=es.dadbiz.fossil

I used it often to backup my repos to my phones sd-card and it worked 
out quite well.




Am 16.06.2014 12:02, schrieb Urmil Parikh:

There was some discussion in past about compiling fossil for Android.
Is it still alive?
Is there any .apk available?



___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Fossil on Android or compiling with tcc?

2012-06-20 Thread Kostas Karanikolas
I'm running an Arch linux chroot on my tablet. Compiling fossil from source
on the tablet worked fine for me. No patching necessary.
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Fossil on Android or compiling with tcc?

2012-06-20 Thread Remigiusz Modrzejewski

On Jun 20, 2012, at 13:07 , Kostas Karanikolas wrote:

 I'm running an Arch linux chroot on my tablet. Compiling fossil from source
 on the tablet worked fine for me. No patching necessary.

Well, your Arch Linux chroot has a complete Linux useprspace, doesn't it? I 
don't know if it's the case for typical Android...

Kind regards,
Remigiusz Modrzejewski



___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Fossil on Android or compiling with tcc?

2012-06-19 Thread Matt Welland
Perhaps not relevant to Android but just in case it helps  I run fossil
on my n900 (arm based antiquated smart phone). I built using scratchbox,
http://www.scratchbox.org. It was an almost zero effort compile.

On Tue, Jun 19, 2012 at 11:16 AM, Mike Meyer m...@mired.org wrote:

 On Tue, 19 Jun 2012 18:07:58 +0200
 Stephan Beal sgb...@googlemail.com wrote:

  Yesterday i got a tcc-based compiler for my tablet and i am curious if
 any
  of you have gotten fossil to compile (perhaps cross-compiling?) on (or
 for)
  Android?

 There's been some work done on cross-compiling. If you google for
 compile fossil for android, you'll turn up my patches/instructions
 for getting things to compile. I vaguely recall that someone managed
 to get it working properly, but that didn't turn up when I did the
 google search.

mike
 --
 Mike Meyer m...@mired.org  http://www.mired.org/
 Independent Software developer/SCM consultant, email for more information.

 O ascii ribbon campaign - stop html mail - www.asciiribbon.org
 ___
 fossil-users mailing list
 fossil-users@lists.fossil-scm.org
 http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Fossil on Android or compiling with tcc?

2012-06-19 Thread Stephan Beal
Great! Thank you, Matt! i'll give that a try. If i get it working i'll add
some docs for it.
On Jun 19, 2012 9:13 PM, Matt Welland estifo...@gmail.com wrote:

 Perhaps not relevant to Android but just in case it helps  I run
 fossil on my n900 (arm based antiquated smart phone). I built using
 scratchbox, http://www.scratchbox.org. It was an almost zero effort
 compile.

 On Tue, Jun 19, 2012 at 11:16 AM, Mike Meyer m...@mired.org wrote:

 On Tue, 19 Jun 2012 18:07:58 +0200
 Stephan Beal sgb...@googlemail.com wrote:

  Yesterday i got a tcc-based compiler for my tablet and i am curious if
 any
  of you have gotten fossil to compile (perhaps cross-compiling?) on (or
 for)
  Android?

 There's been some work done on cross-compiling. If you google for
 compile fossil for android, you'll turn up my patches/instructions
 for getting things to compile. I vaguely recall that someone managed
 to get it working properly, but that didn't turn up when I did the
 google search.

mike
 --
 Mike Meyer m...@mired.org  http://www.mired.org/
 Independent Software developer/SCM consultant, email for more information.

 O ascii ribbon campaign - stop html mail - www.asciiribbon.org
 ___
 fossil-users mailing list
 fossil-users@lists.fossil-scm.org
 http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users



 ___
 fossil-users mailing list
 fossil-users@lists.fossil-scm.org
 http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Fossil for Android?

2011-05-06 Thread Stephen De Gabrielle
Has anyone ever built fossil on an iPhone?
S.


On Thu, May 5, 2011 at 10:54 PM, Stephan Beal sgb...@googlemail.com wrote:

  On Thu, May 5, 2011 at 11:37 PM, Aurel kerusursa...@gmail.com wrote:

 * copied it in the /system/xbin of my phone (yes my phone :) )


 For what it's worth, i think it would be _exceedingly_ cool (in a geeky
 way) to see a fossil server run on a telephone.

 Could we hack it to make the phone vibrate or beep when someone makes a
 commit? ;)

 --
 - stephan beal
 http://wanderinghorse.net/home/stephan/

 ___
 fossil-users mailing list
 fossil-users@lists.fossil-scm.org
 http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users




-- 

--
Stephen De Gabrielle
stephen.degabrie...@acm.org
Telephone +44 (0)20 85670911
Mobile+44 (0)79 85189045
http://www.degabrielle.name/stephen
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Fossil for Android?

2011-05-05 Thread Aurel
Hi,
Sorry if I sent this twice...

Following Mike Meyer directions I was able to compile fossil for android
2.2, but had the same problem as him: nothing else than 'fossil help'

Here is what I did to make it work:
* downloaded the NDK and  following android-ndk-r5b/documentation.html did
  $NDK/build/tools/make-standalone-toolchain.sh --platform=android-5
--install-dir=/tmp/my-android-toolchain
  export PATH=/tmp/my-android-toolchain/bin:$PATH
  export CC=arm-linux-androideabi-gcc

* used Mike Meyer's Makefile but changed the following ( 4/ ABI
Compatibility section of the NDK documentation )
 NDK = /home/user1/Projets-new/andfossil/android-ndk-r5b
 GCC = arm-linux-androideabi-gcc
 # sqlite had problems compiling, but reading from an old post on the sqlite
mailing found the -Dfdatasync=fsync option
 TCC = $(GCC) -I$(NDK)/platforms/android-5/arch-arm/usr/include
-Dfdatasync=fsync

  LDFLAGS=-Wl,--fix-cortex-a8 -dynamic-linker=/system/bin/linker
-L$(NDK)/platforms/android-5/arch-arm/usr/lib
-L$(NDK)/toolchains/arm-eabi-4.4.0/prebuilt/linux-x86/lib/gcc/arm-eabi/4.4.0


* then
  make clean; make

* copied it in the /system/xbin of my phone (yes my phone :) )

* added en entry for my server in /etc/host ( from the shell my phone does
not resolve names ...)

* cloned succesfully using
  fossil clone http://myserver/myrepo myrepo.fsl

I still have a pb using fossil server, but I think it is just a matter of
rights.
Also there is still the I18N and getpass workaround from Mike Meyer. I'm
going to try to make it without modifying fossil's sources.

Thanks for fossil :)
Aurélien.
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Fossil for Android?

2011-05-05 Thread Stephan Beal
On Thu, May 5, 2011 at 11:37 PM, Aurel kerusursa...@gmail.com wrote:

 * copied it in the /system/xbin of my phone (yes my phone :) )


For what it's worth, i think it would be _exceedingly_ cool (in a geeky way)
to see a fossil server run on a telephone.

Could we hack it to make the phone vibrate or beep when someone makes a
commit? ;)

-- 
- stephan beal
http://wanderinghorse.net/home/stephan/
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Fossil for Android?

2011-05-05 Thread Aurel
My bad, fossil server repo.fsl is working on my phone.
I forgot to give the repo to the command :)
Aurélien
Le 2011-05-05 17:54, Stephan Beal sgb...@googlemail.com a écrit :
 On Thu, May 5, 2011 at 11:37 PM, Aurel kerusursa...@gmail.com wrote:

 * copied it in the /system/xbin of my phone (yes my phone :) )


 For what it's worth, i think it would be _exceedingly_ cool (in a geeky
way)
 to see a fossil server run on a telephone.

 Could we hack it to make the phone vibrate or beep when someone makes a
 commit? ;)

 --
 - stephan beal
 http://wanderinghorse.net/home/stephan/
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Fossil for Android?

2011-02-28 Thread a . chavasse

On Feb 27, 2011 5:53am, Timothy Brown javelin...@yahoo.com wrote:

For your consideration,


How hard would it be to build Fossil for Android? For that matter how  
hard would it be to get Fossil built for iOS?
With all these Android tablets about to burst on the scene it would be  
nice to be able to take cloned repositories with you (if you start using  
tablets more than notebooks).


Taking your code/presentations/papers with you in a cloned Fossil  
repository would be nice.


Just trying to stir the pot...to get Fossil more places and seen by more  
developers. It would be cool to see Android and iOS listed in the  
downloads section.



Someone has actually been working on an iOS port, but I have no idea what  
the status is on it:

http://chiselapp.com/user/cutterpillow/repository/fossil-iOS
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Fossil for Android?

2011-02-27 Thread Mike Meyer
On Sat, 26 Feb 2011 20:53:11 -0800 (PST)
Timothy Brown javelin...@yahoo.com wrote:

 For your consideration,
 
 How hard would it be to build Fossil for Android?  For that matter how hard 
 would it be to get Fossil built for iOS?

Since both are Unix variants, it shouldn't be to bad. The makemake
script already has two compilers wired in - one for building the build
tools, and one for building the cross-compiled binary. That doesn't set
TCC in the Makefile, but that's an easy fix.

For android, it took about three hours to get it to compile starting
from scratch (literally - I had to locate and download the appropriate
development kits).  The hard part was figuring out the correct thing
to set LDFLAGS in the Makefile to for the cross-compilation
environment to get a complete link.  Doesn't appear to be working very
well - but I'm not an android developer, so that's not really
surprising.

iOS is probably easier - if you're happy using the jailbroken dev
tools. Using Apple's tools may be a bit harder.

  mike
-- 
Mike Meyer m...@mired.org http://www.mired.org/consulting.html
Independent Software developer/SCM consultant, email for more information.

O ascii ribbon campaign - stop html mail - www.asciiribbon.org
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Fossil for Android?

2011-02-27 Thread Bill Whiting
Timothy,
A very interesting exercise to be sure, but it begs the question: why?  
i.e. Did you have a particular use in mind?

//Bill

On 02/27/2011 01:52 PM, Mike Meyer wrote:
 On Sat, 26 Feb 2011 20:53:11 -0800 (PST)
 Timothy Brownjavelin...@yahoo.com  wrote:

 For your consideration,

 How hard would it be to build Fossil for Android?  For that matter how hard 
 would it be to get Fossil built for iOS?
 Since both are Unix variants, it shouldn't be to bad. The makemake
 script already has two compilers wired in - one for building the build
 tools, and one for building the cross-compiled binary. That doesn't set
 TCC in the Makefile, but that's an easy fix.

 For android, it took about three hours to get it to compile starting
 from scratch (literally - I had to locate and download the appropriate
 development kits).  The hard part was figuring out the correct thing
 to set LDFLAGS in the Makefile to for the cross-compilation
 environment to get a complete link.  Doesn't appear to be working very
 well - but I'm not an android developer, so that's not really
 surprising.

 iOS is probably easier - if you're happy using the jailbroken dev
 tools. Using Apple's tools may be a bit harder.

mike

___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Fossil for Android?

2011-02-27 Thread Timothy Brown
Bill, I was thinking along the same lines as Steve.  Using Fossil to keep track 
of user changes giving a timeline view of their changes.  They wouldn't even 
know Fossil is there.

I could also see taking presentation on an Android Tablet or IPad and being 
able to access multiple versions to use in presenting from the tablet (which I 
know a couple of people who take presentations on their IPads now.  I remember 
Richard Hipp uses Fossil to keep all versions of his presentations.  He could 
use software on the IPad to present and make some small changes and update his 
repository on the IPad then sync when you get home.  I could see the same use 
for Android tablets (even phones) as well.

JRuby runs on Android using Ruboto, I could see taking ruby scripts in a 
repository and potentially using a tablet to edit and deploy them when visiting 
a location.  Of course if I update ruby or any language in the field I don't 
want those updates not to be part of my repository.

Given time many people could come up with other uses for Fossil on iOS and 
Android.  It would also be a feature that I don't of in any other SCM system.

Timothy F. Brown
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Fossil for Android?

2011-02-27 Thread Steve Dalton
Hi Mike
Would like care to share what you did to get it working (ie. LDFLAGS
etc) - I wouldn't mind having a try myself just to see what the
process is.
Thanks
Steve

On Mon, Feb 28, 2011 at 4:52 AM, Mike Meyer m...@mired.org wrote:
 On Sat, 26 Feb 2011 20:53:11 -0800 (PST)
 Timothy Brown javelin...@yahoo.com wrote:

 For your consideration,

 How hard would it be to build Fossil for Android?  For that matter how hard 
 would it be to get Fossil built for iOS?

 Since both are Unix variants, it shouldn't be to bad. The makemake
 script already has two compilers wired in - one for building the build
 tools, and one for building the cross-compiled binary. That doesn't set
 TCC in the Makefile, but that's an easy fix.

 For android, it took about three hours to get it to compile starting
 from scratch (literally - I had to locate and download the appropriate
 development kits).  The hard part was figuring out the correct thing
 to set LDFLAGS in the Makefile to for the cross-compilation
 environment to get a complete link.  Doesn't appear to be working very
 well - but I'm not an android developer, so that's not really
 surprising.

 iOS is probably easier - if you're happy using the jailbroken dev
 tools. Using Apple's tools may be a bit harder.

      mike
 --
 Mike Meyer m...@mired.org              http://www.mired.org/consulting.html
 Independent Software developer/SCM consultant, email for more information.

 O ascii ribbon campaign - stop html mail - www.asciiribbon.org
 ___
 fossil-users mailing list
 fossil-users@lists.fossil-scm.org
 http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users




-- 
Refactor
Engage. Succeed. Repeat.
PO Box 802, Labrador, Q 4215, Australia
tel: +61 (0)7 5668 3424 web: refactor.com.au
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Fossil for Android?

2011-02-27 Thread Mike Meyer
On Mon, 28 Feb 2011 07:21:58 +1000
Steve Dalton st...@refactor.com.au wrote:

 Hi Mike
 Would like care to share what you did to get it working (ie. LDFLAGS
 etc) - I wouldn't mind having a try myself just to see what the
 process is.
 Thanks
 Steve

Sure.

Note that setting TCC in makemake.tcl doesn't work for builds on
Linux. I believe this is a bug in makemake.tcl, as the value of TCC
gets copied into win/Makefile.mingw properly.

You need to install Googles ndk (that's the Native Developers Kit) for
your platform if you don't have it already. Assuming that's extracted
into $NDK (i.e. $NDK ends in something like android-ndk-r5b), do the
following:

 
In Makefile in the top level, set:

TCC = arm-eabi-gcc -I$NDK/platforms/android-5/arch-arm/usr/include

LDFLAGS=-Wl,-rpath-link=$NDK/platforms/android-5/arch-arm/usr/lib,-dynamic-linker=/system/bin/linker
 -L$NDK/platforms/android-5/arch-arm/usr/lib 
-L$NDK/toolchains/arm-eabi-4.4.0/prebuilt/linux-x86/lib/gcc/arm-eabi/4.4.0 
$NDK/platforms/android-5/arch-arm/usr/lib/crtbegin_dynamic.o -nostdlib -lc

You'll also want to comment out the setting of -DFOSSIL_ENABLE_SSL
and the addition of -lcrypto -lssl to the link line (the ssl libraries
aren't in the ndk).

Two source file tweaks to cover for functionality that isn't included
in the NDK:

Index: src/config.h
===
--- src/config.h
+++ src/config.h
@@ -126,11 +126,11 @@
 #endif
 
 
 /* Unset the following to disable internationalization code. */
 #ifndef FOSSIL_I18N
-# define FOSSIL_I18N 1
+// # define FOSSIL_I18N 1
 #endif
 
 #if FOSSIL_I18N
 # include locale.h
 # include langinfo.h

Index: src/user.c
===
--- src/user.c
+++ src/user.c
@@ -86,12 +86,12 @@
 
 /*
 ** Do a single prompt for a passphrase.  Store the results in the blob.
 */
 static void prompt_for_passphrase(const char *zPrompt, Blob *pPassphrase){
-  char *z = getpass(zPrompt);
-  strip_string(pPassphrase, z);
+  //char *z = getpass(zPrompt);
+  //strip_string(pPassphrase, z);
 }
 
 /*
 ** Prompt the user for a password.  Store the result in the pPassphrase
 ** blob.


Given that the NDK is meant to let you write native-mode methods for
Java, but not interact with the user, these being missing make
sense. Obviously, don't do things that might make it prompt for a
password with this fix.

The resulting binary will correctly spit out help text and version
info, but quietly exits or just hang if asked to do any real
work. That might be because I used android-5 instead of whichever
platform was correct for my tablet, but I spent more time getting this
far than I should have (noticed the TCC setting, and just had to see
if it would work out of the box).

  mike
-- 
Mike Meyer m...@mired.org http://www.mired.org/consulting.html
Independent Software developer/SCM consultant, email for more information.

O ascii ribbon campaign - stop html mail - www.asciiribbon.org
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users