As your own example shows it is not really that difficult to either use those libraries directly or abstract them into plugins.
Almost no software is developed without usage of libraries, it is just no feasible.
Abstractions, like that application's plugin system or Okular's renderers or KDE's KParts system, have usually two consequences:
- they make the underlying functionality easier to use
- they hide some aspects or advanced functionality
Which is why they are most often added on a high level, e.g. as an application specific plugin API, because the then closely known use cases make it easier to find the right balance between the two.
Creating an abstraction on a lower level is usually a lot more work and only viable if there are both many prospective users and enough similarity between the different parts below. Good example for that are media frameworks like GStreamer: lots of potential users, very similar properties of codecs.
There is probably just not enough need for a low level document rendering abstraction, i.e. the "market" for universal document viewers is not that big.
Hence those that exist putting their abstraction into places that fits their respective requirements the best.
Cheers,
_
Announcement
Collapse
No announcement yet.
Ubuntu 14.04 Looks Toward Qt 5.2, Qt Mir In 14.10
Collapse
X
-
Originally posted by anda_skoa View PostSure, there are other formats, but the point was that Poppler shows how document support can be provided in a way suitable for viewers using different UI technologies.
I would assume that, for example for PostScript, both Evince and Okular are also using the same library, most likely Ghostscript.
Supported formats and respective library usage will depend on the application's target scope.
A program intended to be just a PDF viewer would only need Poppler, e.g. for avoiding any unnecessary or maybe even unwanted dependencies.
Anyway, it was just an illustration how application developers using quite different technology stacks are collaborating on common code.
Cheers,
_
There's lots of libraries to support those formats. That's why lightweight viewers like Zathura (it uses a plugin system and can support pdf over poppler or mupdf, djvu, ps and comic book) and Apvlv ( supports pdf, djvu, umd, txt)lack support of certain formats, it's too much work for smaller projects and even the major viewers lack certain formats!
I would agree if you say me "so do it!". I would do it if I were a developer.
Leave a comment:
-
Originally posted by pingufunkybeat View PostYou are a hilarious troll.
In your next breath, you will be defending systemd, clutter and PulseAudio, which expose new APIs, to which your answer was "take it and eat it!".
But, like a good troll, you made a ridiculous, blatantly wrong and inflammatory statement, but left a little backdoor -- justification. Then you will claim that systemd and clutter were erally really needed, while a declarative language which simplifies UI development and speeds it up 10x is not needed. Until GTK gets something similar, in which case you will claim it's an innovation and scold Qt for not using that instead. And it will go on in circles, always slightly changing the argument, to hook new unsuspecting users with your outrageous bullshit.
Originally posted by Honton View PostI hope systemd will pick up more software and become linux only. Because that is efficient. And since no one sane want to maintain all the bits outside systemd, the vocal people can go to ubuntu and experience the same single stack approach happening over there. The only difference is the slower adoption, lower quality, single vedorism and Canonical CLA.
Leave a comment:
-
Originally posted by Honton View PostExposing new API takes time, code and justification. This is not free to Qt or its customers. Nokia did it because they wanted Qt to become phone toolkit (and failed). KDE was not asked if they liked this or if the new ways suited them well. Hell Plasma Active was started by former KDE/Qt people because KDE was no longer a good fit for the new Qt. THAT is disruptive. Meanwhile GTK was stable as ever and served what ever needs Gnome had. Without being disruptive and requiring Major version released out of sync with Gnome.
In your next breath, you will be defending systemd, clutter and PulseAudio, which expose new APIs, to which your answer was "take it and eat it!".
But, like a good troll, you made a ridiculous, blatantly wrong and inflammatory statement, but left a little backdoor -- justification. Then you will claim that systemd and clutter were erally really needed, while a declarative language which simplifies UI development and speeds it up 10x is not needed. Until GTK gets something similar, in which case you will claim it's an innovation and scold Qt for not using that instead. And it will go on in circles, always slightly changing the argument, to hook new unsuspecting users with your outrageous bullshit.
Leave a comment:
-
Sure, there are other formats, but the point was that Poppler shows how document support can be provided in a way suitable for viewers using different UI technologies.
I would assume that, for example for PostScript, both Evince and Okular are also using the same library, most likely Ghostscript.
Supported formats and respective library usage will depend on the application's target scope.
A program intended to be just a PDF viewer would only need Poppler, e.g. for avoiding any unnecessary or maybe even unwanted dependencies.
Anyway, it was just an illustration how application developers using quite different technology stacks are collaborating on common code.
Cheers,
_
Leave a comment:
-
Originally posted by anda_skoa View PostTwo of those three examples are not really good.
The maintainers of KWallet and GNOME Keyring have worked on a shared specification called Secret Service. They have either already implemented it or have staged it for upcoming releases of their respective storage service.
Phonon and GStreamer are aren't even two implementations of the same facilities. Phonon is a simple Qt style API for easier use of platform media frameworks such as GStreamer if the application use case does not require full media framework capabilities.
Actually there is. It is called Poppler and unsurprisingly used by both Evince and Okular.
Progress there is often not very obvious but happening nontheless.
Cheers,
_
- LaTeX
- PS
- Tiff
- CHM
- DjVu
- Images (they can be considered a "document" in some way)
- DVI
- XPS
- ODT
- Fiction Book
- Comic Book
- Plucker
- EPub
- Fax
- Mobipocket
- Microsoft Word
If you say: use the following libraries... That's not realistic, as there are just two applications supporting the major formats (and the best one is Okular, using Qt and having many KDE dependencies). A proper "DocKit" framework would be nice to have.
Leave a comment:
-
Originally posted by Honton View Post"KDE5" is being sold as a huge leap forward, but it is nothing more than catching up with Qt's disruptive behavior and fixing some long standing bugs along the way.
Plasma2 is a bigger change, with the Wayland support, but that's fairly separate from KDE5.
Leave a comment:
-
Originally posted by Delgarde View PostIt's not like there was any kind of formal takeover, if that's what you're asking. It's just that Gnome has always been one of the biggest users, and biggest contributors to the toolkit. Basically, they control it simply by virtue of being the ones doing all the work.
Leave a comment:
-
Originally posted by Honton View PostOf course they appear happy. There is no other way. No Qt, no KDE.
Originally posted by Honton View PostExposing new API takes time, code and justification. This is not free to Qt or its customers. Nokia did it because they wanted Qt to become phone toolkit (and failed). KDE was not asked if they liked this or if the new ways suited them well. Hell Plasma Active was started by former KDE/Qt people because KDE was no longer a good fit for the new Qt. THAT is disruptive.
Originally posted by Honton View Post"KDE5" is being sold as a huge leap forward, but it is nothing more than catching up with Qt's disruptive behavior and fixing some long standing bugs along the way.
I still do not have a clue why you interpret all those things in such a negative way - interesting - spock would say
Leave a comment:
Leave a comment: