[packages/pgf-console] - up to 7.21.7

baggins baggins at pld-linux.org
Sat Mar 28 22:55:09 CET 2026


commit 8fc84c54d5ce250f3c9c6482a33c39beeefdf0f9
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sat Mar 28 23:54:49 2026 +0100

    - up to 7.21.7

 am.patch         | 11 +++++++++++
 pgf-console.spec | 17 +++++++++--------
 pgf-lfs.patch    | 26 --------------------------
 3 files changed, 20 insertions(+), 34 deletions(-)
---
diff --git a/pgf-console.spec b/pgf-console.spec
index 720e301..3104d16 100644
--- a/pgf-console.spec
+++ b/pgf-console.spec
@@ -1,13 +1,13 @@
 Summary:	PGF (Progressive Graphics File) console application
 Summary(pl.UTF-8):	Aplikacja terminalowa do obsługi plików PGF (Progressive Graphics File)
 Name:		pgf-console
-Version:	6.14.12
-Release:	3
+Version:	7.21.7
+Release:	1
 License:	GPL v2+
 Group:		Applications/Graphics
-Source0:	http://downloads.sourceforge.net/libpgf/%{name}-src-%{version}.tar.gz
-# Source0-md5:	7c6a42ac0555d1125ba3af5161c5a777
-Patch0:		pgf-lfs.patch
+Source0:	https://download.sourceforge.net/project/libpgf/libpgf/%{version}/%{name}.zip
+# Source0-md5:	fe4da25f91961876e8682ff1c1ae5e0b
+Patch1:		am.patch
 URL:		http://www.libpgf.org/
 # FreeImage and FreeImagePlus
 BuildRequires:	FreeImage-devel >= 3.16.0-1
@@ -30,8 +30,8 @@ pgf to aplikacja terminalowa do pracy z plikami obrazów PGF
 
 %prep
 %setup -q -n pgf
-%undos configure.ac
-%patch -P0 -p1
+%undos configure.ac Makefile.am
+%patch -P1 -p1
 
 # disable doxygen docs, useless for program package
 %{__sed} -i -e '/^SUBDIRS/s/ doc//' Makefile.am
@@ -42,6 +42,7 @@ pgf to aplikacja terminalowa do pracy z plikami obrazów PGF
 %{__autoconf}
 %{__autoheader}
 %{__automake}
+export SHELL=/bin/bash
 %configure
 %{__make}
 
@@ -59,5 +60,5 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc ChangeLog FAQ README
+%doc ChangeLog FAQ
 %attr(755,root,root) %{_bindir}/pgf
diff --git a/am.patch b/am.patch
new file mode 100644
index 0000000..db0cf37
--- /dev/null
+++ b/am.patch
@@ -0,0 +1,11 @@
+--- pgf/Makefile.am~	2026-03-28 23:42:26.000000000 +0100
++++ pgf/Makefile.am	2026-03-28 23:44:50.449999715 +0100
+@@ -19,8 +19,6 @@
+ 
+ RPMRELEASE=$(PACKAGE_RELEASE)
+ 
+-ACLOCAL_AMFLAGS = -I m4
+-
+ install-data-local:: $(PACKAGE).pc
+ 	$(mkinstalldirs) $(DESTDIR)$(bindir)/pkgconfig
+ 	$(INSTALL) -m 644 $(PACKAGE).pc $(DESTDIR)$(bindir)/pkgconfig/$(PACKAGE).pc
diff --git a/pgf-lfs.patch b/pgf-lfs.patch
deleted file mode 100644
index 4bce5c9..0000000
--- a/pgf-lfs.patch
+++ /dev/null
@@ -1,26 +0,0 @@
---- pgf/configure.ac.orig	2014-07-31 18:42:18.587940134 +0200
-+++ pgf/configure.ac	2014-07-31 18:43:28.147937202 +0200
-@@ -28,6 +28,7 @@ AM_INIT_AUTOMAKE(pgf,6.14.12)
- AC_PROG_LIBTOOL
- AM_CONFIG_HEADER( config.h )
- AC_PROG_CXX
-+AC_SYS_LARGEFILE
- 
- AC_CHECK_PROG(DOTFOUND,dot, "YES", "NO")
- 
---- pgf/src/PGF.cpp.orig	2014-03-21 13:15:17.000000000 +0100
-+++ pgf/src/PGF.cpp	2014-07-31 18:43:56.964602673 +0200
-@@ -81,10 +81,10 @@ static string errorMsg[] = {
- };
- 
- /////////////////////////////////////////////////////////////////////////////
--static __int64 FileSize(char *filename) {
--	struct __stat64 data;
-+static off_t FileSize(const char *filename) {
-+	struct stat data;
- 
-- 	if (_stat64(filename, &data) != -1) {
-+ 	if (stat(filename, &data) != -1) {
- 		return data.st_size;
- 	} else {
- 		return 0;
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/pgf-console.git/commitdiff/8fc84c54d5ce250f3c9c6482a33c39beeefdf0f9



More information about the pld-cvs-commit mailing list