add unversioned symlinks for pkgconfig files [release 1.3.0-3mamba;Sun Mar 24 2019]

This commit is contained in:
Silvan Calarco 2024-01-06 05:07:49 +01:00
parent 142eeb5595
commit 42e7746f63
2 changed files with 31 additions and 2 deletions

View File

@ -0,0 +1,20 @@
--- libmypaint-1.3.0/gegl/mypaint-gegl-surface.c.orig 2019-03-24 20:43:10.866854526 +0100
+++ libmypaint-1.3.0/gegl/mypaint-gegl-surface.c 2019-03-24 20:44:52.576300233 +0100
@@ -78,7 +78,7 @@
if (buffer_is_native(self)) {
GeglBufferIterator *iterator = gegl_buffer_iterator_new(self->buffer, &tile_bbox, 0, self->format,
- read_write_flags, GEGL_ABYSS_NONE);
+ read_write_flags, GEGL_ABYSS_NONE,100);
// Read out
gboolean completed = gegl_buffer_iterator_next(iterator);
@@ -88,7 +88,7 @@
g_critical("Unable to get tile aligned access to GeglBuffer");
request->buffer = NULL;
} else {
- request->buffer = (uint16_t *)(iterator->data[0]);
+ request->buffer = (uint16_t *)(iterator->items[0].data);
}
// So we can finish the iterator in tile_request_end()

View File

@ -1,6 +1,7 @@
%define majver %(echo %version | cut -d. -f1-2)
Name: libmypaint Name: libmypaint
Version: 1.3.0 Version: 1.3.0
Release: 2mamba Release: 3mamba
Summary: MyPaint brush engine library Summary: MyPaint brush engine library
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
@ -10,6 +11,7 @@ URL: http://mypaint.org/
Source: https://github.com/mypaint/libmypaint/archive/v%{version}.zip Source: https://github.com/mypaint/libmypaint/archive/v%{version}.zip
Patch0: libmypaint-1.3.0-versioning.patch Patch0: libmypaint-1.3.0-versioning.patch
Patch1: libmypaint-1.3.0-libgegl-0.4.8.patch Patch1: libmypaint-1.3.0-libgegl-0.4.8.patch
Patch2: libmypaint-1.3.0-libgegl-0.4.14.patch
License: ISC License License: ISC License
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
@ -48,6 +50,7 @@ This package contains libraries and header files for developing applications tha
%setup -q %setup -q
%patch0 -p2 %patch0 -p2
%patch1 -p1 %patch1 -p1
%patch2 -p1
%build %build
./autogen.sh ./autogen.sh
@ -59,6 +62,9 @@ This package contains libraries and header files for developing applications tha
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall %makeinstall
ln -s libmypaint-%{majver}.pc %{buildroot}%{_libdir}/pkgconfig/libmypaint.pc
ln -s libmypaint-gegl-%{majver}.pc %{buildroot}%{_libdir}/pkgconfig/libmypaint-gegl.pc
%find_lang %{name} --all-name || touch %{name}.lang %find_lang %{name} --all-name || touch %{name}.lang
%clean %clean
@ -79,12 +85,15 @@ This package contains libraries and header files for developing applications tha
%{_includedir}/libmypaint-*/mypaint-*.h %{_includedir}/libmypaint-*/mypaint-*.h
%{_libdir}/libmypaint-*.la %{_libdir}/libmypaint-*.la
%{_libdir}/libmypaint-*.so %{_libdir}/libmypaint-*.so
%{_libdir}/pkgconfig/libmypaint-*.pc %{_libdir}/pkgconfig/libmypaint*.pc
%{_datadir}/gir-1.0/MyPaint-*.gir %{_datadir}/gir-1.0/MyPaint-*.gir
%{_datadir}/gir-1.0/MyPaintGegl-*.gir %{_datadir}/gir-1.0/MyPaintGegl-*.gir
%doc README.md TODO %doc README.md TODO
%changelog %changelog
* Sun Mar 24 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.0-3mamba
- add unversioned symlinks for pkgconfig files
* Tue Oct 09 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.0-2mamba * Tue Oct 09 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.0-2mamba
- rebuilt with --enable-gegl, added patches from arch - rebuilt with --enable-gegl, added patches from arch