community/libopenraw: upgrade to 0.3.5

This commit is contained in:
psykose 2023-05-03 07:20:02 +00:00
parent e38808863d
commit f4285f0ef2
3 changed files with 4 additions and 58 deletions

View File

@ -1,8 +1,8 @@
# Contributor: Saijin-Naib <Saijin-Naib_package-maintenance@outlook.com>
# Maintainer: Saijin-Naib <Saijin-Naib_package-maintenance@outlook.com>
pkgname=libopenraw
pkgver=0.3.4
pkgrel=3
pkgver=0.3.5
pkgrel=0
pkgdesc="Desktop agnostic effort to support digital camera RAW files"
url="https://libopenraw.freedesktop.org/"
arch="all"
@ -16,13 +16,9 @@ makedepends="
libxml2-dev
"
subpackages="$pkgname-dev $pkgname-pixbuf-loader"
source="https://libopenraw.freedesktop.org/download/libopenraw-$pkgver.tar.bz2
gcc13.patch
"
source="https://libopenraw.freedesktop.org/download/libopenraw-$pkgver.tar.bz2"
options="net" # cargo fetch
export CARGO_REGISTRIES_CRATES_IO_PROTOCOL="sparse"
prepare() {
default_prepare
update_config_sub
@ -54,6 +50,5 @@ loader() {
}
sha512sums="
d12569b6db87b3d6633afeac70eea7fcf8ed8234d8ae287f04af3221181f6bc6aee69065c22cb544dbb565db05fb1c12858902dcaacc2b0083953be1f05b1739 libopenraw-0.3.4.tar.bz2
b1cdfabcdf01f551f77f356549e79a8451e026a4568ab1994578a686c0531ed8466f6bd49bb7441faf74c84084425aa42d6d34fa8f650231920230717f185cb8 gcc13.patch
0cfe06616fafd1144d446640df108fe396e95ef690da2a127e374728f5f1ff3875f2840ecdee254dd36fbd8994f798e913f6ead2d89a9bdf77be7d2ba3ffb2ed libopenraw-0.3.5.tar.bz2
"

View File

@ -1,37 +0,0 @@
Patch-Source: https://gitlab.freedesktop.org/libopenraw/libopenraw/-/commit/43fac545b135bce981b6837aa6cb111ee853f090
From 43fac545b135bce981b6837aa6cb111ee853f090 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Hubert=20Figui=C3=A8re?= <hub@figuiere.net>
Date: Thu, 18 Mar 2021 20:51:56 -0400
Subject: [PATCH] Issue #6 - Fix build on gcc 11
- include <limits> where needed
https://gitlab.freedesktop.org/libopenraw/libopenraw/-/issues/6
---
lib/cr2file.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lib/cr2file.cpp b/lib/cr2file.cpp
index e0a2d7e..993a750 100644
--- a/lib/cr2file.cpp
+++ b/lib/cr2file.cpp
@@ -2,7 +2,7 @@
/*
* libopenraw - cr2file.cpp
*
- * Copyright (C) 2006-2020 Hubert Figuière
+ * Copyright (C) 2006-2021 Hubert Figuière
* Copyright (C) 2008 Novell, Inc.
*
* This library is free software: you can redistribute it and/or
@@ -23,6 +23,7 @@
#include <stddef.h>
#include <cstdint>
#include <vector>
+#include <limits>
#include <memory>
#include <libopenraw/cameraids.h>
--
GitLab

View File

@ -1,12 +0,0 @@
diff --git a/lib/trace.hpp b/lib/trace.hpp
index d56c286..b391198 100644
--- a/lib/trace.hpp
+++ b/lib/trace.hpp
@@ -20,6 +20,7 @@
#pragma once
+#include <cstdint>
#include <string>
#include <vector>
#include <algorithm>