Trac is being migrated to new services! Issues can be found in our new
YouTrack instance and WIKI pages can be found on our
website.
- Timestamp:
-
May 28, 2018, 12:01:34 AM (6 years ago)
- Author:
-
Maiku
- Comment:
-
Add instructions for building in MSYS2
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v13
|
v14
|
|
80 | 80 | set GIO_USE_TLS=gnutls-pkcs11 |
81 | 81 | }}} |
| 82 | |
| 83 | == Compiling directly on Windows with MSYS2 (the also easy way) == |
| 84 | |
| 85 | Download MSYS2 from https://www.msys2.org/. Pick whichever download is appropriate for your platform. Follow the install instructions on that page. If it asks about removing `libcatgets`, respond with `y`. |
| 86 | |
| 87 | Install `mingw-w64-i686-toolchain`, or `mingw-w64-x86_64-toolchain` for building 64-bit Pidgin: |
| 88 | {{{ |
| 89 | pacman -S mingw-w64-i686-toolchain |
| 90 | }}} |
| 91 | |
| 92 | Fetch the PKGBUILD file: |
| 93 | {{{ |
| 94 | wget -q 'https://bitbucket.org/!api/2.0/snippets/CMaiku/Ae7oAA/files/PKGBUILD' |
| 95 | }}} |
| 96 | |
| 97 | Build the package. Use `MINGW_INSTALLS=mingw64` for 64-bit, or omit the environment variable to build both. You'll need both toolchains above to build both: |
| 98 | {{{ |
| 99 | MINGW_INSTALLS=mingw32 makepkg-mingw -sCLf |
| 100 | }}} |
| 101 | |
| 102 | Follow the prompts. Respond with `y` for installing dependencies. |
| 103 | |
| 104 | Install the newly built Pidgin package: |
| 105 | {{{ |
| 106 | pacman -U mingw-w64-i686-pidgin-hg-*.pkg.tar.xz |
| 107 | }}} |
| 108 | |
| 109 | Run Pidgin with either `pidgin` in the MSYS2 shell, or find it in the MSYS2 install directory under `mingw32/bin/pidgin.exe`, or `mingw64/bin/pidgin.exe` for 64-bit, outside of MSYS2. |
| 110 | |
| 111 | Note: You can add the `--noconfirm` flag to the `pacman` and `makepkg-mingw` commands to skip prompting for installing dependencies etc. |
| 112 | |
| 113 | Warning: As of this writing, the 64-bit build doesn't display text in chat windows and therefore isn't very useful. It's best to stick with 32-bit builds until that's resolved. |
82 | 114 | |
83 | 115 | == Compiling directly on Windows with Cygwin (the hard way) == |
All information, including names and email addresses, entered onto this website or sent to mailing lists affiliated with this website will be public. Do not post confidential information, especially passwords!