Debian Patches

Status for psychtoolbox-3/3.0.22.3+dfsg-3

Patch Description Author Forwarded Bugs Origin Last update
deb_fail_if_mex_doesnotexists_while_stripping fail if build fails within the .m build script Yaroslav Halchenko <debian@onerussian.com> no 2026-07-25
deb_see_README.Debian advertise Debian-specific documentation in an error case. The change originally patched out recommendation to run the program
with elevated privileges, but this is not contemporary practice
anymore. The pointer to package local documentation remains.
Yaroslav Halchenko <debian@onerussian.com> not-needed 2020-12-07
deb_consistent_octave_outdir make outdir independent of the build architecture. This facilitates multiple architecture support by making the build flow
more generic in Debian context.
Yaroslav Halchenko <debian@onerussian.com> not-needed 2011-07-27
deb_no_special_arm No special target directory on ARM boxes for now Yaroslav Halchenko <debian@onerussian.com> not-needed 2013-05-07
deb_no_PTB_USE_NVSTUSB for now build without NVSTUSB support (needs to be packaged) Yaroslav Halchenko <debian@onerussian.com> not-needed 2016-01-25
deb_no_so2_stripping avoid link against .so instead of .so.2 for liboctaveinterp. This is relevant for older Debian/Ubuntus. Yaroslav Halchenko <debian@onerussian.com> not-needed 2016-03-01
use_pkg-fonfig_to_obtain_triplets.patch Fix hardcoded x86_64 include paths for glib-2.0 and gstreamer-1.0 The Screen mex build in mode==0 hardcoded x86_64-linux-gnu multiarch paths
for glib-2.0 and gstreamer-1.0 headers, causing the build to fail on arm64
and any other non-x86_64 architecture where glibconfig.h lives under a
different multiarch tuple. Replace the hardcoded -I flags with the output
of pkg-config, which returns the correct architecture-specific paths.
.
The mex call is also converted from a single-string form to the multi-argument
cell form so that the dynamically-computed iflags variable can be passed as a
separate argument.
Andreas Tille <tille@debian.org> no 2026-04-07
deb_use_system_GLEW.patch build against the system GLEW library instead of the embedded copy Upstream ships a private copy of GLEW (glew.c plus GL/*ew.h headers) and
compiles it straight into Screen.mex and moglcore.mex via -DGLEW_STATIC.
The repacked +dfsg tarball strips that copy (see Files-Excluded in
debian/copyright), so we must include the system <GL/glew.h> headers and
link against -lGLEW instead. Without this Screen.mex ends up with ~150
undefined __glew* symbols and fails to load at runtime, and moglcore.mex
fails to build at all since glew.c is listed among its sources.
.
The Windows-only wglew.h includes are left alone: they are never compiled
on Debian and libglew-dev does not ship that header.
Yaroslav Halchenko <debian@onerussian.com> not-needed 2026-08-15

All known versions for source package 'psychtoolbox-3'

Links