Active Topics

 



Notices


Reply
Thread Tools
Community Council | Posts: 683 | Thanked: 1,227 times | Joined on Sep 2010 @ Mbabane
#1
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
 

The Following 14 Users Say Thank You to sicelo For This Useful Post:
Posts: 2,225 | Thanked: 3,822 times | Joined on Jun 2010 @ Florida
#2
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]
 

The Following 2 Users Say Thank You to Mentalist Traceur For This Useful Post:
Posts: 432 | Thanked: 917 times | Joined on Jun 2011
#3
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.
 

The Following 2 Users Say Thank You to saponga For This Useful Post:
Community Council | Posts: 683 | Thanked: 1,227 times | Joined on Sep 2010 @ Mbabane
#4
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
 

The Following 2 Users Say Thank You to sicelo For This Useful Post:
totalizator's Avatar
Posts: 47 | Thanked: 118 times | Joined on Jan 2009 @ Krakow, POLAND
#5
Let me quote myself (how to make Irssi on N900 better): http://talk.maemo.org/showpost.php?p...06&postcount=1

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:

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

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
 

The Following 4 Users Say Thank You to totalizator For This Useful Post:
Posts: 445 | Thanked: 367 times | Joined on Nov 2010 @ Italy
#6
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
 
Community Council | Posts: 683 | Thanked: 1,227 times | Joined on Sep 2010 @ Mbabane
#7
i intended to attempt build of 0.8.20 actually ... i suppose it would work fine on N900. will try do it soonest
 

The Following User Says Thank You to sicelo For This Useful Post:
Community Council | Posts: 683 | Thanked: 1,227 times | Joined on Sep 2010 @ Mbabane
#8
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 . . .
 

The Following 6 Users Say Thank You to sicelo For This Useful Post:
Community Council | Posts: 683 | Thanked: 1,227 times | Joined on Sep 2010 @ Mbabane
#9
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
 

The Following 3 Users Say Thank You to sicelo For This Useful Post:
Halftux's Avatar
Posts: 868 | Thanked: 2,516 times | Joined on Feb 2012 @ Germany
#10
@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, 142 views)

Last edited by Halftux; 2017-06-30 at 16:08.
 

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


 
Forum Jump


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