Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
pmaports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
postmarketOS
pmaports
Commits
87cf8574
Unverified
Commit
87cf8574
authored
4 years ago
by
Timothee LF
Committed by
Martijn Braam
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
temp/gtk+3.0: tweak downgrade workaround for libportal (MR 1650)
parent
fe766c43
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
temp/gtk+3.0/APKBUILD
+6
-5
6 additions, 5 deletions
temp/gtk+3.0/APKBUILD
with
6 additions
and
5 deletions
temp/gtk+3.0/APKBUILD
+
6
−
5
View file @
87cf8574
# Forked from Alpine to apply Purism's patches for responsivness
pkgname
=
gtk+3.0
pkgver
=
9999_git20200616
pkgrel
=
2
pkgrel
=
3
_commit
=
"21ecddab70544dc4421cd34247e9c7c2ef551409"
pkgdesc
=
"The GTK+ Toolkit (v3)"
url
=
"https://www.gtk.org/"
...
...
@@ -69,12 +69,13 @@ builddir="$srcdir/gtk-$_commit"
prepare
()
{
default_prepare
# Prevent unexpected downgrade (pma#694)
# Prevent unexpected downgrade: 3.90.99 is higher than Alpine's version
# (pma#694), but still passes the libportal check (pma#841)
for
_ver
in
gtk_minor_version gtk_micro_version gtk_interface_age
;
do
sed
-i
"s/m4_define(
\[
$_ver
\]
,
\[
.*
\]
)/m4_define([
$_ver
], [9
9
])/g"
configure.ac
sed
-i
"s/m4_define(
\[
$_ver
\]
,
\[
.*
\]
)/m4_define([
$_ver
], [9
0
])/g"
configure.ac
done
sed
-i
"s/ version: '.*',/ version: '3.9
9
.99',/g"
meson.build
sed
-i
"s/^gtk_interface_age = .*/gtk_interface_age = 9
9
/g"
meson.build
sed
-i
"s/ version: '.*',/ version: '3.9
0
.99',/g"
meson.build
sed
-i
"s/^gtk_interface_age = .*/gtk_interface_age = 9
0
/g"
meson.build
# Upstream forgot to include this in the tarball
# https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/1776
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment