maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Git For Maemo (https://talk.maemo.org/showthread.php?t=27352)

nikosapi 2009-03-07 18:33

Git For Maemo
 
Hello,

I couldn't find a git package for Maemo so I made one.

Here's the deb: http://nikosapi.org/software/git/git_1.6.2-1_armel.deb
All the source files are here: http://nikosapi.org/software/git

Enjoy,

nick

megamark16 2009-03-27 14:36

Re: Git For Maemo
 
Thanks man! I was running Git through the Deblet but I really don't use any of the other features of the deblet so I was considering dropping it, but I didn't want to lose Git. So thanks a bundle!

Mark

megamark16 2009-03-28 22:55

Re: Git For Maemo
 
Well, I got it installed but I've run into a bit of a problem. First it was failing because I didn't have an /etc/profile.d folder, so I created that folder and it reinstalled fine. But now when I try to clone from my remote repository it tells me:

git: 'index-pack' is not a git-command

And when I try to do a local clone it tells me:

warning: templates not found /home/nikosapi/git-1.6.2/debian/git/usr/share/git-core/templates

So it looks like somewhere you've got your own home directory hard coded in a configuration file or something, because my home directory is /home/user/...

Any suggestions as to where I can update this value to point to my own home directory?

Thanks
Mark

jeremiah 2009-04-06 13:57

Re: Git For Maemo
 
Hi there!

I would like to upload your git packages to maemo.org - is that okay with you?

Jeremiah

nikosapi 2009-04-08 14:35

Re: Git For Maemo
 
Quote:

Originally Posted by jeremiah (Post 277866)
Hi there!

I would like to upload your git packages to maemo.org - is that okay with you?

Jeremiah

I don't think my package meets the Maemo packaging quality guidelines, you should probably work on it a bit to make it compliant before submitting. See this document for more information.

Thanks,

nick

jeremiah 2009-04-08 14:38

Re: Git For Maemo
 
Terrific, thanks Nick - I'll follow that link and work on a package of git for maemo.

dov 2010-02-12 05:10

Re: Git For Maemo
 
I tried installing git on the N900 and also get the error seen above and the clone command fails:

~/git$ git clone ssh://dov@myserver/home/dov/repos
warning: templates not found /home/builder3/maemo-fremantle-armel-extras-devel/work/git-1.6.5.7/debian/git/usr/share/git-core/templates
Initialized empty Git repository in /home/user/git/repos/.git/
dov@myserver's password:
git: 'index-pack' is not a git-command. See 'git --help'.
fatal: index-pack failed
~/git$ remote: Counting objects: 1283, done.

any ideas?

dov 2010-02-12 09:50

Re: Git For Maemo
 
I found the reason. git does not find its core files in /usr/libexec/git-core by default. Once I added this directory to the path, everything works just fine.

So now I can just use git to synch all my work between my desktop and my phone. Great!

nyarlathotep 2010-04-20 08:38

Re: Git For Maemo
 
Is there a working package for git now? I've been unable to locate one in any repository. Thanks!

mece 2010-04-20 08:49

Re: Git For Maemo
 
git works fine for me. It's in devel.
apt-get install git-core

works.

fpp 2010-09-23 12:29

Re: Git For Maemo
 
Belated thanks for that...

However, it seems this package has not been "optified" : apt-get pulled in something like 7MB, and afterwards my free rootfs was down by a similar amount.

Did you have the same experience ?

spanner 2010-09-23 14:06

Re: Git For Maemo
 
Quote:

Originally Posted by fpp (Post 824313)
However, it seems this package has not been "optified" : apt-get pulled in something like 7MB, and afterwards my free rootfs was down by a similar amount.

Did you have the same experience ?

Yes, but it took seconds to move /usr/lib/git-core over to /opt/git-core and make a symlink. The remaining 800 KB /usr/bin/git didn't bother me enough to move.

(my thanks also!)

fpp 2010-09-23 15:54

Re: Git For Maemo
 
Thanks, I'll try that. I guess it could only be a problem if you try to uninstall it someday after forgetting all about it ? :-)

www.rzr.online.fr 2011-07-08 14:04

Re: Git For Maemo
 
have build it for harmattan too ?
I can try to help if you tell me where should i get current version ? :)

hobarrera 2012-02-13 05:28

Re: Git For Maemo
 
Any chance of the other "git" package being removed? It doesn't work, and it's misleading (anyone trying to use git, will end up here).

drcouzelis 2012-12-13 16:58

Re: Git For Maemo
 
Quote:

Originally Posted by mece (Post 618980)
git works fine for me. It's in devel.
apt-get install git-core

Is git still available for Maemo 5? I'm unable to find it, even in extras-devel. :(

Edit: Just like you said, it's in extras-devel:

http://repository.maemo.org/extras-d...ee/g/git-core/

I'll have to figure out why my phone isn't syncing with the repo correctly. :P

spazi 2014-01-05 16:06

Re: Git For Maemo
 
I'm kinda stuck

I'm using fremantle 1.3
n900
maemo 5
Version: 20.2010.36-2

I've tried sudo apt-get install git-core

it replies: "Couldn't find package git-core"

I've also tried downloading git-core from these repos
/extras-devel/pool/fremantle-1.3/free/g/git/
and
/extras-devel/pool/fremantle-1.3/free/g/git-core/
and when I try to install it says:

"Unable to install "git-core"
Incompatiable application package"

What am I doing wrong? I'm stuck! :(

nieldk 2014-01-05 16:59

Re: Git For Maemo
 
Quote:

Originally Posted by www.rzr.online.fr (Post 1047100)
have build it for harmattan too ?
I can try to help if you tell me where should i get current version ? :)

https://code.google.com/p/git-core/d...1.8.5.2.tar.gz

spazi 2014-01-05 19:46

Re: Git For Maemo
 
I got it working!

For anyone with the same problems, here is how I did it running fremantle 1.3.

It's probably not necessary but I did a factory reset of the phone.

I installed rootsh and leafpad through app manager.
Open X terminal and type sudo gainroot.
when getting root type: "cd /etc/apt/"
type "leafpad sources.list"
leafpad will open and sources.list will by default be blank.
in the opened document type in: "deb http://repository.maemo.org/extras-devel/ fremantle-1.3 free non-free"
make sure you don't write a capital D as in "Deb". It should say "deb"
save the file
go to x terminal again and as root type: "apt-get update"
let it update and it should take a minute or two.
after that type in: "apt-get install git-core"

That should do the trick :)


All times are GMT. The time now is 21:02.

vBulletin® Version 3.8.8