Go Back   maemo.org - Talk > Software > Applications
 
Register FAQ Community Calendar Today's Posts Search

Notices

Reply
 
Thread Tools
  #1  
Old 2014-10-15, 19:14
sicelo sicelo is offline
Community Council
 
Join Date: Sep 2010
Location: Mbabane
Posts: 674
Thanks!: 1,505
Thanked 1,226 Times in 441 Posts
Smile [Announce] Irssi 0.8.21 for N900, with perl script support

After a lot of false starts, I have finally been able to compile the latest irssi 0.8.17 for Nokia N900, and perl scripts are supported

I'm new to building software, and packaging, so it is possible that my deb is not properly 'formatted.'

Once I know how to, I will start using the repositories.

Hope this package helps

Having struggled for a long time with perl issues while building, I would like to give credit and thanks to villager and Shapeshifter, whose conversation led me to the answer.



UPDATE - 2017-04-24 - built 0.8.21. Unfortunately building any 1.x is not easy (at least for me) as it needs newer libglib than we have on Maemo.

I have requested maintainer permissions for irssi. If that works out, then I'll update via extras, although it is very possible that a perl-supporting irssi might not actually build successfully on the autobuilder. Anyway, we'll see.

UPDATE - 2017-05-02Package is in Maemo Extras Testing now. Go ahead and vote after testing, http://maemo.org/packages/package_in...rssi/0.8.21-1/

Last edited by sicelo; 2017-05-02 at 18:59. Reason: 0.8.21
Reply With Quote
The Following 14 Users Say Thank You to sicelo For This Useful Post:
  #2  
Old 2014-10-16, 03:33
Mentalist Traceur Mentalist Traceur is offline
 
Join Date: Jun 2010
Location: Florida
Posts: 2,225
Thanks!: 5,582
Thanked 3,821 Times in 1,273 Posts
Default Re: [Announce] Irssi 0.8.17 for N900, with perl script support

YES. I had built 0.8.15 with perl support about 1.5 years or so ago for the N900, had been intending to get it properly packaged up for submission to the auto-builder for packaging into the repos, just hadn't gotten around to it.

I am very glad that you've done this now, because obviously unlike me you actually had the time and spare energy to bring it to the people.
__________________
If you want to donate in support of anything that I do, you can do so with either of these options:
PayPal | Bitcoin: 1J4XG2z97iFEKNZXThHdFHq6AeyWEHs8BJ | [Will add other donation options eventually]
Reply With Quote
The Following 2 Users Say Thank You to Mentalist Traceur For This Useful Post:
  #3  
Old 2015-04-01, 14:56
saponga saponga is offline
 
Join Date: Jun 2011
Posts: 432
Thanks!: 1,102
Thanked 917 Times in 281 Posts
Default Re: [Announce] Irssi 0.8.17 for N900, with perl script support

Quote:
Originally Posted by sicelo View Post
I'm new to building software, and packaging, so it is possible that my deb is not properly 'formatted.'
Please, how did you manage to install this .deb without libperl5.8 ? I'm facing dependencies problems and didn't find that lib. I know nothing about packaging but i've gave a blind shot trying editing control file in many ways, renaming folders, but no joy. I'm on CSSU-thumb and have even cssu-devel repositorie enabled.
Thank you.
Edit: *FACEPALM* The issue was that SDK repositories wasn't enabled.
Thanks again scielo

Last edited by saponga; 2015-04-01 at 18:37.
Reply With Quote
The Following 2 Users Say Thank You to saponga For This Useful Post:
  #4  
Old 2015-04-01, 15:02
sicelo sicelo is offline
Community Council
 
Join Date: Sep 2010
Location: Mbabane
Posts: 674
Thanks!: 1,505
Thanked 1,226 Times in 441 Posts
Default Re: [Announce] Irssi 0.8.17 for N900, with perl script support

No need to try without :-)

irssi does depend on Perl. Happily, libperl is available in the standard repos (even if you're on Thumb, which I also am on now). Here are the locations from which you can get it:

Code:
~$ apt-cache policy libperl5.8
libperl5.8:
  Installed: 5.8.3-3osso13+0m5
  Candidate: 5.8.3-3osso13+0m5
  Version table:
 *** 5.8.3-3osso13+0m5 0
        500 https://downloads.maemo.nokia.com ./ Packages
        500 http://repository.maemo.org fremantle/sdk/free Packages
        100 /var/lib/dpkg/status
     5.8.3-3osso11+0m5 0
        500 http://repository.maemo.org fremantle/sdk/free Packages
     5.8.3-3osso10 0
        500 http://repository.maemo.org fremantle/sdk/free Packages
Reply With Quote
The Following 2 Users Say Thank You to sicelo For This Useful Post:
  #5  
Old 2015-04-01, 19:05
totalizator's Avatar
totalizator totalizator is offline
 
Join Date: Jan 2009
Location: Krakow, POLAND
Posts: 47
Thanks!: 89
Thanked 118 Times in 23 Posts
Default Re: [Announce] Irssi 0.8.17 for N900, with perl script support

Let me quote myself (how to make Irssi on N900 better): http://talk.maemo.org/showpost.php?p...06&postcount=1

Quote:
To my surprise there is no lightweight / decent / comfortable IRC client for N900. Few days ago I have discovered sicelo posted his "Irssi 0.8.17 for N900, with perl script support" and this solved the problem for me. Here is how I'm using it. I thought that I would share my setup here (nothing special but you will have perfect IRC client in about 2-3 minutes of tweaking). [Separate highlight buffer is not covered here but I would add it too.]

The result is Irssi running fullscreen in native osso-xterm with bottom bar hidden (a lot more space!), nicks being colored and windows switching / scrolling using touch.



To hide xterm bottom bar in fullscreen:
Code:
gconftool-2 -s /apps/osso/xterm/toolbar -t bool "false"
[TIP #1: Invoking this command once makes the bottom bar always hidden when starting new xterm and going fullscreen; bool "true" to disable]

[TIP #2 When fullscreen press CTRL+Backspace to display task switcher / close window]

Scripts [~/.irssi/scrips/autoload/]:

- colorize nicks: http://scripts.irssi.org/scripts/nickcolor.pl

- windows switching / scrolling using touch: http://wouter.coekaerts.be/irssi/mouse

The mouse.pl uses mouse wheel to scroll by default so modify the script changing:

Quote:
settings_add_str("lookandfeel", "mouse" . $button . "_gesture_up", "/window last");
settings_add_str("lookandfeel", "mouse" . $button . "_gesture_down", "/window goto active");
to:

Quote:
settings_add_str("lookandfeel", "mouse" . $button . "_gesture_up", "/scrollback goto +10");
settings_add_str("lookandfeel", "mouse" . $button . "_gesture_down", "/scrollback goto -10");
This way Irssi looks extremely readable and swipe left / right changes to next / previous window and swipe up / down scrolls the buffer. PERFECT!
You can also try my Weechat 1.1.1 build for N900: http://talk.maemo.org/showthread.php?t=94752
Reply With Quote
The Following 4 Users Say Thank You to totalizator For This Useful Post:
  #6  
Old 2016-11-13, 07:48
gianko gianko is offline
 
Join Date: Nov 2010
Location: Italy
Posts: 445
Thanks!: 287
Thanked 367 Times in 190 Posts
Default Re: [Announce] Irssi 0.8.17 for N900, with perl script support

i installed irssi 0.8.17 and i want to connect via sasl to irc.
the irssi versions older than 0.8.18 must use a perl script to do this.
i dowloaded the cap_sasl.pl script and followed the guide
Code:
Older versions

These ver*sions need a sep*a*rate script in or*der to sup*port SASL: cap_sasl.pl. You can in*stall it from https://scripts.irssi.org:

mkdir -p ~/.irssi/scripts/autorun
wget https://scripts.irssi.org/scripts/cap_sasl.pl -O ~/.irssi/scripts/cap_sasl.pl
ln -sf ../cap_sasl.pl ~/.irssi/scripts/autorun/

Now load and con*fig*ure it in*side Irssi:

/script load cap_sasl
/server add -auto -net freenode -ssl -ssl_verify irc.freenode.net 6697
/sasl set freenode <login> <password> PLAIN
/sasl save
but irssi complain about the perl script, saying it has too many errors.

why? does somebody tried? or is it possible to have a 0.8.18 deb for maemo?
__________________
Flickr photos taken with N900 https://www.flickr.com/cameras/nokia/n900/
"Closed source software tells you what you can do. With open source, you decide what software can do for you" Richard Stallman
Reply With Quote
  #7  
Old 2016-11-13, 15:36
sicelo sicelo is offline
Community Council
 
Join Date: Sep 2010
Location: Mbabane
Posts: 674
Thanks!: 1,505
Thanked 1,226 Times in 441 Posts
Default Re: [Announce] Irssi 0.8.17 for N900, with perl script support

i intended to attempt build of 0.8.20 actually ... i suppose it would work fine on N900. will try do it soonest
Reply With Quote
The Following User Says Thank You to sicelo For This Useful Post:
  #8  
Old 2017-04-24, 20:19
sicelo sicelo is offline
Community Council
 
Join Date: Sep 2010
Location: Mbabane
Posts: 674
Thanks!: 1,505
Thanked 1,226 Times in 441 Posts
Default Re: [Announce] Irssi 0.8.17 for N900, with perl script support

sorry for taking so long.

anyway, 0.8.21 is now available. see first post
i also explain why i did not build 1.x instead . . .
Reply With Quote
The Following 6 Users Say Thank You to sicelo For This Useful Post:
  #9  
Old 2017-04-29, 18:31
sicelo sicelo is offline
Community Council
 
Join Date: Sep 2010
Location: Mbabane
Posts: 674
Thanks!: 1,505
Thanked 1,226 Times in 441 Posts
Default Re: [Announce] Irssi 0.8.17 for N900, with perl script support

Yay!
Thanks to merlin1991, i'm a maintainer for irssi now. sadly, getting a perl-enabled irssi into the repos is difficult, as i expected.
Details: on scratchbox, to build it, you have to do two things first (which are not easy for me to do on autobuilder):
Code:
(1) export SBOX_REDIRECT_IGNORE=/usr/bin/perl
(2) export PATH=/usr/bin:$PATH
But I have asked for help, and something will hopefully work out pretty soon. HalfTux also gave some suggestions that I will try.
And of course, anyone else welcome to chime in
Reply With Quote
The Following 3 Users Say Thank You to sicelo For This Useful Post:
  #10  
Old 2017-05-01, 15:41
Halftux's Avatar
Halftux Halftux is offline
 
Join Date: Feb 2012
Location: Germany
Posts: 852
Thanks!: 924
Thanked 2,500 Times in 727 Posts
Default Re: [Announce] Irssi 0.8.17 for N900, with perl script support

@sicelo I think I found a way to implement your export fix to the rules file. Maybe it works you need to try. For my scratchbox it compiles but not tested the binary so far.

You need to add to the beginning of configure line and make (build step) line the following:

Code:
SBOX_REDIRECT_IGNORE=/usr/bin/perl PATH=/usr/bin:$(PATH)
I will attach my rules file.

*EDIT: fixed the fixed rules file
Attached Files
File Type: txt rules_fixed2.txt (2.5 KB, 121 views)

Last edited by Halftux; 2017-06-30 at 16:08.
Reply With Quote
The Following 2 Users Say Thank You to Halftux For This Useful Post:
Reply

Tags
0.8.17, 0.8.21, fremantle, irssi, perl script


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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