summaryrefslogtreecommitdiff
path: root/irfanview/debian/rules
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2019-05-18 21:34:08 -0400
committerB Stack <bgstack15@gmail.com>2019-05-18 21:34:08 -0400
commit1beac7ad1dc688b460011bfa43913024b9707450 (patch)
treea8066948d12aa6ba923d69d7f2aa51ff91583940 /irfanview/debian/rules
parentirfanview 4.53 rpm old-style (diff)
downloadstackrpms-1beac7ad1dc688b460011bfa43913024b9707450.tar.gz
stackrpms-1beac7ad1dc688b460011bfa43913024b9707450.tar.bz2
stackrpms-1beac7ad1dc688b460011bfa43913024b9707450.zip
irfanview 4.53 rpm...
rewritten to build both 32-bit and 64-bit versions from a single spec file. Also includes the ImageMagick convert fix in the dpkg instructions.
Diffstat (limited to 'irfanview/debian/rules')
-rwxr-xr-xirfanview/debian/rules20
1 files changed, 10 insertions, 10 deletions
diff --git a/irfanview/debian/rules b/irfanview/debian/rules
index e4ab04c..c05c160 100755
--- a/irfanview/debian/rules
+++ b/irfanview/debian/rules
@@ -25,7 +25,7 @@ export buildroot_64="${debuilddir}/${appname_64}"
override_dh_fixperms:
dh_fixperms
chmod 0666 ${buildroot_32}${_datadir}/${appdir_32}/i_view32.ini || :
- chmod 0666 ${buildroot_64}${_datadir}/${appdir_64}/i_view32.ini || :
+ chmod 0666 ${buildroot_64}${_datadir}/${appdir_64}/i_view64.ini || :
override_dh_auto_install:
dh_auto_install
@@ -41,15 +41,15 @@ override_dh_auto_install:
mkdir -p ${buildroot_common}${_datadir}/icons/hicolor/128x128/apps
mkdir -p ${buildroot_common}${_datadir}/icons/hicolor/256x256/apps
mkdir -p ${buildroot_common}${_datadir}/icons/hicolor/scalable/apps
- convert irfanview-circle.svg -filter Lanczos -resize 16x16 ${buildroot_common}${_datadir}/icons/hicolor/16x16/apps/${appname}.png
- convert irfanview-circle.svg -filter Lanczos -resize 22x22 ${buildroot_common}${_datadir}/icons/hicolor/22x22/apps/${appname}.png
- convert irfanview-circle.svg -filter Lanczos -resize 24x24 ${buildroot_common}${_datadir}/icons/hicolor/24x24/apps/${appname}.png
- convert irfanview-circle.svg -filter Lanczos -resize 32x32 ${buildroot_common}${_datadir}/icons/hicolor/32x32/apps/${appname}.png
- convert irfanview-circle.svg -filter Lanczos -resize 48x48 ${buildroot_common}${_datadir}/icons/hicolor/48x48/apps/${appname}.png
- convert irfanview-circle.svg -filter Lanczos -resize 64x64 ${buildroot_common}${_datadir}/icons/hicolor/64x64/apps/${appname}.png
- convert irfanview-circle.svg -filter Lanczos -resize 96x96 ${buildroot_common}${_datadir}/icons/hicolor/96x96/apps/${appname}.png
- convert irfanview-circle.svg -filter Lanczos -resize 128x128 ${buildroot_common}${_datadir}/icons/hicolor/128x128/apps/${appname}.png
- convert irfanview-circle.svg -filter Lanczos -resize 256x256 ${buildroot_common}${_datadir}/icons/hicolor/256x256/apps/${appname}.png
+ convert -background none -filter Lanczos -resize 16x16 irfanview-circle.svg ${buildroot_common}${_datadir}/icons/hicolor/16x16/apps/${appname}.png
+ convert -background none -filter Lanczos -resize 22x22 irfanview-circle.svg ${buildroot_common}${_datadir}/icons/hicolor/22x22/apps/${appname}.png
+ convert -background none -filter Lanczos -resize 24x24 irfanview-circle.svg ${buildroot_common}${_datadir}/icons/hicolor/24x24/apps/${appname}.png
+ convert -background none -filter Lanczos -resize 32x32 irfanview-circle.svg ${buildroot_common}${_datadir}/icons/hicolor/32x32/apps/${appname}.png
+ convert -background none -filter Lanczos -resize 48x48 irfanview-circle.svg ${buildroot_common}${_datadir}/icons/hicolor/48x48/apps/${appname}.png
+ convert -background none -filter Lanczos -resize 64x64 irfanview-circle.svg ${buildroot_common}${_datadir}/icons/hicolor/64x64/apps/${appname}.png
+ convert -background none -filter Lanczos -resize 96x96 irfanview-circle.svg ${buildroot_common}${_datadir}/icons/hicolor/96x96/apps/${appname}.png
+ convert -background none -filter Lanczos -resize 128x128 irfanview-circle.svg ${buildroot_common}${_datadir}/icons/hicolor/128x128/apps/${appname}.png
+ convert -background none -filter Lanczos -resize 256x256 irfanview-circle.svg ${buildroot_common}${_datadir}/icons/hicolor/256x256/apps/${appname}.png
cp -p irfanview-circle.svg ${buildroot_common}${_datadir}/icons/hicolor/scalable/apps/${appname}.svg
rm -f ./irfanview-circle.svg || :
bgstack15