Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in upgrade due to cxx11 in weikengchen/homebrew-caskformula #79

Open
wants to merge 49 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
2efd2e7
create the first patch
weikengchen Apr 22, 2018
8869f17
patch2.diff
weikengchen Apr 22, 2018
9e4c24c
Update inkscape.rb
weikengchen Apr 22, 2018
3fc5d1c
Update patch.diff
weikengchen Apr 22, 2018
fbebd6e
Update patch.diff
weikengchen Apr 22, 2018
ef39da1
Update inkscape.rb
weikengchen Apr 22, 2018
eb87daa
Delete patch.diff
weikengchen Apr 22, 2018
fd73492
Update and rename patch2.diff to patch.diff
weikengchen Apr 22, 2018
c366966
Update inkscape.rb
weikengchen Apr 22, 2018
9a51405
Update patch.diff
weikengchen Apr 22, 2018
ca26a5d
Update patch.diff
weikengchen Apr 22, 2018
0720780
Update patch.diff
weikengchen Apr 22, 2018
23bbed3
Update inkscape.rb
weikengchen Apr 22, 2018
d5abfc3
Update inkscape.rb
weikengchen Apr 22, 2018
0ad6f86
Create glibmm.rb
weikengchen Apr 22, 2018
3b4f377
Update README.md
weikengchen Apr 22, 2018
bb797c7
Update glibmm.rb
weikengchen Apr 22, 2018
1d184e1
Update inkscape.rb
weikengchen Apr 22, 2018
e3322b1
Update glibmm.rb
weikengchen May 8, 2018
5dd6401
Update inkscape.rb
weikengchen May 22, 2018
79b585a
Update patch.diff
weikengchen May 22, 2018
69063f6
Update inkscape.rb
weikengchen May 22, 2018
ed57462
Update inkscape.rb
weikengchen May 22, 2018
bc4b2e9
Delete glibmm.rb
weikengchen Jul 12, 2018
7abe8be
Update README.md
weikengchen Jul 12, 2018
4aece30
Update inkscape.rb
weikengchen Dec 6, 2018
e04a3ab
Update patch.diff
weikengchen Dec 6, 2018
e03fead
Update inkscape.rb
weikengchen Dec 6, 2018
7dcf23c
Update patch.diff
weikengchen Dec 6, 2018
e594c37
Update patch.diff
weikengchen Dec 6, 2018
587e9e0
Update patch.diff
weikengchen Dec 6, 2018
de020b2
Update patch.diff
weikengchen Dec 6, 2018
9029c7e
Update README.md
weikengchen Dec 6, 2018
874aa7b
Update patch.diff
weikengchen Dec 6, 2018
bfb3f3b
Update patch.diff
weikengchen Dec 6, 2018
b7087b5
Update patch.diff
weikengchen Dec 6, 2018
76b88f0
Update patch.diff
weikengchen Dec 6, 2018
3e85630
Update patch.diff
weikengchen Dec 6, 2018
ed30559
Update patch.diff
weikengchen Dec 6, 2018
e959584
Update patch.diff
weikengchen Dec 6, 2018
eb0246a
Update patch.diff
weikengchen Dec 6, 2018
a307bdf
Update inkscape.rb
weikengchen Dec 7, 2018
2f1985e
Update inkscape.rb
weikengchen Dec 7, 2018
d436f88
Update inkscape.rb
weikengchen Dec 8, 2018
060d55e
Update inkscape.rb
weikengchen Dec 8, 2018
514eca7
Update inkscape.rb
weikengchen Dec 8, 2018
aac8cfb
Update inkscape.rb
weikengchen Dec 8, 2018
fb494ab
Update inkscape.rb
weikengchen Dec 8, 2018
2337cef
Update inkscape.rb
weikengchen Dec 8, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 6 additions & 24 deletions Formula/inkscape.rb
Original file line number Diff line number Diff line change
@@ -1,26 +1,8 @@
class Inkscape < Formula
desc "Professional vector graphics editor"
homepage "https://inkscape.org/"
url "https://launchpad.net/inkscape/0.92.x/0.92.2/+download/inkscape-0.92.2.tar.bz2"
mirror "https://mirrors.kernel.org/debian/pool/main/i/inkscape/inkscape_0.92.2.orig.tar.bz2"
sha256 "a628d0e04c254e9840947e6d866974f92c68ae31631a38b94d9b65e5cd84cfd3"
revision 1

head do
url "https://gitlab.com/inkscape/inkscape.git", :using => :git
url "https://gitlab.com/inkscape/inkscape.git", :using => :git, :branch => "0.92.x" if build.include? "branch-0.92"
end

stable do
patch do
url "https://gitlab.com/inkscape/inkscape/commit/93ccf03162cd2e46d962822d5507865f3451168c.diff"
sha256 "1f037cc29cee8e0c60ab4753d4151741c8170e4849129bac68fdc60925eb971d"
end
end

option "branch-0.92", "When used with --HEAD, build from the 0.92.x branch"

option "with-gtk3", "Build Inkscape with GTK+3 (Experimental)"
url "https://www.chenweikeng.com/inkscape-0.92.x.tar.bz2"
sha256 "b08fbeb9beda8c46279ef34a59212904a043195262a10fd6098ec6ba756594d5"

depends_on "automake" => :build
depends_on "cmake" => :build
Expand All @@ -42,9 +24,9 @@ class Inkscape < Formula
depends_on "poppler"
depends_on "potrace"

depends_on "gtkmm3" if build.with? "gtk3"
depends_on "gdl" if build.with? "gtk3"
depends_on "gtkmm" if build.without? "gtk3"
depends_on "gtk+3"
depends_on "gtkmm3"
depends_on "gdl"

needs :cxx11

Expand All @@ -60,7 +42,7 @@ def install

system "mkdir", "build"
Dir.chdir("build")
system "cmake", "..", *std_cmake_args
system "cmake", "..", *std_cmake_args, "-DWITH_GTK3_EXPERIMENTAL=1"
system "make"
system "make", "install"
end
Expand Down
34 changes: 2 additions & 32 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,33 +1,3 @@
# caskformula
## Non-xQuartz version of Inkscape 0.92.3

caskformula is a tap for providing [homebrew](http://brew.sh/) formulae for software packaged as [casks](https://caskroom.github.io/).

## Inkscape

### Install

```bash
brew install caskformula/caskformula/inkscape
```

* git 0.92.x branch

```bash
brew install caskformula/caskformula/inkscape --HEAD --branch-0.92
```

* git master branch

```bash
brew install caskformula/caskformula/inkscape --HEAD
```

### Known issues

* Locale must me manually specified using the `LANG` environment variable. For example:

```bash
LANG=fr inkscape
```

* Inkscape fails on launch with a critical error when using certain locales: `ar`, `de`, `doi`, `el`, `es`, `es_MX`, `hu`, `is`, `ja`, `ks@deva`, `lv`, `ru`, `sat`, `sat@deva`, `sk`, `sr`, `sr@latin`, `tr`, `uk`, `ur`
This is a temporary fix for inkscape.
Loading