Subject: [bug#72835] [PATCH qt-team 23/38] gnu: qt-creator: Update to 14.0.1.

From: Z572 <[email-masked]>
Date: Thu, 26 Sep 2024 14:20:52 +0800

Maxim Cournoyer <[email-masked]> writes:

> Hi,
>
> Maxim Cournoyer <[email-masked]> writes:
>
>> Hi,
>>
>> Zheng Junjie <[email-masked]> writes:
>>
>>> * gnu/packages/qt.scm (qt-creator): Update to 14.0.1.
>>> [source]: Adjust snippet.
>>> [arguments]<#:phases>: adjust patch-paths phase.
>>>
>>> Change-Id: Ideafcf3a7c0ce9c85025472d41fb72527cc4b9fb
>>> ---
>>>  gnu/packages/qt.scm | 10 +++++++---
>>>  1 file changed, 7 insertions(+), 3 deletions(-)
>>>
>>> diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
>>> index bf7eaa8546..f322b02d91 100644
>>> --- a/gnu/packages/qt.scm
>>> +++ b/gnu/packages/qt.scm
>>> @@ -5550,7 +5550,7 @@ (define-public clazy
>>>  (define-public qt-creator
>>>    (package
>>>      (name "qt-creator")
>>> -    (version "12.0.2")
>>> +    (version "14.0.1")
>>>      (source (origin
>>>                (method url-fetch)
>>>                (uri (string-append
>>> @@ -5567,13 +5567,17 @@ (define-public qt-creator
>>>                               ;; Marketplace recommends nonfree extensions;
>>>                               ;; remove it.
>>>                               "src/plugins/marketplace"))
>>> +                          (mkdir-p "src/libs/3rdparty/yaml-cpp")
>>> +                          (call-with-output-file "src/libs/3rdparty/yaml-cpp/LICENSE"
>>> +                            (lambda (port)
>>> +                              (const #t)))
>>
>> Why is the above necessary?  An explanatory comment would be nice.
>
> I think that's my only comment which hasn't been addressed; if you
> could, that'd be nice.  Otherwise I've already added my Reviewed-by tag
> so feel free to push at your convenience.

This has been addressed in v2

Sorry I forgot to reply to this.

+                          ;; qt-creator installation attempts to install the
+                          ;; yaml-cpp LICENSE file, but we removed the bundled
+                          ;; yaml-cpp, so create an empty file to allow it to
+                          ;; install properly.