From 3def65075c09af4961cd399e8e78ed78cca72e65 Mon Sep 17 00:00:00 2001 From: Wolfgang Bauer Date: Wed, 11 Oct 2017 22:16:02 +0200 Subject: [PATCH] Fix build with Qt 5.9 Summary: moc 5.9 errors out when building: Error: Plugin Metadata file "" could not be opened: file to open is a directory Same issue and fix as https://phabricator.kde.org/D5392 for khtml. CCBUG: 377490 Test Plan: builds fine now with Qt 5.9.0rc and also earlier versions. Reviewers: vriezen, pino Reviewed By: pino Subscribers: pino Differential Revision: https://phabricator.kde.org/D5985 --- src/kmplayer_part.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kmplayer_part.h b/src/kmplayer_part.h index f90f85d..0fddbaa 100644 --- a/src/kmplayer_part.h +++ b/src/kmplayer_part.h @@ -36,7 +36,7 @@ namespace KMPlayer { class KMPlayerFactory : public KPluginFactory { Q_OBJECT - Q_PLUGIN_METADATA(IID "org.kde.KPluginFactory" FILE "") + Q_PLUGIN_METADATA(IID "org.kde.KPluginFactory") Q_INTERFACES(KPluginFactory) public: KMPlayerFactory(); -- 2.14.2 '>refslogtreecommitdiff
path: root/tests/cpan.scm
AgeCommit message (Expand)Author
2020-01-15import: cpan: Rewrite tests to use an HTTP server instead of mocking....* guix/import/cpan.scm (%metacpan-base-url): New variable. (module->dist-name, cpan-fetch): Refer to it instead of the hard-coded URL. * tests/cpan.scm ("cpan->guix-package"): Use 'with-http-server' instead of 'mock'. Ludovic Courtès
2020-01-15import: cpan: Rewrite to use 'define-json-mapping'....* guix/import/cpan.scm (<cpan-dependency>, <cpan-release>): New JSON-mapped record types. (metacpan-url->mirror-url): New procedure. (cpan-source-url): Rewrite in terms of it. (cpan-version): Remove. (cpan-module->sexp): Rewrite to take a <cpan-release> instead of an alist, and rename 'meta' to 'release'. [convert-inputs]: Rewrite to use 'cpan-release-dependencies'. Update calls to 'convert-inputs' to pass a list of symbols. Replace 'assoc-ref' calls with the appropriate field accessors. (cpan->guix-package): Rename 'module-meta' to 'release'. (latest-release): Likewise, and use the appropriate accessors. * tests/cpan.scm (test-json): Remove "prereqs" record; add "dependency" list. ("source-url-http", "source-url-https"): Remove. ("metacpan-url->mirror-url, http") ("metacpan-url->mirror-url, https"): New tests. Ludovic Courtès
2019-08-22Revert "import: cpan: Adapt for the change to guile-json version 3."...This reverts commit 01ce7af25add55514f737af48ea6c127bedfde67. Mark H Weaver
2019-08-21import: cpan: Adapt for the change to guile-json version 3....In guile-json version 3, JSON objects are represented as hash tables, rather than alists. * guix/import/cpan.scm (string->license): Change the match expression to match on lists, rather than vectors. (module->dist-name, cpan-source-url, cpan-version): Change assoc-ref to hash-ref. (cpan-module->sexp): Change assoc-ref to hash-ref, and assoc-ref* to hash-ref*. * tests/cpan.scm ("source-url-http", "source-url-https"): Convert the alist to a hash table. Christopher Baines