[gentoo-commits] repo/gentoo:master commit in: media-gfx/gphotofs/, media-gfx/gphotofs/files/

2026-03-03 Thread Jason A. Donenfeld
commit: 0d489ecf277523ce7552fd53e7acc306e9a2d79d
Author: Jason A. Donenfeld  gentoo  org>
AuthorDate: Tue Mar  3 15:16:26 2026 +
Commit: Jason A. Donenfeld  gentoo  org>
CommitDate: Tue Mar  3 15:16:43 2026 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d489ecf

media-gfx/gphotofs: add 1.0, drop 0.5-r1

Signed-off-by: Jason A. Donenfeld  gentoo.org>

 media-gfx/gphotofs/Manifest|  1 +
 .../files/gphotofs-1.0-fuse-prototype.patch| 22 ++
 .../gphotofs/files/gphotofs-1.0-largefile.patch| 27 ++
 ...{gphotofs-0.5-r1.ebuild => gphotofs-1.0.ebuild} | 22 ++
 4 files changed, 67 insertions(+), 5 deletions(-)

diff --git a/media-gfx/gphotofs/Manifest b/media-gfx/gphotofs/Manifest
index 34ee59f61c5b..dd979df99744 100644
--- a/media-gfx/gphotofs/Manifest
+++ b/media-gfx/gphotofs/Manifest
@@ -1 +1,2 @@
 DIST gphotofs-0.5.tar.bz2 261357 BLAKE2B 
6c8194308b461fe8b88aba3e6d16a15715cbb9f247aed2f57147e7192f342e3dbb26d0ce112b0203f73c078333706f717eb1822b86b1e0b5da4e632174907b55
 SHA512 
6f5bcaf8ca820c0590ec95af55ec9438c864a298660ad15c6d6e8f59201a7f873d29f16cf77d13538111f6cec3f958ea0ac88c6c51836ab2d8c9d6cca156ed3a
+DIST gphotofs-1.0.tar.gz 410080 BLAKE2B 
f466c101c1a8f1eb54232cff6334a9c358db72e8f667183849fc6d9f906811f1786ab033b7b072d997d450f0ccb3a79f87af7754440d86b84a359e5c85c92bc9
 SHA512 
f827cd50db49c25bc89fed30c05e447692eef5cd73f845244327e1a0055a2a40098d3f117bea87bebb8aa8bfb496836ba716cbb2d0a1e931546b2c56885ca3dc

diff --git a/media-gfx/gphotofs/files/gphotofs-1.0-fuse-prototype.patch 
b/media-gfx/gphotofs/files/gphotofs-1.0-fuse-prototype.patch
new file mode 100644
index ..d64b6d2721f9
--- /dev/null
+++ b/media-gfx/gphotofs/files/gphotofs-1.0-fuse-prototype.patch
@@ -0,0 +1,22 @@
+From aa6055cb4602e4617725e6e6cf66fa909a0f4a9e Mon Sep 17 00:00:00 2001
+From: Marcus Meissner 
+Date: Wed, 9 Jul 2025 21:19:03 +0200
+Subject: [PATCH] added fuse prototype to init function
+
+---
+ gphotofs.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/gphotofs.c b/gphotofs.c
+index c55ffa9..75c6d64 100644
+--- a/gphotofs.c
 b/gphotofs.c
+@@ -904,7 +904,7 @@ gphotofs_connect()
+ }
+ 
+ static void *
+-gphotofs_init()
++gphotofs_init(struct fuse_conn_info *conn, struct fuse_config *config)
+ {
+GPCtx *p;
+ 

diff --git a/media-gfx/gphotofs/files/gphotofs-1.0-largefile.patch 
b/media-gfx/gphotofs/files/gphotofs-1.0-largefile.patch
new file mode 100644
index ..82648260eb5d
--- /dev/null
+++ b/media-gfx/gphotofs/files/gphotofs-1.0-largefile.patch
@@ -0,0 +1,27 @@
+From 60d964e734d622b0468b8b253775ee6b1b8ea716 Mon Sep 17 00:00:00 2001
+From: Marcus Meissner 
+Date: Wed, 9 Jul 2025 21:18:50 +0200
+Subject: [PATCH] added AC_SYS_LARGEFILE for 64bit offset
+
+---
+ configure.ac | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/configure.ac b/configure.ac
+index 5e648b6..535e7ba 100644
+--- a/configure.ac
 b/configure.ac
+@@ -8,11 +8,13 @@ AM_INIT_AUTOMAKE([gnu 1.9 dist-bzip2])
+ 
+ GP_CHECK_SHELL_ENVIRONMENT
+ 
++
+ AC_PROG_CC
+ AC_PROG_CPP
+ AM_PROG_LIBTOOL
+ AC_PROG_INSTALL
+ AM_PROG_CC_C_O
++AC_SYS_LARGEFILE
+ 
+ GP_PKG_CONFIG
+ 

diff --git a/media-gfx/gphotofs/gphotofs-0.5-r1.ebuild 
b/media-gfx/gphotofs/gphotofs-1.0.ebuild
similarity index 50%
rename from media-gfx/gphotofs/gphotofs-0.5-r1.ebuild
rename to media-gfx/gphotofs/gphotofs-1.0.ebuild
index 803ce5ec8985..0bbf1310e9ab 100644
--- a/media-gfx/gphotofs/gphotofs-0.5-r1.ebuild
+++ b/media-gfx/gphotofs/gphotofs-1.0.ebuild
@@ -1,21 +1,33 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
+
+inherit autotools
 
 DESCRIPTION="FUSE file system for interfacing with digital cameras using 
gphoto2"
 HOMEPAGE="http://www.gphoto.org/";
-SRC_URI="https://downloads.sourceforge.net/gphoto/${P}.tar.bz2";
+SRC_URI="https://github.com/gphoto/gphotofs/releases/download/v${PV}/${P}.tar.gz";
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 x86"
+KEYWORDS="~amd64 ~x86"
+
+PATCHES=(
+   "${FILESDIR}"/"${P}"-fuse-prototype.patch
+   "${FILESDIR}"/"${P}"-largefile.patch
+)
 
 RDEPEND="
dev-libs/glib:2
media-libs/libgphoto2:=
-   sys-fs/fuse:0="
+   sys-fs/fuse:3="
 DEPEND="${RDEPEND}"
 BDEPEND="
sys-devel/gettext
virtual/pkgconfig"
+
+src_prepare() {
+   default
+   eautoreconf
+}



[gentoo-commits] repo/gentoo:master commit in: media-gfx/gphotofs/

2024-10-30 Thread Sam James
commit: d1c7360596259d379144c6a25c1678316e3f762f
Author: Sam James  gentoo  org>
AuthorDate: Wed Oct 30 12:12:42 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Oct 30 12:12:42 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1c73605

media-gfx/gphotofs: Stabilize 0.5-r2 amd64, #942515

Signed-off-by: Sam James  gentoo.org>

 media-gfx/gphotofs/gphotofs-0.5-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-gfx/gphotofs/gphotofs-0.5-r2.ebuild 
b/media-gfx/gphotofs/gphotofs-0.5-r2.ebuild
index fc65ac960d60..97c309d8023d 100644
--- a/media-gfx/gphotofs/gphotofs-0.5-r2.ebuild
+++ b/media-gfx/gphotofs/gphotofs-0.5-r2.ebuild
@@ -9,7 +9,7 @@ SRC_URI="https://downloads.sourceforge.net/gphoto/${P}.tar.bz2";
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 
 RDEPEND="
dev-libs/glib:2



[gentoo-commits] repo/gentoo:master commit in: media-gfx/gphotofs/

2024-10-30 Thread Sam James
commit: 55823448b110e60ad94fc70624eff881b316c04b
Author: Sam James  gentoo  org>
AuthorDate: Wed Oct 30 14:41:23 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Oct 30 14:41:23 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55823448

media-gfx/gphotofs: Stabilize 0.5-r2 x86, #942515

Signed-off-by: Sam James  gentoo.org>

 media-gfx/gphotofs/gphotofs-0.5-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-gfx/gphotofs/gphotofs-0.5-r2.ebuild 
b/media-gfx/gphotofs/gphotofs-0.5-r2.ebuild
index 97c309d8023d..fd78eadeecc4 100644
--- a/media-gfx/gphotofs/gphotofs-0.5-r2.ebuild
+++ b/media-gfx/gphotofs/gphotofs-0.5-r2.ebuild
@@ -9,7 +9,7 @@ SRC_URI="https://downloads.sourceforge.net/gphoto/${P}.tar.bz2";
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
 
 RDEPEND="
dev-libs/glib:2



[gentoo-commits] repo/gentoo:master commit in: media-gfx/gphotofs/files/, media-gfx/gphotofs/

2023-10-01 Thread Sam James
commit: 2dad7c8ef9771e02fe25e86c648da23eda3a6ac3
Author: Brahmajit Das  gmail  com>
AuthorDate: Sat Sep 30 16:38:11 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Oct  1 08:39:39 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2dad7c8e

media-gfx/gphotofs: Fix call to undeclared function setlocale

And update EAPI 7 -> 8

Closes: https://bugs.gentoo.org/896214
Signed-off-by: Brahmajit Das  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/33139
Signed-off-by: Sam James  gentoo.org>

 .../files/gphotofs-0.5-fix-build-clang16.patch | 11 ++
 media-gfx/gphotofs/gphotofs-0.5-r2.ebuild  | 25 ++
 2 files changed, 36 insertions(+)

diff --git a/media-gfx/gphotofs/files/gphotofs-0.5-fix-build-clang16.patch 
b/media-gfx/gphotofs/files/gphotofs-0.5-fix-build-clang16.patch
new file mode 100644
index ..0a88035cc60f
--- /dev/null
+++ b/media-gfx/gphotofs/files/gphotofs-0.5-fix-build-clang16.patch
@@ -0,0 +1,11 @@
+Bug: https://bugs.gentoo.org/896214
+--- a/gphotofs.c
 b/gphotofs.c
+@@ -26,6 +26,7 @@
+ #include 
+ #include 
+ #include 
++#include 
+ 
+ /*
+  * Static variables set by command line arguments.

diff --git a/media-gfx/gphotofs/gphotofs-0.5-r2.ebuild 
b/media-gfx/gphotofs/gphotofs-0.5-r2.ebuild
new file mode 100644
index ..5fe6dbff0ba6
--- /dev/null
+++ b/media-gfx/gphotofs/gphotofs-0.5-r2.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="FUSE file system for interfacing with digital cameras using 
gphoto2"
+HOMEPAGE="http://www.gphoto.org/";
+SRC_URI="mirror://sourceforge/gphoto/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+   dev-libs/glib:2
+   media-libs/libgphoto2:=
+   sys-fs/fuse:0="
+DEPEND="${RDEPEND}"
+BDEPEND="
+   sys-devel/gettext
+   virtual/pkgconfig"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-0.5-fix-build-clang16.patch
+)



[gentoo-commits] repo/gentoo:master commit in: media-gfx/gphotofs/

2022-10-01 Thread Sam James
commit: 9c26404a266a94d49d2b1dfeeb5d522e537e15b9
Author: Sam James  gentoo  org>
AuthorDate: Sat Oct  1 23:09:01 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Oct  1 23:09:07 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c26404a

media-gfx/gphotofs: add github upstream metadata

Signed-off-by: Sam James  gentoo.org>

 media-gfx/gphotofs/metadata.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/media-gfx/gphotofs/metadata.xml b/media-gfx/gphotofs/metadata.xml
index 83d382a44b11..d95ec7a73eb8 100644
--- a/media-gfx/gphotofs/metadata.xml
+++ b/media-gfx/gphotofs/metadata.xml
@@ -7,5 +7,6 @@


gphoto
+   gphoto/gphotofs

 



[gentoo-commits] repo/gentoo:master commit in: media-gfx/gphotofs/

2019-12-13 Thread David Seifert
commit: 2a9d10d53dbb134a9f4ca2f2a26972e3bbb6e80f
Author: David Seifert  gentoo  org>
AuthorDate: Fri Dec 13 15:07:09 2019 +
Commit: David Seifert  gentoo  org>
CommitDate: Fri Dec 13 15:07:09 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a9d10d5

media-gfx/gphotofs: Port to EAPI 7

Package-Manager: Portage-2.3.81, Repoman-2.3.20
Signed-off-by: David Seifert  gentoo.org>

 media-gfx/gphotofs/gphotofs-0.5-r1.ebuild | 17 +
 media-gfx/gphotofs/gphotofs-0.5.ebuild| 20 
 2 files changed, 9 insertions(+), 28 deletions(-)

diff --git a/media-gfx/gphotofs/gphotofs-0.5-r1.ebuild 
b/media-gfx/gphotofs/gphotofs-0.5-r1.ebuild
index c705d7aafcb..70e41b60a41 100644
--- a/media-gfx/gphotofs/gphotofs-0.5-r1.ebuild
+++ b/media-gfx/gphotofs/gphotofs-0.5-r1.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="7"
+EAPI=7
 
 DESCRIPTION="FUSE file system for interfacing with digital cameras using 
gphoto2"
 HOMEPAGE="http://www.gphoto.org/";
@@ -9,12 +9,13 @@ SRC_URI="mirror://sourceforge/gphoto/${P}.tar.bz2"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
+KEYWORDS="amd64 x86"
 
-RDEPEND=">=media-libs/libgphoto2-2.5.0
-   >=sys-fs/fuse-2.5:0
-   >=dev-libs/glib-2.6"
+RDEPEND="
+   dev-libs/glib:2
+   media-libs/libgphoto2:=
+   sys-fs/fuse:0="
 DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig
-   >=sys-devel/gettext-0.14.1"
+BDEPEND="
+   sys-devel/gettext
+   virtual/pkgconfig"

diff --git a/media-gfx/gphotofs/gphotofs-0.5.ebuild 
b/media-gfx/gphotofs/gphotofs-0.5.ebuild
deleted file mode 100644
index c1b0cfced6b..000
--- a/media-gfx/gphotofs/gphotofs-0.5.ebuild
+++ /dev/null
@@ -1,20 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="4"
-
-DESCRIPTION="FUSE file system for interfacing with digital cameras using 
gphoto2"
-HOMEPAGE="http://www.gphoto.org/";
-SRC_URI="mirror://sourceforge/gphoto/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE=""
-
-RDEPEND=">=media-libs/libgphoto2-2.5.0
-   >=sys-fs/fuse-2.5
-   >=dev-libs/glib-2.6"
-DEPEND="${RDEPEND}
-   virtual/pkgconfig
-   >=sys-devel/gettext-0.14.1"



[gentoo-commits] repo/gentoo:master commit in: media-gfx/gphotofs/

2019-11-18 Thread Tim Harder
commit: ee5e972e0e1429e9539def836f7dc946796f1e0b
Author: Tim Harder  gentoo  org>
AuthorDate: Mon Nov 18 20:14:12 2019 +
Commit: Tim Harder  gentoo  org>
CommitDate: Mon Nov 18 20:17:48 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee5e972e

media-gfx/gphotofs: bump to EAPI 7 and add sys-fs/fuse slot dep

Signed-off-by: Tim Harder  gentoo.org>

 media-gfx/gphotofs/gphotofs-0.5-r1.ebuild | 20 
 1 file changed, 20 insertions(+)

diff --git a/media-gfx/gphotofs/gphotofs-0.5-r1.ebuild 
b/media-gfx/gphotofs/gphotofs-0.5-r1.ebuild
new file mode 100644
index 000..c705d7aafcb
--- /dev/null
+++ b/media-gfx/gphotofs/gphotofs-0.5-r1.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+DESCRIPTION="FUSE file system for interfacing with digital cameras using 
gphoto2"
+HOMEPAGE="http://www.gphoto.org/";
+SRC_URI="mirror://sourceforge/gphoto/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=media-libs/libgphoto2-2.5.0
+   >=sys-fs/fuse-2.5:0
+   >=dev-libs/glib-2.6"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig
+   >=sys-devel/gettext-0.14.1"