Skip to content

Commit

Permalink
[opam] [dune-release] Fix opam metadata to reflect recent release.
Browse files Browse the repository at this point in the history
After 3.0.beta4, the loose constraints should mostly work; depending
on the changes we do of course.

We also update the `homepage` field of the OPAM files, and the CHANGES
file, if I understand correctly this should indeed make `dune-release`
work out of the box [and to produce sensible changelogs]

Note that dune-release was incorrectly reading `CHANGES.API` to create
the OPAM changelog! So I had to fix that too.
  • Loading branch information
ejgallego committed Feb 13, 2019
1 parent d9ab3c2 commit ab0025d
Show file tree
Hide file tree
Showing 9 changed files with 42 additions and 20 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,6 @@ install: |
script:
- set -e
- echo 'Building LablGtk...' && echo -en 'travis_fold:start:lablgtk.build\\r'
- pkg-config --list-all
- make -f Makefile.travis "$TEST_TARGET"
- echo -en 'travis_fold:end:lablgtk.build\\r'
File renamed without changes.
15 changes: 10 additions & 5 deletions CHANGES → CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# LablGTK changes log
LablGTK changes log

In Lablgtk-3.0.beta4:
## In Lablgtk-3.0.beta5:

2019.02.12 [Emilio]
* Update OPAM files so they work better with dune-release

## In Lablgtk-3.0.beta4:

2019.02.11 [Jacques]
* More dune related PRs (#39, #43, #45, #46) [Emilio]
Expand All @@ -11,7 +16,7 @@ In Lablgtk-3.0.beta4:
* Move initialization functions to Props files, to avoid problem with
-no-alias-deps (cf GPR#39)

In Lablgtk-3.0.beta3:
## In Lablgtk-3.0.beta3:

2019.01.11 [Jacques]
* Update propcc.ml4 as suggested by Virgile Prevosto
Expand Down Expand Up @@ -42,7 +47,7 @@ In Lablgtk-3.0.beta3:
* Resurect GMenu.separator_item
* fix examples eventbox.ml, events.ml, editor2.ml

In Lablgtk-3.0.beta2:
## In Lablgtk-3.0.beta2:

2018.12.14 [Jacques]
* Remove unsupported extensions from configure
Expand Down Expand Up @@ -85,7 +90,7 @@ In Lablgtk-3.0.beta2:
2018.08.25 [Francois Bobot]
* Add require for threads in META

In Lablgtk-2.18.6:
## In Lablgtk-2.18.6:

2017.10.30 [Jacques]
* prepare release
Expand Down
7 changes: 7 additions & 0 deletions README.dune.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,13 @@ auto-generated in the future using Dune's promote mechanism.
The preferred workflow to release a new set of OPAM packages is to use
`dune-release`.

### Format of the CHANGES.md file

`dune-release` will take each top-level markdown item as the changelog
for the current version, thus be aware of not introducing `#` markers.

### Detailed notes

The first (and most important) step is to tag the release and push it
to the main repository.

Expand Down
0 README → README.md
100755 → 100644
File renamed without changes.
Empty file modified README.win32
100755 → 100644
Empty file.
15 changes: 9 additions & 6 deletions lablgtk3-gtkspell3.opam
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
opam-version: "2.0"

description: "OCaml interface to GTK+, gtksourceview2 library"
synopsis: "OCaml interface to GTK+"
synopsis: "OCaml interface to GTK+3"
description: """
OCaml interface to GTK+3, gtkspell library

See http://lablgtk.forge.ocamlcore.org/ for more information.

"""

maintainer: "garrigue@math.nagoya-u.ac.jp"
authors: ["Jacques Garrigue et al., Nagoya University"]
homepage: "http://lablgtk.forge.ocamlcore.org/"
homepage: "https://github.com/garrigue/lablgtk"
bug-reports: "https://github.com/garrigue/lablgtk/issues"
dev-repo: "git+https://github.com/garrigue/lablgtk.git"
doc: "https://garrigue.github.io/lablgtk/lablgtk-sourceview"
Expand All @@ -14,9 +19,7 @@ license: "LGPL with linking exception"
depends: [
"ocaml" { >= "4.05.0" }
"dune" { build & >= "1.4.0" }
"lablgtk3" { }
# To fix when opam is updated
# "lablgtk3" { >= "3.0.beta4" }
"lablgtk3" { >= "3.0.beta4" }
]

build: [
Expand Down
14 changes: 8 additions & 6 deletions lablgtk3-sourceview3.opam
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
opam-version: "2.0"

description: "OCaml interface to GTK+, gtksourceview2 library"
synopsis: "OCaml interface to GTK+"
synopsis: "OCaml interface to GTK+ gtksourceview library"
description: """
OCaml interface to GTK+3, gtksourceview3 library.

See http://lablgtk.forge.ocamlcore.org/ for more information.
"""

maintainer: "garrigue@math.nagoya-u.ac.jp"
authors: ["Jacques Garrigue et al., Nagoya University"]
homepage: "http://lablgtk.forge.ocamlcore.org/"
homepage: "https://github.com/garrigue/lablgtk"
bug-reports: "https://github.com/garrigue/lablgtk/issues"
dev-repo: "git+https://github.com/garrigue/lablgtk.git"
doc: "https://garrigue.github.io/lablgtk/lablgtk-sourceview"
Expand All @@ -14,9 +18,7 @@ license: "LGPL with linking exception"
depends: [
"ocaml" { >= "4.05.0" }
"dune" { build & >= "1.4.0" }
"lablgtk3" { }
# To fix when opam is updated
# "lablgtk3" { >= "3.0.beta4" }
"lablgtk3" { >= "3.0.beta4" }
"conf-gtksourceview3" { build & >= "0" }
]

Expand Down
10 changes: 7 additions & 3 deletions lablgtk3.opam
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
opam-version: "2.0"

description: "OCaml interface to GTK+"
synopsis: "OCaml interface to GTK+"
synopsis: "OCaml interface to GTK+3"
description: """
OCaml interface to GTK+3

See http://lablgtk.forge.ocamlcore.org/ for more information.
"""

maintainer: "garrigue@math.nagoya-u.ac.jp"
authors: ["Jacques Garrigue et al., Nagoya University"]
homepage: "http://lablgtk.forge.ocamlcore.org/"
homepage: "https://github.com/garrigue/lablgtk"
bug-reports: "https://github.com/garrigue/lablgtk/issues"
dev-repo: "git+https://github.com/garrigue/lablgtk.git"
license: "LGPL with linking exception"
Expand Down

0 comments on commit ab0025d

Please sign in to comment.