maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [M5] [Announce] Irssi 0.8.17 for N900, with perl script support (https://talk.maemo.org/showthread.php?t=94016)

sicelo 2014-10-15 19:14

[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 :D

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/

Mentalist Traceur 2014-10-16 03:33

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. :)

saponga 2015-04-01 14:56

Re: [Announce] Irssi 0.8.17 for N900, with perl script support
 
Quote:

Originally Posted by sicelo (Post 1443068)
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 :)

sicelo 2015-04-01 15:02

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


totalizator 2015-04-01 19:05

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.

http://i.imgur.com/1tCqeeC.jpg

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

gianko 2016-11-13 07:48

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?

sicelo 2016-11-13 15:36

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

sicelo 2017-04-24 20:19

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 . . .

sicelo 2017-04-29 18:31

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 :)

Halftux 2017-05-01 15:41

Re: [Announce] Irssi 0.8.17 for N900, with perl script support
 
1 Attachment(s)
@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 :o


All times are GMT. The time now is 15:38.

vBulletin® Version 3.8.8