Problems with replacing depends_on :x11
#679
Replies: 3 comments 3 replies
-
If the software you're building specifically depends on the macOS version of X11 you might have to tell it where to find these identifiers now. Without knowing anything about the software this is impossible to debug though. You're essentially asking "how do I build something with X11" |
Beta Was this translation helpful? Give feedback.
-
The formula worked fine as long as XQuartz was installed and it depended on ˋ:x11ˋ. Now the latter is no longer allowed by Homebrew and I thought that depending on ˋlibx11ˋ instead would give a similar result and make parts of XQuartz available to the build. If I need to manually add the XQuartz stuff to the includes in my formula what is the purpose of the new ˋlibx11ˋ formula then? From the error message Homebrew gave me, I thought I had to replace ˋ:x11ˋ with ˋlibx11ˋ and maybe some others and the build would work as it did. before. Isn’t it the whole purpose of Homebrew to make the dependencies available to the build? So, I do not understand why I now should point my build to something it used to get from Homebrew previously. |
Beta Was this translation helpful? Give feedback.
-
This related issue may help, as it links to a large number of examples of |
Beta Was this translation helpful? Give feedback.
-
I have a formula that depends on X11 and still uses
depends_on :x11
which is no longer allowed. According to the message, I should replace:x11
with a dependency on a specific X11 formula. Since I am no developer of the underlying project, I was not sure which formulas are all required so I started withdepends_on libx11
only as a first try. However, the build fails with a lot of standard X11 identifiers being unknown (e.g.XDrawLine
) which are part of thelibx11
formula (XDrawLine
is even used in the test for the formula).Could you please tell me, what I am doing wrong? Should I have changed more in the formula then just the
depends_on
?I using macOS Catalina (10.15.7) and Homebrew version is:
Beta Was this translation helpful? Give feedback.
All reactions