Re: [Nix-dev] Qt and KDE updates

2017-03-01 Thread Alexey Shmalko
On 03/01/2017 08:41 PM, Vladimír Čunát wrote:
> On 03/01/2017 01:17 PM, Profpatsch wrote:
>> Better yet, build and expose the manuals of the current system
>> to the user locally.
>>
>> Offline all the docs \o/
> 
> But we do have that already for a long time:
> $ nixos-help

This command shows NixOS manual, not Nixpkgs one.





signature.asc
Description: OpenPGP digital signature
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] Qt and KDE updates

2017-03-01 Thread Vladimír Čunát
On 03/01/2017 01:17 PM, Profpatsch wrote:
> Better yet, build and expose the manuals of the current system
> to the user locally.
> 
> Offline all the docs \o/

But we do have that already for a long time:
$ nixos-help

--Vladimir




smime.p7s
Description: S/MIME Cryptographic Signature
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] Qt and KDE updates

2017-03-01 Thread Profpatsch
On 17-02-28 09:19pm, Bjørn Forsman wrote:
> On 28 February 2017 at 21:10, Vladimír Čunát  wrote:
> > On 02/28/2017 12:51 PM, Thomas Tuegel wrote:
> >> Package maintainers should read the updated Qt and KDE documentation in
> >> the Nixpkgs manual (unfortunately this is not updated on nixos.org yet;
> >> you can build the manual yourself or read the source on GitHub [1]).
> >
> > http://nixos.org/nixos/manual/ shows the one for 16.09 on purpose
> > (current stable), so it should not be there yet.
> 
> I guess this is stating the obvious, but we really should have the
> manuals for both stable and unstable available on nixos.org (IMHO).

Better yet, build and expose the manuals of the current system
to the user locally.

Offline all the docs \o/

-- 
Proudly written in Mutt with Vim on NixOS.
Q: Why is this email five sentences or less?
A: http://five.sentenc.es
May take up to five days to read your message. If it’s urgent, call me.
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] Qt and KDE updates

2017-02-28 Thread Bjørn Forsman
On 28 February 2017 at 21:10, Vladimír Čunát  wrote:
> On 02/28/2017 12:51 PM, Thomas Tuegel wrote:
>> Package maintainers should read the updated Qt and KDE documentation in
>> the Nixpkgs manual (unfortunately this is not updated on nixos.org yet;
>> you can build the manual yourself or read the source on GitHub [1]).
>
> http://nixos.org/nixos/manual/ shows the one for 16.09 on purpose
> (current stable), so it should not be there yet.

I guess this is stating the obvious, but we really should have the
manuals for both stable and unstable available on nixos.org (IMHO).

Best regards,
Bjørn Forsman
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] Qt and KDE updates

2017-02-28 Thread Vladimír Čunát
On 02/28/2017 12:51 PM, Thomas Tuegel wrote:
> Package maintainers should read the updated Qt and KDE documentation in
> the Nixpkgs manual (unfortunately this is not updated on nixos.org yet;
> you can build the manual yourself or read the source on GitHub [1]).

http://nixos.org/nixos/manual/ shows the one for 16.09 on purpose
(current stable), so it should not be there yet.

--Vladimir




smime.p7s
Description: S/MIME Cryptographic Signature
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


[Nix-dev] Qt and KDE updates

2017-02-28 Thread Thomas Tuegel
Hello,

Today, in anticipation of NixOS 17.03, I merged updates to our Qt and
KDE infrastructure into master. I am writing now to explain how to deal
with any problems users and maintainers may encounter. I apologize in
advance for any inconvenience this causes.

Users should experience relatively non-invasive changes:

- The `kde5` NixOS module no longer exists; it has been renamed
  `plasma5`. Users will receive a warning from `nixos-rebuild` if they
  use the old module.
- The `kde5` top-level package set no longer exists. The applications
  which were available under this set are now available at the top
  level, i.e. `kde5.konsole` becomes `konsole`.
- The applications which were under the `kde4` set are now also
  available at top level.

This will probably require most KDE users to change their configuration,
but I hope those changes are no more invasive than simple renaming.

Package maintainers should read the updated Qt and KDE documentation in
the Nixpkgs manual (unfortunately this is not updated on nixos.org yet;
you can build the manual yourself or read the source on GitHub [1]). The
top changes are:

- If you were using `qt5.callPackage` before, please use
  `libsForQt5.callPackage` now.
- Use `kdeWrapper` for wrapping KDE-based programs. This has been in use
  for some time already, but now it is properly documented.
- Some packages inherit a Qt dependency from build tools which
  improperly propagated the input.

As our Qt infrastructure was updated, I took the opportunity to make Qt
5.7 the default version. Maintainers should check that their packages
build with the new version and pin them to Qt 5.6 if they can't be made
to work. The most common issue with the upgrade is that Qt 5.7 requires
a C++11 compiler, so GCC needs to be called with `-std=c++11`. Packages
using qmake and cmake should be unaffected, but autotools-based packages
will probably need CFLAGS or NIX_CFLAGS_COMPILE set. Please remember to
file bugs upstream as appropriate.

Please contact me with questions or concerns.

Regards,
Thomas

[1]. 
https://github.com/NixOS/nixpkgs/blob/master/doc/languages-frameworks/qt.xml
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev