ports/opt (3.6): [notify] shared-mime-info: 1.10 -> 2.1 dependency change: intltool -> itstool
commit a6d16eacda176139111bc2654e39b9b3011479b1 Author: Danny Rawlins <contact@romster.me> Date: Sun Jan 31 22:00:07 2021 +1100 [notify] shared-mime-info: 1.10 -> 2.1 dependency change: intltool -> itstool diff --git a/shared-mime-info/.footprint b/shared-mime-info/.footprint index 7f16d6c40..07bd7f8ac 100644 --- a/shared-mime-info/.footprint +++ b/shared-mime-info/.footprint @@ -2,6 +2,10 @@ drwxr-xr-x root/root usr/ drwxr-xr-x root/root usr/bin/ -rwxr-xr-x root/root usr/bin/update-mime-database drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/gettext/ +drwxr-xr-x root/root usr/share/gettext/its/ +-rw-r--r-- root/root usr/share/gettext/its/shared-mime-info.its +-rw-r--r-- root/root usr/share/gettext/its/shared-mime-info.loc drwxr-xr-x root/root usr/share/man/ drwxr-xr-x root/root usr/share/man/man1/ -rw-r--r-- root/root usr/share/man/man1/update-mime-database.1.gz @@ -67,8 +71,10 @@ drwxr-xr-x root/root usr/share/mime/application/ -rw-r--r-- root/root usr/share/mime/application/sql.xml -rw-r--r-- root/root usr/share/mime/application/trig.xml -rw-r--r-- root/root usr/share/mime/application/vnd.adobe.flash.movie.xml +-rw-r--r-- root/root usr/share/mime/application/vnd.amazon.mobi8-ebook.xml -rw-r--r-- root/root usr/share/mime/application/vnd.android.package-archive.xml -rw-r--r-- root/root usr/share/mime/application/vnd.appimage.xml +-rw-r--r-- root/root usr/share/mime/application/vnd.apple.keynote.xml -rw-r--r-- root/root usr/share/mime/application/vnd.apple.mpegurl.xml -rw-r--r-- root/root usr/share/mime/application/vnd.chess-pgn.xml -rw-r--r-- root/root usr/share/mime/application/vnd.coffeescript.xml @@ -116,6 +122,7 @@ drwxr-xr-x root/root usr/share/mime/application/ -rw-r--r-- root/root usr/share/mime/application/vnd.ms-word.template.macroenabled.12.xml -rw-r--r-- root/root usr/share/mime/application/vnd.ms-works.xml -rw-r--r-- root/root usr/share/mime/application/vnd.ms-wpl.xml +-rw-r--r-- root/root usr/share/mime/application/vnd.ms-xpsdocument.xml -rw-r--r-- root/root usr/share/mime/application/vnd.nintendo.snes.rom.xml -rw-r--r-- root/root usr/share/mime/application/vnd.oasis.opendocument.chart-template.xml -rw-r--r-- root/root usr/share/mime/application/vnd.oasis.opendocument.chart.xml @@ -149,6 +156,7 @@ drwxr-xr-x root/root usr/share/mime/application/ -rw-r--r-- root/root usr/share/mime/application/vnd.palm.xml -rw-r--r-- root/root usr/share/mime/application/vnd.rar.xml -rw-r--r-- root/root usr/share/mime/application/vnd.rn-realmedia.xml +-rw-r--r-- root/root usr/share/mime/application/vnd.smaf.xml -rw-r--r-- root/root usr/share/mime/application/vnd.snap.xml -rw-r--r-- root/root usr/share/mime/application/vnd.sqlite3.xml -rw-r--r-- root/root usr/share/mime/application/vnd.squashfs.xml @@ -183,6 +191,8 @@ drwxr-xr-x root/root usr/share/mime/application/ -rw-r--r-- root/root usr/share/mime/application/x-amipro.xml -rw-r--r-- root/root usr/share/mime/application/x-aportisdoc.xml -rw-r--r-- root/root usr/share/mime/application/x-apple-diskimage.xml +-rw-r--r-- root/root usr/share/mime/application/x-apple-systemprofiler+xml.xml +-rw-r--r-- root/root usr/share/mime/application/x-appleworks-document.xml -rw-r--r-- root/root usr/share/mime/application/x-applix-spreadsheet.xml -rw-r--r-- root/root usr/share/mime/application/x-applix-word.xml -rw-r--r-- root/root usr/share/mime/application/x-arc.xml @@ -196,6 +206,7 @@ drwxr-xr-x root/root usr/share/mime/application/ -rw-r--r-- root/root usr/share/mime/application/x-bcpio.xml -rw-r--r-- root/root usr/share/mime/application/x-bittorrent.xml -rw-r--r-- root/root usr/share/mime/application/x-blender.xml +-rw-r--r-- root/root usr/share/mime/application/x-bps-patch.xml -rw-r--r-- root/root usr/share/mime/application/x-bsdiff.xml -rw-r--r-- root/root usr/share/mime/application/x-bzdvi.xml -rw-r--r-- root/root usr/share/mime/application/x-bzip-compressed-tar.xml @@ -210,6 +221,7 @@ drwxr-xr-x root/root usr/share/mime/application/ -rw-r--r-- root/root usr/share/mime/application/x-cisco-vpn-settings.xml -rw-r--r-- root/root usr/share/mime/application/x-class-file.xml -rw-r--r-- root/root usr/share/mime/application/x-compress.xml +-rw-r--r-- root/root usr/share/mime/application/x-compressed-iso.xml -rw-r--r-- root/root usr/share/mime/application/x-compressed-tar.xml -rw-r--r-- root/root usr/share/mime/application/x-core.xml -rw-r--r-- root/root usr/share/mime/application/x-cpio-compressed.xml @@ -218,13 +230,14 @@ drwxr-xr-x root/root usr/share/mime/application/ -rw-r--r-- root/root usr/share/mime/application/x-cue.xml -rw-r--r-- root/root usr/share/mime/application/x-dar.xml -rw-r--r-- root/root usr/share/mime/application/x-dbf.xml --rw-r--r-- root/root usr/share/mime/application/x-dc-rom.xml -rw-r--r-- root/root usr/share/mime/application/x-designer.xml -rw-r--r-- root/root usr/share/mime/application/x-desktop.xml -rw-r--r-- root/root usr/share/mime/application/x-dia-diagram.xml -rw-r--r-- root/root usr/share/mime/application/x-dia-shape.xml +-rw-r--r-- root/root usr/share/mime/application/x-discjuggler-cd-image.xml -rw-r--r-- root/root usr/share/mime/application/x-docbook+xml.xml -rw-r--r-- root/root usr/share/mime/application/x-doom-wad.xml +-rw-r--r-- root/root usr/share/mime/application/x-dreamcast-rom.xml -rw-r--r-- root/root usr/share/mime/application/x-dvi.xml -rw-r--r-- root/root usr/share/mime/application/x-e-theme.xml -rw-r--r-- root/root usr/share/mime/application/x-egon.xml @@ -251,6 +264,7 @@ drwxr-xr-x root/root usr/share/mime/application/ -rw-r--r-- root/root usr/share/mime/application/x-gamecube-rom.xml -rw-r--r-- root/root usr/share/mime/application/x-gamegear-rom.xml -rw-r--r-- root/root usr/share/mime/application/x-gba-rom.xml +-rw-r--r-- root/root usr/share/mime/application/x-gd-rom-cue.xml -rw-r--r-- root/root usr/share/mime/application/x-gdbm.xml -rw-r--r-- root/root usr/share/mime/application/x-gedcom.xml -rw-r--r-- root/root usr/share/mime/application/x-genesis-32x-rom.xml @@ -275,10 +289,10 @@ drwxr-xr-x root/root usr/share/mime/application/ -rw-r--r-- root/root usr/share/mime/application/x-ica.xml -rw-r--r-- root/root usr/share/mime/application/x-iff.xml -rw-r--r-- root/root usr/share/mime/application/x-ipod-firmware.xml +-rw-r--r-- root/root usr/share/mime/application/x-ips-patch.xml -rw-r--r-- root/root usr/share/mime/application/x-ipynb+json.xml -rw-r--r-- root/root usr/share/mime/application/x-iso9660-appimage.xml -rw-r--r-- root/root usr/share/mime/application/x-it87.xml --rw-r--r-- root/root usr/share/mime/application/x-iwork-keynote-sffkey.xml -rw-r--r-- root/root usr/share/mime/application/x-java-archive.xml -rw-r--r-- root/root usr/share/mime/application/x-java-jce-keystore.xml -rw-r--r-- root/root usr/share/mime/application/x-java-jnlp-file.xml @@ -321,6 +335,7 @@ drwxr-xr-x root/root usr/share/mime/application/ -rw-r--r-- root/root usr/share/mime/application/x-m4.xml -rw-r--r-- root/root usr/share/mime/application/x-macbinary.xml -rw-r--r-- root/root usr/share/mime/application/x-magicpoint.xml +-rw-r--r-- root/root usr/share/mime/application/x-mame-chd.xml -rw-r--r-- root/root usr/share/mime/application/x-markaby.xml -rw-r--r-- root/root usr/share/mime/application/x-matroska.xml -rw-r--r-- root/root usr/share/mime/application/x-mif.xml @@ -341,6 +356,8 @@ drwxr-xr-x root/root usr/share/mime/application/ -rw-r--r-- root/root usr/share/mime/application/x-nes-rom.xml -rw-r--r-- root/root usr/share/mime/application/x-netcdf.xml -rw-r--r-- root/root usr/share/mime/application/x-netshow-channel.xml +-rw-r--r-- root/root usr/share/mime/application/x-nintendo-3ds-executable.xml +-rw-r--r-- root/root usr/share/mime/application/x-nintendo-3ds-rom.xml -rw-r--r-- root/root usr/share/mime/application/x-nintendo-ds-rom.xml -rw-r--r-- root/root usr/share/mime/application/x-nzb.xml -rw-r--r-- root/root usr/share/mime/application/x-object.xml @@ -359,7 +376,10 @@ drwxr-xr-x root/root usr/share/mime/application/ -rw-r--r-- root/root usr/share/mime/application/x-pocket-word.xml -rw-r--r-- root/root usr/share/mime/application/x-profile.xml -rw-r--r-- root/root usr/share/mime/application/x-pw.xml +-rw-r--r-- root/root usr/share/mime/application/x-pyspread-bz-spreadsheet.xml +-rw-r--r-- root/root usr/share/mime/application/x-pyspread-spreadsheet.xml -rw-r--r-- root/root usr/share/mime/application/x-python-bytecode.xml +-rw-r--r-- root/root usr/share/mime/application/x-qemu-disk.xml -rw-r--r-- root/root usr/share/mime/application/x-qpress.xml -rw-r--r-- root/root usr/share/mime/application/x-qtiplot.xml -rw-r--r-- root/root usr/share/mime/application/x-quattropro.xml @@ -384,7 +404,6 @@ drwxr-xr-x root/root usr/share/mime/application/ -rw-r--r-- root/root usr/share/mime/application/x-shorten.xml -rw-r--r-- root/root usr/share/mime/application/x-siag.xml -rw-r--r-- root/root usr/share/mime/application/x-slp.xml --rw-r--r-- root/root usr/share/mime/application/x-smaf.xml -rw-r--r-- root/root usr/share/mime/application/x-sms-rom.xml -rw-r--r-- root/root usr/share/mime/application/x-source-rpm.xml -rw-r--r-- root/root usr/share/mime/application/x-spss-por.xml @@ -431,6 +450,7 @@ drwxr-xr-x root/root usr/share/mime/application/ -rw-r--r-- root/root usr/share/mime/application/x-zerosize.xml -rw-r--r-- root/root usr/share/mime/application/x-zip-compressed-fb2.xml -rw-r--r-- root/root usr/share/mime/application/x-zoo.xml +-rw-r--r-- root/root usr/share/mime/application/x-zstd-compressed-tar.xml -rw-r--r-- root/root usr/share/mime/application/xhtml+xml.xml -rw-r--r-- root/root usr/share/mime/application/xliff+xml.xml -rw-r--r-- root/root usr/share/mime/application/xml-dtd.xml @@ -440,6 +460,7 @@ drwxr-xr-x root/root usr/share/mime/application/ -rw-r--r-- root/root usr/share/mime/application/xspf+xml.xml -rw-r--r-- root/root usr/share/mime/application/zip.xml -rw-r--r-- root/root usr/share/mime/application/zlib.xml +-rw-r--r-- root/root usr/share/mime/application/zstd.xml drwxr-xr-x root/root usr/share/mime/audio/ -rw-r--r-- root/root usr/share/mime/audio/aac.xml -rw-r--r-- root/root usr/share/mime/audio/ac3.xml @@ -455,6 +476,7 @@ drwxr-xr-x root/root usr/share/mime/audio/ -rw-r--r-- root/root usr/share/mime/audio/ogg.xml -rw-r--r-- root/root usr/share/mime/audio/prs.sid.xml -rw-r--r-- root/root usr/share/mime/audio/usac.xml +-rw-r--r-- root/root usr/share/mime/audio/vnd.audible.aax.xml -rw-r--r-- root/root usr/share/mime/audio/vnd.dts.hd.xml -rw-r--r-- root/root usr/share/mime/audio/vnd.dts.xml -rw-r--r-- root/root usr/share/mime/audio/vnd.rn-realaudio.xml @@ -502,16 +524,18 @@ drwxr-xr-x root/root usr/share/mime/font/ -rw-r--r-- root/root usr/share/mime/font/otf.xml -rw-r--r-- root/root usr/share/mime/font/ttf.xml -rw-r--r-- root/root usr/share/mime/font/woff.xml +-rw-r--r-- root/root usr/share/mime/font/woff2.xml -rw-r--r-- root/root usr/share/mime/generic-icons -rw-r--r-- root/root usr/share/mime/globs -rw-r--r-- root/root usr/share/mime/globs2 -rw-r--r-- root/root usr/share/mime/icons (EMPTY) drwxr-xr-x root/root usr/share/mime/image/ +-rw-r--r-- root/root usr/share/mime/image/astc.xml +-rw-r--r-- root/root usr/share/mime/image/avif.xml -rw-r--r-- root/root usr/share/mime/image/bmp.xml -rw-r--r-- root/root usr/share/mime/image/cgm.xml -rw-r--r-- root/root usr/share/mime/image/dpx.xml -rw-r--r-- root/root usr/share/mime/image/emf.xml --rw-r--r-- root/root usr/share/mime/image/fax-g3.xml -rw-r--r-- root/root usr/share/mime/image/fits.xml -rw-r--r-- root/root usr/share/mime/image/g3fax.xml -rw-r--r-- root/root usr/share/mime/image/gif.xml @@ -522,6 +546,7 @@ drwxr-xr-x root/root usr/share/mime/image/ -rw-r--r-- root/root usr/share/mime/image/jpm.xml -rw-r--r-- root/root usr/share/mime/image/jpx.xml -rw-r--r-- root/root usr/share/mime/image/ktx.xml +-rw-r--r-- root/root usr/share/mime/image/ktx2.xml -rw-r--r-- root/root usr/share/mime/image/openraster.xml -rw-r--r-- root/root usr/share/mime/image/png.xml -rw-r--r-- root/root usr/share/mime/image/rle.xml @@ -653,13 +678,16 @@ drwxr-xr-x root/root usr/share/mime/text/ -rw-r--r-- root/root usr/share/mime/text/sgml.xml -rw-r--r-- root/root usr/share/mime/text/spreadsheet.xml -rw-r--r-- root/root usr/share/mime/text/tab-separated-values.xml +-rw-r--r-- root/root usr/share/mime/text/tcl.xml -rw-r--r-- root/root usr/share/mime/text/troff.xml -rw-r--r-- root/root usr/share/mime/text/turtle.xml +-rw-r--r-- root/root usr/share/mime/text/vbscript.xml -rw-r--r-- root/root usr/share/mime/text/vcard.xml -rw-r--r-- root/root usr/share/mime/text/vnd.graphviz.xml --rw-r--r-- root/root usr/share/mime/text/vnd.qt.linguist.xml -rw-r--r-- root/root usr/share/mime/text/vnd.rn-realtext.xml +-rw-r--r-- root/root usr/share/mime/text/vnd.senx.warpscript.xml -rw-r--r-- root/root usr/share/mime/text/vnd.sun.j2me.app-descriptor.xml +-rw-r--r-- root/root usr/share/mime/text/vnd.trolltech.linguist.xml -rw-r--r-- root/root usr/share/mime/text/vnd.wap.wml.xml -rw-r--r-- root/root usr/share/mime/text/vnd.wap.wmlscript.xml -rw-r--r-- root/root usr/share/mime/text/vtt.xml @@ -672,6 +700,7 @@ drwxr-xr-x root/root usr/share/mime/text/ -rw-r--r-- root/root usr/share/mime/text/x-chdr.xml -rw-r--r-- root/root usr/share/mime/text/x-cmake.xml -rw-r--r-- root/root usr/share/mime/text/x-cobol.xml +-rw-r--r-- root/root usr/share/mime/text/x-common-lisp.xml -rw-r--r-- root/root usr/share/mime/text/x-copying.xml -rw-r--r-- root/root usr/share/mime/text/x-credits.xml -rw-r--r-- root/root usr/share/mime/text/x-csharp.xml @@ -690,12 +719,16 @@ drwxr-xr-x root/root usr/share/mime/text/ -rw-r--r-- root/root usr/share/mime/text/x-gherkin.xml -rw-r--r-- root/root usr/share/mime/text/x-go.xml -rw-r--r-- root/root usr/share/mime/text/x-google-video-pointer.xml +-rw-r--r-- root/root usr/share/mime/text/x-gradle.xml +-rw-r--r-- root/root usr/share/mime/text/x-groovy.xml -rw-r--r-- root/root usr/share/mime/text/x-haskell.xml -rw-r--r-- root/root usr/share/mime/text/x-idl.xml -rw-r--r-- root/root usr/share/mime/text/x-imelody.xml -rw-r--r-- root/root usr/share/mime/text/x-install.xml -rw-r--r-- root/root usr/share/mime/text/x-iptables.xml -rw-r--r-- root/root usr/share/mime/text/x-java.xml +-rw-r--r-- root/root usr/share/mime/text/x-kaitai-struct.xml +-rw-r--r-- root/root usr/share/mime/text/x-kotlin.xml -rw-r--r-- root/root usr/share/mime/text/x-ldif.xml -rw-r--r-- root/root usr/share/mime/text/x-lilypond.xml -rw-r--r-- root/root usr/share/mime/text/x-literate-haskell.xml @@ -703,6 +736,7 @@ drwxr-xr-x root/root usr/share/mime/text/ -rw-r--r-- root/root usr/share/mime/text/x-lua.xml -rw-r--r-- root/root usr/share/mime/text/x-makefile.xml -rw-r--r-- root/root usr/share/mime/text/x-matlab.xml +-rw-r--r-- root/root usr/share/mime/text/x-maven+xml.xml -rw-r--r-- root/root usr/share/mime/text/x-meson.xml -rw-r--r-- root/root usr/share/mime/text/x-microdvd.xml -rw-r--r-- root/root usr/share/mime/text/x-moc.xml @@ -727,6 +761,8 @@ drwxr-xr-x root/root usr/share/mime/text/ -rw-r--r-- root/root usr/share/mime/text/x-readme.xml -rw-r--r-- root/root usr/share/mime/text/x-reject.xml -rw-r--r-- root/root usr/share/mime/text/x-rpm-spec.xml +-rw-r--r-- root/root usr/share/mime/text/x-rst.xml +-rw-r--r-- root/root usr/share/mime/text/x-sagemath.xml -rw-r--r-- root/root usr/share/mime/text/x-sass.xml -rw-r--r-- root/root usr/share/mime/text/x-scala.xml -rw-r--r-- root/root usr/share/mime/text/x-scheme.xml @@ -738,7 +774,6 @@ drwxr-xr-x root/root usr/share/mime/text/ -rw-r--r-- root/root usr/share/mime/text/x-svhdr.xml -rw-r--r-- root/root usr/share/mime/text/x-svsrc.xml -rw-r--r-- root/root usr/share/mime/text/x-systemd-unit.xml --rw-r--r-- root/root usr/share/mime/text/x-tcl.xml -rw-r--r-- root/root usr/share/mime/text/x-tex.xml -rw-r--r-- root/root usr/share/mime/text/x-texinfo.xml -rw-r--r-- root/root usr/share/mime/text/x-troff-me.xml @@ -801,6 +836,7 @@ drwxr-xr-x root/root usr/share/mime/x-content/ -rw-r--r-- root/root usr/share/mime/x-content/ebook-reader.xml -rw-r--r-- root/root usr/share/mime/x-content/image-dcf.xml -rw-r--r-- root/root usr/share/mime/x-content/image-picturecd.xml +-rw-r--r-- root/root usr/share/mime/x-content/ostree-repository.xml -rw-r--r-- root/root usr/share/mime/x-content/software.xml -rw-r--r-- root/root usr/share/mime/x-content/unix-software.xml -rw-r--r-- root/root usr/share/mime/x-content/video-bluray.xml diff --git a/shared-mime-info/.signature b/shared-mime-info/.signature index 286784590..d0593fe8d 100644 --- a/shared-mime-info/.signature +++ b/shared-mime-info/.signature @@ -1,5 +1,7 @@ untrusted comment: verify with /etc/ports/opt.pub -RWSE3ohX2g5d/TqqXCxeSdMQen7StKVpxyGuvyY8Mi1vnzBRB2/0hlizzOuoD8cm3YGWO/mIW1MxGjeTj40TjLk7qoHCHxTiiAM= -SHA256 (Pkgfile) = 409af38e7565f2e6164737a576dd6e6466cf8f98e0e10f01edb412d2816aac55 -SHA256 (.footprint) = a6de8bfeaf5915960f090325bd11f5b11157c13ffdeaf285f627b5adbf321c60 -SHA256 (shared-mime-info-1.10.tar.xz) = c625a83b4838befc8cafcd54e3619946515d9e44d63d61c4adf7f5513ddfbebf +RWSE3ohX2g5d/VEJq9GBF/w8frUj4UhANIHf5UoMtPTMoVxSHiZFeN1wYt0ivM8PWhtMtZ9e3WHE+czjU/4+rq8wJdfz8qUR7Qo= +SHA256 (Pkgfile) = 6fa8dd6cc0797c79d2fc7263e03dff6543fa1955f9fe4d67a0f7d39d17a170a9 +SHA256 (.footprint) = c13123d9ba9dbe629ffe8847ef1a81f6c463800dc6160415e5d81f10c9947ea3 +SHA256 (shared-mime-info-2.1.tar.bz2) = 37df6475da31a8b5fc63a54ba0770a3eefa0a708b778cb6366dccee96393cb60 +SHA256 (xdgmime-cecafc8cd5cd725444b914d5f6cd17308633afa8.tar.bz2) = fd675b4d63fb2d9724bceaa26e24849ffce1be3d0a5415efd60c758529e717a7 +SHA256 (remove-weird-docs.patch) = 651cc9102ae07d1be81b3ef4ebf4f97dca89ce5cc04c3f49edf2986793d77e0f diff --git a/shared-mime-info/Pkgfile b/shared-mime-info/Pkgfile index 50406d1bc..92dda6433 100644 --- a/shared-mime-info/Pkgfile +++ b/shared-mime-info/Pkgfile @@ -1,24 +1,36 @@ -# Description: core database of common types -# URL: http://freedesktop.org/Software/shared-mime-info +# Description: Core database of common types +# URL: https://freedesktop.org/Software/shared-mime-info # Maintainer: Danny Rawlins, crux at romster dot me -# Depends on: glib libxml2 intltool +# Depends on: glib libxml2 itstool name=shared-mime-info -version=1.10 +version=2.1 release=1 -source=(https://freedesktop.org/~hadess/$name-$version.tar.xz) +_xdgmimever=cecafc8cd5cd725444b914d5f6cd17308633afa8 +source=(https://gitlab.freedesktop.org/xdg/shared-mime-info/-/archive/$version/$name... + https://gitlab.freedesktop.org/xdg/xdgmime/-/archive/$_xdgmimever/xdgmime-$_... + remove-weird-docs.patch) build() { - cd $name-$version + # Build mime database + sed -e "s|^CFLAGS=-Wall -Wmissing-prototypes -Wno-sign-compare -g |CFLAGS=$CFLAGS |" \ + -i xdgmime-$_xdgmimever/src/Makefile + make -C xdgmime-$_xdgmimever - # https://bugs.freedesktop.org/show_bug.cgi?id=70366 - export ac_cv_func_fdatasync=no + # We don't want to include fancy docs + # Deletes references to xmllint and xmlto + patch -Np1 -d $name-$version -i $SRC/remove-weird-docs.patch - CONFIG_SHELL=/bin/bash \ - ./configure --prefix=/usr + meson $name-$version build \ + --prefix=/usr \ + --buildtype=plain \ + -D update-mimedb=false \ + -D xdgmime-path=$SRC/xdgmime-$_xdgmimever + meson compile -C build + DESTDIR=$PKG meson install -C build - make -j1 - make DESTDIR=$PKG install + # Builds the initial database + /usr/bin/env PKGSYSTEM_ENABLE_FSYNC=0 $PKG/usr/bin/update-mime-database $PKG/usr/share/mime rm -r $PKG/usr/share/locale } diff --git a/shared-mime-info/README b/shared-mime-info/README deleted file mode 100644 index 43778c8a4..000000000 --- a/shared-mime-info/README +++ /dev/null @@ -1,12 +0,0 @@ -README for shared-mime-info - -REQUIREMENTS - -PRE-INSTALL - -INSTALL - -POST-INSTALL -- Run the post-install script to update the MIME data. - -PRECAUTION diff --git a/shared-mime-info/post-install b/shared-mime-info/post-install deleted file mode 100755 index 37c0abcad..000000000 --- a/shared-mime-info/post-install +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh - -update-mime-database /usr/share/mime - -# End of file diff --git a/shared-mime-info/remove-weird-docs.patch b/shared-mime-info/remove-weird-docs.patch new file mode 100644 index 000000000..cd45044e5 --- /dev/null +++ b/shared-mime-info/remove-weird-docs.patch @@ -0,0 +1,57 @@ +diff -Naur shared-mime-info-2.1.orig/data/meson.build shared-mime-info-2.1/data/meson.build +--- shared-mime-info-2.1.orig/data/meson.build 2021-01-19 10:15:58.618356556 +0000 ++++ shared-mime-info-2.1/data/meson.build 2021-01-19 10:17:06.897894749 +0000 +@@ -21,15 +21,3 @@ + [ 'its/shared-mime-info.loc', 'its/shared-mime-info.its', ], + install_dir : get_option('datadir') / 'gettext/its' + ) +- +-custom_target('shared-mime-info-spec-html', +- input : 'shared-mime-info-spec.xml', +- output: 'shared-mime-info-spec-html', +- command: [ +- xmlto, +- '-o', '@OUTPUT@', +- 'html-nochunks', +- '@INPUT@', +- ], +- build_by_default: true, +-) +diff -Naur shared-mime-info-2.1.orig/meson.build shared-mime-info-2.1/meson.build +--- shared-mime-info-2.1.orig/meson.build 2021-01-19 10:15:58.618356556 +0000 ++++ shared-mime-info-2.1/meson.build 2021-01-19 10:16:36.042893679 +0000 +@@ -20,9 +20,7 @@ + ############################################################################### + # Find tools + +-itstool = find_program('itstool') +-xmllint = find_program('xmllint') +-xmlto = find_program('xmlto') ++# Nobody needs that.. c'mon upstream! + + ############################################################################### + # Find xdgmime +diff -Naur shared-mime-info-2.1.orig/tests/meson.build shared-mime-info-2.1/tests/meson.build +--- shared-mime-info-2.1.orig/tests/meson.build 2021-01-19 10:15:58.625362460 +0000 ++++ shared-mime-info-2.1/tests/meson.build 2021-01-19 10:18:15.237483548 +0000 +@@ -47,11 +47,6 @@ + args: freedesktop_org_xml, + ) + +-test('xmllint freedesktop.org.xml', +- xmllint, +- args: [ '--noout', '--valid', freedesktop_org_xml, ], +-) +- + test('Case sensitivity', + find_program('test-case-sensitivity.sh'), + ) +@@ -63,8 +58,3 @@ + + its20_elements_rng = meson.source_root() / 'data/its/its20-elements.rng' + shared_mime_info_its = meson.source_root() / 'data/its/shared-mime-info.its' +- +-test('ITS validation', +- xmllint, +- args: [ '--noout', '--relaxng', its20_elements_rng, shared_mime_info_its, ], +-)
participants (1)
-
crux@crux.nu