https://github.com/shawnlaffan/perl-alien-gtkstack-windows
Alien package for Gtk2 dynamic libs, Windows only
https://github.com/shawnlaffan/perl-alien-gtkstack-windows
Last synced: 4 months ago
JSON representation
Alien package for Gtk2 dynamic libs, Windows only
- Host: GitHub
- URL: https://github.com/shawnlaffan/perl-alien-gtkstack-windows
- Owner: shawnlaffan
- Created: 2023-09-29T05:38:55.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-12T09:17:01.000Z (almost 2 years ago)
- Last Synced: 2025-01-13T20:30:16.822Z (6 months ago)
- Language: Perl
- Size: 7.81 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: Changes
Awesome Lists containing this project
README
# Alien-GtkStack-Windows
Perl Alien package to provide dynamic libs for Gtk on WindowsUse it before you call any Gtk2 related perl libs and it will be added to the path
if you are using Strawberry Perl. If you are not on Windows then it does nothing.
Gtk2 etc can be installed using PPMs - see below.```perl5
use strict;
use warnings;
use Alien::GtkStack::Windows;
use Gtk2;
```or:
```
perl -MAlien::GtkStack::Windows -E"use Gtk2"
```or:
```cmd
set PERL5OPT=-MAlien::GtkStack::Windows
perl -E "use Gtk2"
```Acknowledgements: sisyphus for working out the build process
The set of provided files is derived from this perlmonks thread: https://www.perlmonks.org/?node_id=11153992
The libs and DLLs are from MSYS2 except libgnomecanvas2.dll which is locally patched before compilation.
There are also PPM files available for Strawberry Perl 5.38 so you could install the stack using:
```cmd
cpanm https://github.com/shawnlaffan/perl-alien-gtkstack-windows.git
ppm set repository biodiverse https://github.com/shawnlaffan/perl-alien-gtkstack-windows/releases/download/first_upload/
ppm install Cairo
ppm install Cairo-GObject
ppm install Glib
ppm install Gnome2-Canvas
ppm install Gtk2
ppm install Pango
```