- You have Ghostscript installed, right? Otherwise
sudo apt-get install ghostscript
- This is important and installs the headers (
iapi.h
etc) which are required but don't come with the default Ghostscript package:sudo apt-get install libgs-dev
- I also needed
sudo apt-get install gs-esp
- For me the pre compiled version of ImageMagick never accepted Ghostscript, so let's remove it:
sudo apt-get --purge remove imagemagick
- Get the source of ImageMagick, untar it,
cd ImageMagick-xx
./configure --with-gslib=yes
[and what else you need]- Confirm in the output near the bottom
gslib yes yes
and notgslib yes no
make
make install
- Run
convert -list configure | grep DELEGATES
=>DELEGATES bzlib djvu freetype gs jpeg jng jp2 lcms png tiff x11 xml zlib
I hereby claim:
- I am jaykandari on github.
- I am jaykandari (https://keybase.io/jaykandari) on keybase.
- I have a public key ASAnD9WGXEFLdtnlhMB4rqpbCq1ftlVR8XJ5xGixwMaXWgo
To claim this, I am signing this object:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Drupal\Core\Url; | |
use Drupal\Core\Link; | |
// Create a Url object. | |
$url = Url::fromRoute('node.add_page'); | |
// Create a Link object. | |
$link = Link::fromTextAndUrl(t('Add more content'), $url); | |
// Show the message with Link. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
drush pml --filter='name~=#(mymodule1|mymodule2|mymodule3)#i' | |
# Output: | |
# -------------- ------------------------------------------- ---------- --------- | |
# Package Name Status Version | |
# -------------- ------------------------------------------- ---------- --------- | |
# My package My Module (mymodule1) Disabled | |
# Another pack Another module (mymodule2) Enabled | |
# My package My Module (mymodule3) Disabled |