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
ea5d9b3d
Commit
ea5d9b3d
authored
Apr 07, 2021
by
satmandu
Committed by
GitHub
Apr 07, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
revert libpng gdk_pixbuf_loader cmd (#5566)
parent
b7867208
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
14 deletions
+10
-14
packages/gdk_pixbuf.rb
packages/gdk_pixbuf.rb
+6
-6
packages/libpng.rb
packages/libpng.rb
+0
-5
packages/librsvg.rb
packages/librsvg.rb
+4
-3
No files found.
packages/gdk_pixbuf.rb
View file @
ea5d9b3d
...
...
@@ -25,9 +25,9 @@ class Gdk_pixbuf < Package
depends_on
'glib'
depends_on
'gobject_introspection'
=>
:build
depends_on
'jasper'
=>
:build
depends_on
'libjpeg'
=>
:build
#Actually runtime
depends_on
'libpng'
=>
:build
#Actually runtime
depends_on
'libtiff'
=>
:build
#Actually runtime
depends_on
'libjpeg'
depends_on
'libpng'
depends_on
'libtiff'
depends_on
'libwebp'
=>
:build
depends_on
'pango'
=>
:build
depends_on
'six'
=>
:build
...
...
@@ -53,9 +53,9 @@ class Gdk_pixbuf < Package
end
def
self
.
postinstall
ENV
[
'GDK_PIXBUF_MODULEDIR'
]
=
"
#{
CREW_LIB_PREFIX
}
/gdk-pixbuf-2.0/2.10.0/loaders"
ENV
[
'GDK_PIXBUF_MODULE_FILE'
]
=
"
#{
ENV
[
'GDK_PIXBUF_MODULEDIR'
]
}
.cache"
system
'
gdk-pixbuf-query-loaders --update-cache'
system
'env GDK_PIXBUF_MODULEDIR=#{CREW_LIB_PREFIX}/gdk-pixbuf-2.0/2.10.0/loaders \
GDK_PIXBUF_MODULE_FILE=#{CREW_LIB_PREFIX}/gdk-pixbuf-2.0/2.10.0/loaders.cache \
gdk-pixbuf-query-loaders --update-cache'
gdk_pixbuf_in_bashrc
=
`grep -c "GDK_PIXBUF_MODULEDIR" ~/.bashrc || true`
unless
gdk_pixbuf_in_bashrc
.
to_i
.
positive?
puts
'Putting GDK_PIXBUF code in ~/.bashrc'
.
lightblue
...
...
packages/libpng.rb
View file @
ea5d9b3d
...
...
@@ -45,11 +45,6 @@ class Libpng < Package
end
def
self
.
postinstall
# *.png: Unrecognized image file format (gdk-pixbuf-error-quark, 3)
system
'update-mime-database'
,
"
#{
CREW_PREFIX
}
/share/mime"
if
File
.
exist?
(
"
#{
CREW_PREFIX
}
/bin/gdk-pixbuf-query-loaders"
)
system
'gdk-pixbuf-query-loaders'
,
'--update-cache'
end
end
end
packages/librsvg.rb
View file @
ea5d9b3d
...
...
@@ -66,7 +66,8 @@ class Librsvg < Package
end
def
self
.
postinstall
# gdk_pixbuf should be setting the correct env variables
system
'gdk-pixbuf-query-loaders'
end
if
File
.
exist?
(
"
#{
CREW_PREFIX
}
/bin/gdk-pixbuf-query-loaders"
)
system
'gdk-pixbuf-query-loaders'
,
'--update-cache'
end
end
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