Commit graph

13401 commits

Author SHA1 Message Date
nia
3f7d2f63d5 MesaLib: add xgettext to USE_TOOLS, no gallium-xa on sunos 2019-08-31 20:30:00 +00:00
nia
9dcf4c7d23 MesaLib: remove some patches for unsupported NetBSD versions.
pointed out by maya.

bump PKGREVISION
2019-08-31 17:56:09 +00:00
nia
90c11f037f libraw: Update to 0.19.5
Changes:
    WB coefficients check was too strong, weakened
    Fixed possible buffer underrun in modern Samsung loader
2019-08-31 14:20:05 +00:00
nia
ac197f3d91 libepoxy: Update to 1.5.3
Changes since 1.5.2:

    Disable EGL on macOS
    Fix build on macOS [#176, Emmanuele Bassi]
    Add macOS tests
    Fix build with uClibc [#181, Emmanuele Bassi]
    Fix GLES3 symbol lookup [Adam Jackson]
    Fix conditional compilation [#184, Zhao Zhili]
    Require Meson 0.47
    Fix Autotools build with EGL-X11 support [#188, Emmanuele Bassi]

Changes since 1.5.1:

    Fix the detection of the -z,relro linker flag
    Query the EGL context version when bootstrapping on GLES [Adam Jackson]
    Avoid inadvertedly loading libraries when probing for them [Adam Jackson]
    Issue #169: Fix build on FreeBSD [Ting-Wei Lan]
    Consistently use abort() instead of exit() for internal state checks
    Issue #171: Fix a performance regression in the global function pointer
    trampolines introduced by using -Bsymbolic-functions
    Improve performance when using GL function pointers like glAlphaFunc [Adam Jackson]

Changes since 1.5.0:

    Do no add pkg-config dependencies on gl on systems that do not use
    pkg-config, like macOS and Windows [Tom Schoonjans, #156]
    Generalise checks for dlvsym [Ross Burton, #158]
    Add an option for disabling building the test suite [Ross Burton]
    Typo fixes in the comments and documentation [luz.paz, #159]
    Simplify the Meson configuration logic for EGL and GLX [Eric
    Engestrom, #162]
    Use assert when no context is found [Adam Jackson, #166]
    Remove a test superceded by GLVND [#165]
    Avoid Meson warnings when testing for linker arguments


Changes from Epoxy 1.4.3

    Bump the Meson dependency to 0.44.1
    Include Xlib.h in the tests that use X11 API
    Update the GL registry to OpenGL 4.6
    Add gl and egl private dependencies in the pkg-config file
    Allow building Epoxy without X11 support
    Rename the Meson configuration options to be more idiomatic
    New API:
        epoxy_set_resolver_failure_handler()
        epoxy_glsl_version()
        epoxy_extension_in_string()

Issues fixed

    #128 - Fix macOS linker flags [Tom Schoonjans]
    #129 - Use GLVND if available [Adam Jackson]
    #134 - Add fallback definition for EGL_CAST [Daniel Stone]
    #133 - Try even harder to not load GLX [Adam Jackson]
    #138 - Fix the libOpenGL soname [Adam Jackson]
    #137 - Update differences with GLEW [Nigel Stewart]
    #131 - Add epoxy_set_resolver_failure_handler() [Adam Jackson]
    #140 - Fix pointer mismatch on Windows 10 [danem]
    #141 - Define visibility flags for static builds [Dylan Baker]
    #136 - Expose epoxy_extension_in_string() [Lyude Paul]
    #151 - Use correct guard for Android builds [Robert Bragg]
    #154 - Fix dlwrap for glvnd [Adam Jackson]
    #155 - Respect DLOPEN_LIBS [Michał Górny]
    #143 - Fix printf family usage [Ikey Doherty]
    #152 - Do not use OPENGL_LIB on Android
    #145 - Add epoxy_glsl_version()
2019-08-31 13:50:09 +00:00
nia
2d80d6e6f6 glu: Update to 9.0.1
Changes:

Amarnath Valluri (1):
     libutils/mipmap.c: Fixed possible memory leak

John Hein (1):
     pkgconfig: Include -I path for glu itself

Krzysztof Kosiński (1):
     Remove all uses of the register keyword.

Matt Turner (4):
     Add -D(N)DEBUG to CFLAGS dependent on --enable-debug
     libutil: Include stddef.h for NULL
     Switch from bz2 to xz
     glu 9.0.1

Mike Gorchak (1):
     glu: initialize PriorityQ::order field to NULL in pqNewPriorityQ()
2019-08-31 12:43:20 +00:00
nia
4cc26529b3 MesaLib: disable vdpau on SunOS for now 2019-08-31 10:09:15 +00:00
nia
4bca816480 Remove graphics/Mesa
This metapackage isn't particularly useful for modern applications and is
potentially misleading.

Not everything needs glu for OpenGL support, and glut has increasingly
fell out of favour, to the extent of being dropped from Mesa. It's
mostly been replaced by e.g. SDL.

Hopefully I've narrowed down everything pulling in the metapackage
and switched everything to using only the individual libraries it needs.
2019-08-30 19:06:34 +00:00
nia
27aae7c29a lib3ds: Update buildlink3 2019-08-30 18:55:07 +00:00
nia
bfd9157e05 blender: Needs only MesaLib and glu 2019-08-30 18:44:47 +00:00
nia
cca37426c6 cal3d-examples: Fix detection of freeglut 2019-08-30 18:39:22 +00:00
nia
210ed28238 cal3d: does not seem to actually need any OpenGL bits 2019-08-30 18:33:56 +00:00
nia
6e5f2210b8 lib3ds: needs MesaLib, freeglut, glu 2019-08-30 18:30:15 +00:00
nia
924c0f2b03 py-OpenGL: needs MesaLib, freeglut, glu 2019-08-30 18:26:32 +00:00
nia
cb908d4cc1 ruby-opengl: needs MesaLib, freeglut, glu 2019-08-30 18:25:43 +00:00
nia
b60a880bb7 Mesa: it doesn't make sense for anything to be using this any more
everything should be including the individual packages instead.

mark it deprecated.
2019-08-30 17:30:11 +00:00
nia
04cbacf1cb Remove graphics/glut, replacement graphics/freeglut. 2019-08-30 17:17:19 +00:00
nia
c7df4f0992 MesaDemos: Update to 8.4.0nb2
- Use freeglut instead of glut
- Support wayland
- Support EGL
- Support GLESv2
- Support OSMesa
2019-08-30 17:12:19 +00:00
nia
8aa7b04a4c MesaLib: rename MESALIB_SUPPORTS_OS to MESALIB_SUPPORTS_OSMESA 2019-08-30 17:07:59 +00:00
nia
4061210488 Switch packages using GLUT to FreeGLUT.
Start building FreeGLUT with GLUT compatibility on.

- GLUT's maintainance state is much worse than FreeGLUT's, with no
  substanital commits since 2011.
- GLUT can no longer be consider a core component of Mesa or X11.
- Nobody except us seems to be using it...

Other vendors still shipping GLUT:
- GoboLinux, T2 SDE, PLD Linux

Revbump packages using GLUT or freeglut by default.
2019-08-30 17:01:32 +00:00
nia
a15663a4cd MesaLib: Make feature detection in buildlink3 cleaner.
XXX not sure how to detect the special case of native X but
PREFER_PKGSRC=MesaLib safely
2019-08-30 16:30:54 +00:00
nia
93e8db0b0e MesaLib: add a flag to buildlink3 to detect OSMesa support, similar to EGL 2019-08-30 16:00:47 +00:00
nia
ed884556fa libglvnd: Add a buildlink3 2019-08-30 14:39:53 +00:00
nia
52e3dc1b18 libglvnd: PYTHON_FOR_BUILD_ONLY 2019-08-30 13:22:57 +00:00
nia
7cad3e740c MesaLib: various changes to how this is built
- Try to appease the Darwin build.
- Simplify and reduce the number of options to make testing easier.
- Silence lots of pkglint warnings.
- Enable the surfaceless platform as recommended by Mesa.
- Switch to gallium swrast as recommended by Mesa.
- Switch to gallium osmesa as recommended by Mesa.
- Support building without X11.

todo:
- glvnd support (needs testing to figure out which platforms it builds on)
- make AMD drivers optional on platforms like aarch64

Bump PKGREVISION.
2019-08-30 13:00:56 +00:00
nia
3026e5403c Add graphics/libglvnd.
libglvnd is a vendor-neutral dispatch layer for arbitrating OpenGL API calls
between multiple vendors. It allows multiple drivers from different vendors
to coexist on the same filesystem, and determines which vendor to dispatch
each API call to at runtime.

Both GLX and EGL are supported, in any combination with OpenGL and OpenGL ES.
2019-08-30 12:33:22 +00:00
rin
a6c81dae86 Update gnuplot to 5.2.7:
----

Release Notes date: 29-May-2019

Changes in 5.2.7
================

* NEW "set pm3d noclipcb" will skip drawing quadrangles with color < cbmin
* NEW pm terminal supports utf8, dashed lines, bold/italic text
* NEW imaginary component of array values is available to "using" in column 3
* NEW gnuplot --slow may help use of qt terminal with slow system font server
* CHANGE splot "with points pt 0" acts like "with dots"
* CHANGE (tikz) improved default interpretation of gnuplot arrowhead style
* CHANGE teach hidden3d to handle double-headed vectors (arrowstyle "heads")
* CHANGE "unset title" or "reset" resets all title properties to default
* CHANGE font names passed to enhanced text processing may be in quotes
* CHANGE cairo terminals accept fractional font sizes
* CHANGE "plot with table" does not output trailing field separator
* CHANGE better centering for clustered histograms
* CHANGE clear STATS_* variables before performing analysis
* CHANGE cairo, libgd, and svg terminals handle LT_NODRAW by not drawing at all
* CHANGE svg terminal clickable icons are in-line data rather than external refs
* CHANGE revise space allocated for ylabel; allow text justification for ylabel
* CHANGE reduce overhead, making it feasible to have 10^6 hypertext labels
* FIX "plot with table" unnecessarily limited string column output to 60 chars
* FIX (windows) make sure graph window is shown even if the program is "hidden"
* FIX hidden3d mode was not correctly dealing with arrowstyle backhead
* FIX sprintf in 'using' spec must not clobber numeric locale
* FIX tikz - request for polygon with 0 vertices could hang terminal
* FIX lua/tikz - do not attempt to ftruncate output being piped through stdout
* FIX tkcanvas - do not attempt to ftruncate output being piped through stdout
* FIX handle NaN values in input stream to "stats FOO matrix"
* FIX prevent extra read past the end of a datablock holding matrix data
* FIX pm - issues in box and polygon fill, (wide) lines, enhanced text, images
* FIX dropped character in piped input stream if plot window is manually closed
* FIX extraneous dots and potential segfault from splot with contour labels
* FIX boxplots - color sequence correctly starts with specified linetype
* FIX incomplete initialization led to segfault from "gnuplot -c foo.gp baz"
* FIX Allow "pm3d depthorder base" to handle 3D quadrangles with logscale z
2019-08-30 12:16:24 +00:00
nia
192e6be884 MesaLib: deal with missing PATH_MAX definition in Solaris builds 2019-08-29 14:12:57 +00:00
wiz
5c60536f2e cairo: Remove BUILDLINK_API_DEPENDS.
These are lower than what's in their respective buildlink3.mk files.
2019-08-28 22:08:12 +00:00
nia
0029fe22c5 MesaLib: Add flex to USE_TOOLS 2019-08-28 09:09:15 +00:00
markd
7ced7eca34 hugin: fix build with exiv2-0.27.x 2019-08-28 01:32:11 +00:00
markd
be78985d73 prison: update to 5.61.0
5.58.0
  Aztec: Fix padding if the last partial codeword is all one bits
2019-08-27 21:25:45 +00:00
markd
d5edbe01a5 oxygen-icons: update to 5.61.0
changes unknown
2019-08-27 21:22:59 +00:00
markd
9eb4f22430 kplotting: update to 5.61.0
changes unknown
2019-08-27 21:07:00 +00:00
markd
ba4d4e7567 kimageformats: update to 5.61.0
5.60.0
  QImage::byteCount -> QImage::sizeInByes
5.58.0
  tga: don't try to read more than max_palette_size into palette
  tga: memset dst if read fails
  tga: memset the whole palette array, not only the palette_size
  Initialize the unread bits of _starttab
  xcf: Fix uninitialized memory use on broken documents
  ras: Don't overread input on malformed files
  xcf: layer is const in copy and merge, mark it as such
2019-08-27 20:47:47 +00:00
markd
d1acb2cce4 kiconthemes: update to 5.61.0
5.61.0
  Restore "Check if group < LastGroup, as KIconEffect doesn't handle
  UserGroup anyway"
2019-08-27 20:45:27 +00:00
markd
3bd8b6b024 breeze-icons: update to 5.61.0
5.61.0
  Add "user-others" icon
  Make "edit-none" a symlink to "dialog-cancel"
  Delete redundant and monochrome versions of applications-internet
  Add view-pages-* icons, as needed in Okular for page layout selection
  Use clockwise arrows for *refresh* and update-* icons
5.60.0
  Add id="current-color-scheme" to collapse-all icons (bug 409546)
  Add disk-quota icons (bug 389311)
  Symlink install to edit-download
  Change joystick settings icon to game controller (bug 406679)
  Add edit-select-text, make 16px draw-text like 22px
  Update KBruch icon
  Add help-donate-[currency] icons
  Make Breeze Dark use same Kolourpaint icon as Breeze
  Add 22px notifications icons
5.59.0
  gcompris-qt too
  Make falkon icon a real SVG
  add missing icons from the apps, to be redone
  add icon for kfourinline from app, needs updating too
  add kigo icon
  add kwave icon from kwave, to be redone in breeze style
  Symlink arrow-*-double to go-*-skip, add 24px go-*-skip
  Change input-* device icon styles, add 16px icons
  Add dark version of new Knights icon which escaped from my previous commit
  Create new icon for Knights based on Anjuta's icon
  add icons for apps which miss them in breeze, these should be updated
  to be more breezy but they are needed for the new kde.org/applications for now
  kxstitch icon from kde:kxstitch, to be updated
  don't glob everything and the kitchen sink
  make sure to also assert ScaledDirectories
5.58.0
  Add non-symbolic 16px versions of find-location and mark-location
  Symlink preferences-system-windows-effect-flipswitch to
  preferences-system-tabbox
  Add "edit-delete-remove" icon symlink and add 22px version of "paint-none"
  and "edit-none"
  Use consistent default Kickoff user icon
  Add an icon for Thunderbolt KCM
  Sharpen Z's in system-suspend* icons
  Improve "widget-alternatives" icon
  Add go-up/down/next/previous-skip
  Update KDE logo to be closer to original
  Add alternatives icon
2019-08-27 19:59:41 +00:00
nia
0f3e91efa6 MesaLib: Needs bison. 2019-08-27 10:24:47 +00:00
nia
fbea00b750 MesaLib: Update to 19.1.5
Bug fixes

    Bug 109630 - vkQuake flickering geometry under Intel
    Bug 110395 - Shadows are flickering in SuperTuxKart
    Bug 111113 - ANGLE BlitFramebufferTest.MultisampleDepthClear/ES3_OpenGL fails on Intel Ubuntu19.04
    Bug 111267 - [CM246] Flickering with multiple draw calls within the same graphics pipeline if a compute pipeline is present

Changes

Bas Nieuwenhuizen (4):

    radv: Do non-uniform lowering before bool lowering.
    ac/nir: Use correct cast for readfirstlane and ptrs.
    radv: Avoid binning RAVEN hangs.
    radv: Avoid VEGA/RAVEN scissor bug in binning.

Danylo Piliaiev (1):

    i965: Emit a dummy MEDIA_VFE_STATE before switching from GPGPU to 3D

Eric Engestrom (1):

    util: fix mem leak of program path

Erik Faye-Lund (2):

    gallium/dump: add missing query-type to short-list
    gallium/dump: add missing query-type to short-list

Greg V (2):

    anv: remove unused Linux-specific include
    intel/perf: use MAJOR_IN_SYSMACROS/MAJOR_IN_MKDEV

Jason Ekstrand (1):

    anv: Emit a dummy MEDIA_VFE_STATE before switching from GPGPU to 3D

Juan A. Suarez Romero (3):

    docs: add sha256 checksums for 19.1.4
    cherry-ignore: panfrost: Make ctx->job useful
    Update version to 19.1.5

Marek Olšák (2):

    radeonsi: disable SDMA image copies on dGPUs to fix corruption in games
    radeonsi: fix an assertion failure: assert(!res->b.is_shared)

Matt Turner (1):

    meson: Test for program_invocation_name

Sergii Romantsov (1):

    i965/clear: clear_value better precision
2019-08-26 14:01:27 +00:00
adam
46ffa9a095 py-graphviz: updated to 0.12
Version 0.12

Fix missing escaping of backslashes, e.g. in labels (pull request DNGros).

Add quiet argument to standalone view() function, and quiet_view
argument on .render() and .view() methods. Supresses the stderr
output of started viewer processes (unavailable on Windows).

Add basic debug logging via the stdlib logging module.

Reformatted some examples, improved tests by using autospec for mocks.
2019-08-26 13:22:27 +00:00
nia
12ea11ecbe MesaLib: strip out -Werror=return-type
Mesa has some switch statements that do assert(0) for the default case
and return on all the other cases. Some versions of GCC count these
functions as not terminating with the right return value and are erroring.

reported by wilbury.
2019-08-24 20:39:37 +00:00
nia
4e44a32f9f MesaLib: resolve a build failure on SunOS, reported by wilbury 2019-08-24 20:11:19 +00:00
nia
a78ab09c81 MesaLib: disable egl/gbm on SunOS for now. failure reported by wilbury 2019-08-24 20:01:01 +00:00
nia
71c07e77f3 MesaLib: bump llvm requirement to one with RTTI 2019-08-23 19:05:15 +00:00
nia
7615494809 MesaLib: resolving some build failures when built without LLVM 2019-08-23 11:37:48 +00:00
nia
86096544a8 MesaLib: Disable llvm when not dri. 2019-08-23 11:07:37 +00:00
tnn
3dc1e99be0 MesaLib: fix wrong type passed to sysctl(3) arg2 2019-08-23 07:05:18 +00:00
nia
dfb35922e1 MesaLib: Update to 19.1.4
Upstream has replaced their autotools-based build system with Meson.

Thanks to fox@ for testing on Linux.

New features:

* GL_AMD_texture_texture4 on all GL 4.0 drivers.
* GL_EXT_shader_implicit_conversions on all drivers (ES extension).
* GL_EXT_texture_compression_bptc on all GL 4.0 drivers (ES extension).
* GL_EXT_texture_compression_rgtc on all GL 3.0 drivers (ES extension).
* GL_EXT_render_snorm on gallium drivers (ES extension).
* GL_EXT_texture_view on drivers supporting texture views (ES extension).
* GL_OES_texture_view on drivers supporting texture views (ES extension).
* GL_NV_shader_atomic_float on nvc0 (Fermi/Kepler only).
* Shader-based software implementations of GL_ARB_gpu_shader_fp64, GL_ARB_gpu_shader_int64, GL_ARB_vertex_attrib_64bit, and GL_ARB_shader_ballot on i965.
* VK_ANDROID_external_memory_android_hardware_buffer on Intel
* Fixed and re-exposed VK_EXT_pci_bus_info on Intel and RADV
* VK_EXT_scalar_block_layout on Intel and RADV
* VK_KHR_depth_stencil_resolve on Intel
* VK_KHR_draw_indirect_count on Intel
* VK_EXT_conditional_rendering on Intel
* VK_EXT_memory_budget on RADV
* GL_ARB_parallel_shader_compile on all drivers.
* GL_EXT_gpu_shader4 on all GL 3.1 drivers.
* GL_EXT_shader_image_load_formatted on radeonsi.
* GL_EXT_texture_buffer_object on all GL 3.1 drivers.
* GL_EXT_texture_compression_s3tc_srgb on Gallium drivers and i965 (ES extension).
* GL_NV_compute_shader_derivatives on iris and i965.
* GL_KHR_parallel_shader_compile on all drivers.
* VK_EXT_buffer_device_address on Intel and RADV.
* VK_EXT_depth_clip_enable on Intel and RADV.
* VK_KHR_ycbcr_image_arrays on Intel.
* VK_EXT_inline_uniform_block on Intel and RADV.
* VK_EXT_external_memory_host on Intel.
* VK_EXT_host_query_reset on Intel and RADV.
* VK_KHR_surface_protected_capabilities on Intel and RADV.
* VK_EXT_pipeline_creation_feedback on Intel and RADV.
* VK_KHR_8bit_storage on RADV.
* VK_AMD_gpu_shader_int16 on RADV.
* VK_AMD_gpu_shader_half_float on RADV.
* VK_NV_compute_shader_derivatives on Intel.
* VK_KHR_shader_float16_int8 on Intel and RADV (RADV only supports int8).
* VK_KHR_shader_atomic_int64 on Intel.
* VK_EXT_descriptor_indexing on Intel.
* VK_KHR_shader_float16_int8 on Intel and RADV.
* GL_INTEL_conservative_rasterization on iris.
* VK_EXT_memory_budget on Intel.
2019-08-22 17:24:01 +00:00
ryoon
edacf2bbcb Recursive revbump from boost-1.71.0 2019-08-22 12:22:48 +00:00
nia
9f1d3d7a97 Use http MASTER_SITES for Mesa 2019-08-22 09:59:47 +00:00
nia
82231af09b Mesa MASTER_SITES updates 2019-08-22 09:57:08 +00:00