Age | Commit message (Collapse) | Author | Files | Lines |
|
decompression
|
|
As of it's now, we're supporting zstd {,de}compression with specific
mime type that was reported by libmagic as configure time. Thus, the
built binaries is not correct after upgrading file-devel after
configure. In addition, this configure's time hard-coded value prevent
our users from partial upgrade.
Let's accept both mime types reported by both old and new file-devel.
For the mapping between file extensions and mime types, let's choose the
new mime value.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$ file -b --mime-type don-quijoti-epub3.epub
application/epub+zip
|
|
|
|
|
|
|
|
|
|
|
|
MIME type is application/x-zstd:
$ lorem-ipsum-generator -p 10000 -l -f plain > lorem.txt
$ zstd lorem.txt
$ file -b --mime-type lorem.txt.zst
application/x-zstd
Test:
$ CFLAGS="-g -O0" ./autogen.sh --enable-magic --enable-packagekit --prefix=/usr && make && sudo make install
|
|
Changes:
Replace application/x-ar with application/x-archive
ar magic number: "!<arch>\n"
deb magic number (Debian 0.93+): "!<arch>\ndebian-binary"
REF:
https://en.wikipedia.org/wiki/Ar_(Unix)
https://en.wikipedia.org/wiki/Deb_(file_format)
Test:
$ touch a && touch b && ar r test.ar a b && cp test.ar test-2.a
$ xdg-mime query filetype test.ar
application/x-archive
$ xdg-mime query filetype dftp_2.2-1.deb
application/vnd.debian.binary-package
$ gio info test.ar | grep content-type
standard::content-type: application/x-archive
standard::fast-content-type: application/x-archive
$ gio info dftp_2.2-1.deb | grep content-type
standard::content-type: application/vnd.debian.binary-package
standard::fast-content-type: application/vnd.debian.binary-package
$ hexdump -C -n 8 test.ar
00000000 21 3c 61 72 63 68 3e 0a |!<arch>.|
00000008
$ hexdump -C -n 21 dftp_2.2-1.deb
00000000 21 3c 61 72 63 68 3e 0a 64 65 62 69 61 6e 2d 62 |!<arch>.debian-b|
00000010 69 6e 61 72 79 |inary|
00000015
$ ./autogen.sh --prefix=/usr --disable-magic && make && sudo make install
|
|
LHA media type is application/x-lzh-compressed
$ file --mime-type ~/test.lzh
/home/robert/test.lzh: application/x-lzh-compressed
|
|
|
|
nobase_dist_icons_DATA:
nobase: It tells that the files have same directory
structure as the installed on system
dist: It tells that the files should be included in the
distribution tarball
icons: It tells where to install the files
DATA: It tells that they are data files, and they do
not need to be compiled
|
|
This enables support for udeb (micro-deb) files, which are a package format used during bootstrapping a Debian installation. They have the same mimetype as regular deb files.
|
|
This adds a --version flag to the engrampa cli.
|
|
fixes https://github.com/mate-desktop/engrampa/issues/195
|
|
|
|
|
|
Closes https://github.com/mate-desktop/engrampa/issues/210
|
|
|
|
|
|
file-roller commit:
https://git.gnome.org/browse/file-roller/commit/?id=47619b987b77bdc258af9a554ba022c1f8834774
|
|
file-roller commits:
https://git.gnome.org/browse/file-roller/commit/?id=d13a515c819c68051cd7788814dca7645d899511
https://git.gnome.org/browse/file-roller/commit/?id=9714c3a6a2c49f09d4c753b2573baf55aa3d6b9f
|
|
|
|
Fixes #101
|
|
|
|
|
|
Initial commits from FR:
f998fd8e33a08d686a1071db87d21f4a83963d99
4078d1a9e5ddae3357302791432fc61d82ff37e4
58c55b06f30014326f27bdf94c406ceee0897731
Improvements and fixes from FR:
D-Bus service: added GetSupportedTypes method
ace4f31c586641fcf7ad1de165cd7f27b5a371c1
1399b9a84b0d4f4a5015066b0d7cec7e048d59dc
From: Paolo Bacchilega <[email protected]>
|
|
Based on FR commit: d2b320525916ef554a9f78d99e1687c1ccdadf9e
From: Paolo Bacchilega <[email protected]>
|
|
Based on FR commit: 59f9149c4abb4f4fccbb7f22ae42d16ed45b4692
From: Paolo Bacchilega <[email protected]>
|
|
Based on FR commit: 2436a7e8fc36d4c020b566d1947b1571d5a49da2
From: Paolo Bacchilega <[email protected]>
|
|
Taken from FR commit: c8453650fb03143a3714e9535694c34498b789e7
From: Paolo Bacchilega <[email protected]>
Gnome bug: http://bugzilla.gnome.org/show_bug.cgi?id=644683
|
|
From commits:
Improvement suggestion for string in archive properties dialog: 93c9cafc8c0e053642cae85ec29c8fc2e6e7aeb1
Improvement suggestion for string in password dialog: b2329ca509b7e1e5cb767512904657468bcd3652
Improve string in error dialog: 2479dc30e9855cefbd23aa55215316528d318430
Bad string in the error dialog 'Could not rename the file': 689fb2dd268bc38a81cfd547656d74108b17ba60
|
|
|
|
|
|
An appdata file for inclusion in the upcoming software centers as per the new freedesktop.org specs.
It should be placed in /usr/share/appdata/ similar to the way .desktop files are placed in /usr/share/applications/, e.g. if you have a "$(datadir)/applications" definition in your makefiles, you need to add a "$(datadir)/appdata" as well.
Please, skim through the file in case I made a mistake and please, include it in the 1.8 branch as well.
Thanks!
|
|
|
|
Patch by Mike Gabriel <[email protected]>
|
|
Patch by Mike Gabriel <[email protected]>
|
|
|
|
|
|
Taken from debian file-roller package and adapted
Closes #16
https://github.com/mate-desktop/engrampa/issues/16
|
|
|
|
|