Closed weikengchen closed 6 years ago
And thanks @7Ds7 for finding out the failure of the previous formula due to the poppler upgrade.
Worked for me for Mac OS X 10.9.5 build.
Have successfully opened/edited/saved file.
(FWIW I did need to brew install gnutls --without-p11-kit
previously but that's not specifically related to Inkscape.)
(Also needed to mkdir -p ~/.local/share/
to get recent files menu to work.)
Thanks all!
@weikengchen will you be opening a PR to apply your fix?
@vlaminck I am waiting for the authors to show up...
Just to say "Thank you" to @weikengchen, @tghs, @neverpanic, @Airhadoken. Really appreciate your work.
Thanks! I thought I followed these instructions properly but now I'm getting:
[100%] Linking CXX shared library ../lib/libinkscape_base.dylib
cd /tmp/inkscape-20180606-34874-1nw1ete/inkscape-0.92.3/build/src && /usr/local/Cellar/cmake/3.11.3/bin/cmake -E cmake_link_script CMakeFiles/inkscape_base.dir/link.txt --verbose=1
/usr/local/Homebrew/Library/Homebrew/shims/mac/super/clang++ [... long list of files ...]
ld: library not found for -lgiomm-2.4
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [lib/libinkscape_base.dylib] Error 1
make[1]: *** [src/CMakeFiles/inkscape_base.dir/all] Error 2
make: *** [all] Error 2
However, I do have giomm-2.4 files:
/usr/local/Cellar/glibmm/2.56.0_1/include/giomm-2.4
/usr/local/Cellar/glibmm/2.56.0_1/lib/giomm-2.4
/usr/local/Cellar/glibmm/2.56.0_1/lib/pkgconfig/giomm-2.4.pc
/usr/local/Cellar/glibmm/2.56.0_1/lib/libgiomm-2.4.1.dylib
/usr/local/Cellar/glibmm/2.56.0_1/lib/libgiomm-2.4.dylib
/usr/local/Cellar/glibmm/2.56.0/include/giomm-2.4
/usr/local/Cellar/glibmm/2.56.0/lib/giomm-2.4
/usr/local/Cellar/glibmm/2.56.0/lib/pkgconfig/giomm-2.4.pc
/usr/local/Cellar/glibmm/2.56.0/lib/libgiomm-2.4.1.dylib
/usr/local/Cellar/glibmm/2.56.0/lib/libgiomm-2.4.dylib
Ideas?
I fixed my problem, Inkscape installation works after running:
brew switch glibmm 2.56.0_1
@weikengchen I have applied the glibmm patch to the formula in Homebrew/homebrew-core in https://github.com/Homebrew/homebrew-core/pull/28801
@ilovezfs wait! why it is closed, not merged?
All PRs that involve new bottles show "closed" because they're merged with brew pull --bottle
not the GitHub GUI.
so, at this moment, I think I should:
(1) not ask the users to use my formula, instead, switch to the main formula in homebrew.
So they should untap my formula, and then, probably, force reinstall glibmm?
(2) let the homebrew formula for inkscape requires 2.56.0_1.
Is that correct?
I may do that during the weekend.
Yes. You could also copy the patch blocks from https://github.com/Homebrew/homebrew-core/pull/28803 to apply the actual upstream commits instead of your custom patch file.
Thanks guys, @weikengchen @ilovezfs
But I'm confused now. Is there a better way to install inkscape than using this temporary fix?
@dano-ai Sorry. I should update my temporary fix accordingly last month.
I will update my temporary fix now.
brew cask install inkscape
@ilovezfs will add that to the main post.
The only difference between 2 suggestions are the version of inkscape: the former is 0.92.3 and the latter is 0.92.1.
just run:
brew cask install xquartz
brew cask install inkscape
14:43:48 iqbal@-:~$ brew cask install inkscape ==> Satisfying dependencies Error: Cask 'inkscape' requires XQuartz/X11, which can be installed using Homebrew-Cask by running brew cask install xquartz
or manually, by downloading the package from https://www.xquartz.org/ 14:44:22 iqbal@-:~$ brew cask install xquartz ==> Satisfying dependencies ==> Downloading https://dl.bintray.com/xquartz/downloads/XQuartz-2.7.11.dmg ######################################################################## 100.0% ==> Verifying checksum for Cask xquartz ==> Installing Cask xquartz ==> Running installer for xquartz; your password may be necessary. ==> Package installers may write to any location; options such as --appdir are ignored. Password:
installer: Package name is XQuartz 2.7.11 installer: Installing at base path / installer: The install was successful. 🍺 xquartz was successfully installed! 15:03:20 iqbal@-:~$ 15:03:20 iqbal@-:~$ 15:03:20 iqbal@-:~$ 15:03:20 iqbal@-:~$ brew cask install inkscape Updating Homebrew... ==> Auto-updated Homebrew! Updated 1 tap (homebrew/cask). No changes to formulae.
==> Satisfying dependencies ==> Downloading https://inkscape.org/gallery/item/11269/Inkscape-0.92.2-1-x11-10.7-x86_64.dmg ==> Downloading from https://inkscape.org/en/gallery/item/11269/Inkscape-0.92.2-1-x11-10.7-x86_64.dmg ######################################################################## 100.0% ==> Verifying checksum for Cask inkscape ==> Installing Cask inkscape ==> Moving App 'Inkscape.app' to '/Applications/Inkscape.app'. ==> Linking Binary 'inkscape' to '/usr/local/bin/inkscape'. 🍺 inkscape was successfully installed!
Hmm, Inkscape won't start on Mojave. Any suggestions?
now what you need to do is to stop using this cask and use homebrew's default.
now what you need to do is to stop using this cask and use homebrew's default.
I installed via brew cask install inkscape
. However it installs a DMG of version 0.92.2, not 0.92.3.. not sure if that is the problem.
if you ran brew tap
to tap this one, you need to untap.
Thanks, I don't know what made the difference but untapping your tap, uninstalling and reinstalling the inkscape cask did the trick ❤️
The following worked for me in Mojave:
brew install caskformula/caskformula/inkscape
(fails due to ChecksumMismatchError)brew edit caskformula/caskformula/inkscape
to change the failing checksum as instructed here (https://github.com/caskformula/homebrew-caskformula/issues/57#issuecomment-397919379 but fails as mentioned in linkbrew tap weikengchen/caskformula
as instructed here https://github.com/caskformula/homebrew-caskformula/issues/54#issue-325454295brew install weikengchen/caskformula/inkscape
(tries to install 0.93.x but fails due to too many errorsbrew untap weikengchen/caskformula
brew cask install xquartz
(installs successfully)brew cask install inkscape
(installs 0.92.x successfully)Maybe some of the steps can be avoided and maybe it's just that you need to run the last two....
Once installed, drag the icon to Applications, go to the folder and while pressing the control key click and select open, then give it the necessary permissions to run on your mac.
You'll have to wait... then it will open as an xQuartz app.
The following worked for me in Mojave:
- Install Homebrew as per instructions on the site
brew install caskformula/caskformula/inkscape
(fails due to ChecksumMismatchError)brew edit caskformula/caskformula/inkscape
to change the failing checksum as instructed here (#57 (comment) but fails as mentioned in linkbrew tap weikengchen/caskformula
as instructed here #54 (comment)brew install weikengchen/caskformula/inkscape
(tries to install 0.93.x but fails due to too many errorsbrew untap weikengchen/caskformula
brew cask install xquartz
(installs successfully)brew cask install inkscape
(installs 0.92.x successfully)Maybe some of the steps can be avoided and maybe it's just that you need to run the last two....
Once installed, drag the icon to Applications, go to the folder and while pressing the control key click and select open, then give it the necessary permissions to run on your mac.
You'll have to wait... then it will open as an xQuartz app.
I try install with this instructions, and I get Inkscape successfully installed on my MacBook Pro 2015 Mojave. But I get something wrong when using it (see below).
Any idea to solve this problem?
I think the currently recommended way, as this post suggests, is to brew cask install inkscape
and NOT do anything else, because there is an official cask for this.
I think the currently recommended way, as this post suggests, is to
brew cask install inkscape
and NOT do anything else, because there is an official cask for this.
Any idea to fix my problem above?
There seems to be something different today. The version I am using does not use XQuartz.
Which version that you use? Maybe I can try to install that version.
@ngekoding I tried to reproduce recently and now the version on my computer no longer works.
i'd pay for a non-xquartz mojave-native inkscape xD
Trenton, due to the circumstance, for me it is the time to switch to Adobe Illustrator.
Trenton, due to the circumstance, for me it is the time to switch to Adobe Illustrator.
totally understandable, i meant if inkscape devs made a paid version of inkscape that was mojave-native, i'd buy it for sure.
Honestly speaking, I have been thinking to write a paper: "Free and share, burn it with fire" and point out that "free and share" has been a significant vulnerability of the Internet, and is NOT the propellant.
A little payment resolves a world of problems.
Now, please just do the following:
==================================
This is a new post since #51 is too long.
There are three issues:
const char*
, which needs to update the code.glibmm
, now patched in homebrew (https://github.com/Homebrew/homebrew-core/blob/master/Formula/glibmm.rb).poppler
terminates the support of GooHash.Based on the formula in this repo, I created the following: https://github.com/weikengchen/homebrew-caskformula I followed the MacPorts, this formula uses Inkscape 0.92.3.
You need to:
If you previously use
weikengchen/glibmm
, please untap my glibmm, force uninstall my glibmm, and install the one from the homebrew official.Acknowledgment
Tim Sheridan (@tghs) provided the official fix for Mac. Clemens Lang (@neverpanic) provided the fix for glibmm. @ilovezfs added that into the homebrew. Bradley Momberger (@airhadoken) provided information about the tap and found the cause of GooHash missing.