forked from discourse/discourse
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Kai Schaper
committed
May 28, 2014
1 parent
1a31eb1
commit 575f963
Showing
8 changed files
with
193 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
Imagemagick CHANGELOG | ||
===================== | ||
|
||
v0.2.3 (2014-02-25) | ||
------------------- | ||
[COOK-3748] - Add support for Amazon Linux & Mac OS X | ||
|
||
|
||
v0.2.2 | ||
---------- | ||
- Fixes COOK-662 |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
Description | ||
=========== | ||
|
||
Installs ImageMagick and optionally Rmagick (RubyGem). | ||
|
||
Requirements | ||
============ | ||
|
||
## Platform: | ||
|
||
Tested on: | ||
|
||
* Ubuntu (10.04) | ||
* RHEL (6.1, 5.7) | ||
|
||
Usage | ||
===== | ||
|
||
To install just ImageMagick, | ||
|
||
include_recipe "imagemagick" | ||
|
||
In your own recipe/cookbook. To install the development libraries, | ||
|
||
include_recipe "imagemagick::devel" | ||
|
||
To install the RubyGem rmagick, | ||
|
||
include_recipe "imagemagick::rmagick" | ||
|
||
Which will install imagemagick, as well as the development libraries for imagemagick (so rmagick can be built). | ||
|
||
License and Author | ||
================== | ||
|
||
Author:: Joshua Timberman (<[email protected]>) | ||
|
||
Copyright:: 2009, Opscode, Inc | ||
|
||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
|
||
http://www.apache.org/licenses/LICENSE-2.0 | ||
|
||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{ | ||
"name": "imagemagick", | ||
"version": "0.2.3", | ||
"description": "Installs/Configures imagemagick", | ||
"long_description": "Description\n===========\n\nInstalls ImageMagick and optionally Rmagick (RubyGem).\n\nRequirements\n============\n\n## Platform:\n\nTested on:\n\n* Ubuntu (10.04)\n* RHEL (6.1, 5.7)\n\nUsage\n=====\n\nTo install just ImageMagick,\n\n include_recipe \"imagemagick\"\n\nIn your own recipe/cookbook. To install the development libraries,\n\n include_recipe \"imagemagick::devel\"\n\nTo install the RubyGem rmagick,\n\n include_recipe \"imagemagick::rmagick\"\n\nWhich will install imagemagick, as well as the development libraries for imagemagick (so rmagick can be built).\n\nLicense and Author\n==================\n\nAuthor:: Joshua Timberman (<[email protected]>)\n\nCopyright:: 2009, Opscode, Inc\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n", | ||
"maintainer": "Opscode, Inc.", | ||
"maintainer_email": "[email protected]", | ||
"license": "Apache 2.0", | ||
"platforms": { | ||
"fedora": ">= 0.0.0", | ||
"centos": ">= 0.0.0", | ||
"rhel": ">= 0.0.0", | ||
"ubuntu": ">= 0.0.0", | ||
"debian": ">= 0.0.0" | ||
}, | ||
"dependencies": { | ||
}, | ||
"recommendations": { | ||
}, | ||
"suggestions": { | ||
}, | ||
"conflicting": { | ||
}, | ||
"providing": { | ||
}, | ||
"replacing": { | ||
}, | ||
"attributes": { | ||
}, | ||
"groupings": { | ||
}, | ||
"recipes": { | ||
"imagemagick": "Installs imagemagick package", | ||
"imagemagick::devel": "Installs imagemagick development libraries", | ||
"imagemagick::rmagick": "Installs rmagick gem" | ||
} | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
name "imagemagick" | ||
maintainer "Opscode, Inc." | ||
maintainer_email "[email protected]" | ||
license "Apache 2.0" | ||
description "Installs/Configures imagemagick" | ||
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md')) | ||
version "0.2.3" | ||
|
||
recipe "imagemagick", "Installs imagemagick package" | ||
recipe "imagemagick::devel", "Installs imagemagick development libraries" | ||
recipe "imagemagick::rmagick", "Installs rmagick gem" | ||
|
||
%w{fedora centos rhel ubuntu debian}.each do |os| | ||
supports os | ||
end |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# | ||
# Cookbook Name:: imagemagick | ||
# Recipe:: default | ||
# | ||
# Copyright 2009, Opscode, Inc. | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
|
||
case node['platform_family'] | ||
when 'rhel' | ||
package 'ImageMagick' | ||
when 'debian', 'mac_os_x' | ||
package 'imagemagick' | ||
end |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# | ||
# Cookbook Name:: imagemagick | ||
# Recipe:: default | ||
# | ||
# Copyright 2009, Opscode, Inc. | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
|
||
include_recipe "imagemagick" | ||
|
||
dev_pkg = value_for_platform( | ||
["redhat", "centos", "fedora", "amazon"] => { "default" => "ImageMagick-devel" }, | ||
"debian" => { "default" => "libmagickwand-dev" }, | ||
"ubuntu" => { | ||
"8.04" => "libmagick9-dev", | ||
"8.10" => "libmagick9-dev", | ||
"default" => "libmagickwand-dev" | ||
} | ||
) | ||
|
||
package dev_pkg |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# | ||
# Cookbook Name:: imagemagick | ||
# Recipe:: rmagick | ||
# | ||
# Copyright 2009, Opscode, Inc. | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
include_recipe "imagemagick" | ||
include_recipe "imagemagick::devel" | ||
|
||
gem_package "rmagick" |