Skip to content

tracking: migrate renderdoc from PCRE to PCRE2 #525939

Closed

Description

@pbsds

part of #356387

cc @ShyAssassin ref #356387 (comment)

renderdoc is a pretty important application for graphics dev would be a shame to remove it, i will try send patches upstream or apply them for nixpkgs itself so it doesnt need to be removed, @pbsds would you mind giving me a hand with this?

sure, couldn't find your matrix so a made this

Activity

  1. pbsds commented on May 30, 2026

    @pbsds
    MemberAuthor

    I'm concurrently exploring

    @@ -101,7 +117,8 @@ stdenv.mkDerivation (finalAttrs: {
       strictDeps = true;
    
       postUnpack = ''
    -    cp -r ${custom_swig} swig
    +    cp -r ${swig.src} swig
         chmod -R +w swig
         patchShebangs swig/autogen.sh
       '';

    and

    @@ -80,7 +85,18 @@ stdenv.mkDerivation (finalAttrs: {
         bison
         cmake
         makeWrapper
    -    pcre
    +    pcre2
    +    # renderdoc still uses old pcre, but only at build time according to upstream author
    +    # (ref https://github.com/baldurk/renderdoc/issues/3175#issuecomment-1857731610)
    +    # This is sufficient to get the build going
    +    (symlinkJoin {
    +      name = "pcre-shim";
    +      paths = [ buildPackages.pcre2.dev ];
    +      postBuild = ''
    +        ln -s $out/bin/pcre{2,}-config
    +        ln -s $out/include/pcre{2,}.h
    +      '';
    +    })
         pkg-config
         python312Packages.python
         qt5.qtx11extras
  2. pbsds commented on May 30, 2026

    @pbsds
    MemberAuthor

    currently exploring

        (lib.cmakeBool "QRENDERDOC_ENABLE_PYSIDE2" false)
  3. ShyAssassin commented on May 30, 2026

    @ShyAssassin
    Member

    couldn't find your matrix so a made this

    My MXID is @shyassassin:assassin.dev
    I did try send you a DM on matrix but i'm not sure if you got it since my server has had issues with federation recently

  4. ShyAssassin commented on May 30, 2026

    @ShyAssassin
    Member

    If you would still like to talk on matrix but are having issues with my home server i have a backup account on matrix.org @shyassassin:matrix.org

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions