All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/gdk-pixbuf: link with lintl if needed
@ 2021-01-28  7:04 Fabrice Fontaine
  2021-01-30 12:31 ` Peter Korsgaard
  0 siblings, 1 reply; 4+ messages in thread
From: Fabrice Fontaine @ 2021-01-28  7:04 UTC (permalink / raw)
  To: buildroot

Fixes:
 - http://autobuild.buildroot.org/results/4dc94dadbc17e06a214478644f29877fe205f93d

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 ...eson.build-link-with-lintl-if-needed.patch | 45 +++++++++++++++++++
 1 file changed, 45 insertions(+)
 create mode 100644 package/gdk-pixbuf/0001-meson.build-link-with-lintl-if-needed.patch

diff --git a/package/gdk-pixbuf/0001-meson.build-link-with-lintl-if-needed.patch b/package/gdk-pixbuf/0001-meson.build-link-with-lintl-if-needed.patch
new file mode 100644
index 0000000000..08a3a681cf
--- /dev/null
+++ b/package/gdk-pixbuf/0001-meson.build-link-with-lintl-if-needed.patch
@@ -0,0 +1,45 @@
+From 65c8bc8ec4ae8dd140b0205a61d0d216fa45d819 Mon Sep 17 00:00:00 2001
+From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+Date: Thu, 28 Jan 2021 07:50:44 +0100
+Subject: [PATCH] meson.build: link with lintl if needed
+
+Link with -lintl to avoid the following build failure:
+
+/home/giuliobenetti/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/mips64el-buildroot-linux-uclibc/5.5.0/../../../../mips64el-buildroot-linux-uclibc/bin/ld: gdk-pixbuf/libgdk_pixbuf-2.0.so.0.4200.2.p/gdk-pixbuf-util.c.o: in function `_gdk_pixbuf_init_gettext':
+gdk-pixbuf-util.c:(.text+0xbc0): undefined reference to `libintl_bindtextdomain'
+/home/giuliobenetti/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/mips64el-buildroot-linux-uclibc/5.5.0/../../../../mips64el-buildroot-linux-uclibc/bin/ld: gdk-pixbuf-util.c:(.text+0xbc8): undefined reference to `libintl_bindtextdomain'
+
+Fixes:
+ - http://autobuild.buildroot.org/results/894359558100ea9637feba16deaf99923805d0f2
+
+Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+[Upstream status:
+https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/merge_requests/101]
+---
+ meson.build | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/meson.build b/meson.build
+index 1cef125a3..973948108 100644
+--- a/meson.build
++++ b/meson.build
+@@ -93,6 +93,7 @@ if cc.has_function('lrint', dependencies: mathlib_dep)
+   gdk_pixbuf_conf.set('HAVE_LRINT', 1)
+ endif
+ 
++intl_dep = cc.find_library('intl', required: false)
+ if cc.has_function('bind_textdomain_codeset', prefix: '#include <libintl.h>')
+   gdk_pixbuf_conf.set('HAVE_BIND_TEXTDOMAIN_CODESET', 1)
+ endif
+@@ -212,7 +213,7 @@ if medialib_dep.found()
+ endif
+ 
+ gdk_pixbuf_deps = [ mathlib_dep, glib_dep, gobject_dep, gmodule_dep, gio_dep,
+-                    shared_mime_dep, medialib_dep ]
++                    shared_mime_dep, medialib_dep, intl_dep ]
+ 
+ # Check if we can build shared modules
+ if gmodule_dep.type_name() == 'pkgconfig'
+-- 
+2.29.2
+
-- 
2.29.2

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH 1/1] package/gdk-pixbuf: link with lintl if needed
  2021-01-28  7:04 [Buildroot] [PATCH 1/1] package/gdk-pixbuf: link with lintl if needed Fabrice Fontaine
@ 2021-01-30 12:31 ` Peter Korsgaard
  2021-01-31 12:33   ` Baruch Siach
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Korsgaard @ 2021-01-30 12:31 UTC (permalink / raw)
  To: buildroot

>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:

 > Fixes:
 >  - http://autobuild.buildroot.org/results/4dc94dadbc17e06a214478644f29877fe205f93d

 > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH 1/1] package/gdk-pixbuf: link with lintl if needed
  2021-01-30 12:31 ` Peter Korsgaard
@ 2021-01-31 12:33   ` Baruch Siach
  2021-01-31 17:04     ` Peter Korsgaard
  0 siblings, 1 reply; 4+ messages in thread
From: Baruch Siach @ 2021-01-31 12:33 UTC (permalink / raw)
  To: buildroot

Hi Peter,

On Sat, Jan 30 2021, Peter Korsgaard wrote:
>>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:
>
>  > Fixes:
>  >  - http://autobuild.buildroot.org/results/4dc94dadbc17e06a214478644f29877fe205f93d
>
>  > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
>
> Committed, thanks.

Not in master as of commit 70acf563aa29 ("package/bitcoin: add CPE
variables").

baruch

-- 
                                                     ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH 1/1] package/gdk-pixbuf: link with lintl if needed
  2021-01-31 12:33   ` Baruch Siach
@ 2021-01-31 17:04     ` Peter Korsgaard
  0 siblings, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2021-01-31 17:04 UTC (permalink / raw)
  To: buildroot

>>>>> "Baruch" == Baruch Siach <baruch@tkos.co.il> writes:

 > Hi Peter,
 > On Sat, Jan 30 2021, Peter Korsgaard wrote:
 >>>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:
 >> 
 >> > Fixes:
 >> >  - http://autobuild.buildroot.org/results/4dc94dadbc17e06a214478644f29877fe205f93d
 >> 
 >> > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
 >> 
 >> Committed, thanks.

 > Not in master as of commit 70acf563aa29 ("package/bitcoin: add CPE
 > variables").

Ups, fixed now - Thanks!

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-01-31 17:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-28  7:04 [Buildroot] [PATCH 1/1] package/gdk-pixbuf: link with lintl if needed Fabrice Fontaine
2021-01-30 12:31 ` Peter Korsgaard
2021-01-31 12:33   ` Baruch Siach
2021-01-31 17:04     ` Peter Korsgaard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.