mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-24 18:03:06 +02:00
cairo: Update to 1.16.0
This updates the package and adds a patch so that it compiles with binutils 2.34. Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> Reviewed-by: Peter Müller <peter.mueller@ipfire.org> Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
committed by
Arne Fitzenreiter
parent
cfd2f07cf0
commit
50a04f785d
@@ -15,23 +15,21 @@
|
||||
#usr/lib/cairo/libcairo-trace.a
|
||||
#usr/lib/cairo/libcairo-trace.la
|
||||
#usr/lib/cairo/libcairo-trace.so
|
||||
usr/lib/cairo/libcairo-trace.so.0
|
||||
usr/lib/cairo/libcairo-trace.so.0.0.0
|
||||
#usr/lib/libcairo-gobject.a
|
||||
#usr/lib/libcairo-gobject.la
|
||||
#usr/lib/libcairo-gobject.so
|
||||
usr/lib/libcairo-gobject.so.2
|
||||
usr/lib/libcairo-gobject.so.2.11400.8
|
||||
usr/lib/libcairo-gobject.so.2.11600.0
|
||||
#usr/lib/libcairo-script-interpreter.a
|
||||
#usr/lib/libcairo-script-interpreter.la
|
||||
#usr/lib/libcairo-script-interpreter.so
|
||||
usr/lib/libcairo-script-interpreter.so.2
|
||||
usr/lib/libcairo-script-interpreter.so.2.11400.8
|
||||
usr/lib/libcairo-script-interpreter.so.2.11600.0
|
||||
#usr/lib/libcairo.a
|
||||
#usr/lib/libcairo.la
|
||||
#usr/lib/libcairo.so
|
||||
usr/lib/libcairo.so.2
|
||||
usr/lib/libcairo.so.2.11400.8
|
||||
usr/lib/libcairo.so.2.11600.0
|
||||
#usr/lib/pkgconfig/cairo-fc.pc
|
||||
#usr/lib/pkgconfig/cairo-ft.pc
|
||||
#usr/lib/pkgconfig/cairo-gobject.pc
|
||||
@@ -65,6 +63,7 @@ usr/lib/libcairo.so.2.11400.8
|
||||
#usr/share/gtk-doc/html/cairo/cairo-Regions.html
|
||||
#usr/share/gtk-doc/html/cairo/cairo-SVG-Surfaces.html
|
||||
#usr/share/gtk-doc/html/cairo/cairo-Script-Surfaces.html
|
||||
#usr/share/gtk-doc/html/cairo/cairo-Tags-and-Links.html
|
||||
#usr/share/gtk-doc/html/cairo/cairo-Transformations.html
|
||||
#usr/share/gtk-doc/html/cairo/cairo-Types.html
|
||||
#usr/share/gtk-doc/html/cairo/cairo-User-Fonts.html
|
||||
@@ -92,13 +91,13 @@ usr/lib/libcairo.so.2.11400.8
|
||||
#usr/share/gtk-doc/html/cairo/index-1.10.html
|
||||
#usr/share/gtk-doc/html/cairo/index-1.12.html
|
||||
#usr/share/gtk-doc/html/cairo/index-1.14.html
|
||||
#usr/share/gtk-doc/html/cairo/index-1.16.html
|
||||
#usr/share/gtk-doc/html/cairo/index-1.2.html
|
||||
#usr/share/gtk-doc/html/cairo/index-1.4.html
|
||||
#usr/share/gtk-doc/html/cairo/index-1.6.html
|
||||
#usr/share/gtk-doc/html/cairo/index-1.8.html
|
||||
#usr/share/gtk-doc/html/cairo/index-all.html
|
||||
#usr/share/gtk-doc/html/cairo/index.html
|
||||
#usr/share/gtk-doc/html/cairo/index.sgml
|
||||
#usr/share/gtk-doc/html/cairo/language-bindings.html
|
||||
#usr/share/gtk-doc/html/cairo/left-insensitive.png
|
||||
#usr/share/gtk-doc/html/cairo/left.png
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
include Config
|
||||
|
||||
VER = 1.14.8
|
||||
VER = 1.16.0
|
||||
|
||||
THISAPP = cairo-$(VER)
|
||||
DL_FILE = $(THISAPP).tar.xz
|
||||
@@ -40,7 +40,7 @@ objects = $(DL_FILE)
|
||||
|
||||
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
||||
|
||||
$(DL_FILE)_MD5 = 4ef0db2eacb271c74f8a3fd87822aa98
|
||||
$(DL_FILE)_MD5 = f19e0353828269c22bd72e271243a552
|
||||
|
||||
install : $(TARGET)
|
||||
|
||||
@@ -70,6 +70,7 @@ $(subst %,%_MD5,$(objects)) :
|
||||
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
@$(PREBUILD)
|
||||
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
|
||||
cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/cairo-1.16.0-binutils-2.34.patch
|
||||
cd $(DIR_APP) && ./configure --prefix=/usr \
|
||||
--disable-win32 --disable-os2 --disable-beos
|
||||
cd $(DIR_APP) && make $(MAKETUNING)
|
||||
|
||||
20
src/patches/cairo-1.16.0-binutils-2.34.patch
Normal file
20
src/patches/cairo-1.16.0-binutils-2.34.patch
Normal file
@@ -0,0 +1,20 @@
|
||||
--- a/util/cairo-trace/lookup-symbol.c
|
||||
+++ b/util/cairo-trace/lookup-symbol.c
|
||||
@@ -145,14 +145,14 @@ find_address_in_section (bfd *abfd,
|
||||
if (symbol->found)
|
||||
return;
|
||||
|
||||
- if ((bfd_get_section_flags (symtab->bfd, section) & SEC_ALLOC) == 0)
|
||||
+ if ((bfd_section_flags (section) & SEC_ALLOC) == 0)
|
||||
return;
|
||||
|
||||
- vma = bfd_get_section_vma (symtab->bfd, section);
|
||||
+ vma = bfd_section_vma (section);
|
||||
if (symbol->pc < vma)
|
||||
return;
|
||||
|
||||
- size = bfd_section_size (symtab->bfd, section);
|
||||
+ size = bfd_section_size (section);
|
||||
if (symbol->pc >= vma + size)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user