Author Topic: [tested] installation testing nano  (Read 868 times)

Offline ghostbunny

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1171
[tested] installation testing nano
« on: February 12, 2012, 05:06:12 PM »
hi guys,

i tryed to build an update for nano (console text editor).

building works greate but on install i gut the message for duplicated packages so i uninstalled and added an

Code: [Select]
Obsoletes %name < %version

in the specfile and rebuild the rpmdb to get the # in the rpm name away but it does not work.

Tryed to install via

Code: [Select]
rpm -Uvh nano...rpm

could someone test this here is the link for the package (32bit):
for the 64bit guys the srpm:

thanks in advance

ghostbunny

Edit: Links removed, send package to dropbox
« Last Edit: February 14, 2012, 06:06:01 AM by ghostbunny »
The full life is a big mess

PS:
I'm German. Sorry because of possible mistakes in my written messages xD


Offline KernelKarter

  • PCLinuxOS Tester
  • Sr. Member
  • *******
  • Posts: 270
Re: installation testing nano
« Reply #1 on: February 13, 2012, 04:41:48 AM »
I grabbed a copy of your SRPM and the package builds without problems on my 32-bit MiniMe build system. I then installed the rpm package on my 32-bit MiniMe test system with rpm -Uvh <name_of_package> without any problems whatsoever and nano runs just fine. Here's the output of nano -V:

Code: [Select]
[kernelkarter@localhost ~]$ nano -V
 GNU nano version 2.2.6 (compiled 11:11:19, Feb 13 2012)
 (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
 2008, 2009 Free Software Foundation, Inc.
 Email: nano@nano-editor.org    Web: http://www.nano-editor.org/
 Compiled options: --enable-color --enable-extra --enable-multibuffer --enable-nanorc --enable-utf8
[kernelkarter@localhost ~]$

-- Eddie
pclinuxos-kde-2013.04 | kernel-3.2.18-pclos2.pae.bfs
- AMD Athlon 64 X2 5000+ CPU
- 4Gb RAM | nVidia 8500GT GPU

Offline ghostbunny

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1171
Re: installation testing nano
« Reply #2 on: February 13, 2012, 05:58:25 AM »
Thanks KernelKarter for testing, so i'll put the srpm in the dropbox.

think i messed something up with my synaptic/rpm database.

Hope after update from reposerver i got the normal thing back :D

greets
ghostbunny
The full life is a big mess

PS:
I'm German. Sorry because of possible mistakes in my written messages xD


Offline KernelKarter

  • PCLinuxOS Tester
  • Sr. Member
  • *******
  • Posts: 270
Re: installation testing nano
« Reply #3 on: February 14, 2012, 05:51:24 AM »
Just letting you know that it builds, installs and runs perfectly on my 64-bit test rig  ;D

-- Eddie
pclinuxos-kde-2013.04 | kernel-3.2.18-pclos2.pae.bfs
- AMD Athlon 64 X2 5000+ CPU
- 4Gb RAM | nVidia 8500GT GPU

Offline ghostbunny

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1171
Re: installation testing nano
« Reply #4 on: February 14, 2012, 06:04:19 AM »
nice to hear that the %{_lib} makro works ;D

The full life is a big mess

PS:
I'm German. Sorry because of possible mistakes in my written messages xD


Offline KernelKarter

  • PCLinuxOS Tester
  • Sr. Member
  • *******
  • Posts: 270
Re: [tested] installation testing nano
« Reply #5 on: February 14, 2012, 06:32:15 AM »
I don't see that macro in your SPEC file anywhere but nevertheless, the 64-bit deps were installed:

---------- Snippet from ".removes" file ----------
Reading Package Lists...
Building Dependency Tree...
Selecting lib64ncursesw-devel for 'ncursesw-devel'
The following NEW packages will be installed:
   lib64ncursesw-devel (5.9-2pclos2011)
0 upgraded, 1 newly installed, 0 removed and 0 not upgraded.
Need to get 273kB of archives.
After unpacking 1525kB of additional disk space will be used.
Get:1 http://ftp.heanet.ie pclinuxos/2011/x86_64 lib64ncursesw-devel 5.9-2pclos2011 [273kB]
Fetched 273kB in 0s (516kB/s)
Committing changes...
---------- End snippet ----------

Interesting  ;)

-- Eddie
pclinuxos-kde-2013.04 | kernel-3.2.18-pclos2.pae.bfs
- AMD Athlon 64 X2 5000+ CPU
- 4Gb RAM | nVidia 8500GT GPU

Offline Hootiegibbon

  • Hero Member
  • *****
  • Posts: 4151
Re: [tested] installation testing nano
« Reply #6 on: February 15, 2012, 04:26:00 PM »

Ok so its in the repo, I guess its time an issue showed up....

Nano as it is atm (if used in a smaller terminal) will break up long lines of text and save them as separate lines rendering config files useless if saved

This is actually an old behaviour that was fixed via the method explained HERE

Jase




I am Hootiegibbon, undisputed champion fo the typo

My .dotfiles

Offline ghostbunny

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1171
Re: [tested] installation testing nano
« Reply #7 on: February 15, 2012, 04:56:47 PM »
that is strange, softwrap is via patch activated.

could you check /etc/nanorc if this happens? on my system it is active and yes it does not wok if i use the space key on the end of the line i get a new line

i will look at this tomorrow

greets
ghostbunny
The full life is a big mess

PS:
I'm German. Sorry because of possible mistakes in my written messages xD


Offline Hootiegibbon

  • Hero Member
  • *****
  • Posts: 4151
Re: [tested] installation testing nano
« Reply #8 on: February 15, 2012, 05:09:28 PM »
that is strange, softwrap is via patch activated.

could you check /etc/nanorc if this happens? on my system it is active and yes it does not wok if i use the space key on the end of the line i get a new line

i will look at this tomorrow

greets
ghostbunny

I have applied teh fix here already , but will check out another install when I refire up one of the other laptops

Jase


I am Hootiegibbon, undisputed champion fo the typo

My .dotfiles

Offline ghostbunny

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1171
Re: [tested] installation testing nano
« Reply #9 on: February 16, 2012, 12:16:47 AM »
hi hooti,

i checked everything again, the configuration of compiling and rpm setup should right for softwrap i have no idea why nano break the line i you press the space bar on the line end.

there is no problem when i switch to nowrap

how did you fix it on your maschine soft- or nowrap?
The full life is a big mess

PS:
I'm German. Sorry because of possible mistakes in my written messages xD


Offline Hootiegibbon

  • Hero Member
  • *****
  • Posts: 4151
Re: [tested] installation testing nano
« Reply #10 on: February 16, 2012, 02:38:38 PM »
hi hooti,

i checked everything again, the configuration of compiling and rpm setup should right for softwrap i have no idea why nano break the line i you press the space bar on the line end.

there is no problem when i switch to nowrap

how did you fix it on your maschine soft- or nowrap?

I used the soft-wrap line in teh link and its usable again, its odd as it seems to have been a one off while using metacity wm as a standalone, (I usually use ratpoison in a full screen mode for editing purposes )

So all is ok again, if it happens again I will post back with more detail.

Jase


I am Hootiegibbon, undisputed champion fo the typo

My .dotfiles