public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/jigdo] epel10.2: Unretire and update to 0.8.1; drop GUI (requires retired libgail-gnome)
@ 2026-08-21 18:59 Michel Alexandre Salim
  0 siblings, 0 replies; only message in thread
From: Michel Alexandre Salim @ 2026-08-21 18:59 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/jigdo
            Branch : epel10.2
            Commit : 6b689b8e2d3813d3fed0bfb3d2fa994172902ba6
            Author : Michel Alexandre Salim <salimma@fedoraproject.org>
            Date   : 2022-04-21T12:18:12-07:00
            Stats  : +112/-65 in 4 file(s)
            URL    : https://src.fedoraproject.org/rpms/jigdo/c/6b689b8e2d3813d3fed0bfb3d2fa994172902ba6?branch=epel10.2

            Log:
            Unretire and update to 0.8.1; drop GUI (requires retired libgail-gnome)

Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>

---
diff --git a/.gitignore b/.gitignore
index 0a8a05c..224539b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,4 @@
 jigdo-0.7.3.tar.bz2
+/jigdo-0.8.1.tar.xz
+/jigdo-0.8.1.tar.xz.sig
+/587979573442684E.asc

diff --git a/jigdo-0.8.1-fix-docs.patch b/jigdo-0.8.1-fix-docs.patch
new file mode 100644
index 0000000..441fb53
--- /dev/null
+++ b/jigdo-0.8.1-fix-docs.patch
@@ -0,0 +1,58 @@
+diff '--color=auto' -ruN jigdo-0.8.1/doc/debian-jigdo-mini-howto.sgml jigdo-0.8.1-fix-docs/doc/debian-jigdo-mini-howto.sgml
+--- jigdo-0.8.1/doc/debian-jigdo-mini-howto.sgml	2021-10-31 11:09:53.000000000 -0700
++++ jigdo-0.8.1-fix-docs/doc/debian-jigdo-mini-howto.sgml	2022-04-19 16:20:55.831065998 -0700
+@@ -206,8 +206,8 @@
+       were two ways of creating Debian CDs:</para>
+ 
+ 			<orderedlist>
+-			<listitem><para>Downloading the entire ISO</para>
+-			<listitem><para>Using the pseudo-image kit (PIK)</para>
++			<listitem><para>Downloading the entire ISO</para></listitem>
++			<listitem><para>Using the pseudo-image kit (PIK)</para></listitem>
+ 			</orderedlist>
+ 
+       <para>This document is about the newer and better way of obtaining Debian ISO images, using a
+@@ -1029,7 +1029,7 @@
+       image using "virtual drive" software.  <application><ulink
+       url="http://www.daemon-tools.cc">Daemon tools</ulink></application> and <application>Nero
+       Image Drive</application> are both very popular.  See also <ulink
+-      url="http://tinyurl.com/c39zr">http://tinyurl.com/c39zr</ulink> for more options.</para>
++      url="http://tinyurl.com/c39zr">http://tinyurl.com/c39zr</ulink> for more options.</para></listitem>
+ 
+ 
+       </itemizedlist>
+@@ -1219,11 +1219,11 @@
+ 
+       <para>You might find that under MS Windows, jigdo-lite will download some files but then fail
+       to read their contents, which will produce a "<literal>No such file or directory</literal>"
+-      error message.
++      error message.</para>
+ 
+       <para>It seems that this occurs if the length of the filenames that jigdo processes exceeds a
+       certain limit. The solution is to move the half-finished download up in the directory
+-      hierarchy, closer to the top-level directory of the drive.</para>
++      hierarchy, closer to the top-level directory of the drive.</para></sect2>
+ 
+ 
+ 
+@@ -1311,7 +1311,7 @@
+         <listitem><para>A loop-mounted copy of the temporary <filename>.iso.tmp</filename> file,
+         when a previous <application>jigdo-lite</application> run aborted.</para></listitem>
+ 
+-      </itemizedlist>
++      </itemizedlist></para>
+ 
+       <para>As Jens Seidel points out, there is another, rather crafty, source you should use for a
+       scanning source: your apt cache.  Apt uses the directory <filename
+diff '--color=auto' -ruN jigdo-0.8.1/doc/jigdo-file.sgml jigdo-0.8.1-fix-docs/doc/jigdo-file.sgml
+--- jigdo-0.8.1/doc/jigdo-file.sgml	2021-10-31 11:09:53.000000000 -0700
++++ jigdo-0.8.1-fix-docs/doc/jigdo-file.sgml	2022-04-19 16:10:31.772442196 -0700
+@@ -1580,7 +1580,7 @@
+     <para>Steve McIntyre <email>93sam@debian.org</email> picked up
+     later development of jigdo after Richard had moved on - see
+     the <ulink url="https://git.einval.com/cgi-bin/gitweb.cgi?p=jigdo.git;a=summary">git
+-    repo work</ulink> or packages in Debian for more recent releases.
++    repo work</ulink> or packages in Debian for more recent releases.</para>
+ 
+   </refsect1>
+ </refentry>

diff --git a/jigdo.spec b/jigdo.spec
index 0e67ebc..00e1354 100644
--- a/jigdo.spec
+++ b/jigdo.spec
@@ -1,93 +1,77 @@
 Name:          jigdo
-Version:       0.7.3
+Version:       0.8.1
 Release:       %autorelease
 Summary:       Ease distribution of large files over the Internet
 
 # Exception is permission to link with OpenSSL
 License:       GPLv2 with exceptions
-URL:           http://atterer.org/jigdo/
-Source0:       http://atterer.org/sites/atterer/files/2009-08/jigdo/%{name}-%{version}.tar.bz2
-Source1:       jigdo.desktop
-Patch1:        jigdo-0.7.1-debug.patch
-Patch2:        jigdo-0.7.3-gcc43.patch
-# rename SIZE_WIDTH into size_width to avoid
-# preprocessor symbol clash with c++14/gcc7 (F26FTBFS)
-Patch3:        jigdo-0.7.3-gcc7.patch
-
-BuildRequires: libdb-devel, bzip2-devel, curl-devel, /bin/awk, gettext
-BuildRequires: desktop-file-utils, gtk2-devel >= 0:2.0.6
-BuildRequires: gcc gcc-c++
+URL:           https://www.einval.com/~steve/software/jigdo/
+Source0:       %{url}download/%{name}-%{version}.tar.xz
+Source1:       %{url}download/%{name}-%{version}.tar.xz.sig
+Source2:       https://www.einval.com/~steve/pgp/587979573442684E.asc
+Source3:       jigdo.desktop
+# fix doc SGML sources e.g. for missing end tags
+Patch:         %{name}-0.8.1-fix-docs.patch
+
+BuildRequires: bzip2-devel
+BuildRequires: curl-devel
+BuildRequires: docbook-utils
+BuildRequires: gawk
+BuildRequires: gcc-c++
+BuildRequires: gettext
+BuildRequires: gnupg2
+BuildRequires: libdb-devel
+BuildRequires: make
+BuildRequires: wget
+BuildRequires: zlib-devel
 Requires:      wget
 
-%description
-Jigsaw Download, or short jigdo, is a tool designed to ease the
-distribution of very large files over the internet, for example CD or
-DVD images.  Its aim is to make downloading the images as easy for
-users as a click on a direct download link in a browser, while
-avoiding all the problems that server administrators have with hosting
-such large files.  It accomplishes this by using the separate pieces
-of any big file (such as the files contained within a CD/DVD image) to
-create a special "template" file which makes reassembly of the big
-file very easy for users who only have the pieces.
+%global _description %{expand:
+Jigsaw Download (for short jigdo) is a scheme developed primarily to make it
+easy to distribute huge filesystem images (e.g. CD (ISO9660) or DVD (UDF)
+images) over the internet, but it could also be used for other data which is
+awkward to handle due to its size, like audio/video files or large software
+packages.
 
-%package gui
-Summary:       Jigdo graphical interface
-Requires:      jigdo = %{version}-%{release}
+jigdo tries to ensure that the large file is downloaded in small parts which can
+be stored on different servers. People who want to download the image do so by
+telling the jigdo download tool to process one ".jigdo" file; using it, jigdo
+downloads the parts and reassembles the image. jigdo-file is used to prepare the
+files for download.}
 
-%description gui
-GTK2 frontend to jigdo.
+%description %{_description}
 
 
 %prep
-%setup -q
-%patch1 -p1 -b .debug
-%patch2 -p1 -b .gcc43
-%patch3 -p1
+%autosetup -p1
+%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
+
+# don't clobber -g from C*FLAGS
+sed -i '/.*echo "$C.*FLAGS"/d' configure
+
 
 %build
 export LDFLAGS="$LDFLAGS -lpthread"
 %configure --with-libdb=-ldb
-make %{?_smp_mflags}
+# make_build
+make # not SMP safe
+
 
 %install
-make DESTDIR="$RPM_BUILD_ROOT" INSTALL_EXE="/usr/bin/install -c" install
-# remove debian-specific script
-rm -f   $RPM_BUILD_ROOT%{_bindir}/jigdo-mirror \
-    $RPM_BUILD_ROOT%{_mandir}/man?/jigdo-mirror*
+%make_install
 %find_lang %{name}
 
-mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
-desktop-file-install \
-%if (0%{?fedora} && 0%{?fedora} < 19) || (0%{?rhel} && 0%{?rhel} < 7)
-        --vendor fedora \
-%endif
-        --dir $RPM_BUILD_ROOT/%{_datadir}/applications  \
-        --add-category X-Fedora-Extra \
-    %{SOURCE1}
-
-# icon
-mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps
-install -m 0644 -p gfx/jigdo-icon.png $RPM_BUILD_ROOT%{_datadir}/pixmaps
-
-# jigdo-mirror
-mkdir -p $RPM_BUILD_ROOT%{_bindir}
-install -m 0755 scripts/jigdo-mirror $RPM_BUILD_ROOT%{_bindir}/jigdo-mirror
 
 %files -f %{name}.lang
-%doc changelog COPYING README THANKS doc/*.html doc/TechDetails.txt doc/README-bindist.txt
+%license COPYING
+%doc changelog README THANKS doc/*.html doc/TechDetails.txt doc/README-bindist.txt
 %{_bindir}/jigdo-file
 %{_bindir}/jigdo-lite
 %{_bindir}/jigdo-mirror
-%dir %{_datadir}/%{name}
-%attr(0644,root,root) %{_mandir}/man[^3]/jigdo-file*
-%attr(0644,root,root) %{_mandir}/man[^3]/jigdo-lite*
-
-%files gui
-%{_bindir}/jigdo
-%{_datadir}/%{name}/*
-%{_datadir}/pixmaps/*
-%{_datadir}/applications/*
-%attr(0644,root,root) %{_mandir}/man[^3]/jigdo.*
+%{_datadir}/%{name}
+%{_mandir}/man1/jigdo-file.1*
+%{_mandir}/man1/jigdo-lite.1*
+%{_mandir}/man1/jigdo-mirror.1*
 
 
 %changelog

diff --git a/sources b/sources
index 9ee54e6..8864db3 100644
--- a/sources
+++ b/sources
@@ -1 +1,3 @@
-bbc1d9ac750bb34e0748f0b57157cc72  jigdo-0.7.3.tar.bz2
+SHA512 (jigdo-0.8.1.tar.xz) = 06bd905c5c867ae0430d6ee1ea8e434a2d2eb3837dc2ebfef33dd0ff0f38280b23c931255cb266caa5fc6367bd97565f6ebfdd702f3fad7009b43c789e7d5de9
+SHA512 (jigdo-0.8.1.tar.xz.sig) = a397b38e079f0e4002d270e06896635f973a254695f332aeeaa526c859820673efd5df9935180737163c30241b615a111889695464b2124c8c193cd1af557293
+SHA512 (587979573442684E.asc) = fcc2806e5999501ee8c6c17f6fbffbf529047c52f519774baf1c78ddcfb091fad565851091b8ff91df6e1de69a3530347597b6f7376c6b9021783fb39ce7634e

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-21 18:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-21 18:59 [rpms/jigdo] epel10.2: Unretire and update to 0.8.1; drop GUI (requires retired libgail-gnome) Michel Alexandre Salim

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox