[Pidgin] BuildingWinPidgin/3.0.0 modified

Pidgin trac at pidgin.im
Sun May 27 20:02:25 EDT 2018


Page "BuildingWinPidgin/3.0.0" was changed by Maiku
Diff URL: <https://developer.pidgin.im/wiki/BuildingWinPidgin/3.0.0?action=diff&version=14>
Revision 14
Comment: Add instructions for building in MSYS2
Changes:
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: BuildingWinPidgin/3.0.0
=========================================================================
--- BuildingWinPidgin/3.0.0 (version: 13)
+++ BuildingWinPidgin/3.0.0 (version: 14)
@@ -79,6 +79,38 @@
 {{{
 set GIO_USE_TLS=gnutls-pkcs11
 }}}
+
+== Compiling directly on Windows with MSYS2 (the also easy way) ==
+
+  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`.
+
+  Install `mingw-w64-i686-toolchain`, or `mingw-w64-x86_64-toolchain` for building 64-bit Pidgin:
+{{{
+pacman -S mingw-w64-i686-toolchain
+}}}
+
+  Fetch the PKGBUILD file:
+{{{
+wget -q 'https://bitbucket.org/!api/2.0/snippets/CMaiku/Ae7oAA/files/PKGBUILD'
+}}}
+
+  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:
+{{{
+MINGW_INSTALLS=mingw32 makepkg-mingw -sCLf
+}}}
+
+  Follow the prompts. Respond with `y` for installing dependencies.
+
+  Install the newly built Pidgin package:
+{{{
+pacman -U mingw-w64-i686-pidgin-hg-*.pkg.tar.xz
+}}}
+
+  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.
+
+  Note: You can add the `--noconfirm` flag to the `pacman` and `makepkg-mingw` commands to skip prompting for installing dependencies etc.
+
+  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.
 
 == Compiling directly on Windows with Cygwin (the hard way) ==
 
-------8<------8<------8<------8<------8<------8<------8<------8<--------

--
Page URL: <https://developer.pidgin.im/wiki/BuildingWinPidgin/3.0.0>
Pidgin <https://pidgin.im>
Pidgin

This is an automated message. Someone added your email address to be
notified of changes on 'BuildingWinPidgin/3.0.0' page.
If it was not you, please report to datallah at pidgin.im.


More information about the Wikiedit mailing list