From 5fbfb23ed0df3537550c00697feef1cbf5e5eca5 Mon Sep 17 00:00:00 2001 From: B Stack Date: Fri, 17 May 2019 22:40:09 -0400 Subject: document procedure for building orig.tar.gz --- irfanview/debian/README.Debian | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/irfanview/debian/README.Debian b/irfanview/debian/README.Debian index bcba7ce..04853e4 100644 --- a/irfanview/debian/README.Debian +++ b/irfanview/debian/README.Debian @@ -1,5 +1,22 @@ irfanview for Devuan -No customizations beyond what was necessary to build the dpkg. +To retrieve the source files, you can use: +wget --referer='http://www.irfanview.info/files/iview453.zip' --user-agent='Mozilla (X11)' http://irfanview.info/files/iview453.zip - -- B Stack Thu, 07 Feb 2019 14:33:49 -0500 +To build the irfanview_4.53.orig.tar.gz, you have to take all four source zip files: +* iview453.zip +* iview453_x64.zip +* iview453_plugins.zip +* iview453_plugins_x64.zip + +And extract them like so: +iver=453 +dir_iver="$( echo "${iver}" | head -c1 ).$( echo "${iver}" | tail -c3 )" +mkdir -p "irfanview-${dir_iver}" ; cd "irfanview-${dir_iver}" +mkdir -p irfanview-bin32 irfanview-bin64 +cd irfanview-bin32 ; unzip ../../iview${iver}.zip ; cd Plugins ; unzip ../../../iview${iver}_plugins.zip ; cd ../.. +cd irfanview-bin64 ; unzip ../../iview${iver}_x64.zip ; cd Plugins ; unzip ../../../iview${iver}_plugins_x64.zip ; cd ../.. +cd .. +tar -zcf "irfanview_${dir_iver}.orig.tar.gz" "irfanview-${dir_iver}" + + -- B Stack Thu, 17 May 2019 22:40:20 -0500 -- cgit