Package: khronos-api
Version: 0~svn29735-1.1
Severity: wishlist

While working on #865307 and #865308 I saw that the Khronos Group moved,
see
https://cvs.khronos.org/svn/repos/ogl/trunk/doc/registry/public/README.txt:
~~~~~
As of 2017-01-21, the OpenGL Registry has been MOVED to

    https://www.khronos.org/registry/OpenGL/

The new registry location is backed by a github repository at

    https://github.com/KhronosGroup/OpenGL-Registry

There will be no further updates to the public Subversion area. We are
in the process of setting up redirects so that deep links under
opengl.org/registry will continue to work, and the old website will
remain active until those redirects are established; but everyone should
begin using the new registry on khronos.org as soon as possible.

Please file issues with the new registry on the github repository.
~~~~~


For now I uploaded 0~svn33340-0.1, so that we have the latest version
from the old repo for comparison with the new ones.  (There have been a
few more svn revisions, but they don't touch the api/ directory.)

Next I'll be working on updating upstream Wine to the current version
and the new location.

Then I'd like to update khronos-api here, however there are a few things
to consider:


1.) Version
-----------

Currently there are no upstream releases or tags available, so we have
to continue to make our own number.

Unfortunately 0~gitVERSION < 0~svnVERSION, so I suggest 0+gitVERSION.

For the specific VERSION:

A commonly used scheme (especially for golang packages) is
  0~git<commit-date>-<hash>
e.g.:
$ git log -1 --pretty=format:0.0~git%cd.%h --date=format:%Y%m%d%H%M
0.0~git201707111832.9755811

This works without any additional tags.  Also the maintainer of the
github repo may merge other branches, even if they have older committer
dates, without breaking it.  AFAICS also cherry-picking an old commit,
or rebasing another branch, should work.


Alternatively we might tag the inital commit in the repo "0", and then
use git describe:

$ git tag 0 2f2b0f91f0a7ed3b468e03593dde66176e9b3032
$ git describe --tags
0-126-g9755811
$ VERSION="$(git describe --tags | sed "s|-|+git|")-1"
$ echo $VERSION
0+git126-g9755811-1


Any preferences or suggestions?



2.) EGL API and Extension Registry

EGL is part of the current khronos-api package, but Khronos moved it now
to a separate repository.  (I might have gotten this wrong, or missed
further changes.  Can't say for sure yet.)

This shouldn't be a problem for Wine, because it only uses gl.xml and
wgl.xml.

But there's one other package (qtwebengine-opensource-src) which
build-depends on khronos-api.  I've rebuilt that successfully with
0~svn33340-0.1, but I don't know yet if it requires egl.

So we have to keep that in mind, but generally I'd just suggest to drop
egl from the khronos-api package (no multi source tarball package).


Greets
jre

Reply via email to