gpicview 0.2.5-2 (znver1;x86_64;aarch64) 2024-17629
9999

Status published
Submitter mandian [@T] tutanota.com
Platform rolling
Repository unsupported
URL https://abf.openmandriva.org/build_lists/390011
Packages
gpicview-0.2.5-2.znver1.source
gpicview-0.2.5-2.znver1.binary
gpicview-debuginfo-0.2.5-2.znver1.debuginfo
gpicview-debugsource-0.2.5-2.znver1.binary
gpicview-0.2.5-2.x86_64.source
gpicview-0.2.5-2.x86_64.binary
gpicview-debuginfo-0.2.5-2.x86_64.debuginfo
gpicview-debugsource-0.2.5-2.x86_64.binary
gpicview-0.2.5-2.aarch64.source
gpicview-0.2.5-2.aarch64.binary
gpicview-debuginfo-0.2.5-2.aarch64.debuginfo
gpicview-debugsource-0.2.5-2.aarch64.binary
Build Date 2024-01-01 00:09:16 +0000 UTC
Last Updated 2024-01-04 23:51:59.857808005 +0000 UTC
$ git show --format=fuller --patch-with-stat --summary b9b809f4520455020f5916e04dbabe43dfca7714

commit b9b809f4520455020f5916e04dbabe43dfca7714
Author:     mandian <mandian@users.noreply.github.com>
AuthorDate: Wed Dec 6 23:53:50 2023 +0000
Commit:     mandian <mandian@users.noreply.github.com>
CommitDate: Wed Dec 6 23:53:50 2023 +0000

    upgrade at the latest git version and rebuild against gtk3
---
 .abf.yml      |  2 +-
 gpicview.spec | 45 ++++++++++++++++++++++++++++++++-------------
 2 files changed, 33 insertions(+), 14 deletions(-)

diff --git a/.abf.yml b/.abf.yml
index 9b03b8c..8491ddb 100644
--- a/.abf.yml
+++ b/.abf.yml
@@ -1,2 +1,2 @@
 sources:
-  gpicview-0.2.5.tar.xz: 1d61c56eda4f537e8ff9bd5c01d9357bc4a8b870
+  gpicview-95eef260885a5ef211602422f013c10c06383e9f.tar.gz: 144514791975c6ab2999a1177bbd5bcbb6a22faa
diff --git a/gpicview.spec b/gpicview.spec
index 6134b33..444c351 100644
--- a/gpicview.spec
+++ b/gpicview.spec
@@ -1,16 +1,25 @@
+# git snapshot
+%global snapshot 1
+%if 0%{?snapshot}
+	%global commit		95eef260885a5ef211602422f013c10c06383e9f
+	%global commitdate	20231013
+	%global shortcommit	%(c=%{commit}; echo ${c:0:7})
+%endif
+
 Summary:	A Simple and Fast Image Viewer for X
 Name:     	gpicview
 Version:	0.2.5
-Release:	1
+Release:	2
 License:	GPLv2+
 Group:		Graphics
 Url:		http://www.lxde.org/
-Source0: 	http://sourceforge.net/project/lxde/%name-%version.tar.xz
+#Source0: 	http://sourceforge.net/project/lxde/%name-%version.tar.xz
+Source0:	https://github.com/lxde/gpicview/archive/%{?snapshot:%{commit}}%{!?snapshot:%{version}}/%{name}-%{?snapshot:%{commit}}%{!?snapshot:%{version}}.tar.gz
 
 BuildRequires:	desktop-file-utils
 BuildRequires:	intltool >= 0.40.0
 BuildRequires:	jpeg-devel
-BuildRequires:	pkgconfig(gtk+-2.0)
+BuildRequires:	pkgconfig(gtk+-3.0)
 
 %description
 GPicView is a simple and fast image viewer for X.
@@ -21,19 +30,35 @@ It features:
 . Minimal lib dependency: Only pure GTK+ is used
 . Desktop independent: Doesn't require any specific desktop environment
 
+%files -f %{name}.lang
+%{_bindir}/%{name}
+%{_datadir}/applications/*.desktop
+%{_datadir}/%{name}
+%{_iconsdir}/hicolor/*/apps/%{name}.png
+
+#---------------------------------------------------------------------------
+
 %prep
-%setup -q
+%autosetup -p1 -n %{name}-%{?snapshot:%{commit}}%{!?snapshot:%{version}}
 
 %build
-%configure
-%make_build LIBS="-ljpeg -lm"
+autoreconf -fiv
+%configure \
+	--enable-dbus \
+	--enable-gtk3 \
+	%{nil}
+%make_build
+# LIBS="-ljpeg -lm"
 
 %install
 %make_install
 
+# locales
 %find_lang %{name}
 
-desktop-file-install --vendor='' \
+# .desktop
+desktop-file-install \
+	--vendor='' \
 	--dir=%{buildroot}%{_datadir}/applications \
 	--remove-category='Application' \
 	--remove-category='Core' \
@@ -42,9 +67,3 @@ desktop-file-install --vendor='' \
 	--remove-category='RasterGraphics' \
 	%{buildroot}%{_datadir}/applications/*.desktop
 
-%files -f %{name}.lang
-%{_bindir}/%{name}
-%{_datadir}/applications/*.desktop
-%{_datadir}/%{name}
-%{_datadir}/pixmaps/*
-
Not Available

369start [@T] proton.meNo Comment.322d 21hrs
369start [@T] proton.meNo Comment.322d 21hrs