Skip to content
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

scribus: Rename scribus{,Unstable} -> scribus{_1_4,} #172700

Merged
merged 1 commit into from
May 26, 2022

Conversation

turion
Copy link
Contributor

@turion turion commented May 12, 2022

Description of changes

Since 1.5 is the current published version, and 1.4 is already quite outdated and doesn't work without friction anymore, we should rename:

  • scribus -> scribus_1_4
  • scribusUnstable -> scribus

And we should keep major version updates to scribus.

CC @MarcWeber @erictapen @Kiwi

Things done
  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 22.05 Release Notes (or backporting 21.11 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
    • (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes
  • Fits CONTRIBUTING.md.

@turion
Copy link
Contributor Author

turion commented May 12, 2022

@ofborg build scribus scribus_1_4

@turion
Copy link
Contributor Author

turion commented May 12, 2022

What I'm unsure about is whether there should be some kind of deprecation warning for the attribute scribusUnstable.

@turion
Copy link
Contributor Author

turion commented May 12, 2022

@ofborg build scribus

@turion
Copy link
Contributor Author

turion commented May 12, 2022

@ofborg build scribus

Copy link
Member

@erictapen erictapen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This absolutely makes sense 👍

inherit (gnome2) libart_lgpl;
};

scribusUnstable = libsForQt5.callPackage ../applications/office/scribus/unstable.nix { };
scribus = libsForQt5.callPackage ../applications/office/scribus/default.nix { };
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Couldn't we then name this scribus_1_5 directly and make scribus an alias to that? This way we won't need to shuffle everything around when 1.6 gets released.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm of a mind to actually delete the older scribus versions completely. But that doesn't have to happen right now.

Would you put the alias in pkgs/top-level/aliases.nix or right here?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Considering that https://www.scribus.net/downloads/ still advertises 1.4 as the stable version I'd rather keep it as long as that doesn't change. I think we just can add scribus = scribus_1_5; here in that file.
Also it might make sense to mention the change in the release notes, so users that are depending on 1.4 get warned that they need to reference it explicitly. 1.4 and 1.5 have quite different user interfaces as far as I remember.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://www.scribus.net/downloads/ still advertises 1.4 as the stable version

Thanks, I didn't notice! Will do.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

scribus 1.4 depends on python2 and qt4, which have both been unsupported for years. I'm in favor of getting rid of it, even if the download page says that this is the stable version.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ajs124 Makes sense to me, but let's discuss that in another issue.

pkgs/top-level/all-packages.nix Outdated Show resolved Hide resolved
Copy link
Member

@erictapen erictapen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me!
Also checked that this is a noop for the two scribus attributes, so nothing should break from this.
I think I'll merge in ~3 days, but I want @MarcWeber as the other maintainer to have the chance to respond to the proposed change first.

@github-actions
Copy link
Contributor

Successfully created backport PR #174786 for release-22.05.

@turion turion deleted the dev_rename_scribus branch May 30, 2022 07:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants