Re: providing what they require

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 29 Oct 2008, Bill Nottingham wrote:

Panu Matilainen (pmatilai@xxxxxxxxxxxxxxx) said:
$ rpm -qa --qf "%{name}-%{version}\n[\t%{CLASSDICT}\n]\n"

One of my favorites:
        PNG image data, 313 x 225, 8-bit/color RGBA, non-interlaced
        PNG image data, 339 x 210, 8-bit/color RGBA, non-interlaced
        PNG image data, 349 x 274, 8-bit/color RGBA, non-interlaced
        ...

Rpm knows not only that it's image data, it even knows the picture
dimensions...

Only in the sense that that's the raw output of file(1) - to rely

I guess you missed the sarcastic intent in the "knows" above :)

on that, you have to hope that that never changes. Which is unlikely.
(Ergo ... useless.)

Well, yes. That's largely the reason rpm used to bundle it's own copy of libmagic (to avoid strings changing) but that has it's own issues.

	- Panu -

--
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux