Replies: 1 comment 2 replies
-
|
In void-packages, the clean way is to keep both versions by renaming one (e.g., create a 'sfml2' package that installs to /usr/lib/sfml2 and provides sfml2.pc). Then update dependent packages to depend on the appropriate package. You may need to patch their configure scripts to look for SFML2 vs SFML3. Alternatively, if a package can't be ported to SFML3, keep it using SFML2 in a separate overlay repository. Static linking is possible but not recommended due to updates and license considerations. The void-packages guidelines suggest using versioned package names for libraries that can't coexist. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I am attempting to port SFML from major version 2 to 3, but there are some packages are still on SFML2. How would I go about making them build when SFML has been ported to SFML3?
At first I thought to create a separate SFML2 package, but due to the nature of their headers SFML2 and SFML3 cannot coexist without name changes. My second idea was to grab a specific SFML2 commit and use that one, but then the build system would have to build SFML in pre_configure stage. It would also leave the user without any sfml so on their system. Would I then have to statically link the programs in question?
Beta Was this translation helpful? Give feedback.
All reactions