From 7e9a75625681ba78603fa4478e79ad47807ee89f Mon Sep 17 00:00:00 2001 From: 4fury-c3440d8 Date: Tue, 14 Dec 2021 06:56:22 +0300 Subject: [PATCH 1/3] libopenraw. --- multimedia/graphics/libopenraw/actions.py | 5 ++-- multimedia/graphics/libopenraw/pspec.xml | 28 +++++++++++++++-------- 2 files changed, 21 insertions(+), 12 deletions(-) diff --git a/multimedia/graphics/libopenraw/actions.py b/multimedia/graphics/libopenraw/actions.py index 37ec7c52dc..882bc04fff 100644 --- a/multimedia/graphics/libopenraw/actions.py +++ b/multimedia/graphics/libopenraw/actions.py @@ -9,7 +9,8 @@ from pisi.actionsapi import pisitools from pisi.actionsapi import get def setup(): - autotools.configure("--disable-dependency-tracking --disable-static --enable-gnome") + pisitools.dosed("gnome/libopenraw-gnome-0.3.pc.in", "1", "3") + autotools.configure("--enable-gnome --disable-static") def build(): autotools.make() @@ -20,5 +21,5 @@ def check(): def install(): autotools.rawInstall("DESTDIR=%s" % get.installDIR()) - pisitools.dodoc("AUTHORS", "COPYING", "NEWS", "README", "TODO") + pisitools.dodoc("AUTHORS", "NEWS", "RELEASE_NOTES") diff --git a/multimedia/graphics/libopenraw/pspec.xml b/multimedia/graphics/libopenraw/pspec.xml index f42dc597ee..e773b36616 100644 --- a/multimedia/graphics/libopenraw/pspec.xml +++ b/multimedia/graphics/libopenraw/pspec.xml @@ -1,5 +1,5 @@ - + libopenraw @@ -15,24 +15,26 @@ libopenraw is an ongoing project to provide a free software implementation for camera RAW files decoding. One of the main reason is that dcraw is not suited for easy integration into applications, and there is a need for an easy to use API to build free software digital image processing application. - - https://libopenraw.freedesktop.org/download/libopenraw-0.1.3.tar.bz2 + + https://libopenraw.freedesktop.org/download/libopenraw-0.3.0.tar.xz - libjpeg-turbo-devel - gdk-pixbuf-devel - libxml2-devel - boost-devel + rust curl-devel + boost-devel + libxml2-devel + gdk-pixbuf-devel + libjpeg-turbo-devel libopenraw - libjpeg-turbo - gdk-pixbuf + glib2 libgcc + gdk-pixbuf + libjpeg-turbo /usr/lib @@ -42,7 +44,6 @@ libopenraw-devel - Development files for libopenraw libopenraw @@ -53,6 +54,13 @@ + + 2021-12-14 + 0.3.0 + Version bump. + fury + uglyside@yandex.ru + 2020-12-24 0.1.3 From 10a4191104c9f413c0dcc817228ce7a2f8e8d430 Mon Sep 17 00:00:00 2001 From: 4fury-c3440d8 Date: Tue, 14 Dec 2021 06:58:08 +0300 Subject: [PATCH 2/3] tumbler. --- desktop/xfce/base/tumbler/actions.py | 33 +++++++++++++++------------- desktop/xfce/base/tumbler/pspec.xml | 7 ++++++ 2 files changed, 25 insertions(+), 15 deletions(-) diff --git a/desktop/xfce/base/tumbler/actions.py b/desktop/xfce/base/tumbler/actions.py index a802549e08..c08a11a36f 100644 --- a/desktop/xfce/base/tumbler/actions.py +++ b/desktop/xfce/base/tumbler/actions.py @@ -8,22 +8,25 @@ from pisi.actionsapi import autotools from pisi.actionsapi import pisitools from pisi.actionsapi import get +j = ''.join([ + ' --enable-gstreamer-thumbnailer', + ' --enable-poppler-thumbnailer', + ' --enable-desktop-thumbnailer', + ' --enable-pixbuf-thumbnailer', + ' --enable-ffmpeg-thumbnailer', + ' --enable-cover-thumbnailer', + ' --enable-font-thumbnailer', + ' --enable-jpeg-thumbnailer', + ' --enable-raw-thumbnailer', + ' --enable-odf-thumbnailer', + ' --enable-xdg-cache', + ' --disable-static', + ' --disable-gepub-thumbnailer ' + ]) + def setup(): - autotools.configure("\ - \ - --enable-gstreamer-thumbnailer \ - --enable-poppler-thumbnailer \ - --enable-desktop-thumbnailer \ - --enable-pixbuf-thumbnailer \ - --enable-ffmpeg-thumbnailer \ - --enable-cover-thumbnailer \ - --enable-font-thumbnailer \ - --enable-jpeg-thumbnailer \ - --enable-raw-thumbnailer \ - --enable-odf-thumbnailer \ - --enable-xdg-cache \ - \ - --disable-static") + pisitools.dosed("configure", "libopenraw-gnome-0\.1", "libopenraw-gnome-0.3") + autotools.configure(j) pisitools.dosed("libtool", " -shared ", " -Wl,--as-needed -shared ") diff --git a/desktop/xfce/base/tumbler/pspec.xml b/desktop/xfce/base/tumbler/pspec.xml index 35ca508ed2..7299ce3cdf 100644 --- a/desktop/xfce/base/tumbler/pspec.xml +++ b/desktop/xfce/base/tumbler/pspec.xml @@ -72,6 +72,13 @@ + + 2021-12-14 + 4.16.0 + Rebuild. + uglyside@yandex.ru + fury + 2020-12-24 4.16.0 From 813d4fb224329565dc90d11c66200832c86f550b Mon Sep 17 00:00:00 2001 From: 4fury-c3440d8 Date: Tue, 14 Dec 2021 06:59:45 +0300 Subject: [PATCH 3/3] add spdlog. --- programming/library/spdlog/actions.py | 33 +++++++++++++++ programming/library/spdlog/pspec.xml | 58 +++++++++++++++++++++++++++ 2 files changed, 91 insertions(+) create mode 100644 programming/library/spdlog/actions.py create mode 100644 programming/library/spdlog/pspec.xml diff --git a/programming/library/spdlog/actions.py b/programming/library/spdlog/actions.py new file mode 100644 index 0000000000..6896603802 --- /dev/null +++ b/programming/library/spdlog/actions.py @@ -0,0 +1,33 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file https://www.gnu.org/licenses/gpl-3.0.txt + +from pisi.actionsapi import shelltools, cmaketools, pisitools, get + +i = "%s" % get.installDIR() + +j = ''.join([ + ' -DSPDLOG_BUILD_SHARED=ON', + ' -DSPDLOG_FMT_EXTERNAL=ON', + ' -DCMAKE_BUILD_TYPE=None', + ' -L ' + ]) + +t = "#define SPDLOG_FMT_EXTERNAL" + +def setup(): + shelltools.makedirs("_build") + shelltools.cd("_build") + cmaketools.configure(j, sourceDir = "..") + +def build(): + shelltools.cd("_build") + cmaketools.make() + +def install(): + shelltools.cd("_build") + cmaketools.rawInstall("DESTDIR=%s" % i) + + pisitools.dosed("%s/usr/include/spdlog/tweakme.h" % i, ".*%s" % t, t) diff --git a/programming/library/spdlog/pspec.xml b/programming/library/spdlog/pspec.xml new file mode 100644 index 0000000000..47ddd57a02 --- /dev/null +++ b/programming/library/spdlog/pspec.xml @@ -0,0 +1,58 @@ + + + + + spdlog + https://spdlog.docsforge.com/ + + fury + uglyside@yandex.ru + + MIT + library + programming.library + Fast C++ logging library. + Very fast, header-only/compiled, C++ logging library. + + https://github.com/gabime/spdlog/archive/refs/tags/v1.9.2.tar.gz + + + cmake + fmt-devel + + + + + spdlog + + fmt + libgcc + + + /usr/lib + + + + + spdlog-devel + + fmt-devel + spdlog + + + /usr/lib/cmake + /usr/include/spdlog + /usr/lib/pkgconfig + + + + + + 2021-12-14 + 1.9.2 + First build. + fury + uglyside@yandex.ru + + +