summaryrefslogtreecommitdiff
path: root/app-text/paper-clip
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-12-07 02:07:26 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-12-07 02:07:26 +0000
commit2198f8593ae0312add1bdccb49edfcb935e5f8a6 (patch)
tree67d79ffd7e91cc3858d188c49a65f46860a9bac7 /app-text/paper-clip
parentd285f0ab4ab38d4ea1cd0757a465db5f06764e06 (diff)
gentoo auto-resync : 07:12:2024 - 02:07:26
Diffstat (limited to 'app-text/paper-clip')
-rw-r--r--app-text/paper-clip/Manifest3
-rw-r--r--app-text/paper-clip/files/paper-clip-5.5.1-document-vala-return.patch24
-rw-r--r--app-text/paper-clip/paper-clip-5.5.1-r1.ebuild (renamed from app-text/paper-clip/paper-clip-5.5.1.ebuild)2
3 files changed, 28 insertions, 1 deletions
diff --git a/app-text/paper-clip/Manifest b/app-text/paper-clip/Manifest
index 7a13dd901221..c13c3f216e78 100644
--- a/app-text/paper-clip/Manifest
+++ b/app-text/paper-clip/Manifest
@@ -1,6 +1,7 @@
+AUX paper-clip-5.5.1-document-vala-return.patch 978 BLAKE2B 456c6def5938c2b9b1aac35099ab685efd11edffbd3ebac91d1c14b5eb5d5e806b9bfd4a76b4fc5eaa60ce5c56c77fde2469c57c55e1c310c9f3002fbd748a55 SHA512 00f0ae20818e2b60d43e2e5c87c2fbda2c10e714606c91366c65a161c42447afa9cca5cc02e9ffde67013779132858b9687f842f19115fac88cb7b4a39716987
DIST paper-clip-5.5.1.tar.gz 183419 BLAKE2B 18af0f18d8d3da9f6d6f4cea57aa817e902666ee60f851ec54adc64506d3f4a8508895f64ace28424b0a3018e6bdf0b80cd40a602d226b09e83d1efa2e82daf4 SHA512 5cca56b2cc6f3619c40b202b8e53e3e01834fb10dcf1769553fb6904d50297736c9dcaad376422d2ea49203f40b32fb24d64a1f161a49868e446459d94f08138
DIST paper-clip-5.5.tar.gz 183365 BLAKE2B 74b2b893ad7f421eeeb7e6c5bd3921b20b379cebcdb86371a262455fe95a67c0fdddc894b5ecb3da9d7c612a6e9e7ac91ba4d98cc4e2cfb994de388f9f0f8a45 SHA512 880ed9ee81788e1d1f50d0bf5c119ebf2f45a939432f44e363ce0513217a74af7f9fd012f110fc3a38db392341a3529b8785f0130a4bf0fe83f6dbe12d663b19
EBUILD paper-clip-5.5-r1.ebuild 1437 BLAKE2B 2968def15b6eb31c94fb763522ce7e4141fbe4ea30c24286ca8b6fc069378a7cfcd05dba5684f0dd108676b27da3d16474e8df4b6463b1f3bbade01f93a668e7 SHA512 18220fec476959a5868b03711123d594bfa5013d4cd6fab5fe57ea7d05c7a8f973af8c3321f6a928da04a820ccf540cd2712c297170bf55fd3ccc020ce450f3e
-EBUILD paper-clip-5.5.1.ebuild 1438 BLAKE2B e0a1b2369091f7e6d930ed6b8c2117ea4a60566b3b0e0f5a4d9dadd9eb67fa40be8a2d4ec49302f49c3965b26107034749fbe877423be6aff681d965cab68429 SHA512 85453415dcaa2430dde6ef776b44708d0980db66d4ef27d74837d6767a8fcfbd1be35f490bc24cc795bd63bdee96a817aee06ec61d28d47740d61aee7e984b89
+EBUILD paper-clip-5.5.1-r1.ebuild 1509 BLAKE2B 614a9731f206be77b3b1a8f65b34cc81a948fe7d4ea3597d0e9a823cd60cbb95fcc3a380d8794ea8effc03c8994241d4cc53c5c2d19212c50c5fb62172757b2f SHA512 0fd26d321ed9bac50e2a5e0b18bc2c4b4dfb273b3837daadd51d030684dae5e7ff2d30267521c5c33310c04c32a0f32962629e521b7dbd8a09fd4dcf56906e44
EBUILD paper-clip-9999.ebuild 1438 BLAKE2B 1a14f8e45453220be43f7a87e792ea58fa1c6c378f001f2889f46a5eedfc7c8795b3066df392e2207580f86803d08aca29c24ec6e599b925d4c65b3c3e59aff5 SHA512 3fc7ae135ecb7e409041455be7084aa84a7c1a930758d8dee35b88e8e555bfea8263fab923fbc33338f2c9d309f3fce6cdc949ad089a897148348384ce11aa24
MISC metadata.xml 413 BLAKE2B 66acd49c6583aec7c89aa17de477237b5214aefc73b4814eb8170f1af322fd3d1565557060e2fc63027740457c84131e9d6d4be0f1dd4d531ac7da79429e0c91 SHA512 69d713bd2b11742920a25f5db125de72bb44403a049a1969e988b124d2d88ea36d6ac04a8b2091380f9208ad4407f354322e307a433bb58c413353069eb8cccc
diff --git a/app-text/paper-clip/files/paper-clip-5.5.1-document-vala-return.patch b/app-text/paper-clip/files/paper-clip-5.5.1-document-vala-return.patch
new file mode 100644
index 000000000000..15b579a4d93f
--- /dev/null
+++ b/app-text/paper-clip/files/paper-clip-5.5.1-document-vala-return.patch
@@ -0,0 +1,24 @@
+From 33a64d825b87c842b9ecc243297c7a0248db7180 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Diego=20Iv=C3=A1n=20M=2EE?= <diegoivan.mae@gmail.com>
+Date: Mon, 5 Aug 2024 18:08:36 -0600
+Subject: [PATCH] vala: Solve Vala errors at C compile time
+
+---
+ src/Document.vala | 4 +++-
+ 1 file changed, 3 insertions(+), 1 deletion(-)
+
+diff --git a/src/Document.vala b/src/Document.vala
+index 872309f..e52e1a7 100644
+--- a/src/Document.vala
++++ b/src/Document.vala
+@@ -451,7 +451,9 @@ public class PaperClip.Document : Object {
+ "copies");
+
+ int res = DirUtils.create_with_parents (destination_path, 0777);
+- return_if_fail (res > -1);
++ if (res < 0) {
++ throw new IOError.FAILED (@"Could not create $destination_path");
++ }
+
+ string destination_file = Path.build_filename (destination_path,
+ "%s".printf (original_file.get_basename ()));
diff --git a/app-text/paper-clip/paper-clip-5.5.1.ebuild b/app-text/paper-clip/paper-clip-5.5.1-r1.ebuild
index c7345f67fd28..2e298e0df817 100644
--- a/app-text/paper-clip/paper-clip-5.5.1.ebuild
+++ b/app-text/paper-clip/paper-clip-5.5.1-r1.ebuild
@@ -44,6 +44,8 @@ BDEPEND="
dev-util/desktop-file-utils
"
+PATCHES=( "${FILESDIR}/paper-clip-5.5.1-document-vala-return.patch" )
+
DOCS=( README.md )
src_prepare() {