Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Updated: Comment #1
Problem/Motivation
The library used in the drush makefile does not contain the library in the root folder, and so it does not work out of the box.
Proposed resolution
Either use a different library that includes the actual library files in the root, or extract just the folder containing the library files.
Remaining tasks
- Decide on best path forward
- Write patch
- Review patch
- Commit patch
Comment | File | Size | Author |
---|---|---|---|
#8 | library_used_in_the-2257461-8.patch.diff | 406 bytes | vermario |
#5 | openlayers-7.x-2.0-beta9_makefile_release_patch-2257461-5.patch | 518 bytes | Jan van Diepen |
#1 | openlayers-drush-make-2257461-1.patch | 506 bytes | jantoine |
Comments
Comment #1
jantoine CreditAttribution: jantoine commentedHere's a patch that uses a library download link from the openlayers.org website. Not saying this is the best path, but it works for me.
Comment #3
PolThanks !
Comment #5
Jan van Diepen CreditAttribution: Jan van Diepen commentedThe library on openlayers.org is not available at the moment.
We are using openlayers-7.x-2.0-beta9 which uses openlayers library v2.13.1.
Going to post a patch to load release-2.13.1.zip from github since v2.13.1.zip is not available.
Comment #6
PolFixed in 7.x-2.x... Thanks !
Comment #7
ShaneOnABike CreditAttribution: ShaneOnABike commentedGreat! Can we not make another official release since this is actually blocking kplatforms and Aegir distributions from properly working with openlayers.
Comment #8
vermario CreditAttribution: vermario commentedAdding a different type of patch here, one that removes the downloading of the library altogether from the makefile. This is very specific for our usecase, where we cannot at the moment update the module, but we need the makefile to build correctly. So, a very limited use case, and fixed in newer version of the module.