maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] GNU Emacs 24 for N900 (https://talk.maemo.org/showthread.php?t=88135)

xes 2012-12-07 09:15

Re: [Announce] GNU Emacs 24 for N900
 
..Warning.... the package contains bin/emacs and bin/emacs24 both big binary files of the same size. I suppose that one of them should be a link to other one...

mtvoid 2012-12-07 09:29

Re: [Announce] GNU Emacs 24 for N900
 
Quote:

Originally Posted by xes (Post 1302156)
..Warning.... the package contains bin/emacs and bin/emacs24 both big binary files of the same size. I suppose that one of them should be a link to other one...

They are hard-linked, as seen in this extract from dpkg-deb -c emacs24_24.2-1_armel.deb:

Code:

hrwxr-xr-x root/root        0 2012-11-16 02:38 ./opt/emacs24/bin/emacs link to ./opt/emacs24/bin/emacs-24.2

xes 2012-12-07 09:37

Re: [Announce] GNU Emacs 24 for N900
 
Quote:

Originally Posted by mtvoid (Post 1302160)
They are hard-linked, as seen in this extract from dpkg-deb -c emacs24_24.2-1_armel.deb:

Code:

hrwxr-xr-x root/root        0 2012-11-16 02:38 ./opt/emacs24/bin/emacs link to ./opt/emacs24/bin/emacs-24.2

thanks!... emacs uses too much space and i was trying to verify if there is something to delete..

syake 2012-12-08 15:34

Re: [Announce] GNU Emacs 24 for N900
 
hello and nice port mtvoid.

How did you create your .deb files in scratch box?

I always create my n900 port using "dh_make & dpkg-buildpackage" commands and
editing "debian/control debian/rules /debian/dirs".

Its tired to do so on each compiles,I want to put symlinks like you did.

could you give me any advice?

mtvoid 2012-12-09 15:37

Re: [Announce] GNU Emacs 24 for N900
 
Quote:

Originally Posted by syake (Post 1302527)
hello and nice port mtvoid.

How did you create your .deb files in scratch box?

I always create my n900 port using "dh_make & dpkg-buildpackage" commands and
editing "debian/control debian/rules /debian/dirs".

Its tired to do so on each compiles,I want to put symlinks like you did.

could you give me any advice?

Sure. I made it the same way you do, using "dh_make -a" to prepare the debian subdirectory, then creating and editing some files within that, and using dpkg-buildpackage to generate the binaries. In debian/rules, I configure emacs with --prefix=/opt/emacs24 to optify the installation path. Additional files of my own to be installed, like the emacs.desktop file, and local customizations, are listed in debian/emacs24.install, and symlinks to be generated are listed in debian/emacs24.links. You can download the source tar.gz from the package page, and look at the contents of the debian subdir to see how I did it.

syake 2012-12-10 10:34

Re: [Announce] GNU Emacs 24 for N900
 
Quote:

Originally Posted by mtvoid (Post 1302832)
Sure. I made it the same way you do, using "dh_make -a" to prepare the debian subdirectory, then creating and editing some files within that, and using dpkg-buildpackage to generate the binaries. In debian/rules, I configure emacs with --prefix=/opt/emacs24 to optify the installation path. Additional files of my own to be installed, like the emacs.desktop file, and local customizations, are listed in debian/emacs24.install, and symlinks to be generated are listed in debian/emacs24.links. You can download the source tar.gz from the package page, and look at the contents of the debian subdir to see how I did it.

After dh_make on my directory,I couldn't have *.links and *.install in my subdirs.
but, i could find "debian/postinst"...smell of success:rolleyes:

Thank you for your big help. :)

www.rzr.online.fr 2012-12-15 09:39

Re: [Announce] GNU Emacs 24 for N900
 
I rebuilt it to n950 and it is working

May I suggest to repack it using debian orig tarball , are you using gitorious ? I can push my fixes ?

--
http://rzr.online.fr/q/emacs# #EmacS 24 ported to #MeeGo #HarmattanDev for !n950Club , works in #terminal ( --no-w) but #GtK #Ui is crashing

evujumenuk 2012-12-15 10:16

Re: [Announce] GNU Emacs 24 for N900
 
rzr, recently I'd seen Emacs pop up in MeeCatalog, but didn't confirm it was from the community repo. Was it? Why is it gone now? It was there for, like, a day or less.

www.rzr.online.fr 2012-12-15 11:28

Re: [Announce] GNU Emacs 24 for N900
 
I guess this was mine, I did that last week but did not announce it ..

pick my changes :

https://gitorious.org/downstream/emacs/graph/harmattan


Regards

t-b 2013-08-30 19:10

Re: [Announce] GNU Emacs 24 for N900
 
Quote:

Originally Posted by mtvoid (Post 1301646)
[LIST]
If you are using the default hardware keyboard layout, then it is highly recommended that you remap the keys to allow you to use Emacs effectively (you'll need to add the Esc key to the layout at least, which can then be used as the Meta modifier). Guide to remapping keyboard

I have a problem with assigning the esc. button as meta key. Can someone who already managed to do that share the method?
Tried remapping the keys but the ESC key doesn't seem to respond. here

This adjustment in rx-51 file doesn't seem to work.

key <RTRN> { [ KP_Enter, KP_Enter, Escape, Menu ] };

I hope there is someone in this community capable and willing to share the knowledge.


All times are GMT. The time now is 10:37.

vBulletin® Version 3.8.8