Skip to content
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

missing 'gl' package #35

Open
GoogleCodeExporter opened this issue Aug 16, 2015 · 5 comments
Open

missing 'gl' package #35

GoogleCodeExporter opened this issue Aug 16, 2015 · 5 comments

Comments

@GoogleCodeExporter
Copy link

It seems the draw2dgl package is incomplete:

$ go get -u -v -f code.google.com/p/draw2d/draw2dgl
code.google.com/p/draw2d (download)
code.google.com/p/freetype-go (download)
import "gl": import path does not contain a slash
package code.google.com/p/draw2d/draw2dgl
    imports code.google.com/p/draw2d/draw2d
    imports code.google.com/p/freetype-go/freetype/raster
    imports code.google.com/p/freetype-go/freetype/truetype
    imports gl: unrecognized import path "gl"

could this "gl" package (and the "glut") be put into the repo?

-s

Original issue reported on code.google.com by seb.binet@gmail.com on 15 Apr 2015 at 9:16

@GoogleCodeExporter
Copy link
Author

tentatively, I migrated draw2dgl to github.com/go-gl/gl/v2.1/gl
(with panic-ing functions for draw2dgl.GraphicContext to implement the 
draw2d.GraphicContext interface)

in the meantime, I'll vendor draw2dgl in my own github.com/sbinet/gonum-plot 
repository.

Original comment by seb.binet@gmail.com on 15 Apr 2015 at 11:18

Attachments:

@GoogleCodeExporter
Copy link
Author

(and I dropped 'glut' in favor of "github.com/go-gl/glfw/v3.1/glfw"

Original comment by seb.binet@gmail.com on 15 Apr 2015 at 11:19

@GoogleCodeExporter
Copy link
Author

I've forked the project on github but not communicated on this. 
https://github.com/llgcode/draw2d

I will integrate your patch soon thanks.

Original comment by legoff.l...@gmail.com on 15 Apr 2015 at 12:16

@GoogleCodeExporter
Copy link
Author

ah! great!

do you want me to fork llgcode/draw2d and send a PR instead?

-s


Original comment by seb.binet@gmail.com on 15 Apr 2015 at 12:26

@GoogleCodeExporter
Copy link
Author

Yes sure. I'm not familiar with this so please I will try to do my best. I 
think when i make some clean up on this repo i will create a dedicated 
repository for draw2dgl. To follow golang package guideline. not sure.

Original comment by legoff.l...@gmail.com on 16 Apr 2015 at 8:15

  • Changed state: Accepted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant