Skip to content

Commit

Permalink
photoqt-qt4: fix desktop file
Browse files Browse the repository at this point in the history
  • Loading branch information
barracuda156 authored and pmetzger committed Dec 17, 2023
1 parent ec7f40b commit f4f5344
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
3 changes: 2 additions & 1 deletion graphics/photoqt/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ subport photoqt-qt4 {
# This is the last version to support Qt4.
# TODO: restore Qt4 support into 1.x.
github.setup luspi photoqt-legacy 1.0 v
revision 0
revision 1
conflicts photoqt
platforms {darwin < 11}
checksums rmd160 e43351a7d1c1bc5fa96c1b4e759134d594c68c4f \
Expand All @@ -93,6 +93,7 @@ subport photoqt-qt4 {
github.tarball_from archive

patchfiles-append \
patch-desktop-file.diff \
patch-exiv2.diff \
patch-include-magick.diff

Expand Down
12 changes: 12 additions & 0 deletions graphics/photoqt/files/patch-desktop-file.diff
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
https://github.com/luspi/photoqt/issues/19#issuecomment-1858977408

--- photoqt.desktop 2013-08-12 04:07:23.000000000 +0800
+++ photoqt.desktop 2023-12-17 10:25:22.000000000 +0800
@@ -37,4 +37,4 @@
Type=Application
Terminal=false
Categories=Graphics;Viewer;
-MimeType=image/bmp;image/x-bmp;image/x-ms-bmp;image/gif;image/tiff;image/jpeg;image/png;image/pbm;image/x-portable-bitmap;image/x-portable-graymap;image/x-portable-pixmap;image/x-xbitmap;image/x-xpixmap;image/x-bmp;image/x-jg;image/cals;image/x-cals;image/cgm;image/vnd.microsoft.icon;image/x-halo-cut;image/cut;application/dicom;image/dcx;image/pcx;image/x-dcx;image/x-pc-paintbrush;image/vnd.swiftview-pcx;image/x-dpx;image/x-emf;image/x-mgx-emf;image/x-eps;application/x-xfig;image/fits;image/vnd.fpx;image/x-gnuplot;vector/x-hpgl;vector/x-hpgl2;image/x-icon;image/jbig;image/x-jng;image/jp2;image/jpx;image/jpm;application/x-magick-image;video/x-mng;image/x-mng;application/x-magick-cache;application/x-magick-script;image/vnd.nokia.ota-bitmap;image/x-palm;application/x-xv-thumbnail;image/x-otb;application/x-mtv;image/x-mono-bitmap;application/x-dr-halo-bitmap;application/x-stardent-avs;image/x-portable-anymap;image/pcd;image/x-photo-cd;application/pcl;application/x-pcl;application/vnd.hp-pcl; image/pcx;image/x-pc-paintbrush;image/x-pcx;application/vnd.palm;application/pdf;application/x-font;image/x-pict;image/x-pix;application/postscript;image/vnd.adobe.photoshop;image/photoshop;image/x-photoshop;image/psd;application/photoshop;application/psd;image/ras;image/x-rgb;image/rgb;image/rle;image/sfw;image/x-sgi;image/sgi;image/svg+xml;image/svg-xml;text/xml-svg;image/svg;image/tga;image/x-tga;image/targa;image/x-targa;text/x-uil;image/tim;image/uyvy;image/vicar;image/x-viff;image/vnd.wap.wbmp;image/wbm;image/wmf;image/x-wmf;image/x-win-metafile;image/x-wpg;image/wpg;image/xcf;image/x-xcf;image/x-xwindowdump;image/xwd;image/x-xwd;image/yuv
\ No newline at end of file
+MimeType=image/bmp;image/x-bmp;image/x-ms-bmp;image/gif;image/tiff;image/jpeg;image/png;image/pbm;image/x-portable-bitmap;image/x-portable-graymap;image/x-portable-pixmap;image/x-xbitmap;image/x-xpixmap;image/x-bmp;image/x-jg;image/cals;image/x-cals;image/cgm;image/vnd.microsoft.icon;image/x-halo-cut;image/cut;application/dicom;image/dcx;image/x-pcx;image/x-dcx;image/x-pc-paintbrush;image/vnd.swiftview-pcx;image/x-dpx;image/x-emf;image/x-mgx-emf;image/x-eps;application/x-xfig;image/fits;image/vnd.fpx;image/x-gnuplot;image/x-icon;image/jbig;image/x-jng;image/jp2;image/jpx;image/jpm;application/x-magick-image;video/x-mng;image/x-mng;application/x-magick-cache;application/x-magick-script;image/vnd.nokia.ota-bitmap;image/x-palm;application/x-xv-thumbnail;image/x-otb;application/x-mtv;image/x-mono-bitmap;application/x-dr-halo-bitmap;application/x-stardent-avs;image/x-portable-anymap;image/pcd;image/x-photo-cd;application/pcl;application/x-pcl;application/vnd.hp-pcl; image/pcx;image/x-pc-paintbrush;image/x-pcx;application/vnd.palm;application/pdf;application/x-font;image/x-pict;image/x-pix;application/postscript;image/vnd.adobe.photoshop;image/photoshop;image/x-photoshop;image/psd;application/photoshop;application/psd;image/ras;image/x-rgb;image/rgb;image/rle;image/sfw;image/x-sgi;image/sgi;image/svg+xml;image/svg-xml;text/xml-svg;image/svg;image/tga;image/x-tga;image/targa;image/x-targa;text/x-uil;image/tim;image/uyvy;image/vicar;image/x-viff;image/vnd.wap.wbmp;image/wbm;image/wmf;image/x-wmf;image/x-win-metafile;image/x-wpg;image/wpg;image/xcf;image/x-xcf;image/x-xwindowdump;image/xwd;image/x-xwd;image/yuv
\ No newline at end of file

0 comments on commit f4f5344

Please sign in to comment.