Compare commits
5 Commits
Author | SHA1 | Date | |
---|---|---|---|
4c25a2c347 | |||
|
4001468f01 | ||
|
d2b0a26d84 | ||
|
39fec0ef04 | ||
|
f4232d796e |
@ -1,6 +1,6 @@
|
|||||||
@echo off
|
@echo off
|
||||||
|
|
||||||
set VERSION=1.2.2
|
set VERSION=1.4.1
|
||||||
echo.
|
echo.
|
||||||
echo ####################################
|
echo ####################################
|
||||||
echo # Welcome to Irssi installer %VERSION% #
|
echo # Welcome to Irssi installer %VERSION% #
|
||||||
|
16
README.md
16
README.md
@ -1,15 +1,15 @@
|
|||||||
Irssi builds for Windows (on Cygwin without perl).
|
Irssi builds for Windows (on Cygwin without perl).
|
||||||
==================================================
|
==================================================
|
||||||
|
|
||||||
### Irssi 1.2.2 builds:
|
### Irssi 1.4.1 builds:
|
||||||
|
|
||||||
* **Windows downloads:**
|
* **Windows downloads:**
|
||||||
* [irssi-1.2.2-win-32bit-build1.7z](https://github.com/q3aql/irssi-win-builds/releases/download/v1.2.2/irssi-1.2.2-win-32bit-build1.7z)
|
* [irssi-1.4.1-win-32bit-build1.7z](https://drive.proton.me/urls/534GDJXKDW#pqY8UqL3D558)
|
||||||
* [irssi-1.2.2-win-64bit-build1.7z](https://github.com/q3aql/irssi-win-builds/releases/download/v1.2.2/irssi-1.2.2-win-64bit-build1.7z)
|
* [irssi-1.4.1-win-64bit-build1.7z](https://drive.proton.me/urls/534GDJXKDW#pqY8UqL3D558)
|
||||||
|
|
||||||
* **Source code:**
|
* **Source code:**
|
||||||
* [irssi-1.2.2.tar.xz](https://github.com/q3aql/irssi-win-builds/releases/download/v1.2.2/irssi-1.2.2.tar.xz)
|
* [irssi-1.4.1.tar.xz](https://drive.proton.me/urls/534GDJXKDW#pqY8UqL3D558)
|
||||||
* [irssi-1.2.2.tar.gz](https://github.com/q3aql/irssi-win-builds/releases/download/v1.2.2/irssi-1.2.2.tar.gz)
|
* [irssi-1.4.1.tar.gz](https://drive.proton.me/urls/534GDJXKDW#pqY8UqL3D558)
|
||||||
|
|
||||||
### How to use:
|
### How to use:
|
||||||
|
|
||||||
@ -39,12 +39,12 @@ Irssi builds for Windows (on Cygwin without perl).
|
|||||||
* Libs/openssl-devel
|
* Libs/openssl-devel
|
||||||
````
|
````
|
||||||
|
|
||||||
* Download [irssi-1.2.2.tar.gz](https://github.com/q3aql/irssi-win-builds/releases/download/v1.2.2/irssi-1.2.2.tar.gz) and save it to `C:\Cygwin\home\<User>\`.
|
* Download [irssi-1.4.1.tar.gz](https://drive.proton.me/urls/534GDJXKDW#pqY8UqL3D558) and save it to `C:\Cygwin\home\<User>\`.
|
||||||
* Open a Cygwin terminal, and run the following commands:
|
* Open a Cygwin terminal, and run the following commands:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ tar zxvf irssi-1.2.2.tar.gz
|
$ tar zxvf irssi-1.4.1.tar.gz
|
||||||
$ cd irssi-1.2.2
|
$ cd irssi-1.4.1
|
||||||
$ ./configure --with-proxy --with-bot --with-perl=no --prefix=/usr --enable-true-color
|
$ ./configure --with-proxy --with-bot --with-perl=no --prefix=/usr --enable-true-color
|
||||||
$ make
|
$ make
|
||||||
$ make install
|
$ make install
|
||||||
|
@ -1,19 +1,30 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
cp -rfv /usr/bin/irssi.exe ${HOME}/Irssi/bin/
|
# Copy necessary binaries for Cygwin/Windows version
|
||||||
cp -rfv /usr/bin/botti.exe ${HOME}/Irssi/bin/
|
# After, you must copy all files to /bin directory
|
||||||
cp -rfv /usr/bin/mintty.exe ${HOME}/Irssi/bin/
|
mkdir -p ${HOME}/Irssi/bin/
|
||||||
cp -rfv /usr/bin/cygwin-console-helper.exe ${HOME}/Irssi/bin/
|
cd /usr/bin
|
||||||
cp -rfv /usr/bin/cygz.dll ${HOME}/Irssi/bin/
|
|
||||||
|
# All executables
|
||||||
|
list_binary="bash irssi botti mintty cygwin-console-helper"
|
||||||
|
|
||||||
|
echo "* Copying script bashbug"
|
||||||
|
cp -rfv /usr/bin/bashbug ${HOME}/Irssi/bin/
|
||||||
|
for binary in ${list_binary} ; do
|
||||||
|
echo "* Copying binary ${binary}"
|
||||||
|
cp -rfv /usr/bin/${binary}.exe ${HOME}/Irssi/bin/
|
||||||
|
echo "* Searching dependencies for ${binary}"
|
||||||
|
ldd /usr/bin/${binary}.exe | grep "/bin/" | cut -d ">" -f 2 | cut -d "(" -f 1 | tr -s " " > /tmp/deps.txt
|
||||||
|
file_size=$(cat /tmp/deps.txt | wc -l)
|
||||||
|
file_scan=1
|
||||||
|
echo "* Copying dependencies for ${binary}"
|
||||||
|
while [ ${file_scan} -le ${file_size} ] ; do
|
||||||
|
library=$(cat /tmp/deps.txt | head -${file_scan} | tail -1)
|
||||||
|
cp -rfv ${library} ${HOME}/Irssi/bin/
|
||||||
|
file_scan=$(expr ${file_scan} + 1)
|
||||||
|
done
|
||||||
|
done
|
||||||
|
strip --strip-all ${HOME}/Irssi/bin/*
|
||||||
|
cp -rfv /usr/bin/cyggcc_s-*.dll ${HOME}/Irssi/bin/
|
||||||
cp -rfv /usr/bin/cygwin1.dll ${HOME}/Irssi/bin/
|
cp -rfv /usr/bin/cygwin1.dll ${HOME}/Irssi/bin/
|
||||||
cp -rfv /usr/bin/cyggmodule-2.0-0.dll ${HOME}/Irssi/bin/
|
cp -rfv /usr/bin/cygz.dll ${HOME}/Irssi/bin/
|
||||||
cp -rfv /usr/bin/cygcrypto-1.1.dll ${HOME}/Irssi/bin/
|
|
||||||
cp -rfv /usr/bin/cygncursesw-10.dll ${HOME}/Irssi/bin/
|
|
||||||
cp -rfv /usr/bin/cygglib-2.0-0.dll ${HOME}/Irssi/bin/
|
|
||||||
cp -rfv /usr/bin/cygssl-1.1.dll ${HOME}/Irssi/bin/
|
|
||||||
cp -rfv /usr/bin/cyggcc_s-1.dll ${HOME}/Irssi/bin/
|
|
||||||
cp -rfv /usr/bin/cygiconv-2.dll ${HOME}/Irssi/bin/
|
|
||||||
cp -rfv /usr/bin/cygintl-8.dll ${HOME}/Irssi/bin/
|
|
||||||
cp -rfv /usr/bin/cygpcre-1.dll ${HOME}/Irssi/bin/
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user