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

freeglut: 3.0.0 -> 3.2.0 #69531

Closed
wants to merge 1 commit into from
Closed

Conversation

r-ryantm
Copy link
Contributor

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/freeglut/versions.

meta.description for freeglut is: '"Create and manage windows containing OpenGL contexts"'.

meta.homepage for freeglut is: '"http://freeglut.sourceforge.net/"

Checks done (click to expand)
Rebuild report (if merged into master) (click to expand)

729 total rebuild path(s)

245 package rebuild(s)

245 x86_64-linux rebuild(s)
222 i686-linux rebuild(s)
49 x86_64-darwin rebuild(s)
213 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
Sylk
afterstep
alsaTools
appimage-run
appleseed
asymptote
bicgl
boinc
box2d
bullet
bullet-roboschool
bumblebee
cegui
celestia
chipmunk
cinepaint
construo
crack_attack
crrcsim
csound
csound-qt
cubicsdr
cups-filters
curaByDagoma
cura_stable
digikam
dillo
displaycal
electricsheep
enblend-enfuse
enlightenment.econnman
enlightenment.efl
enlightenment.enlightenment
enlightenment.ephoto
enlightenment.rage
enlightenment.terminology
eureka-editor
exrdisplay
extremetuxracer
fakenes
faust2csound
fldigi
fllog
flmsg
flpsed
flrig
fltk
fltk13
fltk14
fltrator

Instructions to test this update (click to expand)

Either download from Cachix:

nix-store -r /nix/store/94qkpg96skkb6xw8ks92mz3kvaj6g5hh-freeglut-3.2.0 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)

Or, build yourself:

nix-build -A freeglut https://github.com/r-ryantm/nixpkgs/archive/66a13c808d3375ecff38944174857a5ce6ee4b71.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:

ls -la /nix/store/94qkpg96skkb6xw8ks92mz3kvaj6g5hh-freeglut-3.2.0
ls -la /nix/store/94qkpg96skkb6xw8ks92mz3kvaj6g5hh-freeglut-3.2.0/bin

cc @bjornfor for testing.

Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/freeglut/versions
Copy link
Contributor

@jonringer jonringer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dont merge, some regressions:

$ realpath ./result-dev
/nix/store/dz2kgq8siqayd6vhn4wgaz5vwca1xi3p-freeglut-3.0.0-dev
$ tree ./result-dev/include/
./result-dev/include/
└── GL
    ├── freeglut_ext.h
    ├── freeglut.h
    ├── freeglut_std.h
    └── glut.h

1 directory, 4 files
$ nix-build -A freeglut.dev
/nix/store/3l885ac590dxw3ffa1a6796crxp4pjip-freeglut-3.2.0-dev
$ tree ./result-dev/include/
./result-dev/include/
└── GL
    ├── freeglut_ext.h
    ├── freeglut.h
    ├── freeglut_std.h
    └── freeglut_ucall.h

1 directory, 4 files

anything trying to do #include <GL/glut.h> will now fail

but it's included in the source, just need to manually install it? although this should probably be upstreamed

[09:39:27] jon@jon-desktop /home/jon/Downloads/freeglut-3.2.0/include/GL
$ ls
freeglut.h  freeglut_ext.h  freeglut_std.h  freeglut_ucall.h  glut.h

@bjornfor
Copy link
Contributor

It seems the bug is already fixed upstream. Looking at the history, I think 3.2.0 also used the wrong .so version number. Ugh. Better ask upstream to make another relase, IMHO.

Copy link
Contributor

@bjornfor bjornfor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Upstream regression caused GL/glut.h to disappear from the install (already fixed upstream). We must either patch or ask upstream to make another release.

@jonringer
Copy link
Contributor

I think in lib, they have it as 3.1.0.so which doesn't match

@bjornfor
Copy link
Contributor

Ah, they are already preparing for 3.2.1 bugfix release: https://sourceforge.net/p/freeglut/mailman/message/36771648/.

@jonringer jonringer mentioned this pull request Oct 2, 2019
10 tasks
@bjornfor
Copy link
Contributor

bjornfor commented Oct 6, 2019

Superseded by above PR.

@bjornfor bjornfor closed this Oct 6, 2019
@r-ryantm r-ryantm deleted the auto-update/freeglut branch October 6, 2019 23:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants