summaryrefslogtreecommitdiff
path: root/libappstream-builder
Commit message (Collapse)AuthorAgeFilesLines
...
* Add initial support for Mozilla .xpi translationsRichard Hughes2017-03-171-0/+1
|
* Show a warning if a desktop file is not found when requiredRichard Hughes2017-03-151-0/+12
| | | | This would have helped some head scratching this morning...
* trivial: Reset GError when skipping a fileKalev Lember2017-01-091-0/+1
|
* Limit recursive deps lookup to the same source packageKalev Lember2017-01-091-2/+8
| | | | | Otherwise we may end up inadvertently marking an app as ModernToolkit when all it does is require zenity.
* Revert "trivial: Prevent recusion when a package lists itself as a dep"Kalev Lember2017-01-091-4/+0
| | | | | | | Commit 49749de0bd597e5e9fe5e4b92875d6730a7b6968 fixed this in a more general way. This reverts commit b04fb193dad0e6e977d9bda2487bd50075f8f61c.
* Revert "trivial: Do not recurse for library or filename deps"Kalev Lember2017-01-091-8/+0
| | | | | | | This led to ModernToolkit kudos being skipped for apps where a subpackage links with a modern toolkit library (gtk+ 3 or Qt 5). This reverts commit e7f14579d1f9ab6f0f016caf81c34bb576c9ea92.
* Revert "trivial: Correctly truncate existing logfiles"Richard Hughes2017-01-041-81/+34
| | | | | | | | | | | | This reverts commit cefcad4027ada131d322ec578a8e32f3f5652240. Revert "trivial: Fix a critical warning in the self tests" This reverts commit 3e353879b9e24d3aa9a21d5ef0d295d26febafcd. Revert "Write log files in a better way" This reverts commit 342d570825ed01f11bef0d722baec1fa2801964b.
* trivial: Correctly truncate existing logfilesRichard Hughes2017-01-041-3/+8
|
* trivial: Fix a critical warning in the self testsRichard Hughes2017-01-041-0/+4
|
* trivial: Do not recurse for library or filename depsRichard Hughes2017-01-041-0/+8
|
* Write log files in a better wayRichard Hughes2017-01-041-34/+72
| | | | | Appending to a giant string and then flushing it at the end means we waste memory and also don't get any logs if the builder crashes.
* trivial: Write debug statements into the logsRichard Hughes2017-01-041-2/+1
|
* trivial: Do not follow a foo->bar->foo->bar depchainRichard Hughes2017-01-041-1/+3
|
* trivial: Prevent recusion when a package lists itself as a depRichard Hughes2017-01-041-0/+4
|
* Recursively add subpackage deps into the main packageKalev Lember2017-01-041-10/+86
| | | | | | | | This fixes appstream data generation for packages that have long dep chains and icons are at a deeper level than in the immediate child package. e.g. in Fedora, 'marble' package depends on 'marble-widget-qt5' which depends on 'marble-astro' which depends on 'marble-common' where we can finally find the app's icon.
* trivial: Remove a libreoffice hack that's no longer neededKalev Lember2017-01-041-4/+0
|
* Fix dep extraction when multiple versions are availableKalev Lember2017-01-031-0/+2
| | | | | | | | | When looking up extra deps by pkgname, make sure to get the latest version that matches with what the rest of the code expects. This fixes libreoffice disappearing from appstream data when there's one version of libreoffice-data available in the base repo and another one from updates.
* trivial: Treat generic components just like addonsRichard Hughes2017-01-032-0/+4
|
* Add a test for extracting relative symlinksKalev Lember2016-12-201-10/+12
|
* Resolve relative symlinks when extracting archivesKalev Lember2016-12-201-11/+43
| | | | | | This fixes extracting ardour5 icons that use relative symlinks. https://bugzilla.redhat.com/show_bug.cgi?id=1368378
* trivial: Let g_build_filename take care of removing duplicate slashesKalev Lember2016-12-201-2/+0
|
* Scan /usr/share/metainfo as well when building appstream-dataKalev Lember2016-12-201-1/+5
|
* trivial: Don't include trailing whitespace from AppData filesRichard Hughes2016-12-071-2/+2
| | | | | Translators sometimes leave extra whitespace, so if we're parsing without AS_NODE_FROM_XML_FLAG_LITERAL_TEXT then just swallow the trailing spaces.
* trivial: Remove a tiny compiler warningRichard Hughes2016-12-071-1/+0
|
* Do not absorb core addons into the main applicationRichard Hughes2016-12-063-178/+15
| | | | | Adding this to the metadata means we do not have to look up the metadata source using the package manager.
* Don't add <releases> for addonsRichard Hughes2016-12-061-3/+5
|
* Don't add <kudos> for addonsRichard Hughes2016-12-061-0/+4
|
* Don't add <languages> for addonsRichard Hughes2016-12-061-0/+4
|
* Set a better icon for codecsKalev Lember2016-11-261-1/+1
| | | | As per Jakub's guidance.
* trivial: Do not leak the entry if the file cannot be readRichard Hughes2016-11-091-2/+4
| | | | I'm not sure how you can hit this, but it was noticed by Coverity.
* Check the return value of the stat callRichard Hughes2016-11-091-1/+2
| | | | Found using Coverity.
* trivial: Fix building AppStream metadata when using local filesRichard Hughes2016-09-151-3/+11
| | | | | Since we fixed the icon kind issue we just have to be a bit more careful when reading out what name to use.
* Fix building metadata on repos with mixed architecture contentRichard Hughes2016-09-131-22/+35
| | | | Only disable multiarch packages if a native package of the same name exists.
* trivial: Fix up tests after the -lang auto-dep commitRichard Hughes2016-09-061-4/+5
|
* Add -lang package as a dependency in order to properly detect translations ↵Dominique Leuenberger2016-09-051-0/+4
| | | | | | | | | | (#135) In openSUSE, the -lang package is 'only' recommended, so that users CAN save the space if they don't need them (and using bundles there is also a method to only install one language instead of all supported ones). Unfortunately, with this technique, gnome-software keeps on pretending that no application is localized in openSUSE.
* Convert the built unknown icons to the correct kind depending on the actionRichard Hughes2016-09-051-0/+10
| | | | | | For building we want ->CACHED, for parsing local files we want ->STOCK. Fixes the other half of https://github.com/hughsie/appstream-glib/pull/128
* Add a component kind of 'driver'Richard Hughes2016-09-021-0/+1
|
* trivial: Fix a -Wundef compiler warningKalev Lember2016-08-311-2/+2
|
* trivial: Actually apply the warning flagsRichard Hughes2016-08-271-1/+1
|
* Don't require an icon from LOCALIZATION kindRichard Hughes2016-08-221-0/+1
|
* trivial: Fix a harmless compile warning on ARMRichard Hughes2016-08-121-1/+1
|
* Ensure predictable output order of XML attributesRichard Hughes2016-08-101-21/+21
|
* Allow subsuming each property individuallyRichard Hughes2016-08-095-5/+11
| | | | This allows us to define a safe sane subset for merging and dedupe.
* trivial: Decompress .pak files when getting languagesRichard Hughes2016-08-081-0/+1
|
* Be more careful choosing warning flagsRichard Hughes2016-07-253-10/+10
|
* Add two new GCC warnings and fix up signed/unsigned issuesRichard Hughes2016-07-2511-32/+29
|
* Merge pull request #116 from StefanBruens/make_archive_creation_deterministicIgor Gnatenko2016-07-081-1/+1
|\ | | | | Correct disabling of timestamps for gzip
| * Correct disabling of timestamps for gzipStefanBruens2016-07-081-1/+1
| | | | | | Correct module name is "gzip".
* | trivial: Get rid of useless internal-only gtk-doc markupRichard Hughes2016-06-2818-418/+0
| |
* | Fix g_ptr_array_sort usewip/kalev/my_pstrcmpKalev Lember2016-05-261-1/+7
| | | | | | | | | | | | We can't directly use g_strcmp0 as the comparison function as g_ptr_array_sort comparison function takes pointers to the pointers in the array.