[gentoo-commits] repo/gentoo:master commit in: media-libs/libinsane/

2023-03-03 Thread Bernard Cafarelli
commit: 4ee9b268d86d795fc8963db16877aeada1c9a664
Author: Bernard Cafarelli  gentoo  org>
AuthorDate: Fri Mar  3 23:10:40 2023 +
Commit: Bernard Cafarelli  gentoo  org>
CommitDate: Fri Mar  3 23:13:55 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ee9b268

media-libs/libinsane: add 1.0.10

Signed-off-by: Bernard Cafarelli  gentoo.org>

 media-libs/libinsane/Manifest|  1 +
 media-libs/libinsane/libinsane-1.0.10.ebuild | 49 
 2 files changed, 50 insertions(+)

diff --git a/media-libs/libinsane/Manifest b/media-libs/libinsane/Manifest
index cb87f0c83d54..146e3df8a39d 100644
--- a/media-libs/libinsane/Manifest
+++ b/media-libs/libinsane/Manifest
@@ -1 +1,2 @@
+DIST libinsane-1.0.10.tar.bz2 896982 BLAKE2B 
6e109f21ae90a58b5c1918baca3779e75ca471c453232067eb09ac454fd28a1e66c5b6d55f9212660df26c6c7440be21fcf620f04a9103e2af27bf050bc11139
 SHA512 
80ad2005ce3411c3254e513d402f8a03c54107507a45a319333961405fb778e9d89fd79abe8058f1ccb45883c8db75ee5218d5a1a1216fcc9504a43711049605
 DIST libinsane-1.0.9.tar.gz 965461 BLAKE2B 
ee464d8b3328e8205dbc04d779c8c55133c3bab8b5483ab151870c22311f5d5c000a535baba95ea6362d130f57b6f185e9391017f808dec4bf23a93109546337
 SHA512 
a3d5ef16363454956c39767968515db76d1c279035e3a4c6a7db77a3e99e409b77cdacd27ccfba0fe80f5bf36d8c37d700aed551645b6038f3b770b2eaec10e2

diff --git a/media-libs/libinsane/libinsane-1.0.10.ebuild 
b/media-libs/libinsane/libinsane-1.0.10.ebuild
new file mode 100644
index ..a2fc36608592
--- /dev/null
+++ b/media-libs/libinsane/libinsane-1.0.10.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit meson vala
+
+DESCRIPTION="Crossplatform access to image scanners"
+HOMEPAGE="https://gitlab.gnome.org/World/OpenPaperwork/libinsane;
+SRC_URI="https://gitlab.gnome.org/World/OpenPaperwork/libinsane/-/archive/${PV}/${P}.tar.bz2;
+
+LICENSE="LGPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc gtk-doc test"
+
+RDEPEND="dev-libs/gobject-introspection
+   media-gfx/sane-backends"
+DEPEND="${RDEPEND}
+   doc? (
+   app-doc/doxygen
+   dev-util/gtk-doc
+   )
+   test? (
+   dev-util/cunit
+   dev-util/valgrind
+   )"
+
+BDEPEND="dev-util/glib-utils
+   virtual/pkgconfig
+   $(vala_depend)"
+
+# Tests require an operational valgrind
+# https://wiki.gentoo.org/wiki/Debugging
+RESTRICT="test"
+
+PATCHES=( "${FILESDIR}"/${PN}-1.0.1-meson_options.patch
+   )
+
+src_prepare() {
+   vala_setup
+   default
+}
+
+src_configure() {
+   local emesonargs=(
+   $(meson_use doc doc)
+   )
+   meson_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/libinsane/

2023-03-03 Thread Bernard Cafarelli
commit: 29aeeed1d9750a14aa0bfcccf835e137f4d69d97
Author: Bernard Cafarelli  gentoo  org>
AuthorDate: Fri Mar  3 23:12:21 2023 +
Commit: Bernard Cafarelli  gentoo  org>
CommitDate: Fri Mar  3 23:13:56 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29aeeed1

media-libs/libinsane: add gnome-gitlab upstream metadata

Signed-off-by: Bernard Cafarelli  gentoo.org>

 media-libs/libinsane/metadata.xml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/media-libs/libinsane/metadata.xml 
b/media-libs/libinsane/metadata.xml
index b67250773718..0c76ef027fde 100644
--- a/media-libs/libinsane/metadata.xml
+++ b/media-libs/libinsane/metadata.xml
@@ -17,4 +17,7 @@ It has however some limitations:
 
 It is the successor of Pyinsane2 but shares no code with it.
   
+  
+World/OpenPaperwork/libinsane
+  
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/libinsane/files/, media-libs/libinsane/

2022-07-18 Thread Bernard Cafarelli
commit: cf94391a811ee92d1b09fabd0c15e99747cc0d64
Author: Bernard Cafarelli  gentoo  org>
AuthorDate: Mon Jul 18 17:49:06 2022 +
Commit: Bernard Cafarelli  gentoo  org>
CommitDate: Mon Jul 18 17:49:23 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf94391a

media-libs/libinsane: fix compilation with MUSL

Closes: https://bugs.gentoo.org/832146
Signed-off-by: Bernard Cafarelli  gentoo.org>

 .../libinsane/files/libinsane-1.0.9-musl.patch | 238 +
 media-libs/libinsane/libinsane-1.0.9.ebuild|   6 +-
 2 files changed, 242 insertions(+), 2 deletions(-)

diff --git a/media-libs/libinsane/files/libinsane-1.0.9-musl.patch 
b/media-libs/libinsane/files/libinsane-1.0.9-musl.patch
new file mode 100644
index ..319c1473c29b
--- /dev/null
+++ b/media-libs/libinsane/files/libinsane-1.0.9-musl.patch
@@ -0,0 +1,238 @@
+From 43bde093ca66f430ae9c78204fcf02e6edf28833 Mon Sep 17 00:00:00 2001
+From: Bernard Cafarelli 
+Date: Fri, 15 Jul 2022 17:38:43 +0200
+Subject: [PATCH 1/2] dedicated_process: only enable backtrace when GLIBC is
+ used
+
+This is a GNU-specific extension so will not compile (and execinfo.h not
+found) with other libc like MUSL
+---
+ .../libinsane/src/workarounds/dedicated_process/worker.c| 6 ++
+ 1 file changed, 6 insertions(+)
+
+diff --git a/subprojects/libinsane/src/workarounds/dedicated_process/worker.c 
b/subprojects/libinsane/src/workarounds/dedicated_process/worker.c
+index 51a9209..826ae8a 100644
+--- a/subprojects/libinsane/src/workarounds/dedicated_process/worker.c
 b/subprojects/libinsane/src/workarounds/dedicated_process/worker.c
+@@ -1,5 +1,7 @@
+ #include 
++#ifdef __GLIBC__
+ #include 
++#endif
+ #include 
+ #include 
+ #include 
+@@ -144,8 +146,10 @@ static void worker_log_callback(enum lis_log_level lvl, 
const char *msg)
+ #ifndef DISABLE_CRASH_HANDLER
+ static void crash_handler(int sig) {
+   pid_t mypid;
++#ifdef __GLIBC__
+   void *stack[16];
+   size_t size;
++#endif
+   unsigned int i;
+ 
+   mypid = getpid();
+@@ -165,6 +169,7 @@ static void crash_handler(int sig) {
+   );
+   }
+ 
++#ifdef __GLIBC__
+   fprintf(stderr, " START OF BACKTRACE \n");
+ 
+   // get void*'s for all entries on the stack
+@@ -175,6 +180,7 @@ static void crash_handler(int sig) {
+ 
+   fsync(STDERR_FILENO);
+   fprintf(stderr, " END OF BACKTRACE \n");
++#endif
+ 
+   if (kill(mypid, sig) < 0) {
+   fprintf(stderr, "KILL FAILED\n");
+-- 
+GitLab
+
+
+From 4a9eeb0df231668fd3760761f6fbe99c4e81d3ab Mon Sep 17 00:00:00 2001
+From: Bernard Cafarelli 
+Date: Fri, 15 Jul 2022 18:10:48 +0200
+Subject: [PATCH 2/2] dedicated_process: rename stderr communication pipes
+
+On some systems, stdin, stdout, and stderr are macros that you cannot
+assign to in the normal way [1]. This uses std_err instead
+
+[1] https://www.gnu.org/software/libc/manual/html_node/Standard-Streams.html
+---
+ .../workarounds/dedicated_process/master.c| 10 ++---
+ .../workarounds/dedicated_process/protocol.c  | 42 +--
+ .../workarounds/dedicated_process/protocol.h  |  4 +-
+ .../workarounds/dedicated_process/worker.c|  4 +-
+ 4 files changed, 30 insertions(+), 30 deletions(-)
+
+diff --git a/subprojects/libinsane/src/workarounds/dedicated_process/master.c 
b/subprojects/libinsane/src/workarounds/dedicated_process/master.c
+index a48098a..be7f3f5 100644
+--- a/subprojects/libinsane/src/workarounds/dedicated_process/master.c
 b/subprojects/libinsane/src/workarounds/dedicated_process/master.c
+@@ -183,7 +183,7 @@ static void *log_thread(void *_pipes)
+   );
+   lis_log_debug(
+   "Stderr pipe: Read: %d - Write: %d",
+-  pipes->sorted.stderr[0], pipes->sorted.stderr[1]
++  pipes->sorted.std_err[0], pipes->sorted.std_err[1]
+   );
+ 
+   lis_log_info("Log thread started");
+@@ -1158,8 +1158,8 @@ enum lis_error lis_api_workaround_dedicated_process(
+   private->pipes.sorted.msgs_w2m[0] = -1;
+   close(private->pipes.sorted.logs[0]);
+   private->pipes.sorted.logs[0] = -1;
+-  close(private->pipes.sorted.stderr[0]);
+-  private->pipes.sorted.stderr[0] = -1;
++  close(private->pipes.sorted.std_err[0]);
++  private->pipes.sorted.std_err[0] = -1;
+ 
+   lis_worker_main(to_wrap, >pipes);
+   abort(); // lis_worker_main() must never return
+@@ -1172,8 +1172,8 @@ enum lis_error lis_api_workaround_dedicated_process(
+   private->pipes.sorted.msgs_w2m[1] = -1;
+   close(private->pipes.sorted.logs[1]);
+   private->pipes.sorted.logs[1] = -1;
+-  close(private->pipes.sorted.stderr[1]);
+-  private->pipes.sorted.stderr[1] = -1;
++  close(private->pipes.sorted.std_err[1]);
++  private->pipes.sorted.std_err[1] = -1;
+ 
+   lis_log_info("Child process 

[gentoo-commits] repo/gentoo:master commit in: media-libs/libinsane/

2022-02-04 Thread Bernard Cafarelli
commit: c653b34c2f0be635ca8c75b43ffdd3d2269a8c1a
Author: Bernard Cafarelli  gentoo  org>
AuthorDate: Fri Feb  4 12:17:32 2022 +
Commit: Bernard Cafarelli  gentoo  org>
CommitDate: Fri Feb  4 12:17:32 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c653b34c

media-libs/libinsane: drop old

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Bernard Cafarelli  gentoo.org>

 media-libs/libinsane/Manifest   |  2 --
 media-libs/libinsane/libinsane-1.0.7.ebuild | 48 -
 media-libs/libinsane/libinsane-1.0.8.ebuild | 48 -
 3 files changed, 98 deletions(-)

diff --git a/media-libs/libinsane/Manifest b/media-libs/libinsane/Manifest
index 9a01a49b05e9..cb87f0c83d54 100644
--- a/media-libs/libinsane/Manifest
+++ b/media-libs/libinsane/Manifest
@@ -1,3 +1 @@
-DIST libinsane-1.0.7.tar.gz 964471 BLAKE2B 
8c91f9799fe0f4bd3181e62a31396f2eb0670b41bc6c231da8714d87dcf854299fd6777481fc0cfb70700d1f34dbb453695451ea2e09ab180a14d601cd678197
 SHA512 
9c9f884fa3f99a7b04882a4cf866ab5c0b7abb1f60ac75ba921856184ad1471de41dc5a0c312eba93eb82c75d54bea9e30c76f2ee8b647904da700e013fe3ba9
-DIST libinsane-1.0.8.tar.gz 965255 BLAKE2B 
f87281f599b097a077b3d09457585c31d6def2b42fcf66bb4207998cdd3e609b2ae4034f6867c49869668ff411effdd150d23b1ea0e92cce45adf43e23203c80
 SHA512 
810a7e7005b93a4da53aefa6b3c63824800eba5fee9b945d45f64372a98e04e6fd5fd554db817f2b41c481ec78b3723b151337de6cb5784d423868e19bd36aa3
 DIST libinsane-1.0.9.tar.gz 965461 BLAKE2B 
ee464d8b3328e8205dbc04d779c8c55133c3bab8b5483ab151870c22311f5d5c000a535baba95ea6362d130f57b6f185e9391017f808dec4bf23a93109546337
 SHA512 
a3d5ef16363454956c39767968515db76d1c279035e3a4c6a7db77a3e99e409b77cdacd27ccfba0fe80f5bf36d8c37d700aed551645b6038f3b770b2eaec10e2

diff --git a/media-libs/libinsane/libinsane-1.0.7.ebuild 
b/media-libs/libinsane/libinsane-1.0.7.ebuild
deleted file mode 100644
index bf213a427962..
--- a/media-libs/libinsane/libinsane-1.0.7.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit meson vala
-
-DESCRIPTION="Crossplatform access to image scanners"
-HOMEPAGE="https://gitlab.gnome.org/World/OpenPaperwork/libinsane;
-SRC_URI="https://gitlab.gnome.org/World/OpenPaperwork/libinsane/-/archive/${PV}/${P}.tar.gz;
-
-LICENSE="LGPL-3+"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="doc gtk-doc test"
-
-RDEPEND="dev-libs/gobject-introspection
-   media-gfx/sane-backends"
-DEPEND="${RDEPEND}
-   doc? (
-   app-doc/doxygen
-   dev-util/gtk-doc
-   )
-   test? (
-   dev-util/cunit
-   dev-util/valgrind
-   )"
-
-BDEPEND="dev-util/glib-utils
-   virtual/pkgconfig
-   $(vala_depend)"
-
-# Tests require an operational valgrind
-# https://wiki.gentoo.org/wiki/Debugging
-RESTRICT="test"
-
-PATCHES=( "${FILESDIR}"/${PN}-1.0.1-meson_options.patch )
-
-src_prepare() {
-   vala_src_prepare
-   default
-}
-
-src_configure() {
-   local emesonargs=(
-   $(meson_use doc doc)
-   )
-   meson_src_configure
-}

diff --git a/media-libs/libinsane/libinsane-1.0.8.ebuild 
b/media-libs/libinsane/libinsane-1.0.8.ebuild
deleted file mode 100644
index bf213a427962..
--- a/media-libs/libinsane/libinsane-1.0.8.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit meson vala
-
-DESCRIPTION="Crossplatform access to image scanners"
-HOMEPAGE="https://gitlab.gnome.org/World/OpenPaperwork/libinsane;
-SRC_URI="https://gitlab.gnome.org/World/OpenPaperwork/libinsane/-/archive/${PV}/${P}.tar.gz;
-
-LICENSE="LGPL-3+"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="doc gtk-doc test"
-
-RDEPEND="dev-libs/gobject-introspection
-   media-gfx/sane-backends"
-DEPEND="${RDEPEND}
-   doc? (
-   app-doc/doxygen
-   dev-util/gtk-doc
-   )
-   test? (
-   dev-util/cunit
-   dev-util/valgrind
-   )"
-
-BDEPEND="dev-util/glib-utils
-   virtual/pkgconfig
-   $(vala_depend)"
-
-# Tests require an operational valgrind
-# https://wiki.gentoo.org/wiki/Debugging
-RESTRICT="test"
-
-PATCHES=( "${FILESDIR}"/${PN}-1.0.1-meson_options.patch )
-
-src_prepare() {
-   vala_src_prepare
-   default
-}
-
-src_configure() {
-   local emesonargs=(
-   $(meson_use doc doc)
-   )
-   meson_src_configure
-}



[gentoo-commits] repo/gentoo:master commit in: media-libs/libinsane/

2021-01-02 Thread Bernard Cafarelli
commit: 4ce16684ccf9e07b93bea8aeb596b22e4c211551
Author: Bernard Cafarelli  gentoo  org>
AuthorDate: Sat Jan  2 10:41:52 2021 +
Commit: Bernard Cafarelli  gentoo  org>
CommitDate: Sat Jan  2 10:56:39 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ce16684

media-libs/libinsane: 1.0.9 bump

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Bernard Cafarelli  gentoo.org>

 media-libs/libinsane/Manifest   |  1 +
 media-libs/libinsane/libinsane-1.0.9.ebuild | 48 +
 2 files changed, 49 insertions(+)

diff --git a/media-libs/libinsane/Manifest b/media-libs/libinsane/Manifest
index 7b98221ffd9..9a01a49b05e 100644
--- a/media-libs/libinsane/Manifest
+++ b/media-libs/libinsane/Manifest
@@ -1,2 +1,3 @@
 DIST libinsane-1.0.7.tar.gz 964471 BLAKE2B 
8c91f9799fe0f4bd3181e62a31396f2eb0670b41bc6c231da8714d87dcf854299fd6777481fc0cfb70700d1f34dbb453695451ea2e09ab180a14d601cd678197
 SHA512 
9c9f884fa3f99a7b04882a4cf866ab5c0b7abb1f60ac75ba921856184ad1471de41dc5a0c312eba93eb82c75d54bea9e30c76f2ee8b647904da700e013fe3ba9
 DIST libinsane-1.0.8.tar.gz 965255 BLAKE2B 
f87281f599b097a077b3d09457585c31d6def2b42fcf66bb4207998cdd3e609b2ae4034f6867c49869668ff411effdd150d23b1ea0e92cce45adf43e23203c80
 SHA512 
810a7e7005b93a4da53aefa6b3c63824800eba5fee9b945d45f64372a98e04e6fd5fd554db817f2b41c481ec78b3723b151337de6cb5784d423868e19bd36aa3
+DIST libinsane-1.0.9.tar.gz 965461 BLAKE2B 
ee464d8b3328e8205dbc04d779c8c55133c3bab8b5483ab151870c22311f5d5c000a535baba95ea6362d130f57b6f185e9391017f808dec4bf23a93109546337
 SHA512 
a3d5ef16363454956c39767968515db76d1c279035e3a4c6a7db77a3e99e409b77cdacd27ccfba0fe80f5bf36d8c37d700aed551645b6038f3b770b2eaec10e2

diff --git a/media-libs/libinsane/libinsane-1.0.9.ebuild 
b/media-libs/libinsane/libinsane-1.0.9.ebuild
new file mode 100644
index 000..56d97e6d53c
--- /dev/null
+++ b/media-libs/libinsane/libinsane-1.0.9.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit meson vala
+
+DESCRIPTION="Crossplatform access to image scanners"
+HOMEPAGE="https://gitlab.gnome.org/World/OpenPaperwork/libinsane;
+SRC_URI="https://gitlab.gnome.org/World/OpenPaperwork/libinsane/-/archive/${PV}/${P}.tar.gz;
+
+LICENSE="LGPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc gtk-doc test"
+
+RDEPEND="dev-libs/gobject-introspection
+   media-gfx/sane-backends"
+DEPEND="${RDEPEND}
+   doc? (
+   app-doc/doxygen
+   dev-util/gtk-doc
+   )
+   test? (
+   dev-util/cunit
+   dev-util/valgrind
+   )"
+
+BDEPEND="dev-util/glib-utils
+   virtual/pkgconfig
+   $(vala_depend)"
+
+# Tests require an operational valgrind
+# https://wiki.gentoo.org/wiki/Debugging
+RESTRICT="test"
+
+PATCHES=( "${FILESDIR}"/${PN}-1.0.1-meson_options.patch )
+
+src_prepare() {
+   vala_src_prepare
+   default
+}
+
+src_configure() {
+   local emesonargs=(
+   $(meson_use doc doc)
+   )
+   meson_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/libinsane/

2020-10-25 Thread Bernard Cafarelli
commit: e98f889be033a2a9eebd765a117bcd25ca2ccacc
Author: Bernard Cafarelli  gentoo  org>
AuthorDate: Sat Oct 24 21:26:34 2020 +
Commit: Bernard Cafarelli  gentoo  org>
CommitDate: Sun Oct 25 17:58:18 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e98f889b

media-libs/libinsane: 1.0.8 bump

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Bernard Cafarelli  gentoo.org>

 media-libs/libinsane/Manifest   |  1 +
 media-libs/libinsane/libinsane-1.0.8.ebuild | 48 +
 2 files changed, 49 insertions(+)

diff --git a/media-libs/libinsane/Manifest b/media-libs/libinsane/Manifest
index 7fbbd584f22..7b98221ffd9 100644
--- a/media-libs/libinsane/Manifest
+++ b/media-libs/libinsane/Manifest
@@ -1 +1,2 @@
 DIST libinsane-1.0.7.tar.gz 964471 BLAKE2B 
8c91f9799fe0f4bd3181e62a31396f2eb0670b41bc6c231da8714d87dcf854299fd6777481fc0cfb70700d1f34dbb453695451ea2e09ab180a14d601cd678197
 SHA512 
9c9f884fa3f99a7b04882a4cf866ab5c0b7abb1f60ac75ba921856184ad1471de41dc5a0c312eba93eb82c75d54bea9e30c76f2ee8b647904da700e013fe3ba9
+DIST libinsane-1.0.8.tar.gz 965255 BLAKE2B 
f87281f599b097a077b3d09457585c31d6def2b42fcf66bb4207998cdd3e609b2ae4034f6867c49869668ff411effdd150d23b1ea0e92cce45adf43e23203c80
 SHA512 
810a7e7005b93a4da53aefa6b3c63824800eba5fee9b945d45f64372a98e04e6fd5fd554db817f2b41c481ec78b3723b151337de6cb5784d423868e19bd36aa3

diff --git a/media-libs/libinsane/libinsane-1.0.8.ebuild 
b/media-libs/libinsane/libinsane-1.0.8.ebuild
new file mode 100644
index 000..bf213a42796
--- /dev/null
+++ b/media-libs/libinsane/libinsane-1.0.8.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit meson vala
+
+DESCRIPTION="Crossplatform access to image scanners"
+HOMEPAGE="https://gitlab.gnome.org/World/OpenPaperwork/libinsane;
+SRC_URI="https://gitlab.gnome.org/World/OpenPaperwork/libinsane/-/archive/${PV}/${P}.tar.gz;
+
+LICENSE="LGPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc gtk-doc test"
+
+RDEPEND="dev-libs/gobject-introspection
+   media-gfx/sane-backends"
+DEPEND="${RDEPEND}
+   doc? (
+   app-doc/doxygen
+   dev-util/gtk-doc
+   )
+   test? (
+   dev-util/cunit
+   dev-util/valgrind
+   )"
+
+BDEPEND="dev-util/glib-utils
+   virtual/pkgconfig
+   $(vala_depend)"
+
+# Tests require an operational valgrind
+# https://wiki.gentoo.org/wiki/Debugging
+RESTRICT="test"
+
+PATCHES=( "${FILESDIR}"/${PN}-1.0.1-meson_options.patch )
+
+src_prepare() {
+   vala_src_prepare
+   default
+}
+
+src_configure() {
+   local emesonargs=(
+   $(meson_use doc doc)
+   )
+   meson_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/libinsane/

2020-10-25 Thread Bernard Cafarelli
commit: f139169c4fe719fc4415e0c4f088cc9b4db195de
Author: Bernard Cafarelli  gentoo  org>
AuthorDate: Sat Oct 24 21:25:31 2020 +
Commit: Bernard Cafarelli  gentoo  org>
CommitDate: Sun Oct 25 17:58:15 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f139169c

media-libs/libinsane: drop old

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Bernard Cafarelli  gentoo.org>

 media-libs/libinsane/Manifest   |  1 -
 media-libs/libinsane/libinsane-1.0.4.ebuild | 48 -
 2 files changed, 49 deletions(-)

diff --git a/media-libs/libinsane/Manifest b/media-libs/libinsane/Manifest
index 785e018c7c3..7fbbd584f22 100644
--- a/media-libs/libinsane/Manifest
+++ b/media-libs/libinsane/Manifest
@@ -1,2 +1 @@
-DIST libinsane-1.0.4.tar.gz 950729 BLAKE2B 
c09257646b21421eea6312748284456bd7b6f3eb1b64b831e15ae02b519e13d8bb39e2447186f44c6345190bf5e6a38640d9b95a73cbc899ece7c669c3650760
 SHA512 
2a042fa55874f108b4b1a2cdb88ce60e771f6789cb5704298ce60c4373b4b60e6461e7cf2a96652e1e06a481c02dc6cf9d6aae12c97ad5ac484de815419af5be
 DIST libinsane-1.0.7.tar.gz 964471 BLAKE2B 
8c91f9799fe0f4bd3181e62a31396f2eb0670b41bc6c231da8714d87dcf854299fd6777481fc0cfb70700d1f34dbb453695451ea2e09ab180a14d601cd678197
 SHA512 
9c9f884fa3f99a7b04882a4cf866ab5c0b7abb1f60ac75ba921856184ad1471de41dc5a0c312eba93eb82c75d54bea9e30c76f2ee8b647904da700e013fe3ba9

diff --git a/media-libs/libinsane/libinsane-1.0.4.ebuild 
b/media-libs/libinsane/libinsane-1.0.4.ebuild
deleted file mode 100644
index bf213a42796..000
--- a/media-libs/libinsane/libinsane-1.0.4.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit meson vala
-
-DESCRIPTION="Crossplatform access to image scanners"
-HOMEPAGE="https://gitlab.gnome.org/World/OpenPaperwork/libinsane;
-SRC_URI="https://gitlab.gnome.org/World/OpenPaperwork/libinsane/-/archive/${PV}/${P}.tar.gz;
-
-LICENSE="LGPL-3+"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="doc gtk-doc test"
-
-RDEPEND="dev-libs/gobject-introspection
-   media-gfx/sane-backends"
-DEPEND="${RDEPEND}
-   doc? (
-   app-doc/doxygen
-   dev-util/gtk-doc
-   )
-   test? (
-   dev-util/cunit
-   dev-util/valgrind
-   )"
-
-BDEPEND="dev-util/glib-utils
-   virtual/pkgconfig
-   $(vala_depend)"
-
-# Tests require an operational valgrind
-# https://wiki.gentoo.org/wiki/Debugging
-RESTRICT="test"
-
-PATCHES=( "${FILESDIR}"/${PN}-1.0.1-meson_options.patch )
-
-src_prepare() {
-   vala_src_prepare
-   default
-}
-
-src_configure() {
-   local emesonargs=(
-   $(meson_use doc doc)
-   )
-   meson_src_configure
-}



[gentoo-commits] repo/gentoo:master commit in: media-libs/libinsane/

2020-09-02 Thread Bernard Cafarelli
commit: edcd02ef0a5871990ceec2114fe4ef94a730b8cc
Author: Bernard Cafarelli  gentoo  org>
AuthorDate: Wed Sep  2 20:56:20 2020 +
Commit: Bernard Cafarelli  gentoo  org>
CommitDate: Wed Sep  2 20:56:37 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=edcd02ef

media-libs/libinsane: 1.0.7 bump

Package-Manager: Portage-3.0.5, Repoman-3.0.1
Signed-off-by: Bernard Cafarelli  gentoo.org>

 media-libs/libinsane/Manifest   |  1 +
 media-libs/libinsane/libinsane-1.0.7.ebuild | 48 +
 2 files changed, 49 insertions(+)

diff --git a/media-libs/libinsane/Manifest b/media-libs/libinsane/Manifest
index d87f78799b3..785e018c7c3 100644
--- a/media-libs/libinsane/Manifest
+++ b/media-libs/libinsane/Manifest
@@ -1 +1,2 @@
 DIST libinsane-1.0.4.tar.gz 950729 BLAKE2B 
c09257646b21421eea6312748284456bd7b6f3eb1b64b831e15ae02b519e13d8bb39e2447186f44c6345190bf5e6a38640d9b95a73cbc899ece7c669c3650760
 SHA512 
2a042fa55874f108b4b1a2cdb88ce60e771f6789cb5704298ce60c4373b4b60e6461e7cf2a96652e1e06a481c02dc6cf9d6aae12c97ad5ac484de815419af5be
+DIST libinsane-1.0.7.tar.gz 964471 BLAKE2B 
8c91f9799fe0f4bd3181e62a31396f2eb0670b41bc6c231da8714d87dcf854299fd6777481fc0cfb70700d1f34dbb453695451ea2e09ab180a14d601cd678197
 SHA512 
9c9f884fa3f99a7b04882a4cf866ab5c0b7abb1f60ac75ba921856184ad1471de41dc5a0c312eba93eb82c75d54bea9e30c76f2ee8b647904da700e013fe3ba9

diff --git a/media-libs/libinsane/libinsane-1.0.7.ebuild 
b/media-libs/libinsane/libinsane-1.0.7.ebuild
new file mode 100644
index 000..bf213a42796
--- /dev/null
+++ b/media-libs/libinsane/libinsane-1.0.7.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit meson vala
+
+DESCRIPTION="Crossplatform access to image scanners"
+HOMEPAGE="https://gitlab.gnome.org/World/OpenPaperwork/libinsane;
+SRC_URI="https://gitlab.gnome.org/World/OpenPaperwork/libinsane/-/archive/${PV}/${P}.tar.gz;
+
+LICENSE="LGPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc gtk-doc test"
+
+RDEPEND="dev-libs/gobject-introspection
+   media-gfx/sane-backends"
+DEPEND="${RDEPEND}
+   doc? (
+   app-doc/doxygen
+   dev-util/gtk-doc
+   )
+   test? (
+   dev-util/cunit
+   dev-util/valgrind
+   )"
+
+BDEPEND="dev-util/glib-utils
+   virtual/pkgconfig
+   $(vala_depend)"
+
+# Tests require an operational valgrind
+# https://wiki.gentoo.org/wiki/Debugging
+RESTRICT="test"
+
+PATCHES=( "${FILESDIR}"/${PN}-1.0.1-meson_options.patch )
+
+src_prepare() {
+   vala_src_prepare
+   default
+}
+
+src_configure() {
+   local emesonargs=(
+   $(meson_use doc doc)
+   )
+   meson_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/libinsane/

2020-05-29 Thread Bernard Cafarelli
commit: e12e70941dfaf7c3c79457de3b3b7edc41f12155
Author: Bernard Cafarelli  gentoo  org>
AuthorDate: Fri May 29 20:45:40 2020 +
Commit: Bernard Cafarelli  gentoo  org>
CommitDate: Fri May 29 20:45:51 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e12e7094

media-libs/libinsane: needs object-introspection dependency

Closes: https://bugs.gentoo.org/724770
Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Bernard Cafarelli  gentoo.org>

 media-libs/libinsane/libinsane-1.0.4.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/media-libs/libinsane/libinsane-1.0.4.ebuild 
b/media-libs/libinsane/libinsane-1.0.4.ebuild
index 15d9682e644..bf213a42796 100644
--- a/media-libs/libinsane/libinsane-1.0.4.ebuild
+++ b/media-libs/libinsane/libinsane-1.0.4.ebuild
@@ -13,7 +13,8 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE="doc gtk-doc test"
 
-RDEPEND="media-gfx/sane-backends"
+RDEPEND="dev-libs/gobject-introspection
+   media-gfx/sane-backends"
 DEPEND="${RDEPEND}
doc? (
app-doc/doxygen



[gentoo-commits] repo/gentoo:master commit in: media-libs/libinsane/

2020-05-29 Thread Bernard Cafarelli
commit: a3ddbdccf45023ed2e9310c7de412b6b0b1c3601
Author: Bernard Cafarelli  gentoo  org>
AuthorDate: Fri May 29 20:44:46 2020 +
Commit: Bernard Cafarelli  gentoo  org>
CommitDate: Fri May 29 20:45:51 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3ddbdcc

media-libs/libinsane: drop old

Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Bernard Cafarelli  gentoo.org>

 media-libs/libinsane/Manifest   |  3 --
 media-libs/libinsane/libinsane-1.0.1.ebuild | 46 
 media-libs/libinsane/libinsane-1.0.2.ebuild | 46 
 media-libs/libinsane/libinsane-1.0.3.ebuild | 47 -
 4 files changed, 142 deletions(-)

diff --git a/media-libs/libinsane/Manifest b/media-libs/libinsane/Manifest
index 65fa5e3d37c..d87f78799b3 100644
--- a/media-libs/libinsane/Manifest
+++ b/media-libs/libinsane/Manifest
@@ -1,4 +1 @@
-DIST libinsane-1.0.1.tar.gz 706575 BLAKE2B 
32ae63c275e6e9c709aefd0c6ed2237df70ad027626cf6ded2009071c74ce925d50ab730bd36b677915d2bd6e606d6337e890cfcc3e8bf4a1f281e026140537a
 SHA512 
1b7091b207b8ea559f21084aa8231c62f34dfa6043e9f358d55708006989c50ee131011dbe5bd03bcd1212cd0219ae9d65a544e57cf3a71c4c2f65e5d89257bc
-DIST libinsane-1.0.2.tar.gz 712366 BLAKE2B 
5be68792b3a89718308a180b1ca9383e7aebbd2f4e3420376ffecbc7d9b32d16b2fdcf060760708f8ef8f125c4d4caf2f41c6c15da53506e46302dc4155038be
 SHA512 
d65c3fdcc8f64be473a7ff8078b5c9cbfa65ebbf44184fb76c12b40eedc87742167c8fa720683d83d5d29292664c6e311a2c12f45dff35306f60ac7612e63d97
-DIST libinsane-1.0.3.tar.gz 715603 BLAKE2B 
f6e97fc62c38a3481675671c5bed90d2c9c9db0ce9bf36e66f49f94726ce708300157484107e16b8e5f5a2c86fdd456418998a4b5566391246eeb213bf95f79f
 SHA512 
2508347554cbcfc122dd8be16e60d7357a2fb7876ee044ba6024a4e564378d3748d1b267bd3b63cb0a2f6f9bb8daf748be72d3901d8f6e36961cf0849ff4ceb4
 DIST libinsane-1.0.4.tar.gz 950729 BLAKE2B 
c09257646b21421eea6312748284456bd7b6f3eb1b64b831e15ae02b519e13d8bb39e2447186f44c6345190bf5e6a38640d9b95a73cbc899ece7c669c3650760
 SHA512 
2a042fa55874f108b4b1a2cdb88ce60e771f6789cb5704298ce60c4373b4b60e6461e7cf2a96652e1e06a481c02dc6cf9d6aae12c97ad5ac484de815419af5be

diff --git a/media-libs/libinsane/libinsane-1.0.1.ebuild 
b/media-libs/libinsane/libinsane-1.0.1.ebuild
deleted file mode 100644
index a2d1169ab99..000
--- a/media-libs/libinsane/libinsane-1.0.1.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit meson vala
-
-DESCRIPTION="Crossplatform access to image scanners"
-HOMEPAGE="https://gitlab.gnome.org/World/OpenPaperwork/libinsane;
-SRC_URI="https://gitlab.gnome.org/World/OpenPaperwork/libinsane/-/archive/${PV}/${P}.tar.gz;
-
-LICENSE="LGPL-3+"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="doc gtk-doc test"
-
-RDEPEND="media-gfx/sane-backends"
-DEPEND="${RDEPEND}
-   doc? (
-   app-doc/doxygen
-   dev-util/gtk-doc
-   )
-   test? (
-   dev-util/cunit
-   dev-util/valgrind
-   )"
-
-BDEPEND="virtual/pkgconfig
-   $(vala_depend)"
-
-# Tests require an operational valgrind
-# https://wiki.gentoo.org/wiki/Debugging
-RESTRICT="test"
-:
-PATCHES=( "${FILESDIR}"/${P}-meson_options.patch )
-
-src_prepare() {
-   vala_src_prepare
-   default
-}
-
-src_configure() {
-   local emesonargs=(
-   $(meson_use doc doc)
-   )
-   meson_src_configure
-}

diff --git a/media-libs/libinsane/libinsane-1.0.2.ebuild 
b/media-libs/libinsane/libinsane-1.0.2.ebuild
deleted file mode 100644
index 5fa12b107f7..000
--- a/media-libs/libinsane/libinsane-1.0.2.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit meson vala
-
-DESCRIPTION="Crossplatform access to image scanners"
-HOMEPAGE="https://gitlab.gnome.org/World/OpenPaperwork/libinsane;
-SRC_URI="https://gitlab.gnome.org/World/OpenPaperwork/libinsane/-/archive/${PV}/${P}.tar.gz;
-
-LICENSE="LGPL-3+"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="doc gtk-doc test"
-
-RDEPEND="media-gfx/sane-backends"
-DEPEND="${RDEPEND}
-   doc? (
-   app-doc/doxygen
-   dev-util/gtk-doc
-   )
-   test? (
-   dev-util/cunit
-   dev-util/valgrind
-   )"
-
-BDEPEND="virtual/pkgconfig
-   $(vala_depend)"
-
-# Tests require an operational valgrind
-# https://wiki.gentoo.org/wiki/Debugging
-RESTRICT="test"
-
-PATCHES=( "${FILESDIR}"/${PN}-1.0.1-meson_options.patch )
-
-src_prepare() {
-   vala_src_prepare
-   default
-}
-
-src_configure() {
-   local emesonargs=(
-   $(meson_use doc doc)
-   )
-   meson_src_configure
-}

diff --git a/media-libs/libinsane/libinsane-1.0.3.ebuild 
b/media-libs/libinsane/libinsane-1.0.3.ebuild
deleted file mode 100644
index ee4d9d71875..000

[gentoo-commits] repo/gentoo:master commit in: media-libs/libinsane/

2020-03-25 Thread Bernard Cafarelli
commit: 00ca3c66ca1f58c0dd6cacbf892939ec88ae6cd8
Author: Bernard Cafarelli  gentoo  org>
AuthorDate: Thu Mar 26 01:05:28 2020 +
Commit: Bernard Cafarelli  gentoo  org>
CommitDate: Thu Mar 26 01:05:28 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00ca3c66

media-libs/libinsane: 1.0.4 bump

Package-Manager: Portage-2.3.96, Repoman-2.3.21
Signed-off-by: Bernard Cafarelli  gentoo.org>

 media-libs/libinsane/Manifest   |  1 +
 media-libs/libinsane/libinsane-1.0.4.ebuild | 47 +
 2 files changed, 48 insertions(+)

diff --git a/media-libs/libinsane/Manifest b/media-libs/libinsane/Manifest
index 362f7262566..65fa5e3d37c 100644
--- a/media-libs/libinsane/Manifest
+++ b/media-libs/libinsane/Manifest
@@ -1,3 +1,4 @@
 DIST libinsane-1.0.1.tar.gz 706575 BLAKE2B 
32ae63c275e6e9c709aefd0c6ed2237df70ad027626cf6ded2009071c74ce925d50ab730bd36b677915d2bd6e606d6337e890cfcc3e8bf4a1f281e026140537a
 SHA512 
1b7091b207b8ea559f21084aa8231c62f34dfa6043e9f358d55708006989c50ee131011dbe5bd03bcd1212cd0219ae9d65a544e57cf3a71c4c2f65e5d89257bc
 DIST libinsane-1.0.2.tar.gz 712366 BLAKE2B 
5be68792b3a89718308a180b1ca9383e7aebbd2f4e3420376ffecbc7d9b32d16b2fdcf060760708f8ef8f125c4d4caf2f41c6c15da53506e46302dc4155038be
 SHA512 
d65c3fdcc8f64be473a7ff8078b5c9cbfa65ebbf44184fb76c12b40eedc87742167c8fa720683d83d5d29292664c6e311a2c12f45dff35306f60ac7612e63d97
 DIST libinsane-1.0.3.tar.gz 715603 BLAKE2B 
f6e97fc62c38a3481675671c5bed90d2c9c9db0ce9bf36e66f49f94726ce708300157484107e16b8e5f5a2c86fdd456418998a4b5566391246eeb213bf95f79f
 SHA512 
2508347554cbcfc122dd8be16e60d7357a2fb7876ee044ba6024a4e564378d3748d1b267bd3b63cb0a2f6f9bb8daf748be72d3901d8f6e36961cf0849ff4ceb4
+DIST libinsane-1.0.4.tar.gz 950729 BLAKE2B 
c09257646b21421eea6312748284456bd7b6f3eb1b64b831e15ae02b519e13d8bb39e2447186f44c6345190bf5e6a38640d9b95a73cbc899ece7c669c3650760
 SHA512 
2a042fa55874f108b4b1a2cdb88ce60e771f6789cb5704298ce60c4373b4b60e6461e7cf2a96652e1e06a481c02dc6cf9d6aae12c97ad5ac484de815419af5be

diff --git a/media-libs/libinsane/libinsane-1.0.4.ebuild 
b/media-libs/libinsane/libinsane-1.0.4.ebuild
new file mode 100644
index 000..15d9682e644
--- /dev/null
+++ b/media-libs/libinsane/libinsane-1.0.4.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit meson vala
+
+DESCRIPTION="Crossplatform access to image scanners"
+HOMEPAGE="https://gitlab.gnome.org/World/OpenPaperwork/libinsane;
+SRC_URI="https://gitlab.gnome.org/World/OpenPaperwork/libinsane/-/archive/${PV}/${P}.tar.gz;
+
+LICENSE="LGPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc gtk-doc test"
+
+RDEPEND="media-gfx/sane-backends"
+DEPEND="${RDEPEND}
+   doc? (
+   app-doc/doxygen
+   dev-util/gtk-doc
+   )
+   test? (
+   dev-util/cunit
+   dev-util/valgrind
+   )"
+
+BDEPEND="dev-util/glib-utils
+   virtual/pkgconfig
+   $(vala_depend)"
+
+# Tests require an operational valgrind
+# https://wiki.gentoo.org/wiki/Debugging
+RESTRICT="test"
+
+PATCHES=( "${FILESDIR}"/${PN}-1.0.1-meson_options.patch )
+
+src_prepare() {
+   vala_src_prepare
+   default
+}
+
+src_configure() {
+   local emesonargs=(
+   $(meson_use doc doc)
+   )
+   meson_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/libinsane/

2019-12-31 Thread Bernard Cafarelli
commit: 9cc5e0056f12aecbe67a2c3ca71e55d19cec
Author: Bernard Cafarelli  gentoo  org>
AuthorDate: Tue Dec 31 11:04:05 2019 +
Commit: Bernard Cafarelli  gentoo  org>
CommitDate: Tue Dec 31 11:04:24 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9cc5e005

media-libs/libinsane: add missing glib-utils BDEPEND

Closes: https://bugs.gentoo.org/704362
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Bernard Cafarelli  gentoo.org>

 media-libs/libinsane/libinsane-1.0.3.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/media-libs/libinsane/libinsane-1.0.3.ebuild 
b/media-libs/libinsane/libinsane-1.0.3.ebuild
index 5fa12b107f7..ee4d9d71875 100644
--- a/media-libs/libinsane/libinsane-1.0.3.ebuild
+++ b/media-libs/libinsane/libinsane-1.0.3.ebuild
@@ -24,7 +24,8 @@ DEPEND="${RDEPEND}
dev-util/valgrind
)"
 
-BDEPEND="virtual/pkgconfig
+BDEPEND="dev-util/glib-utils
+   virtual/pkgconfig
$(vala_depend)"
 
 # Tests require an operational valgrind



[gentoo-commits] repo/gentoo:master commit in: media-libs/libinsane/

2019-12-30 Thread Bernard Cafarelli
commit: 654252811e81d61212b601f34ba86cc1fbf8d3d8
Author: Bernard Cafarelli  gentoo  org>
AuthorDate: Mon Dec 30 13:39:48 2019 +
Commit: Bernard Cafarelli  gentoo  org>
CommitDate: Mon Dec 30 13:57:26 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65425281

media-libs/libinsane: 1.0.3 bump

Signed-off-by: Bernard Cafarelli  gentoo.org>

 media-libs/libinsane/Manifest   |  1 +
 media-libs/libinsane/libinsane-1.0.3.ebuild | 46 +
 2 files changed, 47 insertions(+)

diff --git a/media-libs/libinsane/Manifest b/media-libs/libinsane/Manifest
index f54f55211ec..362f7262566 100644
--- a/media-libs/libinsane/Manifest
+++ b/media-libs/libinsane/Manifest
@@ -1,2 +1,3 @@
 DIST libinsane-1.0.1.tar.gz 706575 BLAKE2B 
32ae63c275e6e9c709aefd0c6ed2237df70ad027626cf6ded2009071c74ce925d50ab730bd36b677915d2bd6e606d6337e890cfcc3e8bf4a1f281e026140537a
 SHA512 
1b7091b207b8ea559f21084aa8231c62f34dfa6043e9f358d55708006989c50ee131011dbe5bd03bcd1212cd0219ae9d65a544e57cf3a71c4c2f65e5d89257bc
 DIST libinsane-1.0.2.tar.gz 712366 BLAKE2B 
5be68792b3a89718308a180b1ca9383e7aebbd2f4e3420376ffecbc7d9b32d16b2fdcf060760708f8ef8f125c4d4caf2f41c6c15da53506e46302dc4155038be
 SHA512 
d65c3fdcc8f64be473a7ff8078b5c9cbfa65ebbf44184fb76c12b40eedc87742167c8fa720683d83d5d29292664c6e311a2c12f45dff35306f60ac7612e63d97
+DIST libinsane-1.0.3.tar.gz 715603 BLAKE2B 
f6e97fc62c38a3481675671c5bed90d2c9c9db0ce9bf36e66f49f94726ce708300157484107e16b8e5f5a2c86fdd456418998a4b5566391246eeb213bf95f79f
 SHA512 
2508347554cbcfc122dd8be16e60d7357a2fb7876ee044ba6024a4e564378d3748d1b267bd3b63cb0a2f6f9bb8daf748be72d3901d8f6e36961cf0849ff4ceb4

diff --git a/media-libs/libinsane/libinsane-1.0.3.ebuild 
b/media-libs/libinsane/libinsane-1.0.3.ebuild
new file mode 100644
index 000..5fa12b107f7
--- /dev/null
+++ b/media-libs/libinsane/libinsane-1.0.3.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit meson vala
+
+DESCRIPTION="Crossplatform access to image scanners"
+HOMEPAGE="https://gitlab.gnome.org/World/OpenPaperwork/libinsane;
+SRC_URI="https://gitlab.gnome.org/World/OpenPaperwork/libinsane/-/archive/${PV}/${P}.tar.gz;
+
+LICENSE="LGPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc gtk-doc test"
+
+RDEPEND="media-gfx/sane-backends"
+DEPEND="${RDEPEND}
+   doc? (
+   app-doc/doxygen
+   dev-util/gtk-doc
+   )
+   test? (
+   dev-util/cunit
+   dev-util/valgrind
+   )"
+
+BDEPEND="virtual/pkgconfig
+   $(vala_depend)"
+
+# Tests require an operational valgrind
+# https://wiki.gentoo.org/wiki/Debugging
+RESTRICT="test"
+
+PATCHES=( "${FILESDIR}"/${PN}-1.0.1-meson_options.patch )
+
+src_prepare() {
+   vala_src_prepare
+   default
+}
+
+src_configure() {
+   local emesonargs=(
+   $(meson_use doc doc)
+   )
+   meson_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/libinsane/

2019-10-14 Thread Bernard Cafarelli
commit: 6eb53584b321e889cbf25c53b7397fec96bf9dc1
Author: Bernard Cafarelli  gentoo  org>
AuthorDate: Mon Oct 14 21:03:36 2019 +
Commit: Bernard Cafarelli  gentoo  org>
CommitDate: Mon Oct 14 21:04:02 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6eb53584

media-libs/libinsane: 1.0.2 bump

Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Bernard Cafarelli  gentoo.org>

 media-libs/libinsane/Manifest   |  1 +
 media-libs/libinsane/libinsane-1.0.2.ebuild | 46 +
 2 files changed, 47 insertions(+)

diff --git a/media-libs/libinsane/Manifest b/media-libs/libinsane/Manifest
index aa253766695..f54f55211ec 100644
--- a/media-libs/libinsane/Manifest
+++ b/media-libs/libinsane/Manifest
@@ -1 +1,2 @@
 DIST libinsane-1.0.1.tar.gz 706575 BLAKE2B 
32ae63c275e6e9c709aefd0c6ed2237df70ad027626cf6ded2009071c74ce925d50ab730bd36b677915d2bd6e606d6337e890cfcc3e8bf4a1f281e026140537a
 SHA512 
1b7091b207b8ea559f21084aa8231c62f34dfa6043e9f358d55708006989c50ee131011dbe5bd03bcd1212cd0219ae9d65a544e57cf3a71c4c2f65e5d89257bc
+DIST libinsane-1.0.2.tar.gz 712366 BLAKE2B 
5be68792b3a89718308a180b1ca9383e7aebbd2f4e3420376ffecbc7d9b32d16b2fdcf060760708f8ef8f125c4d4caf2f41c6c15da53506e46302dc4155038be
 SHA512 
d65c3fdcc8f64be473a7ff8078b5c9cbfa65ebbf44184fb76c12b40eedc87742167c8fa720683d83d5d29292664c6e311a2c12f45dff35306f60ac7612e63d97

diff --git a/media-libs/libinsane/libinsane-1.0.2.ebuild 
b/media-libs/libinsane/libinsane-1.0.2.ebuild
new file mode 100644
index 000..5fa12b107f7
--- /dev/null
+++ b/media-libs/libinsane/libinsane-1.0.2.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit meson vala
+
+DESCRIPTION="Crossplatform access to image scanners"
+HOMEPAGE="https://gitlab.gnome.org/World/OpenPaperwork/libinsane;
+SRC_URI="https://gitlab.gnome.org/World/OpenPaperwork/libinsane/-/archive/${PV}/${P}.tar.gz;
+
+LICENSE="LGPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc gtk-doc test"
+
+RDEPEND="media-gfx/sane-backends"
+DEPEND="${RDEPEND}
+   doc? (
+   app-doc/doxygen
+   dev-util/gtk-doc
+   )
+   test? (
+   dev-util/cunit
+   dev-util/valgrind
+   )"
+
+BDEPEND="virtual/pkgconfig
+   $(vala_depend)"
+
+# Tests require an operational valgrind
+# https://wiki.gentoo.org/wiki/Debugging
+RESTRICT="test"
+
+PATCHES=( "${FILESDIR}"/${PN}-1.0.1-meson_options.patch )
+
+src_prepare() {
+   vala_src_prepare
+   default
+}
+
+src_configure() {
+   local emesonargs=(
+   $(meson_use doc doc)
+   )
+   meson_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/libinsane/files/, media-libs/libinsane/

2019-08-23 Thread Bernard Cafarelli
commit: 109f3017d88392afc0ceaf5216454828c007f344
Author: Bernard Cafarelli  gentoo  org>
AuthorDate: Fri Aug 23 16:51:08 2019 +
Commit: Bernard Cafarelli  gentoo  org>
CommitDate: Fri Aug 23 16:54:45 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=109f3017

media-libs/libinsane: initial import

New dependency for app-text/paperwork

Package-Manager: Portage-2.3.72, Repoman-2.3.17
Signed-off-by: Bernard Cafarelli  gentoo.org>

 media-libs/libinsane/Manifest  |  1 +
 .../files/libinsane-1.0.1-meson_options.patch  | 39 ++
 media-libs/libinsane/libinsane-1.0.1.ebuild| 46 ++
 media-libs/libinsane/metadata.xml  | 20 ++
 4 files changed, 106 insertions(+)

diff --git a/media-libs/libinsane/Manifest b/media-libs/libinsane/Manifest
new file mode 100644
index 000..aa253766695
--- /dev/null
+++ b/media-libs/libinsane/Manifest
@@ -0,0 +1 @@
+DIST libinsane-1.0.1.tar.gz 706575 BLAKE2B 
32ae63c275e6e9c709aefd0c6ed2237df70ad027626cf6ded2009071c74ce925d50ab730bd36b677915d2bd6e606d6337e890cfcc3e8bf4a1f281e026140537a
 SHA512 
1b7091b207b8ea559f21084aa8231c62f34dfa6043e9f358d55708006989c50ee131011dbe5bd03bcd1212cd0219ae9d65a544e57cf3a71c4c2f65e5d89257bc

diff --git a/media-libs/libinsane/files/libinsane-1.0.1-meson_options.patch 
b/media-libs/libinsane/files/libinsane-1.0.1-meson_options.patch
new file mode 100644
index 000..a56bba0c16f
--- /dev/null
+++ b/media-libs/libinsane/files/libinsane-1.0.1-meson_options.patch
@@ -0,0 +1,39 @@
+diff -Naur libinsane-1.0.1.orig/meson_options.txt 
libinsane-1.0.1/meson_options.txt
+--- libinsane-1.0.1.orig/meson_options.txt 1970-01-01 01:00:00.0 
+0100
 libinsane-1.0.1/meson_options.txt  2019-08-23 15:14:21.374086921 +0200
+@@ -0,0 +1 @@
++option('doc', type: 'boolean', value: true, yield: true)
+diff -Naur libinsane-1.0.1.orig/subprojects/libinsane/meson.build 
libinsane-1.0.1/subprojects/libinsane/meson.build
+--- libinsane-1.0.1.orig/subprojects/libinsane/meson.build 2019-08-18 
13:09:37.0 +0200
 libinsane-1.0.1/subprojects/libinsane/meson.build  2019-08-23 
15:16:14.289190985 +0200
+@@ -22,6 +22,8 @@
+ subdir('include')
+ subdir('src')
+ 
+-subdir('doc')
++if get_option('doc')
++subdir('doc')
++endif
+ subdir('examples')
+ subdir('tests')
+diff -Naur libinsane-1.0.1.orig/subprojects/libinsane/meson_options.txt 
libinsane-1.0.1/subprojects/libinsane/meson_options.txt
+--- libinsane-1.0.1.orig/subprojects/libinsane/meson_options.txt   
1970-01-01 01:00:00.0 +0100
 libinsane-1.0.1/subprojects/libinsane/meson_options.txt2019-08-23 
15:14:51.290114436 +0200
+@@ -0,0 +1 @@
++option('doc', type: 'boolean', value: true, yield: true)
+diff -Naur libinsane-1.0.1.orig/subprojects/libinsane-gobject/meson.build 
libinsane-1.0.1/subprojects/libinsane-gobject/meson.build
+--- libinsane-1.0.1.orig/subprojects/libinsane-gobject/meson.build 
2019-08-18 13:09:37.0 +0200
 libinsane-1.0.1/subprojects/libinsane-gobject/meson.build  2019-08-23 
15:15:25.593146036 +0200
+@@ -9,4 +9,6 @@
+ 
+ subdir('include')
+ subdir('src')
+-subdir('doc')
++if get_option('doc')
++subdir('doc')
++endif
+diff -Naur 
libinsane-1.0.1.orig/subprojects/libinsane-gobject/meson_options.txt 
libinsane-1.0.1/subprojects/libinsane-gobject/meson_options.txt
+--- libinsane-1.0.1.orig/subprojects/libinsane-gobject/meson_options.txt   
1970-01-01 01:00:00.0 +0100
 libinsane-1.0.1/subprojects/libinsane-gobject/meson_options.txt
2019-08-23 15:14:53.859116801 +0200
+@@ -0,0 +1 @@
++option('doc', type: 'boolean', value: true, yield: true)

diff --git a/media-libs/libinsane/libinsane-1.0.1.ebuild 
b/media-libs/libinsane/libinsane-1.0.1.ebuild
new file mode 100644
index 000..a2d1169ab99
--- /dev/null
+++ b/media-libs/libinsane/libinsane-1.0.1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit meson vala
+
+DESCRIPTION="Crossplatform access to image scanners"
+HOMEPAGE="https://gitlab.gnome.org/World/OpenPaperwork/libinsane;
+SRC_URI="https://gitlab.gnome.org/World/OpenPaperwork/libinsane/-/archive/${PV}/${P}.tar.gz;
+
+LICENSE="LGPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc gtk-doc test"
+
+RDEPEND="media-gfx/sane-backends"
+DEPEND="${RDEPEND}
+   doc? (
+   app-doc/doxygen
+   dev-util/gtk-doc
+   )
+   test? (
+   dev-util/cunit
+   dev-util/valgrind
+   )"
+
+BDEPEND="virtual/pkgconfig
+   $(vala_depend)"
+
+# Tests require an operational valgrind
+# https://wiki.gentoo.org/wiki/Debugging
+RESTRICT="test"
+:
+PATCHES=( "${FILESDIR}"/${P}-meson_options.patch )
+
+src_prepare() {
+   vala_src_prepare
+   default
+}
+
+src_configure() {
+   local emesonargs=(
+   $(meson_use doc doc)
+   )
+