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

release graphics in opam for ocaml 4.09.0 #12

Closed
hhugo opened this issue Sep 15, 2019 · 13 comments
Closed

release graphics in opam for ocaml 4.09.0 #12

hhugo opened this issue Sep 15, 2019 · 13 comments

Comments

@hhugo
Copy link
Contributor

hhugo commented Sep 15, 2019

No description provided.

@ghost
Copy link

ghost commented Sep 16, 2019

@dra27 do you remember what version we said we would use for graphics? IIRC, it's 5.0.0 since graphics is not tied to the compiler internals

@dra27
Copy link
Member

dra27 commented Sep 16, 2019

In #11 I put 4.09.0, but it could be either. We could call it 4.09 and then bump it to 5 if there are (ever any) changes?

I’m fairly sure I have an opam-repository branch already done for it - I’ll check in a bit and push it

@dra27
Copy link
Member

dra27 commented Sep 16, 2019

(It’s obviously not a straight copy of the 4.08.1 one!)

@garrigue
Copy link

This may not be the place to discuss that, but labltk relies on the ocaml configuration to detect X11. How can we factor the logic, both in and out of opam?

@dra27
Copy link
Member

dra27 commented Sep 16, 2019

For opam, it’s done via the conf-libX11 package. I haven’t looked in detail at what Jérémie’s done with the Dune port here

@ghost
Copy link

ghost commented Sep 16, 2019

I'm tempted to call it 5.0.0 and switch to semantic versioning at the same time, just to avoid confusion.

For X11, I made graphics depend on conf-libX11. No special compilation flags are used and the following link flags are used:

  • os_type = Win32 -> -lkernel32 -lgdi32 -luser32
  • otherwise -> -lX11

BTW, what authors should we put in the opam file? I put only @xavierleroy for now.

@dra27
Copy link
Member

dra27 commented Sep 16, 2019

I'm inclined to agree with calling it 5.0.0 - although it feels strange to bump the major version with no changes, it will also feel strange to be using semver and having 4.09.1, 4.10.0 before OCaml does!

@dra27
Copy link
Member

dra27 commented Sep 16, 2019

(I can redo that opam-repository PR once there's a tag and a confirmed version number)

@ghost
Copy link

ghost commented Sep 16, 2019

Let's go for 5.0.0. @dra27 do you have a PR already prepared for this? I was planning to use dune-release to proceed with the release

@ghost
Copy link

ghost commented Sep 16, 2019

I created the release on github. @dra27 let me know if I should proceed with the opam-repository PR

@dra27
Copy link
Member

dra27 commented Sep 16, 2019

I just diff'd the graphics.opam with the one I'd done by hand: the only difference (apart from things which were better in master, like the build recipe) is that I added Jun Furuse, J-M Geffroy, Jacob Navia and Pierre Weis to the authors list (I think that was based on everyone whose name appears in a copyright header). I'm just old-school with the opam files - I'd add those files and use dune-release :)

@ghost
Copy link

ghost commented Sep 16, 2019

Alright, I added the other authors and made the release: ocaml/opam-repository#14828

@ghost ghost closed this as completed Sep 16, 2019
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants