maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   diffmo!!! (https://talk.maemo.org/showthread.php?t=37602)

jebba 2009-12-18 00:32

diffmo!!!
 
Are you like me and long for the days with a functioning `diff` on your N900? Do you type in `diff` in the Maemo terminal over & over out of habit forgetting about bug #3032? Would you be satisfied with even busybox diff and don't even demand GNU diff?

Well, I have a solution for you, and it's FREE! The newly packaged:

diffmo!

It is diff, diff3, sdiff, and cmp renamed to diffmo, diff3mo, sdiffmo, and cmpmo for all your diffing needs. And it's based on the legendary GNU `diff` used by such super hackers as Linus Torvalds, Alan Cox, Richard Stallman, and many more. What are you waiting for?

Now available in extras-devel.

Have fun,

-Jeff, who misses the <blink> tag

http://wiki.maemo.org/User:Jebba

https://bugs.maemo.org/show_bug.cgi?id=3032

http://maemo.org/packages/view/diffmo/

j.s 2009-12-27 05:26

Re: diffmo!!!
 
Quote:

Originally Posted by jebba (Post 432736)
What are you waiting for?

Would you consider putting some icing on your cake by adding some /etc/alternatives magic to your package?

jebba 2009-12-27 22:36

Re: diffmo!!!
 
Quote:

Originally Posted by j.s (Post 442706)
Would you consider putting some icing on your cake by adding some /etc/alternatives magic to your package?

What exactly are you thinking? Like /etc/alternatives/diff points to /opt/maemo/usr/bin/diffmo (or /usr/bin/diffmo)?

I have also made a "colordiffmo" package which is colordiff using diffmo. :) I think it made it through the builder, but I haven't checked yet.

I may do a coreutils package this week, prefacing all the binaries with "g", which I heard is a convention somewherez.

Thanks for the suggestion,

-Jeff

jebba 2009-12-27 22:39

Re: diffmo!!!
 
You can add some details in the bug report I opened if you want. If you don't have an account or don't want to bother or whatever, here in talk is fine too.

https://bugs.maemo.org/show_bug.cgi?id=7392

-Jeff

j.s 2009-12-27 23:03

Re: diffmo!!!
 
Quote:

Originally Posted by jebba (Post 443310)
What exactly are you thinking? Like /etc/alternatives/diff points to /opt/maemo/usr/bin/diffmo (or /usr/bin/diffmo)?

The former.

After I left my request, I extracted your deb on my laptop. I decided to copy your binaries to /opt/local/bin, put links in /usr/local/bin, and put /usr/local/bin at the front of my path. So I'm good even if the conflicts with busybox get resolved.

It seems to me the g prefix is the way to go and that /etc/alternatives allow the traditional names to be used for improvements over official versions.
Quote:

Originally Posted by jebba (Post 443310)
I have also made a "colordiffmo" package which is colordiff using diffmo. :) I think it made it through the builder, but I haven't checked yet.

I may do a coreutils package this week, prefacing all the binaries with "g", which I heard is a convention somewherez.

Well, having a diff where vim can find it allows very fancy color diffing, which was among the reasons I have been looking for an n900 diff.

Thanks for making the diff suite available for maemo 5.


All times are GMT. The time now is 22:54.

vBulletin® Version 3.8.8