Commit Graph

22808 Commits

Author SHA1 Message Date
eced2dbf3c Remove prebuilt gmo files so that the mnemonic delete patch actually
works
2025-06-08 11:48:01 -07:00
fee09195e5 gtk2 2.24.33-2.10+deb12u1 for Callisto on bookworm 2025-06-07 23:41:34 -07:00
ae0696473b Callisto patches (mnemonic delete, command key, symbolic accellabel) 2025-06-07 23:39:54 -07:00
0640571192 Prepare proposed bookworm stable update 2024-07-19 11:59:10 +01:00
3802c60053 Update changelog 2024-07-19 11:49:04 +01:00
40b434bf41 Add patch backported from 3.24.43 to avoid looking for modules in cwd
CVE-2024-6655
2024-07-19 11:38:30 +01:00
24aa10f433 d/control.in: Freeze previous Uploaders 2024-07-19 11:35:21 +01:00
f8fe19b473 d/control.in, d/gbp.conf: Set packaging branch for Debian 12 updates 2024-07-19 11:34:47 +01:00
18375f8c43 Release to unstable 2021-05-19 17:14:12 +01:00
e51b0697d1 udeb: Clamp text layout width to no more than was requested
This works around a relayout loop that makes the Debian installer hang.
To minimize the effect on installed systems, this is
`#ifdef DEBIAN_INSTALLER`; we currently have no evidence of similar
relayout loops outside the d-i environment.

Closes: #988786
2021-05-19 17:12:11 +01:00
c21af4e190 d/rules: Build udeb with extra CPPFLAGS
This allows adding special-case code for debian-installer where
necessary.
2021-05-19 11:30:30 +01:00
04bf21467b Increase dependency on librsvg2-common from Suggests to Recommends
This is not a hard dependency, but should be installed in nearly all
cases. Increasingly many icons are provided in SVG format, so
applications will appear broken if the SVG pixbuf loader is not
installed. See #980396 for more information.

adwaita-icon-theme already Recommends librsvg2-common, but people who
routinely do not install recommended packages will get a better hint
about how much will be broken by its removal if GTK also recommends it.
2021-01-27 09:05:41 +00:00
ea972ee5a4 Release to unstable 2020-12-28 16:50:59 +00:00
62f5dd1756 Standards-Version: 4.5.1 (no changes required) 2020-12-28 16:49:39 +00:00
40193b0156 Add Lintian override for #970275 2020-12-28 16:20:57 +00:00
3cd6f2f9e3 d/libgtk2.0-0.symbols: Ignore removal of g_cclosure_marshal_ symbols
These symbols are all canonically provided by GObject, part of the
libglib2.0-0 package, on which GTK depends. They were accidentally
included in the GTK 2.24.32 ABI, but if they are removed, dependent
programs will find the copies in GObject, which are completely
compatible (it has the same content and was generated by the same
script).
2020-12-28 15:16:58 +00:00
da343dc6ec Add patch to reinstate extra gtk_marshal_ symbols
gtkmarshal.c in GTK 2.24.32 was generated by a version of
glib-genmarshal that produced unintended symbols. It was regenerated
for 2.24.33, but it looks as though a few packages might already be
referring to those symbols. Patch them back in for ABI compatibility.
2020-12-28 15:13:49 +00:00
dc2c731bbe Update changelog 2020-12-28 12:26:23 +00:00
ff30b58e43 Drop most patches, included in new upstream release 2020-12-28 12:24:54 +00:00
e259fafd0d New upstream release 2020-12-28 12:24:28 +00:00
026315785c Update upstream source from tag 'upstream/2.24.33'
Update to upstream version '2.24.33'
with Debian dir 186efcf1b8
2020-12-28 12:16:24 +00:00
0709370184 New upstream version 2.24.33 2020-12-28 12:15:46 +00:00
8bfe4ae25c Update changelog 2020-12-28 12:15:34 +00:00
bd5103191a d/watch: Cope with "+" being escaped to "%2B" in links to tarballs 2020-12-28 12:15:10 +00:00
6863194573 2.24.33
The final release off this branch.
2020-12-20 20:09:37 -05:00
dfa68ebe90 Release to unstable 2020-11-23 14:57:16 +00:00
1f5c2e99e8 Preferentially build-depend on libgdk-pixbuf-2.0-dev
We don't need the deprecated Xlib integration that is also pulled in
by the older libgdk-pixbuf2.0-dev package (see #974870).
2020-11-23 14:55:54 +00:00
1d27083996 Update patches from upstream git up to 2.24.32-79-g53d0759d3e
- Windows-, macOS- and CI-specific changes not included here
- Update metadata for #895043 patch, applied upstream
- Add a new patch to fix a GIMP segfault after switching themes
- Add a new patch for a build fix
2020-11-23 14:54:23 +00:00
53d0759d3e Merge branch 'msvc.cleanup.224' into 'gtk-2-24'
Visual Studio projects: Clean up generating gtk.def

See merge request GNOME/gtk!2606
2020-09-21 04:59:03 +00:00
61f871404c Visual Studio projects: Clean up generating gtk.def
It turns out that we do not need to have separate command lines for
running the Visual Studio preprocessor for 32-bit builds and 64-bit
builds as `_WIN64` is automatically defined by the 64-bit compilers.

This means that we can clean up the project files a bit.
2020-09-21 12:02:24 +08:00
5f104c9883 Include gdkquartz.h in gtkclipboard-quartz.c
to declare gdk_quartz_pasteboard_type_to_atom_libgtk_only.

Closes https://gitlab.gnome.org/GNOME/gtk/-/issues/3161
2020-09-14 13:19:09 -07:00
2d88f6f501 Merge branch 'wip/lantw/build-Fix-out-of-source-make-dist' into 'gtk-2-24'
build: Fix out-of-source make dist

See merge request GNOME/gtk!2505
2020-08-31 16:44:06 +00:00
56bdcfd7c6 build: Fix out-of-source make dist
These files are generated during the build.
2020-08-30 11:23:05 +08:00
2b3d65895b Merge branch 'wip/lantw/build-Move-gtk.def-to-builddir' into 'gtk-2-24'
build: Move gtk.def to builddir

See merge request GNOME/gtk!2481
2020-08-26 15:14:45 +00:00
f203b1a751 build: Move gtk.def to builddir
GTK2 uses different gtk.def files on 32-bit and 64-bit Windows. GTK2
source tarballs ship pre-generated gtk.def for 32-bit Windows. If the
user wants to build for 64-bit Windows, the pre-generated gtk.def must
be deleted before the build to force regeneration, or it will fail to
link with 'symbol not defined' errors because the 32-bit Windows build
includes more legacy functions than the 64-bit Windows build.

While users who want to build for 64-bit Windows can delete gtk.def in
the build script, which is currently what most build scripts do, doing
so breaks out-of-source build. On AUR, MinGW packages are usually built
and packaged in the following order:

1. Run 'configure' and 'make' to build for i686-w64-mingw32.
2. Run 'configure' and 'make' to build for x86_64-w64-mingw32.
3. Run 'make install' for i686-w64-mingw32.
4. Run 'make install' for x86_64-w64-mingw32.

It fails because step 3 sees gtk.def left by step 2, which is generated
for a different build. In step 3, make sees the gtk.def change and runs
libtool to relink libgtk-win32-2.0-0.dll. libtool fails to find a lot of
necessary libraries, decides that it is not possible to build a DLL with
-no-undefined, and produces only the static library. It then tries to
relink executables with the static library, and fails with undefined
reference to 'IID_IUnknown' because -Wl,--start-group isn't used and
the use of -Wl,-luuid prevents libtool from using the correct order.

To resolve the problem, move gtk.def to builddir so different builds can
have different gtk.def files while sharing the same source tree. This
also means that the source tarball will no longer include pre-generated
gtk.def file, which should be acceptable because it is already broken on
64-bit Windows.

Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/3029
2020-08-26 23:02:51 +08:00
b4c52486f5 Merge branch 'fix-gtk2-build-on-msys2' into 'gtk-2-24'
Fix GTK2 build on MSYS2

See merge request GNOME/gtk!2305
2020-07-29 12:12:16 +00:00
aae860fe3e Change __declspec(dllexport) to extern __declspec(dllexport)
As of 28 July 2020, building on MSYS2 fails with "multiple definition"
errors unless exported variables are explicitly marked as "extern".

Closes #2958
2020-07-28 13:22:15 +02:00
ce11b878ad Drop version qualifier from pkg-config dependency
This is mainly to be nice to pkgconf. The versioned dependency was there
to ensure multiarch support, and both pkgconf and pkg-config had multiarch
support in oldstable.

Closes: #734480
2020-05-08 14:03:04 +01:00
fc1bd0cf2c Merge branch 'fix-pixbuf-out-of-bounds' into 'gtk-2-24'
Resolve GIMP segfault from accessing memory past end of pixbuf

See merge request GNOME/gtk!1813
2020-05-01 22:20:10 +00:00
d1b21ff159 Resolve GIMP segfault from accessing memory past end of pixbuf
Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/2684

GIMP segfaults while switching themes between dark and gray and inputting Ctrl-O
to open a file. This is because p advances past end of pixbuf in pixbuf-render.c
compute_hint() with num_channels = 3 (no alpha). This is resolved by fixing the
if statement to only check for alpha, thereby advancing p, if there is an alpha
channel.
2020-05-01 21:55:49 +00:00
29103cdc3c Use bundle id instead of package name for the macOS preview as filename is now changed 2020-01-14 22:17:09 +00:00
14238a8405 Close #946295 in changelog 2019-12-29 12:03:12 +00:00
74d04f9a4f d/upstream/metadata: Add upstream URLs 2019-12-17 08:58:39 +00:00
43a8b2aec1 d/tests/build: Fix shellcheck warnings 2019-12-12 17:36:51 +00:00
59906146fd Use the cross-compiled version of pkg-config 2019-12-10 12:24:01 +01:00
65fd480801 * debian/tests/build:
- Use the correct compiler for proposed autopkgtest cross-architecture
    testing support.
2019-12-10 11:53:05 +01:00
ad5d360654 Merge branch 'issue-183-backport' into 'gtk-2-24'
Do not use VIQR input method for vi locale by default

See merge request GNOME/gtk!1193
2019-11-16 20:28:39 +00:00
88ac9188a3 Do not use VIQR input method for vi locale by default
In the Vietnamese Quoted-Readable input method, punctuation following a
base letter is converted into diacritical marks, for example a( → ă.
(See <https://en.wikipedia.org/wiki/Vietnamese_Quoted-Readable>.)
A 2008 bug report in Ubuntu argued that this is a problematic default,
particularly when typing passwords, where the effect of the punctuation
is non-obvious.

According to the bug reporter, VIQR is popular with Vietnamese users
living elsewhere in the world, where Vietnamese keyboards are unlikely
to be readily available, but is not a popular choice within Vietnam,
where the Telex or VNI input modes are preferred.

Closes: #183

Bug-Debian: https://bugs.debian.org/895043
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/gtk+2.0/+bug/191451

Signed-off-by: Emmanuele Bassi <ebassi@gnome.org>
2019-11-16 20:19:23 +00:00
e3cc5ebdd2 Merge branch 'fix-win32-build' into 'gtk-2-24'
win32: Remove extraneous changes

See merge request GNOME/gtk!1119
2019-10-07 15:26:53 +00:00
0d44567669 Add CI for gtk-2-24
A little bit late, but probably for the best.
2019-10-07 15:41:30 +01:00