Skip to content

Commit

Permalink
pixman: 0.43.4 -> 0.44.2 (#353959)
Browse files Browse the repository at this point in the history
  • Loading branch information
RossComputerGuy authored Dec 9, 2024
2 parents 5919211 + 41655b6 commit acf356a
Showing 1 changed file with 37 additions and 28 deletions.
65 changes: 37 additions & 28 deletions pkgs/by-name/pi/pixman/package.nix
Original file line number Diff line number Diff line change
@@ -1,37 +1,38 @@
{ lib
, stdenv
, fetchurl
, meson
, ninja
, pkg-config
, libpng
, glib /*just passthru*/
{
lib,
stdenv,
fetchurl,
meson,
ninja,
pkg-config,
libpng,
glib, # just passthru

# for passthru.tests
, cairo
, qemu
, scribus
, tigervnc
, wlroots_0_17
, wlroots_0_18
, xwayland
# for passthru.tests
cairo,
qemu,
scribus,
tigervnc,
wlroots_0_17,
wlroots_0_18,
xwayland,

, gitUpdater
, testers
gitUpdater,
testers,

, __flattenIncludeHackHook
__flattenIncludeHackHook,
}:

stdenv.mkDerivation (finalAttrs: {
pname = "pixman";
version = "0.43.4";
version = "0.44.2";

src = fetchurl {
urls = with finalAttrs; [
"mirror://xorg/individual/lib/${pname}-${version}.tar.gz"
"https://cairographics.org/releases/${pname}-${version}.tar.gz"
];
hash = "sha256-oGJNuQGAx923n8epFRCT3DfGRtjDjT8jL3Z89kuFoiY=";
hash = "sha256-Y0kGHOGjOKtpUrkhlNGwN3RyJEII1H/yW++G/HGXNGY=";
};

# Raise test timeout, 120s can be slightly exceeded on slower hardware
Expand All @@ -42,19 +43,19 @@ stdenv.mkDerivation (finalAttrs: {

separateDebugInfo = !stdenv.hostPlatform.isStatic;

nativeBuildInputs = [ meson ninja pkg-config __flattenIncludeHackHook ];
nativeBuildInputs = [
meson
ninja
pkg-config
__flattenIncludeHackHook
];

buildInputs = [ libpng ];

# Default "enabled" value attempts to enable CPU features on all
# architectures and requires used to disable them:
# https://gitlab.freedesktop.org/pixman/pixman/-/issues/88
mesonAutoFeatures = "auto";
mesonFlags = [
"-Diwmmxt=disabled"
]
# Disable until https://gitlab.freedesktop.org/pixman/pixman/-/issues/46 is resolved
++ lib.optional (stdenv.hostPlatform.isAarch64 && !stdenv.cc.isGNU) "-Da64-neon=disabled";

preConfigure = ''
# https://gitlab.freedesktop.org/pixman/pixman/-/issues/62
Expand All @@ -67,7 +68,15 @@ stdenv.mkDerivation (finalAttrs: {

passthru = {
tests = {
inherit cairo qemu scribus tigervnc wlroots_0_17 wlroots_0_18 xwayland;
inherit
cairo
qemu
scribus
tigervnc
wlroots_0_17
wlroots_0_18
xwayland
;
pkg-config = testers.hasPkgConfigModules {
package = finalAttrs.finalPackage;
};
Expand Down

0 comments on commit acf356a

Please sign in to comment.