Compare commits
1 Commits
Author | SHA256 | Date | |
---|---|---|---|
|
1fe515825b |
3
libsixel-1.10.5.tar.gz
Normal file
3
libsixel-1.10.5.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:b6654928bd423f92e6da39eb1f40f10000ae2cc6247247fc1882dcff6acbdfc8
|
||||||
|
size 4286415
|
@@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Feb 27 20:25:06 UTC 2025 - Enrico Belleri <kilgore.trout@idesmi.eu>
|
||||||
|
|
||||||
|
- Update to version 1.10.5:
|
||||||
|
* Some bugfixes and protective mechanisms
|
||||||
|
- Drop static-libs.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Feb 18 23:14:42 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
|
Fri Feb 18 23:14:42 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
@@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
%define _sover 1
|
%define _sover 1
|
||||||
Name: libsixel
|
Name: libsixel
|
||||||
Version: 1.10.3
|
Version: 1.10.5
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: SIXEL encoder/decoder
|
Summary: SIXEL encoder/decoder
|
||||||
License: MIT
|
License: MIT
|
||||||
@@ -26,7 +26,6 @@ Group: Development/Libraries/C and C++
|
|||||||
URL: https://github.com/libsixel/libsixel
|
URL: https://github.com/libsixel/libsixel
|
||||||
Source: https://github.com/libsixel/libsixel/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
Source: https://github.com/libsixel/libsixel/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||||
Patch0: meson.patch
|
Patch0: meson.patch
|
||||||
Patch1: static-libs.patch
|
|
||||||
BuildRequires: bash
|
BuildRequires: bash
|
||||||
BuildRequires: meson
|
BuildRequires: meson
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
|
62
meson.patch
62
meson.patch
@@ -2,11 +2,11 @@
|
|||||||
meson.build | 20 ++++++++++----------
|
meson.build | 20 ++++++++++----------
|
||||||
1 file changed, 10 insertions(+), 10 deletions(-)
|
1 file changed, 10 insertions(+), 10 deletions(-)
|
||||||
|
|
||||||
Index: b/meson.build
|
Index: libsixel-1.10.5/meson.build
|
||||||
===================================================================
|
===================================================================
|
||||||
--- a/meson.build
|
--- libsixel-1.10.5.orig/meson.build
|
||||||
+++ b/meson.build
|
+++ libsixel-1.10.5/meson.build
|
||||||
@@ -27,7 +27,7 @@ if cc.compiles('''
|
@@ -25,7 +25,7 @@ if cc.compiles('''
|
||||||
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
||||||
__attribute__((deprecated)) void test(void) {}
|
__attribute__((deprecated)) void test(void) {}
|
||||||
''')
|
''')
|
||||||
@@ -15,57 +15,3 @@ Index: b/meson.build
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
c_args = [
|
c_args = [
|
||||||
@@ -101,24 +101,24 @@ pymod = import('python')
|
|
||||||
python2_installation = pymod.find_installation('python2', required: get_option('python2'))
|
|
||||||
|
|
||||||
if get_option('libcurl').enabled() and curl_found.found()
|
|
||||||
- conf_data.set('HAVE_LIBCURL', true)
|
|
||||||
+ conf_data.set('HAVE_LIBCURL', 1)
|
|
||||||
libsixel_deps += [curl_found]
|
|
||||||
endif
|
|
||||||
|
|
||||||
-if get_option('jpeg').enabled() and jpeg_found
|
|
||||||
- conf_data.set('HAVE_JPEG', true)
|
|
||||||
+if get_option('jpeg').enabled() and jpeg_found.found()
|
|
||||||
+ conf_data.set('HAVE_JPEG', 1)
|
|
||||||
libsixel_deps += [jpeg_found]
|
|
||||||
endif
|
|
||||||
|
|
||||||
-if get_option('png').enabled() and png_found
|
|
||||||
- conf_data.set('HAVE_PNG', true)
|
|
||||||
+if get_option('png').enabled() and png_found.found()
|
|
||||||
+ conf_data.set('HAVE_PNG', 1)
|
|
||||||
libsixel_deps += [png_found]
|
|
||||||
endif
|
|
||||||
|
|
||||||
loaders = ['stb-image']
|
|
||||||
|
|
||||||
if get_option('gd').enabled() and gd_found.found()
|
|
||||||
- conf_data.set('HAVE_GD', true)
|
|
||||||
+ conf_data.set('HAVE_GD', 1)
|
|
||||||
libsixel_deps += [gd_found]
|
|
||||||
loaders += ['gd']
|
|
||||||
|
|
||||||
@@ -132,19 +132,19 @@ if get_option('gd').enabled() and gd_fou
|
|
||||||
|
|
||||||
foreach f : gd_funcs
|
|
||||||
if cc.has_function(f, dependencies: gd_found)
|
|
||||||
- conf_data.set('HAVE_DECL_@0@'.format(f.to_upper()), true)
|
|
||||||
+ conf_data.set('HAVE_DECL_@0@'.format(f.to_upper()), 1)
|
|
||||||
endif
|
|
||||||
endforeach
|
|
||||||
endif
|
|
||||||
|
|
||||||
if get_option('gdk-pixbuf2').enabled() and gdkpixbuf2_found.found()
|
|
||||||
- conf_data.set('HAVE_GDK_PIXBUF2', true)
|
|
||||||
+ conf_data.set('HAVE_GDK_PIXBUF2', 1)
|
|
||||||
libsixel_deps += [gdkpixbuf2_found]
|
|
||||||
loaders += ['gdk-pixbuf2']
|
|
||||||
endif
|
|
||||||
|
|
||||||
if have_getopt_long
|
|
||||||
- conf_data.set('HAVE_GETOPT_LONG', true)
|
|
||||||
+ conf_data.set('HAVE_GETOPT_LONG', 1)
|
|
||||||
endif
|
|
||||||
|
|
||||||
configure_file(output: 'config.h', configuration: conf_data)
|
|
||||||
|
Reference in New Issue
Block a user