Skip to contentSkip to conversation

gdk-pixbuf: copy loaders.cache later on

PATCH New Gustavo Zacarias 2 participants 4 messages Feb 23, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gdk-pixbuf: copy loaders.cache later on

Trying to copy loaders.cache from host-gdk-pixbuf to the gdk-pixbuf build directory in the post-patch hook is too early when using TLP (it breaks horribly) since host-gdk-pixbuf isn't built yet during the massive unpack/patch cycle.
Switch it to the pre-build hook instead which ensures that gdk-pixbuf dependencies were already built.

---
 package/gdk-pixbuf/gdk-pixbuf.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/gdk-pixbuf/gdk-pixbuf.mk +1 -1
index e4d3658..0f4eeb1 100644
@@ -80,7 +80,7 @@ define GDK_PIXBUF_COPY_LOADERS_CACHE
 	cp -f $(HOST_DIR)/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache \
 		$(@D)/gdk-pixbuf
 endef
-GDK_PIXBUF_POST_PATCH_HOOKS += GDK_PIXBUF_COPY_LOADERS_CACHE
+GDK_PIXBUF_PRE_BUILD_HOOKS += GDK_PIXBUF_COPY_LOADERS_CACHE
 
 $(eval $(autotools-package))
 $(eval $(host-autotools-package))
Signature · 1 line
2.10.2
#1 lore raw

PATCH 1/1 gdk-pixbuf: copy loaders.cache later on

Hello,

Quoted 8 lines · Gustavo Zacarias

Trying to copy loaders.cache from host-gdk-pixbuf to the gdk-pixbuf build directory in the post-patch hook is too early when using TLP (it breaks horribly) since host-gdk-pixbuf isn't built yet during the massive unpack/patch cycle.
Switch it to the pre-build hook instead which ensures that gdk-pixbuf dependencies were already built.

Since the first pat

Quoted 17 lines
---
 package/gdk-pixbuf/gdk-pixbuf.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/gdk-pixbuf/gdk-pixbuf.mk +1 -1
index e4d3658..0f4eeb1 100644
@@ -80,7 +80,7 @@ define GDK_PIXBUF_COPY_LOADERS_CACHE
 	cp -f $(HOST_DIR)/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache \
 		$(@D)/gdk-pixbuf
 endef
-GDK_PIXBUF_POST_PATCH_HOOKS += GDK_PIXBUF_COPY_LOADERS_CACHE
+GDK_PIXBUF_PRE_BUILD_HOOKS += GDK_PIXBUF_COPY_LOADERS_CACHE
 
 $(eval $(autotools-package))
 $(eval $(host-autotools-package))
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
#2 lore raw

PATCH 1/1 gdk-pixbuf: copy loaders.cache later on

Hello,

Quoted 10 lines · Thomas Petazzoni

Hello,

Quoted 7 lines · Gustavo Zacarias

Trying to copy loaders.cache from host-gdk-pixbuf to the gdk-pixbuf build directory in the post-patch hook is too early when using TLP (it breaks horribly) since host-gdk-pixbuf isn't built yet during the massive unpack/patch cycle.
Switch it to the pre-build hook instead which ensures that gdk-pixbuf dependencies were already built.

Quoted 3 lines
Quoted 1 line

Since the first pat

Sorry for this e-mail sent by mistake.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
#3 lore raw

PATCH 1/1 gdk-pixbuf: copy loaders.cache later on

In reply to Gustavo Zacarias

Hello,

Quoted 11 lines · Gustavo Zacarias

Trying to copy loaders.cache from host-gdk-pixbuf to the gdk-pixbuf build directory in the post-patch hook is too early when using TLP (it breaks horribly) since host-gdk-pixbuf isn't built yet during the massive unpack/patch cycle.
Switch it to the pre-build hook instead which ensures that gdk-pixbuf dependencies were already built.

---
 package/gdk-pixbuf/gdk-pixbuf.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied to next, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com