Commit Graph

17 Commits

Author SHA1 Message Date
Niklas Holm
6d55c8eb80 Update perl to v5.28.0 (#4044)
* mingw-w64-perl: update to v5.28.0

* mingw-w64-perl: Add build options

- USE_64_BIT_INT: 64-bit integers in 32-bit build
- USE_MINGW_ANSI_STDIO: Enable MINGW's ANSI stdio extensions

Inspired by Strawberry Perl's build.

* mingw-w64-perl: Packaging improvements

- New script to update provides array (updpkgprovs)
  * updpkgprovs takes information from corelist
  * patchprov produced lowercase package names witch doesn't match the
    module naming convention
  * patchprov missed a lot of packages which modules declares dependency
    on
- Move pods to doc package (pods are documentation read by perldoc)
- Keep relocation list in install script instead of seperate file
- Make minor improvements to profile script (fewer subshells => faster)
- Various minor improvements
2018-07-05 13:32:26 +03:00
Niklas Holm
ebdf1bf1b3 Update perl to v5.26.1 (#3498)
* mingw-w64-perl: Fix packaging failure

Fixes issue #3397

If $pkgbase is set, $pkgdir gets defaulted to $pkgdirbase/$pkgbase
rather than $pkgdirbase/$pkgname during build(). Not a really bug in
makepkg because $pkgdir is only officially supported in package()
according to the manpage.

* mingw-w64-perl: Rewrite recipe

- Don't duplicate patch list.
- Remove rsync call; it adds a build dependency and unnecessarily copies
  data that is soon purged anyway. If one wants to keep a local copy and
  build with --noextract, use a local development tree instead.
- Add SRCURI variable to recipe in case one wants to override the source
  from which to build, for example a local development tree.
- Keep old builds until explicitly removed (i.e. with the -C flag).
- Use grep and xargs to find and replace all path-patterns rather than
  using many individual invocations and hardcoded paths (less
  maintenance). Also saves a list of the modified files for the install
  script to pick up.
- Add check() to run "make test".
- Delete unnecessary files before packaging.
- Add profile.d entry to build a PATH that doesn't interfere with MSYS's
  default perl installation based on built configuration.
- Install site and vendor dirs based on built configuration.

* mingw-w64-perl: Update to v5.26.1

- Rebased patches onto vanilla perl v5.26.1 source tree
- Enable parallel build and tests

* mingw-w64-perl: Fix runperl

Exclude runperl from 003-replace-batch-scripts-with-bare-perl.patch,
as it's only useful if converted to a .bat file (RTFM) (issue #3167).

* mingw-w64-perl: Switch to GNU make

Reasons:
- dmake is no longer maintained and not even recommended by the author.
- GNU make is faster.
- One less test failure.

Changes:
- Add changes to GNUmakefile to patchset.
- Set mingw32-make as default make instead of dmake.

* mingw-w64-perl: Unify relocation

- Keep relocation code in one place and avoid hardcoded paths.
- Don't replace ':' with '|', see
  https://tools.ietf.org/html/rfc8089#appendix-E.2.2

* mingw-w64-perl: Rename cpan home

Rename cpan home dir (~/.cpan) to .cpan-w32/w64 to avoid clash with
msys2 perl installation.

To avoid multiple patches, replace the directory name at build() with a
suitable value depending on CARCH.

* mingw-w64-perl: Add provides packaging data

* mingw-w64-perl: Seperate core/site/vendor dirs

- Put core, site, and vendor scripts and modules as well as site and
  vendor binaries in seperate directories. Core binaries still goes in
  $prefix/bin.
- Remove patch hunk that sets libpth to INST_LIB. Seems strange.
- Add the maintainer script which was written to configure the
  directories for binaries, scripts, libraries etc.

* mingw-w64-perl: Add manpages to package

The Windows makefile(s) by default only builds html documentation. With
this patch it builds manual pages as well.

* mingw-w64-perl: Package docs seperately

- Package manpages and html documentation seperately in perl-doc as they
  are quite large and many users may not want them.
- Generate the install scripts for each package from a template, as they
  are very similiar, instead of duplicating code.
2018-03-30 09:11:08 +03:00
Viktor Szakats
7f6257d62d switch to HTTPS where available (#2904)
* switch to HTTPS where available

* use canonical readthedocs URLs
2017-09-16 09:12:45 +03:00
Mario Emmenlauer
993dc50916 minor layout and coding style fixes for several PKGCONFIG files (#2208)
* mingw-w64-perl/PKGBUILD: use consistently _realname (removes an inconsistency mixing _name and _realname)

* mingw-w64-snappy/PKGBUILD: minor whitespace change: use curly brackets around MINGW_PACKAGE_PREFIX variable, like most PKGCONFIGs have

* fixed or simplified some depends, makedepends and provides in mingw-w64-LibRaw, mingw-w64-msmtp, mingw-w64-python-binwalk, mingw-w64-webkitgtk2 and mingw-w64-wxWidgets
2017-02-24 22:34:37 +03:00
Yusuke Sasaki
7c803d2668 add pkgbase entry 2016-03-07 00:33:13 +09:00
Viktor Szakats
e32a40cc92 switch to sha256 checksums
* upgrade some broken packages
* correct some broken urls/checksums
* use secure urls where possible
* update PKGBUILD templates
* remove line-ending whitespace
* minor typos/fixes

Remaining md5sums either didn't download or
didn't pass checksum tests.
2016-02-25 20:55:26 +01:00
Alexey Pavlov
ffbf152ddf perl: Fix building. 2015-07-22 15:29:32 +03:00
Alexey Pavlov
5ac0499457 Rebuild failures. 2015-07-21 01:14:21 +03:00
Alexpux
4e222f7ab9 perl: Update to 5.20.2 2015-02-27 10:39:51 +03:00
Renato Silva
f643c75a7c Add/fix licenses for more packages.
License files are now installed for the following packages:

    * atk
    * cairo
    * enchant
    * freetype
    * gdk-pixbuf2
    * gettext
    * glib2
    * gtk2
    * gtkspell
    * libiconv
    * libxml2
    * meanwhile
    * pango
    * perl
    * shared-mime-info

The following packages now specify license more explicitly:

    * cairo is LGPL2.1 or MPL1.1.
    * gettext is GPL3 with LGPL2.1 parts.
    * gtkspell and shared-mime-info are GPL2.
    * atk, gdk-pixbuf2, glib2, gtk2 and meanwhile are LGPL2.
    * perl is GPL1+ or Artistic1 ("Artistic License" not "Perl Artistic").

The license field has been fixed for the following packages:

    * drmingw and drmingw-git: GPL does not apply anymore.
    * enchant: it seems to be plain LGPL2.1 without later versions.
    * freetype: the FreeType license can also be used.
    * libiconv: both GPL3 and LGPL2 apply at the same time.
    * libxml2: this is MIT not LGPL.
    * pango: LGPL seems to apply only partially, unclear license for the rest.
2015-02-07 16:00:07 -02:00
Renato Silva
82b1180dba perl and dmake: Fix issues with mkstemp.
After addition of mkstemp in MSYS2, dmake stopped working due to using it (shell function was broken), and perl stopped building due to providing a custom conflicting implementation (and due to using broken dmake). Now dmake does not use MSYS2 mkstemp anymore, and perl does.
2015-01-13 19:42:07 -02:00
Renato Silva
fb6ca8aa70 Improvements for the perl package.
* Better FHS directory structure.
* Replace batch scripts with bare perl.
* Fix CPAN module installation.
* Fix links in HTML documentation.
* Update to Perl 5.20.
* Source code refactoring and update.

The locations below are now used for @INC. The /mingw*/lib directory is not
flooded anymore with perl libraries, they all reside now in the perl5 subfolder.

    - lib/perl5/core_perl
    - lib/perl5/site_perl
    - lib/perl5/vendor_perl

Scripts such as perldoc and cpan are now bare perl scripts instead of batch
files, this allows using them directly from bash. Dmake now ignores the SHELL
environment variable, so unsetting it before dmake calls is not anymore needed.
This fixes CPAN module installation since dmake now understands the makefiles.

First run of cpan will not store full paths to external programs anymore, only
the program names. For example, 32-bit bzip2 will not be used under the 64-bit
shell. Dmake is now always selected as the make program, since GNU make doesn't
like the generated makefiles. HTML documentation uses a base directory for
links, this is now relocated on package installation so user can navigate
through the pages in web browser.
2015-01-07 13:16:48 -02:00
Ray Donnelly
c7f07d073a bashisms: Replace pushd/popd with ..
.. cd DIR/cd -
2014-10-19 23:37:05 +01:00
Alexpux
d92815a652 Fix scripts to use new global MINGW_PACKAGE_PREFIX variable instead locally defined 2014-06-11 07:11:51 +04:00
Alexpux
228bb23d40 Fix formatting. Replace TAB with two spaces 2014-04-22 16:46:15 +04:00
Alexpux
9f1361777a perl: Relocate PATHs in some scripts on install 2013-12-03 08:24:17 +04:00
Alexpux
1e4dc51bea Add perl package 2013-11-30 22:32:50 +04:00