Active Topics

 


Reply
Thread Tools
Posts: 839 | Thanked: 3,386 times | Joined on Mar 2009
#1
I need newer git to N900. I made deb-packages for version 1.7.9. It needs busybox-power because of stat -c in postinst. There are older version on extras-devel, so I'm not yet overwriting it. Download from: http://www.cs.helsinki.fi/u/rantalai/maemo5/git/ (you need git-man and git).

I have cloned repositories (on N900) which are failing with git-1.6.5.
 

The Following 13 Users Say Thank You to AapoRantalainen For This Useful Post:
Posts: 2,076 | Thanked: 3,268 times | Joined on Feb 2011
#2
Originally Posted by AapoRantalainen View Post
I need newer git to N900. I made deb-packages for version 1.7.9. It needs busybox-power because of stat -c in postinst.
Why not make it dependent on gnucoreutils and use gstat in postinst?
 

The Following 3 Users Say Thank You to szopin For This Useful Post:
Posts: 1,163 | Thanked: 1,873 times | Joined on Feb 2011 @ The Netherlands
#3
Originally Posted by szopin View Post
Why not make it dependent on gnucoreutils and use gstat in postinst?
Or one of both. I mean I have busybox-power installed but I don't have gnucore utils installed.
One of them is sufficient though...
__________________
N900 loaded with:
CSSU-T (Thumb)
720p recording,
Pierogi, Lanterne, Cooktimer, Frogatto
N9 16GB loaded with:
Kernel-Plus
--
[TCPdump & libpcap | ngrep]
--
donate
 

The Following 4 Users Say Thank You to mr_pingu For This Useful Post:
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#4
Originally Posted by szopin View Post
Why not make it dependent on gnucoreutils and use gstat in postinst?
Why dependent on some random package, rather than omni-present busybox-power? At least, everyone with single brain cell working have the latter, while former may be absent on some systems.

/Estel
__________________
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!

Last edited by Estel; 2013-06-18 at 17:17.
 

The Following User Says Thank You to Estel For This Useful Post:
Posts: 2,076 | Thanked: 3,268 times | Joined on Feb 2011
#5
Originally Posted by Estel View Post
Why dependent on some random package, rather than omni-present busybox-power? At least, everyone with single brain cell working have the latter, while former may be absent on some systems.

/Estel
Wouldn't call it random, one of the most useful packages (when doing some actual work and stripped down versions of most commands do not cut it). I have both, but busybox power is more intrusive (replaces a thing on your device) while gnu coreutils installs side by side (you can use g<command> for gnu, but you don't have to). Had to install those as busybox tar is lacking for example. I guess my cell is overworked (and lonely).
 

The Following 2 Users Say Thank You to szopin For This Useful Post:
Posts: 1,163 | Thanked: 1,873 times | Joined on Feb 2011 @ The Netherlands
#6
Both good points, that's why I opted to go for an "or" solution...

if bb-p present
do nothing special
ifelse install gnu-coreutils
__________________
N900 loaded with:
CSSU-T (Thumb)
720p recording,
Pierogi, Lanterne, Cooktimer, Frogatto
N9 16GB loaded with:
Kernel-Plus
--
[TCPdump & libpcap | ngrep]
--
donate
 

The Following 2 Users Say Thank You to mr_pingu For This Useful Post:
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#7
Originally Posted by mr_pingu View Post
Both good points, that's why I opted to go for an "or" solution...

if bb-p present
do nothing special
ifelse install gnu-coreutils
Optional dependencies are PITA to get on our autobuilder structure. OTOH, putting such things in postinst&friends is very failprone to customs setups.

Of course I agree with szopin than gnucoreutils is nice package - it's jsut that "essential" isn't the same for everyone. As for bb-power, we're at least using component that was already on N900, just updated. Also, it would be in CSSU for sure, if not for some random, clueless (in this particular case) hater, who had too much non-meritocratic impact on cssu maintainer - but, that's OT story here.

/Estel
__________________
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!
 
Posts: 839 | Thanked: 3,386 times | Joined on Mar 2009
#8
I pushed working git-1.7.9.5 to the extras-devel.
Optified.

Discussion about busybox-power and coreutils-gnu was not relevant. It just needs thinking. As these are equivalent:
Code:
stat -c $FILE
stat $FILE | grep Inode | awk '{print $4}'
---
I had once problems with https and certificates. Now I think I got them. Feel free to report issues ("verify that the CA cert is OK") and hopefully somebody helps. Ugliest thing to do, if you just need something cloned in hurry:
GIT_SSL_NO_VERIFY=true git clone https...
or use plain http (there are reasons why https exists)

This might help with debugging.
GIT_CURL_VERBOSE=1
----
And I'm still voting for upgrading libc. This time I hit http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=291609
But luckily there was workaround for it.

Last edited by AapoRantalainen; 2014-03-02 at 14:59. Reason: typo fixed
 

The Following 6 Users Say Thank You to AapoRantalainen For This Useful Post:
Posts: 839 | Thanked: 3,386 times | Joined on Mar 2009
#9
Fixed: gitk and git-gui also optified and dependencies corrected.

Git-gui depends on hamsterfiler, because it needs to open file browser on target directory, and seems ossofilemanager can't do that.
 

The Following 7 Users Say Thank You to AapoRantalainen For This Useful Post:
Posts: 2 | Thanked: 5 times | Joined on May 2012
#10
First big thanks to you for taking care of the old git on Maemo again!

Originally Posted by AapoRantalainen View Post
I pushed working git-1.7.9.5 to the extras-devel.
Optified.

Discussion about busybox-power and coreutils-gnu was not important. It just needs thinking. As these are equivalent:
[CODE]stat -c $FILE
stat $FILE | grep Inode | awk '{print $4}'
[...]
Nicely done!

Also the perl dependencies may make `git add -i` work: it did not with git-core 1.6.6-1maemo1.

There might still be something wrong regarding dependencies though: why does 1.7.9.5-1-maemo2 have to depend on less and nano?
The above previous version worked fine with any $EDITOR and $PAGER (e.g. with more and vi from stock busybox), so maybe these dependencies are superfluous.

Also it looks like git-svn is still missing some dependencies (libsvn-perl | libsvn-core-perl), any plan to also package them?

Enough complaining, trying the new version now!

Cheers and keep up the good work, it is appreciated!
Guillaume
 

The Following 4 Users Say Thank You to guillaumed For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 19:05.