Skip to content

[Staging] xorg: updates and cleanup #53127

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 70 commits into from
Jan 4, 2019
Merged

Conversation

ikervagyok
Copy link
Contributor

Motivation for this change

followup from #48549

Things done

waiting for my machine to compile everything ;)

@worldofpeace should apply cleanly to staging now
@MP2E looking into libXp now

@GrahamcOfBorg GrahamcOfBorg added 6.topic: fetch Fetchers (e.g. fetchgit, fetchsvn, ...) 6.topic: python Python is a high-level, general-purpose programming language. 6.topic: xfce The Xfce Desktop Environment 8.has: clean-up This PR removes packages or removes other cruft 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. labels Dec 31, 2018
@dtzWill
Copy link
Member

dtzWill commented Dec 31, 2018

@MP2E looking into libXp now

05a334e IIRC gets things like that?

@ikervagyok
Copy link
Contributor Author

I have less time now, but would still like to see this get merged soon - otherwise there will be a lot of ugliness in merging the *proto -> xorgproto part. Anything I can help with? It should be fairly stable, since i used the #48549 as my daily driver for a while and there are only little deviations in this patchset.

@FRidh @matthewbauer any comments?
@dtzWill could work, but i had no time testing it. If you would link your more interesting patches from your xorg branch(es), i'd try to incorporate them here.

@FRidh
Copy link
Member

FRidh commented Jan 4, 2019

Rebase and I'll merge it.

@globin
Copy link
Member

globin commented Jan 4, 2019

I've fixed libXp with @MP2E's patch and rebased this on staging.

@ikervagyok
Copy link
Contributor Author

Thanks @globin @FRidh

@globin globin merged commit 23e49b7 into NixOS:staging Jan 4, 2019
@dtzWill
Copy link
Member

dtzWill commented Jan 4, 2019

\o/

@hedning
Copy link
Contributor

hedning commented Jan 10, 2019

There's a few new failures, most likely due to this bump:

  • xorg.xcursorthemes
  • xorg.xf86videos3virge
  • xorg.xf86videosavage
  • xorg.xf86videosis

https://hydra.nixos.org/eval/1499603?filter=xorg&compare=1499579&full=

@worldofpeace
Copy link
Contributor

I'd think this would fix xorg.xcursorthemes

diff --git a/pkgs/servers/x11/xorg/default.nix b/pkgs/servers/x11/xorg/default.nix
index 2f881d7f8f8..88561056989 100644
--- a/pkgs/servers/x11/xorg/default.nix
+++ b/pkgs/servers/x11/xorg/default.nix
@@ -1586,7 +1586,7 @@ lib.makeScope newScope (self: with self; {
     meta.platforms = stdenv.lib.platforms.unix;
   }) {};
 
-  xcursorthemes = callPackage ({ stdenv, pkgconfig, fetchurl, libXcursor }: stdenv.mkDerivation {
+  xcursorthemes = callPackage ({ stdenv, pkgconfig, utilmacros, xcursorgen, fetchurl, libXcursor, xorgproto }: stdenv.mkDerivation {
     name = "xcursor-themes-1.0.5";
     builder = ./builder.sh;
     src = fetchurl {
@@ -1594,8 +1594,8 @@ lib.makeScope newScope (self: with self; {
       sha256 = "0whjiq6d5z4z75zh37pji6llfcyrg6q3mg9zx5zqyncnj39q30xf";
     };
     hardeningDisable = [ "bindnow" "relro" ];
-    nativeBuildInputs = [ pkgconfig ];
-    buildInputs = [ libXcursor ];
+    nativeBuildInputs = [ pkgconfig utilmacros xcursorgen ];
+    buildInputs = [ libXcursor xorgproto ];
     meta.platforms = stdenv.lib.platforms.unix;
   }) {};

@vcunat
Copy link
Member

vcunat commented Jan 12, 2019

Perhaps, but

# THIS IS A GENERATED FILE. DO NOT EDIT!

vcunat added a commit that referenced this pull request Jan 12, 2019
@vcunat
Copy link
Member

vcunat commented Jan 12, 2019

The only remaining regressions AFAIK are three ancient xf86-video drivers, which seems a fine state to me. Feel free to try fixing them; I see some very recent git commits (at least) for one of them (but no release yet), so perhaps that would be enough...

@vcunat
Copy link
Member

vcunat commented Jan 12, 2019

BTW, some of newly added packages also fail:

  • editres
  • oclock
  • xload
  • xtrap

@obadz
Copy link
Contributor

obadz commented Jan 24, 2019

Sadly, citrix_receiver aka wfica is broken by xorg/xorgserver: 1.19.6 -> 1.20.3 (b981b8e) as documented https://discussions.citrix.com/topic/395450-unusable-after-upgrade-to-xorg-v120/

Not suggesting we revert, just posting this here for those who might care.

Cc @Ma27 @a1russell @volth @FRidh @jensbin @7c6f434c @neilmayhew @veprbl

(Were these commits rebased btw? Looks like their hashes in master are ≠ from here)

@vcunat
Copy link
Member

vcunat commented Jan 25, 2019

I hope config.xorg.abiCompat still works somehow; I'm not sure how much we use it nowadays.

glasserc added a commit to glasserc/nixpkgs-mozilla that referenced this pull request Mar 8, 2019
As of 19.03, the "proto" packages (printproto, renderproto, etc.) no
longer exist. NixOS/nixpkgs#53127 made it
unnecessary to depend on each individual fooproto derivation. Instead
it's sufficient to just depend on xorgproto.

The old names are still necessary for 18.09, so leave them for now.
@infinisil
Copy link
Member

What do we do about these broken packages @vcunat mentioned? Can we just remove them again or should we mark as broken?

@worldofpeace
Copy link
Contributor

I can see that the following have already been fixed

garbas pushed a commit to mozilla/nixpkgs-mozilla that referenced this pull request Apr 2, 2019
As of 19.03, the "proto" packages (printproto, renderproto, etc.) no
longer exist. NixOS/nixpkgs#53127 made it
unnecessary to depend on each individual fooproto derivation. Instead
it's sufficient to just depend on xorgproto.

The old names are still necessary for 18.09, so leave them for now.
@obadz
Copy link
Contributor

obadz commented Sep 9, 2019

Using Citrix Workspace instead of Citrix Receiver seems to fix the slowness issue even with Xorg 1.20.5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.topic: fetch Fetchers (e.g. fetchgit, fetchsvn, ...) 6.topic: python Python is a high-level, general-purpose programming language. 6.topic: xfce The Xfce Desktop Environment 8.has: clean-up This PR removes packages or removes other cruft 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants