Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
alpine
aports
Commits
5e221367
Commit
5e221367
authored
1 month ago
by
Martijn Braam
Committed by
Patrycja Rosa
1 month ago
Browse files
Options
Downloads
Patches
Plain Diff
testing/libdng: upgrade to 0.2.1
parent
a31faa0d
No related branches found
No related tags found
2 merge requests
!79570
community/firefox-esr: upgrade to 128.7.0
,
!77678
testing/libdng: upgrade to 0.2.1
Pipeline
#285727
passed
1 month ago
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
testing/libdng/APKBUILD
+4
-7
4 additions, 7 deletions
testing/libdng/APKBUILD
testing/libdng/libtiff.patch
+0
-25
0 additions, 25 deletions
testing/libdng/libtiff.patch
with
4 additions
and
32 deletions
testing/libdng/APKBUILD
+
4
−
7
View file @
5e221367
# Contributor: Martijn Braam <martijn@brixit.nl>
# Maintainer: Martijn Braam <martijn@brixit.nl>
pkgname
=
libdng
pkgver
=
0.
1
.1
pkgrel
=
1
pkgver
=
0.
2
.1
pkgrel
=
0
pkgdesc
=
"Interface library between libtiff and the world to make sure the output is valid DNG"
url
=
"https://gitlab.com/megapixels-org/libdng"
arch
=
"all !s390x"
# Libtiff does weird things on s390x
license
=
"MIT"
source
=
"https://gitlab.com/megapixels-org/libdng/-/archive/
$pkgver
/libdng-
$pkgver
.tar.gz
libtiff.patch
"
source
=
"https://gitlab.com/megapixels-org/libdng/-/archive/
$pkgver
/libdng-
$pkgver
.tar.gz"
makedepends
=
"cmake linux-headers meson tiff-dev scdoc"
subpackages
=
"
$pkgname
-doc
$pkgname
-dev
$pkgname
-utils"
...
...
@@ -34,6 +32,5 @@ utils() {
sha512sums
=
"
e8f8f0d78ff89fc50e2fde1787d528946c171b43b1056eecd645904f93ac57e52a516361667628a1457783169703649a7aebd496c054cd38751f9de21e84be1d libdng-0.1.1.tar.gz
eff305e2d67a4074a3f4e7ccb7b3285ca4445bca68c6f829c7a884654a35bc959bef1f20ee8580aa01de9d2cedf1405ab5e90fa416122bd44365a70e187d2ed1 libtiff.patch
9a2bee7f4d33dd087bfdfe744319edcbfd22dbc420c506dcb978974cbc6724141fa6ecc2ff5c6c43419d4bb8054e9ed97550590259c325887ec93fef68e17a83 libdng-0.2.1.tar.gz
"
This diff is collapsed.
Click to expand it.
testing/libdng/libtiff.patch
deleted
100644 → 0
+
0
−
25
View file @
a31faa0d
From 9c7b18e7ff687a8c69704dc6fc8e7689e2532060 Mon Sep 17 00:00:00 2001
From: Martijn Braam <martijn@brixit.nl>
Date: Sun, 28 Apr 2024 00:05:51 +0200
Subject: [PATCH] Fix CFARepeatPattern for newer libtiff versions
---
src/libdng.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/libdng.c b/src/libdng.c
index 6b0cd4f..317dd85 100644
--- a/src/libdng.c
+++ b/src/libdng.c
@@ -375,7 +375,7 @@
libdng_write_with_thumbnail(libdng_info *dng, const char *path, unsigned int wid
TIFFSetField(tif, TIFFTAG_SAMPLESPERPIXEL, 1);
TIFFSetField(tif, TIFFTAG_PLANARCONFIG, PLANARCONFIG_CONTIG);
TIFFSetField(tif, TIFFTAG_SAMPLEFORMAT, SAMPLEFORMAT_UINT);
-#if (TIFFLIB_VERSION > 20230000)
+#if (TIFFLIB_VERSION > 20230000 && TIFFLIB_VERSION < 20240321)
TIFFSetField(tif, DNGTAG_CFAREPEATPATTERNDIM, 2, dng->bayer_pattern_dimensions);
#else
TIFFSetField(tif, DNGTAG_CFAREPEATPATTERNDIM, dng->bayer_pattern_dimensions);
--
GitLab
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment