Menu

#4858 SFML 2.4.1 (Simple and Fast Multimedia Library)

Added_to_Fink
closed-accepted
nobody
5
2017-01-07
2016-12-18
No

Builds fine with: fink -m --build-as-nobody rebuild sfml24-shlibs

attached as a .tar.gz with .info, .patch and dpkg -L output in contents.txt

1 Attachments

Discussion

  • Daniel Macks

    Daniel Macks - 2016-12-19

    This suite appears to use C++ code, so the .info needs to have a line "GCC: 4.0"

    You can omit the BuildDepends entry "fink (>= 0.24.12)", as no OS X that is currently supported has ever had a fink older than that.

     

    Last edit: Daniel Macks 2016-12-19
  • Daniel Macks

    Daniel Macks - 2016-12-19

    You can easily add a layer of protection against users accidentally mis-compiling this thing by adding a BuildDepends entry "fink-package-precedence", adding "-DCMAKE_CXX_FLAGS:STRING=-MD" to your cmake call, and then as an additional command at the end of the CompileScript:

    fink-package-precedence --prohibit-bdep=sfml24-dev --depfile-ext='.d' .

    The -MD flag causes the compiler to save additional data about the headers it found, and then the f-p-p program scans those data files and also the compiled binaries to detect various problems. As a bonus for maintainers, it also emits a list of packages that you definitely need to have as BuildDepends (you seem to have them all already).

     
  • Daniel Macks

    Daniel Macks - 2016-12-19
    • Group: Undergoing_Validation --> Awaiting_Update_from_Submitter
     
  • Daniel Macks

    Daniel Macks - 2016-12-19

    What section do you think is best for this package? graphics? sound? libs?

     
  • Rafael Kitover

    Rafael Kitover - 2016-12-19

    Updated package (attached .tar.gz) thanks for taking a look!

    Section "libs" would probably be best, as it is primarily of interest to developers. But I don't know. It does both graphics and sound.

     
  • Hanspeter Niederstrasser

    • Group: Awaiting_Update_from_Submitter --> Undergoing_Validation
     
  • Daniel Macks

    Daniel Macks - 2017-01-07
    • status: open --> closed-accepted
    • Group: Undergoing_Validation --> Added_to_Fink
     
  • Daniel Macks

    Daniel Macks - 2017-01-07

    Looks fine. Thanks for your contribution!

     

Log in to post a comment.