-
Notifications
You must be signed in to change notification settings - Fork 35
Lots of build fixes, minor cleanups #6
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,11 +6,7 @@ Installing | |
| Please refer to README for more detailed explanation of requirements, | ||
| supported features and how to use GNUstep QuartzCore! | ||
|
|
||
| 1. Take a look at the README for requirements. You'll need OpenGL headers, | ||
| cairo, gnustep-base, gnustep-gui, opal, libobjc2, and a modern compiler | ||
| such as clang. gcc-4.6+ will probably work, too. For requirements of | ||
| each individual library as well as installation procedure, refer to their | ||
| documentation (or refer to online search engines). | ||
| 1. Take a look at the README for requirements. | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
| 2. opal will need to be patched with `opal-nsfonthacks.patch`. | ||
| 3. Just as with any other GNUstep library, don't forget to source the | ||
| `GNUstep.sh` file. Then just run: | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -10,10 +10,11 @@ Ivan Vučica. | |
| Requirements | ||
| ------------ | ||
|
|
||
| *Last updated: August 20, 2012* | ||
| *Last updated: October 28, 2025* | ||
|
|
||
| * **Foundation**. You can use GNUstep Base or Apple Cocoa to get Foundation. | ||
| * **AppKit**. You can use GNUstep GUI or Apple Cocoa to get AppKit. | ||
| * **CoreFoundation**. You can use GNUstep CoreBase or Apple Cocoa to get CoreFoundation. | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Good improvement, thanks! |
||
| * **OpenGL 2.0**. Code makes use of framebuffers for offscreen rendering and | ||
| of fragment shaders for shadows. By manually removing blocks of code that | ||
| require framebuffers and shaders, it's probably possible to run the code on | ||
|
|
@@ -26,10 +27,7 @@ Requirements | |
| * **libobjc2**. While it may be possible to use the code with stock GCC | ||
| runtime, the "new" GNUstep runtime is the only runtime code is being | ||
| tested with. If you use Cocoa, Apple's "64-bit runtime" is also supported. | ||
| * **Patched Opal**. Opal currently conflicts with AppKit. More specifically, | ||
| it also implements an incompatible `NSFont`. An experimental patch is | ||
| provided against r35173 of Opal in `opal-nsfonthacks.patch`. | ||
| * Opal requires Cairo and may require corebase. | ||
| * **Opal**. | ||
|
|
||
| API status | ||
| ---------- | ||
|
|
@@ -129,6 +127,7 @@ readme. Some problems may be resolved by the time you're reading this. | |
| due to its use of `NSOpenGLContext` -- otherwise it doesn't care about the | ||
| UI framework used -- an experimental patch is provided. See | ||
| `opal-nsfonthacks.patch`. | ||
| * Note (2025) - this seems to be fixed. | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Good change, does this mean you simply did not apply it and all demo programs (incl those based on bridge) worked? |
||
|
|
||
| * **Opal sometimes returns 3 color components instead of 4**: Simply setting | ||
| the alpha to 1 in that case seems to work correctly. | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -31,9 +31,9 @@ | |
| #import <OpenGL/glu.h> | ||
| #else | ||
| #define GL_GLEXT_PROTOTYPES 1 | ||
| #import <GL/gl.h> | ||
| #import <GL/glew.h> | ||
| #import <GL/glu.h> | ||
| #import <GL/glext.h> | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This should still be a standard header; I have GL/glext.h on my hardware, which machine is this missing on? (This applies across the board where this change was made) |
||
|
|
||
| #endif | ||
|
|
||
| @interface CAGLProgram : NSObject | ||
|
|
||
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But, GLEW is different than base OpenGL headers?
I'd like to learn more about why this additional dependency is being added. Which system is missing gl.h but has glew.h?