summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2019-02-21 17:31:48 +0000
committerB Stack <bgstack15@gmail.com>2019-02-21 17:31:48 +0000
commitbe03e4beda29e7952ce289d57749c60fd97003d3 (patch)
treece3c10911f48eb451e5f085a39a2524bced7ed67
parentMerge branch 'palemoon-bump' into 'master' (diff)
parentirfanview dpkg (diff)
downloadstackrpms-be03e4beda29e7952ce289d57749c60fd97003d3.tar.gz
stackrpms-be03e4beda29e7952ce289d57749c60fd97003d3.tar.bz2
stackrpms-be03e4beda29e7952ce289d57749c60fd97003d3.zip
Merge branch 'irfanview-dpkg' into 'master'
irfanview dpkg See merge request bgstack15/stackrpms!41
-rw-r--r--irfanview/debian/README.Debian5
-rwxr-xr-xirfanview/debian/bin/irfanview103
-rw-r--r--irfanview/debian/changelog5
-rw-r--r--irfanview/debian/compat1
-rw-r--r--irfanview/debian/conffiles1
-rw-r--r--irfanview/debian/control15
-rw-r--r--irfanview/debian/copyright115
-rw-r--r--irfanview/debian/default/irfanview5
-rw-r--r--irfanview/debian/i_view32.ini167
-rw-r--r--irfanview/debian/irfanview-icons.tgzbin0 -> 20907 bytes
-rwxr-xr-xirfanview/debian/irfanview-vlc16
-rw-r--r--irfanview/debian/irfanview.desktop13
-rw-r--r--irfanview/debian/irfanview.docs2
-rw-r--r--irfanview/debian/irfanview.install10
-rw-r--r--irfanview/debian/patches/series1
-rwxr-xr-xirfanview/debian/rules48
-rw-r--r--irfanview/debian/source/format1
-rw-r--r--irfanview/debian/source/include-binaries1
-rw-r--r--irfanview/debian/source/local-options2
-rw-r--r--irfanview/debian/watch2
20 files changed, 513 insertions, 0 deletions
diff --git a/irfanview/debian/README.Debian b/irfanview/debian/README.Debian
new file mode 100644
index 0000000..bcba7ce
--- /dev/null
+++ b/irfanview/debian/README.Debian
@@ -0,0 +1,5 @@
+irfanview for Devuan
+
+No customizations beyond what was necessary to build the dpkg.
+
+ -- B Stack <bgstack15@gmail.com> Thu, 07 Feb 2019 14:33:49 -0500
diff --git a/irfanview/debian/bin/irfanview b/irfanview/debian/bin/irfanview
new file mode 100755
index 0000000..bb2af33
--- /dev/null
+++ b/irfanview/debian/bin/irfanview
@@ -0,0 +1,103 @@
+#!/bin/sh
+# File: /usr/bin/irfanview
+# Author: bgstack15@gmail.com
+# Startdate: 2016-01-29
+# Title: Wrapper script for passing files to Irfanview
+# Purpose: Converts file paths to a wine format and also handles compressed files
+# History: 2016-01-29 Initial quick script written. It used a bunch of sed commands to transform paths to a wine format.
+# Usage: irfan /path/to/image /another/image/file
+# Reference:
+# Ideas for zip expansion and winepath https://github.com/Zykr/IrfanViewLinux/blob/master/irfanview
+# Improve:
+
+IV_DEFAULT_FILE=/etc/sysconfig/irfanview
+# prepend IV_ to variables from defaults file and apply them
+if test -r "${IV_DEFAULT_FILE}" ;
+then
+ IV_tmpfile="$( mktemp )"
+ sed -r -e 's/^\s*(.*=.*)/IV_\1/;' < "${IV_DEFAULT_FILE}" > "${IV_tmpfile}"
+ source "${IV_tmpfile}"
+ rm -f "${IV_tmpfile}"
+fi
+
+# load variables
+test -z "${IV_WINEPREFIX}" && export IV_WINEPREFIX="$HOME/.wine"
+test -n "${IV_WINEPREFIX}" && export WINEPREFIX="${IV_WINEPREFIX}" || export WINEPREFIX=$HOME/.wine
+test -z "${IV_DEVTTY}" && export IV_DEVTTY=/dev/null
+test -z "${IV_EXEC_NAME}" && export IV_EXEC_NAME="i_view32.exe"
+test -z "${IV_EXEC_PATH}" && export IV_EXEC_PATH="/usr/share/irfanview/i_view32.exe"
+
+IV_VERSION="2018-09-02a"
+
+# Define functions
+expandword() {
+ # call: expandword "${word}"
+ # if file, add it
+ # if directory, expand it
+ # if tarball, extract it and operate on the directory like normal
+ local _word="$( echo "${@}" | sed -e 'sF\/\/F\/Fg;' )"
+ if test -d "${_word}";
+ then
+ # loop through all files in the directory
+ for _newword in "${_word}"/*;
+ do
+ expandword "${_newword}";
+ done
+ elif test -f "${_word}";
+ then
+ # file exists so check if tarball
+ case "${_word}" in
+ *.tgz|*.tar.gz)
+ # extract it and expand the temporary directory
+ _tmpdir="$( mktemp -d )"; alltempdirs="${alltempdirs} ${_tmpdir}"
+ echo "tmpdir ${_tmpdir}" 1>${IV_DEVTTY}
+ tar -zx -C "${_tmpdir}" -f "${_word}" 1>${IV_DEVTTY} 2>&1
+ expandword "${_tmpdir}"
+ ;;
+ *.zip)
+ _tmpdir="$( mktemp -d )"; alltempdirs="${alltempdirs} ${_tmpdir}"
+ echo "tmpdir ${_tmpdir}" 1>${IV_DEVTTY}
+ echo "7za e -w${_tmpdir} ${_word}" 1>${IV_DEVTTY} 2>&1
+ ( cd "${_tmpdir}"; 7za e "${_word}" 1>${IV_DEVTTY} 2>&1; )
+ expandword "${_tmpdir}"
+ ;;
+ *)
+ # assume it is readable and add it to list of files to open
+ echo "File ${_word}" 1>${IV_DEVTTY}
+ thisfile="$( getwinepath "${_word}" )"
+ irfanfiles="${irfanfiles} \"${thisfile}\""
+ ;;
+ esac
+ fi
+}
+
+getwinepath() {
+ # call: getwinepath "$foo"
+ winepath -w "${@}"
+}
+
+# Define variables
+alltempdirs=""
+
+# prepare files
+irfanargs=
+irfanfiles=
+
+for word in "${@}";
+do
+ expandword "${word}"
+done
+irfanfiles="${irfanfiles## }"
+
+# run wine
+cd $WINEPREFIX
+echo "${irfanfiles}" | xargs echo wine "${IV_EXEC_PATH}" ${irfanargs} > ${IV_DEVTTY}
+echo "${irfanfiles}" | xargs wine "${IV_EXEC_PATH}" ${irfanargs} &
+
+#wait $( pgrep -P $$ ${IV_EXEC_NAME} )
+# WORKHERE try wait with:
+wait %1
+for thistempdir in ${alltempdirs};
+do
+ rm -rf "${thistempdir}" 1>${IV_DEVTTY}
+done
diff --git a/irfanview/debian/changelog b/irfanview/debian/changelog
new file mode 100644
index 0000000..ab0432a
--- /dev/null
+++ b/irfanview/debian/changelog
@@ -0,0 +1,5 @@
+irfanview (4.52-2devuan) manual; urgency=low
+
+ * Initial build for devuan
+
+ -- B Stack <bgstack15@gmail.com> Thu, 07 Feb 2019 14:33:49 -0500
diff --git a/irfanview/debian/compat b/irfanview/debian/compat
new file mode 100644
index 0000000..b4de394
--- /dev/null
+++ b/irfanview/debian/compat
@@ -0,0 +1 @@
+11
diff --git a/irfanview/debian/conffiles b/irfanview/debian/conffiles
new file mode 100644
index 0000000..cab5d4e
--- /dev/null
+++ b/irfanview/debian/conffiles
@@ -0,0 +1 @@
+/usr/share/irfanview/i_view32.ini
diff --git a/irfanview/debian/control b/irfanview/debian/control
new file mode 100644
index 0000000..d164814
--- /dev/null
+++ b/irfanview/debian/control
@@ -0,0 +1,15 @@
+Source: irfanview
+Section: graphics
+Priority: optional
+Maintainer: B Stack <bgstack15@gmail.com>
+Build-Depends: debhelper (>=11~),
+ imagemagick
+Standards-Version: 4.1.4
+Homepage: https://irfanview.info/
+
+Package: irfanview
+Architecture: any
+Multi-Arch: foreign
+Depends: ${misc:Depends}, ${shlibs:Depends},
+ wine | wine-staging | winehq | winehq-staging | wine-stable
+Description: graphics viewer from a non-free OS
diff --git a/irfanview/debian/copyright b/irfanview/debian/copyright
new file mode 100644
index 0000000..f545cc3
--- /dev/null
+++ b/irfanview/debian/copyright
@@ -0,0 +1,115 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: irfanview
+Source: <url://example.com>
+#
+# Please double check copyright with the licensecheck(1) command.
+
+Files: #readme_zip_users.txt
+ Html/copy_files.txt
+ Html/frame.html
+ Html/slideshow.html
+ Html/thumbnails.html
+ Languages/Deutsch.dll
+ Languages/IP_Deutsch.lng
+ Plugins/Adobe 8BF/HarrysFilters.8bf
+ Plugins/Adobe 8BF/PopArt.8bf
+ Plugins/AltaLux.dll
+ Plugins/Awd.dll
+ Plugins/B3d.dll
+ Plugins/BabaCAD4Image.dll
+ Plugins/Burning.dll
+ Plugins/BurningOld.dll
+ Plugins/Crw.dll
+ Plugins/Crw/Readme_Canon.txt
+ Plugins/Dicom.dll
+ Plugins/DjVu.dll
+ Plugins/Dpx.dll
+ Plugins/Ecw.dll
+ Plugins/Ecw/NCSEcw.dll
+ Plugins/Ecw/NCSEcwC.dll
+ Plugins/Ecw/NCSUtil.dll
+ Plugins/Ecw/NCScnet.dll
+ Plugins/Effects.dll
+ Plugins/Email.dll
+ Plugins/Exr.dll
+ Plugins/FFactory.dll
+ Plugins/FUNLTDIV.dll
+ Plugins/FUnlimited_Readme.txt
+ Plugins/FaceDetect.dll
+ Plugins/FilmSim.dll
+ Plugins/Filter Factory 8BF/3DMaker.8bf
+ Plugins/Filter Factory 8BF/Afhbevel.8bf
+ Plugins/Flash.dll
+ Plugins/Flash4.dll
+ Plugins/Flif.dll
+ Plugins/Fmod/Fmod.dll
+ Plugins/Formats.dll
+ Plugins/Fpx.dll
+ Plugins/Ftp.dll
+ Plugins/Hdp.dll
+ Plugins/IV_Player.exe
+ Plugins/Icons.dll
+ Plugins/Ics.dll
+ Plugins/ImPDF.dll
+ Plugins/ImPDN.dll
+ Plugins/ImXCF.dll
+ Plugins/IrfanView Sandbox.dll
+ Plugins/IrfanView Sandbox.jpac
+ Plugins/JPEG2000.dll
+ Plugins/JPM.dll
+ Plugins/Jpeg_LS.dll
+ Plugins/Jpg_transform.dll
+ Plugins/KDC120.dll
+ Plugins/Lcms.dll
+ Plugins/Med.dll
+ Plugins/Metadata.dll
+ Plugins/Mng.dll
+ Plugins/Mp3.dll
+ Plugins/MrSID.dll
+ Plugins/Mrc.dll
+ Plugins/Nero.dll
+ Plugins/Paint.dll
+ Plugins/Photocd.dll
+ Plugins/Pngout.dll
+ Plugins/Postscript.dll
+ Plugins/Quicktime.dll
+ Plugins/Ra_player.dll
+ Plugins/Readme_install.txt
+ Plugins/RegionCapture.dll
+ Plugins/Riot.dll
+ Plugins/Sff.dll
+ Plugins/Slideshow.exe
+ Plugins/SoundPlayer.dll
+ Plugins/Tools.dll
+ Plugins/Video.dll
+ Plugins/Vtf.dll
+ Plugins/Wbz.dll
+ Plugins/WebP.dll
+ Plugins/Wsq.dll
+ Toolbars/Grosberg_24.png
+ Toolbars/Grosberg_24.txt
+ Toolbars/Samuel_16.png
+ Toolbars/Samuel_16.txt
+ Toolbars/gnome-colors-human_48.png
+ Toolbars/gnome-colors-human_48.txt
+ Toolbars/gnome-colors-wise_32.png
+ Toolbars/gnome-colors-wise_32.txt
+ i_about.txt
+ i_changes.txt
+ i_languages.txt
+ i_options.txt
+ i_plugins.txt
+ i_view32.chm
+ iv_uninstall.exe
+Copyright: __NO_COPYRIGHT_NOR_LICENSE__
+License: __NO_COPYRIGHT_NOR_LICENSE__
+
+#----------------------------------------------------------------------------
+# huge files (skipped):
+# i_view32.exe
+# Plugins/PDF.dll
+# Plugins/CADImage.dll
+
+#----------------------------------------------------------------------------
+# Files marked as NO_LICENSE_TEXT_FOUND may be covered by the following
+# license/copyright files.
diff --git a/irfanview/debian/default/irfanview b/irfanview/debian/default/irfanview
new file mode 100644
index 0000000..e972fb9
--- /dev/null
+++ b/irfanview/debian/default/irfanview
@@ -0,0 +1,5 @@
+# File: /etc/sysconfig/irfanview
+WINEARCH=win32
+WINEPREFIX=$HOME/.wine
+EXEC_NAME="i_view32.exe"
+EXEC_PATH="/usr/share/irfanview/i_view32.exe"
diff --git a/irfanview/debian/i_view32.ini b/irfanview/debian/i_view32.ini
new file mode 100644
index 0000000..04b4e54
--- /dev/null
+++ b/irfanview/debian/i_view32.ini
@@ -0,0 +1,167 @@
+[Others]
+Test=1
+StartOption=0
+StartFolder=
+OneInstance=0
+ESCThumbs=1
+ESCExit=0
+SaveChanges=0
+ShowPNGAlpha=1
+ShowTIFAnnot=0
+ShowFullPath=1
+CenterWindow=0
+RememberWinPos=1
+LoopCurDir=1
+BeepOnLoop=1
+JumpOnPageKey=0
+UseUndo=1
+PasteSel=0
+SpecialPasteFit=1
+PaletteNearest=1
+VideoSize=100
+UseInternalPlayer=1
+VideoDS=1
+VideoLoop=0
+VideoHidePlaybar=0
+UseMCIforFlash=0
+UseQTforMOV=0
+UseQTforPICT=1
+AskDelete=1
+DelToRecycle=1
+JumpAfterDelete=0
+CloseOnDelete=0
+DelSideCars=0
+SideCarExts=THM|XMP|
+NotUpdateDirIndex=0
+RenameExtension=1
+AskOverwriteSave=1
+DisplaySaveDialog=1
+Unicode=0
+UseMRUDs=1
+UseMRUFs=1
+SaveSlideDir=1
+SaveBatchDir=0
+ExternalViewer=Z:\usr\bin\irfanview-vlc
+ExternalViewer2=
+ExternalViewer3=Z:\usr\share\irfanview\i_view32.exe
+ShortExtViewer=0
+ExtViewerFullLine=1
+PropPage=12
+[Viewing]
+FullScreen=0
+Dither24BPP=0
+BackColor=0
+EnableGamma=0
+GammaValue=1.00
+EnableBWGamma=1
+BWGamma=0.5
+ContextMenu=0
+ZoomFactor=10
+ZoomOption=0
+ZoomTable=3;10;14;16;19;21;25;28;33;38;43;50;57;66;76;87;100;115;132;150;174;200;230;260;300;350;400;450;500;600;700;800;900;1000;1200;1400;1600;2000;3000;
+UseICM=0
+ICMOption=0
+ICMFile=
+UseICMAlways=0
+InICMFile=sRGB
+ViewAll=1
+ShowHiddenFiles=1
+MultipageScroll=1
+GridSize=75
+SelColor=-1
+ShowFullScreen=1
+WMult=100
+HMult=100
+TxtPos=0
+TxtAlign=0
+TxtLayer=1
+FSCenter=1
+FSResample=1
+FSZoomResample=0
+FSAlpha=0
+FS_LMouse=0
+FS_RMouse=0
+MultimonStretch=0
+ShowFullScreenName=1
+FullBackColor=0
+HideCursor=0
+FullText=$D$F $X
+TranspText=1
+FontColor=65280
+TxtBgkr=16777215
+FontParam=-13|0|0|0|400|0|0|0|0|1|2|4|49|
+Font=Courier New
+[JPEG]
+Load Grayscale=0
+ExifRotate=1
+[PhotoCD]
+Loading Size=3
+[MultiGIF]
+PlayAnimation=1
+UseSingleTrans=0
+[Extensions]
+AllUsers=0
+UseOtherExt=0
+AllExtensions=
+UseAssociatedOnly=0
+CustomExtensions=JPG|JPEG|JPE|GIF|BMP|TIF|TIFF|PNG|PCX|ICO|PSD|CUR|ANI|TXT|PS|PDF|AI|SVG|
+UseThumbBMP=0
+[Edit]
+ColorChannel=0
+CutColor=0
+[StatusBar]
+Text=$M
+[Effects]
+AutoCropTol=0
+[TXT]
+TXTFileFont=0
+TranspText=1
+FontColor=65280
+TxtBgkr=16777215
+FontParam=-13|0|0|0|400|0|0|0|0|1|2|4|49|
+Font=Courier New
+[Copy-Move]
+AskCopy=1
+AskMove=1
+CopyDir=
+MoveDir=
+[Language]
+DLL=ENGLISH
+Lang=English
+[Toolbar]
+Skin=
+Size=
+Flag=1966075
+[Plugins]
+CRW_Preview=1
+CRW_Canon=0
+CRW_HALF=1
+CRW_AWB=0
+CRW_CWB=1
+CRW_NoBright=0
+CRW_Bright=1.00
+CRW_Highlight=0
+TTF_text=!"#$%&'()*+,-./0123456789:;<=>?@§ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`§abcdefghijklmnopqrstuvwxyz{|}~
+8BFPath=
+[WinPosition]
+xKoord=22
+yKoord=49
+Width=484
+Height=354
+Maximized=0
+[RecentFiles]
+File0=
+File1=
+File2=
+File3=
+File4=
+File5=
+File6=
+File7=
+File8=
+File9=
+File10=
+File11=
+File12=
+File13=
+File14=
diff --git a/irfanview/debian/irfanview-icons.tgz b/irfanview/debian/irfanview-icons.tgz
new file mode 100644
index 0000000..c9ce5af
--- /dev/null
+++ b/irfanview/debian/irfanview-icons.tgz
Binary files differ
diff --git a/irfanview/debian/irfanview-vlc b/irfanview/debian/irfanview-vlc
new file mode 100755
index 0000000..a108c71
--- /dev/null
+++ b/irfanview/debian/irfanview-vlc
@@ -0,0 +1,16 @@
+#!/bin/sh
+# file: /usr/share/irfan/inc/irfan-vlc.sh
+# purpose: to correct filenames if passed to an external editor from wine-irfan.
+devtty=/dev/null
+a="$@"
+vlcargs=
+{
+for word in "$@";
+do
+ newword=$( echo "${word##Z:}" | sed 's!\\!\/!g;' )
+ vlcargs="${vlcargs} ${newword}"
+ #echo "vlcargs=${vlcargs}"
+done
+vlcargs="${vlcargs## }"
+/usr/bin/vlc "${vlcargs}"
+} > ${devtty}
diff --git a/irfanview/debian/irfanview.desktop b/irfanview/debian/irfanview.desktop
new file mode 100644
index 0000000..4a4fcfc
--- /dev/null
+++ b/irfanview/debian/irfanview.desktop
@@ -0,0 +1,13 @@
+[Desktop Entry]
+Version=1.0
+Name=Irfanview
+GenericName=Graphics Viewer
+Comment=View graphics
+Exec=/usr/bin/irfanview %F
+Icon=irfanview
+Terminal=false
+Type=Application
+MimeType=x-content/image-dcf;image/png;image/gif;image/jpeg;image/jpg;image/bmp;image/tiff;image/ico;image/vnd.adobe.photoshop;
+StartupNotify=true
+Categories=Graphics;Viewer;
+Keywords=irfan;graphics;image;viewer;batch;
diff --git a/irfanview/debian/irfanview.docs b/irfanview/debian/irfanview.docs
new file mode 100644
index 0000000..b8de1a0
--- /dev/null
+++ b/irfanview/debian/irfanview.docs
@@ -0,0 +1,2 @@
+Html
+i_*.txt
diff --git a/irfanview/debian/irfanview.install b/irfanview/debian/irfanview.install
new file mode 100644
index 0000000..fa26355
--- /dev/null
+++ b/irfanview/debian/irfanview.install
@@ -0,0 +1,10 @@
+i_view32.exe usr/share/irfanview/
+Languages usr/share/irfanview/
+Plugins usr/share/irfanview/
+Toolbars usr/share/irfanview/
+*.chm usr/share/irfanview/
+debian/i_view32.ini usr/share/irfanview/
+debian/irfanview.desktop usr/share/applications/
+debian/default/irfanview etc/default/
+debian/bin/irfanview usr/bin/
+debian/irfanview-vlc usr/bin/
diff --git a/irfanview/debian/patches/series b/irfanview/debian/patches/series
new file mode 100644
index 0000000..4a97dfa
--- /dev/null
+++ b/irfanview/debian/patches/series
@@ -0,0 +1 @@
+# You must remove unused comment lines for the released package.
diff --git a/irfanview/debian/rules b/irfanview/debian/rules
new file mode 100755
index 0000000..e8ccb04
--- /dev/null
+++ b/irfanview/debian/rules
@@ -0,0 +1,48 @@
+#!/usr/bin/make -f
+# You must remove unused comment lines for the released package.
+#export DH_VERBOSE = 1
+#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
+#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
+
+export _prefix=/usr
+export _datadir="${_prefix}/share"
+export appname=irfanview
+export debuilddir="debian"
+export buildroot="${debuilddir}/${appname}"
+
+%:
+ dh $@
+
+override_dh_fixperms:
+ dh_fixperms
+ chmod 0666 ${buildroot}${_datadir}/${appname}/i_view32.ini
+
+override_dh_auto_install:
+ dh_auto_install
+ tar -zxf debian/irfanview-icons.tgz irfanview-circle.svg
+ mkdir -p ${buildroot}${_datadir}/icons/hicolor/16x16/apps
+ mkdir -p ${buildroot}${_datadir}/icons/hicolor/22x22/apps
+ mkdir -p ${buildroot}${_datadir}/icons/hicolor/24x24/apps
+ mkdir -p ${buildroot}${_datadir}/icons/hicolor/32x32/apps
+ mkdir -p ${buildroot}${_datadir}/icons/hicolor/48x48/apps
+ mkdir -p ${buildroot}${_datadir}/icons/hicolor/64x64/apps
+ mkdir -p ${buildroot}${_datadir}/icons/hicolor/96x96/apps
+ mkdir -p ${buildroot}${_datadir}/icons/hicolor/128x128/apps
+ mkdir -p ${buildroot}${_datadir}/icons/hicolor/256x256/apps
+ mkdir -p ${buildroot}${_datadir}/icons/hicolor/scalable/apps
+ convert irfanview-circle.svg -filter Lanczos -resize 16x16 ${buildroot}${_datadir}/icons/hicolor/16x16/apps/${appname}.png
+ convert irfanview-circle.svg -filter Lanczos -resize 22x22 ${buildroot}${_datadir}/icons/hicolor/22x22/apps/${appname}.png
+ convert irfanview-circle.svg -filter Lanczos -resize 24x24 ${buildroot}${_datadir}/icons/hicolor/24x24/apps/${appname}.png
+ convert irfanview-circle.svg -filter Lanczos -resize 32x32 ${buildroot}${_datadir}/icons/hicolor/32x32/apps/${appname}.png
+ convert irfanview-circle.svg -filter Lanczos -resize 48x48 ${buildroot}${_datadir}/icons/hicolor/48x48/apps/${appname}.png
+ convert irfanview-circle.svg -filter Lanczos -resize 64x64 ${buildroot}${_datadir}/icons/hicolor/64x64/apps/${appname}.png
+ convert irfanview-circle.svg -filter Lanczos -resize 96x96 ${buildroot}${_datadir}/icons/hicolor/96x96/apps/${appname}.png
+ convert irfanview-circle.svg -filter Lanczos -resize 128x128 ${buildroot}${_datadir}/icons/hicolor/128x128/apps/${appname}.png
+ convert irfanview-circle.svg -filter Lanczos -resize 256x256 ${buildroot}${_datadir}/icons/hicolor/256x256/apps/${appname}.png
+ cp -p irfanview-circle.svg ${buildroot}${_datadir}/icons/hicolor/scalable/apps/${appname}.svg
+ rm -f ./irfanview-circle.svg || :
+
+override_dh_auto_clean:
+ dh_auto_clean
+ rm -rf ./irfanview-circle.svg || :
diff --git a/irfanview/debian/source/format b/irfanview/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/irfanview/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/irfanview/debian/source/include-binaries b/irfanview/debian/source/include-binaries
new file mode 100644
index 0000000..47d27cb
--- /dev/null
+++ b/irfanview/debian/source/include-binaries
@@ -0,0 +1 @@
+debian/irfanview-icons.tgz
diff --git a/irfanview/debian/source/local-options b/irfanview/debian/source/local-options
new file mode 100644
index 0000000..00131ee
--- /dev/null
+++ b/irfanview/debian/source/local-options
@@ -0,0 +1,2 @@
+#abort-on-upstream-changes
+#unapply-patches
diff --git a/irfanview/debian/watch b/irfanview/debian/watch
new file mode 100644
index 0000000..76575dc
--- /dev/null
+++ b/irfanview/debian/watch
@@ -0,0 +1,2 @@
+# You must remove unused comment lines for the released package.
+version=3
bgstack15