Skip to content

Instantly share code, notes, and snippets.

View Watson1978's full-sized avatar

Watson Watson1978

View GitHub Profile
@Watson1978
Watson1978 / Dockerfile
Last active October 4, 2020 14:40
RMagick Issue #1228
FROM ubuntu:20.04
RUN apt update && \
apt install -y tzdata && \
apt install -y git pkg-config && \
apt install -y build-essential gcc g++ libx11-dev libxext-dev zlib1g-dev \
liblcms2-dev libpng-dev libjpeg-dev libfreetype6-dev libxml2-dev \
libtiff5-dev libwebp-dev gsfonts ghostscript wget
RUN wget https://imagemagick.org/download/releases/ImageMagick-7.0.10-32.tar.xz && \
@Watson1978
Watson1978 / README-badges.md
Created September 18, 2020 17:46 — forked from tterb/README-badges.md
A collection of README badges

Badges

License

MIT License GPLv3 License AGPL License

Version

Version GitHub Release

$ ruby -e 'require "rbconfig"; pp RbConfig::CONFIG'
{"DESTDIR"=>"",
"MAJOR"=>"2",
"MINOR"=>"8",
"TEENY"=>"0",
"PATCHLEVEL"=>"-1",
"INSTALL"=>"/usr/bin/install -c",
"EXEEXT"=>"",
"prefix"=>"/Users/watson/.rbenv/versions/2.8.0",
"ruby_install_name"=>"ruby",
Process: ruby [14019]
Path: /Users/USER/*/ruby
Identifier: ruby
Version: 0
Code Type: ARM-64 (Native)
Parent Process: zsh [1165]
Responsible: Terminal [1163]
User ID: 501
Date/Time: 2020-07-08 23:45:09.138 +0900
BASERUBY = /Users/watson/.rbenv/shims/ruby --disable=gems
CC = clang -fdeclspec
LD = ld
LDSHARED = clang -fdeclspec -dynamiclib
CFLAGS = -O3 -ggdb3 -Wall -Wextra -Werror=deprecated-declarations -Werror=division-by-zero -Werror=implicit-function-declaration -Werror=implicit-int -Werror=misleading-indentation -Werror=pointer-arith -Werror=shorten-64-to-32 -Werror=write-strings -Wmissing-noreturn -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Werror=extra-tokens -std=gnu99 -pipe
XCFLAGS = -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -DRUBY_DEVEL=1 -fvisibility=hidden -DRUBY_EXPORT -fPIE -DCANONICALIZATION_FOR_MATHN -I. -I.ext/include/arm64-darwin20 -I./include -I. -I./enc/unicode/12.1.0
CPPFLAGS = -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT
DLDFLAGS = -Wl,-undefined,dyn
0 23.76953125
1 31.421875
2 39.07421875
3 39.07421875
4 39.07421875
5 46.71875
6 54.36328125
7 62.00390625
8 69.66796875
9 77.31640625
1 31.421875
2 39.07421875
3 39.07421875
4 39.07421875
5 46.71875
6 54.36328125
7 62.00390625
8 69.66796875
9 77.31640625
FROM amazonlinux:2018.03
RUN yum install -y git gcc ruby24-devel ImageMagick ImageMagick-devel
WORKDIR /opt/rmagick
$ rake
mkdir -p tmp/x86_64-darwin17/RMagick2/2.3.8
cd tmp/x86_64-darwin17/RMagick2/2.3.8
/Users/watson/.rbenv/versions/2.3.8/bin/ruby -I. ../../../../ext/RMagick/extconf.rb
checking for brew... yes
checking for clang... yes
checking for pkg-config... yes
checking for outdated ImageMagick version (<= 6.7.7)... no
Usage: file [-bcEhikLlNnprsvzZ0] [-e test] [-f namefile] [-F separator] [-m magicfiles] [-M magicfiles] file...
file -C -m magicfiles
Process: ruby [39632]
Path: /Users/USER/*/ruby
Identifier: ruby
Version: 0
Code Type: X86-64 (Native)
Parent Process: ruby [39604]
Responsible: ruby [39632]
User ID: 501
Date/Time: 2019-05-25 17:53:43.230 +0900