Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
chromebrew
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
chromebrew
Commits
a7695b51
Commit
a7695b51
authored
Jan 05, 2021
by
satmandu
Committed by
GitHub
Jan 05, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes crash of apps in 2.67.1 (#4884)
parent
02d30307
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
11 deletions
+26
-11
packages/glib.rb
packages/glib.rb
+26
-11
No files found.
packages/glib.rb
View file @
a7695b51
...
...
@@ -3,22 +3,22 @@ require 'package'
class
Glib
<
Package
description
'GLib provides the core application building blocks for libraries and applications written in C.'
homepage
'https://developer.gnome.org/glib'
version
'2.67.1'
version
'2.67.1
-1
'
compatibility
'all'
source_url
'https://download.gnome.org/sources/glib/2.67/glib-2.67.1.tar.xz'
source_sha256
'3b3409fe3a93f9e9f6f5dc9cd8405edfd7513b289589987e568369e627d3350c'
binary_url
({
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/glib-2.67.
1-chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/glib-2.67.
1-chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/glib-2.67.
1-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/glib-2.67.
1-chromeos-x86_64.tar.xz'
,
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/glib-2.67.1-
1-chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/glib-2.67.1-
1-chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/glib-2.67.1-
1-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/glib-2.67.1-
1-chromeos-x86_64.tar.xz'
,
})
binary_sha256
({
aarch64:
'60c7e465018402a5322562096f4d97d7847f5a3f030d0e3c25368032fc42ed5
9'
,
armv7l:
'60c7e465018402a5322562096f4d97d7847f5a3f030d0e3c25368032fc42ed5
9'
,
i686:
'99556392d96794d4f36fd42a7a20adcc59f6af70eb5571740a65e2bf49922a4e
'
,
x86_64:
'78ef204fddb935fa158b1716f891881b979e26215be91ca692bc07af7af7c2e6
'
,
aarch64:
'ba7c85f0d8b325b0a6c5657593c04dacd7c920675da2476f7a4a28a61fb80cb
9'
,
armv7l:
'ba7c85f0d8b325b0a6c5657593c04dacd7c920675da2476f7a4a28a61fb80cb
9'
,
i686:
'46c605eb727ec23785bc796d1c1149e424453764d0e18f7c6fda79bf63868863
'
,
x86_64:
'e95c0ad6959cf02bec7c1ea2950b2bf23a291a775345bb8dc42fb2642453be68
'
,
})
depends_on
'pcre2'
...
...
@@ -28,9 +28,24 @@ class Glib < Package
depends_on
'util_linux'
depends_on
'six'
ENV
[
'CFLAGS'
]
=
"-fno-stack-protector"
def
self
.
patch
# Handle the case of g_object_run_dispose() in GBinding
# Fixes geany crash in glib 2.67.1
patch_description
=
"Handle the case of g_object_run_dispose() in GBinding"
patch_url
=
"https://gitlab.gnome.org/GNOME/glib/-/commit/ba621181221f8b2f8f07743df2c02a7a7638f995.patch"
patch_sha256
=
'31fd538f729094dee050f880e41231918c0da76d6545cd853e606f363b467ea3'
patch_uri
=
URI
.
parse
patch_url
patch_filename
=
'patch'
puts
"Downloading patch:
#{
patch_description
}
"
.
yellow
system
(
'curl'
,
'-s'
,
'--insecure'
,
'-L'
,
'-#'
,
patch_url
,
'-o'
,
patch_filename
)
abort
'Checksum mismatch. :/ Try again.'
.
lightred
unless
Digest
::
SHA256
.
hexdigest
(
File
.
read
(
patch_filename
)
)
==
patch_sha256
puts
"patch downloaded"
.
lightgreen
system
'patch -p 1 < patch'
end
def
self
.
build
system
"meson
#{
CREW_MESON_OPTIONS
}
\
system
"meson
#{
CREW_MESON_
LTO_
OPTIONS
}
\
-Dselinux=disabled \
-Dsysprof=disabled \
-Dman=false \
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment