Giter Club home page Giter Club logo

sdl2-ttf's People

Contributors

aneilmac avatar carldong avatar chuckadams avatar darkf avatar domdere avatar drezil avatar incoherentsoftware avatar mankykitty avatar mikolaj avatar mtolly avatar osa1 avatar rongcuid avatar sbidin avatar seppeljordan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sdl2-ttf's Issues

sdl2-ttf causes breakage in a working program

(on windows 7 64 bit)
The following program works and briefly displays a window

{-# LANGUAGE OverloadedStrings #-}
module Lib
    ( someFunc
    )
where

import qualified SDL
import qualified SDL.Font

someFunc :: IO ()
someFunc = do
    SDL.initialize [SDL.InitVideo]
    window <- SDL.createWindow "App" SDL.defaultWindow
    SDL.showWindow window
    SDL.delay 1000
    SDL.destroyWindow window
    SDL.quit

Adding

SDL.Font.initialize

underneath SDL.initialize causes the program to compile and run but no longer show a window. No error message is shown in the output of the program.

I encountered this using stack with the following declared dependencies:

  build-depends:
      base >=4.7 && <5
    , sdl2
    , sdl2-ttf

I installed the sdl2 libraries using stack's bundled mysys.

What's left to do to move the repo to haskell-game

Lets move the discussion from rongcuid#4 to here.

Off the top of my head:

  • give the maintainer (@rongcuid) all kinds of permissions, e.g,. to edit the top repo description line, which should probably say something like "This is the official location of the repo"

  • it would be ideal if all the old repo forks (@mankyKitty, @osa1, @rongcuid) could change their repository description (the one at the top) to something like "The official repo location is now" and then edit the link to point to

    https://github.com/haskell-game/sdl2-ttf

  • also, ideally they'd block their issuse interfaces and wikis (I don't think one can block pull requests)

  • party!

Taking over sdl2-ttf on Stackage

@rongcuid: I'm just adding some other packages that I maintain to Stackage and I'd take over sdl2-ttf on Stackage as well, so that the stackage people don't bother you if something stops working, unless you'd like to keep being the responsible person on Stackage (I don't think they support multiple persons responsible for one package). Please let me know if you'd like to keep the package on Stackage and I will stop or revert the change. Thanks again!

Merge, both ways, features with https://github.com/sbidin/sdl2-ttf

I'm thinking short term, as a user: I need the best of both worlds.

I need the breadth of bindings coverage and the good character translation implementation of https://github.com/sbidin/sdl2-ttf (see my remarks and links at rongcuid#4 (comment))

But I also need the various fixes of this very repo (I've already contributed some as pull requests to https://github.com/sbidin/sdl2-ttf) and probably a feature or two as well (didn't look closely enough).

Finally, I need this package on Hackage so that people can build my game directly from Hackage and so that hydra.nixos.org can build it automatically just with cabal.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.