Github messages for voidlinux
 help / color / mirror / Atom feed
From: oreo639 <oreo639@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] libopenraw: split the pixbuf loader into subpackage
Date: Fri, 01 Jul 2022 20:36:50 +0200	[thread overview]
Message-ID: <20220701183650.diBro-qh2Pu-844_SwWFPDh2Ve2h4WvdmhhFSaVoreg@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-37749@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 1872 bytes --]

There is an updated pull request by oreo639 against master on the void-packages repository

https://github.com/oreo639/void-packages low
https://github.com/void-linux/void-packages/pull/37749

libopenraw: split the pixbuf loader into subpackage
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

Someone had this issue on the GNOME matrix, libopenraw-pixbuf-loader wasn't loading their CR2 file correctly and I can reproduce it.
Without the libopenraw pixbufloader, eog was able to load the CR2 file correctly. The pixbuf loader is currently apart of the libopenraw package which is a dependency of xfce thumbler.

Seeing as the pixbuf loader part isn't needed by xfce or eog and the pixbuf loader is considered deprecated upstream, probably best to split it into its own subpackage so people can install it if they really need it.



https://gitlab.freedesktop.org/libopenraw/libopenraw/-/issues/10

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/37749.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-low-37749.patch --]
[-- Type: text/x-diff, Size: 2126 bytes --]

From aad81ed5a41a646bb79ae8700c326b48f493f9f4 Mon Sep 17 00:00:00 2001
From: oreo639 <31916379+Oreo639@users.noreply.github.com>
Date: Wed, 29 Jun 2022 15:49:52 -0700
Subject: [PATCH] libopenraw: split pixbuf loader into subpackage

The pixbuf loader can cause issues loading files and isn't always needed.

The pixbuf loader is also considered deprecated upstream, so it should probably
be split into its own package.
---
 srcpkgs/libopenraw-pixbuf-loader |  1 +
 srcpkgs/libopenraw/template      | 14 +++++++++++---
 2 files changed, 12 insertions(+), 3 deletions(-)
 create mode 120000 srcpkgs/libopenraw-pixbuf-loader

diff --git a/srcpkgs/libopenraw-pixbuf-loader b/srcpkgs/libopenraw-pixbuf-loader
new file mode 120000
index 000000000000..aa7a4d2d924b
--- /dev/null
+++ b/srcpkgs/libopenraw-pixbuf-loader
@@ -0,0 +1 @@
+libopenraw
\ No newline at end of file
diff --git a/srcpkgs/libopenraw/template b/srcpkgs/libopenraw/template
index 5b2f7bbd814f..542d63319c58 100644
--- a/srcpkgs/libopenraw/template
+++ b/srcpkgs/libopenraw/template
@@ -1,7 +1,7 @@
 # Template file for 'libopenraw'
 pkgname=libopenraw
 version=0.1.3
-revision=1
+revision=2
 build_style=gnu-configure
 configure_args="--with-boost=${XBPS_CROSS_BASE}/usr"
 hostmakedepends="pkg-config curl"
@@ -10,8 +10,8 @@ short_desc="Library for camera RAW files decoding"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="LGPL-3.0-or-later"
 #changelog="https://raw.githubusercontent.com/hfiguiere/libopenraw/master/NEWS"
-homepage="https://${pkgname}.freedesktop.org/wiki/"
-distfiles="https://${pkgname}.freedesktop.org/download/${pkgname}-${version}.tar.bz2"
+homepage="https://libopenraw.freedesktop.org/wiki/"
+distfiles="https://libopenraw.freedesktop.org/download/libopenraw-${version}.tar.bz2"
 checksum=6405634f555849eb01cb028e2a63936e7b841151ea2a1571ac5b5b10431cfab9
 
 post_install() {
@@ -29,3 +29,11 @@ libopenraw-devel_package() {
 		vmove usr/include
 	}
 }
+
+libopenraw-pixbuf-loader_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	description=" - pixbuf loader"
+	pkg_install() {
+		vmove "usr/lib/gdk-pixbuf-2.0"
+	}
+}

  parent reply	other threads:[~2022-07-01 18:36 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-29 23:05 [PR PATCH] " oreo639
2022-06-29 23:07 ` [PR PATCH] [Updated] " oreo639
2022-06-30 10:09 ` [PR REVIEW] " Duncaen
2022-06-30 17:26 ` oreo639
2022-06-30 17:34 ` [PR PATCH] [Updated] " oreo639
2022-07-01 14:23 ` [PR REVIEW] " sgn
2022-07-01 18:36 ` oreo639 [this message]
2022-07-01 18:37 ` oreo639
2022-07-02  6:05 ` [PR PATCH] [Merged]: " sgn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220701183650.diBro-qh2Pu-844_SwWFPDh2Ve2h4WvdmhhFSaVoreg@z \
    --to=oreo639@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).