Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0e82e9973b08
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 3cad001de2e1
Choose a head ref
  • 5 commits
  • 3 files changed
  • 1 contributor

Commits on Apr 13, 2021

  1. gtranslator: 3.38.0 → 40.0

    jtojnar committed Apr 13, 2021

    Verified

    This commit was signed with the committer’s verified signature.
    jtojnar Jan Tojnar
    Copy the full SHA
    b76eaf9 View commit details
  2. libpst: 0.6.75 → 0.6.76

    jtojnar committed Apr 13, 2021

    Verified

    This commit was signed with the committer’s verified signature.
    jtojnar Jan Tojnar
    Copy the full SHA
    b9c3b03 View commit details
  3. Verified

    This commit was signed with the committer’s verified signature.
    jtojnar Jan Tojnar
    Copy the full SHA
    6f81906 View commit details
  4. libhandy: 1.2.0 → 1.2.1

    jtojnar committed Apr 13, 2021

    Verified

    This commit was signed with the committer’s verified signature.
    jtojnar Jan Tojnar
    Copy the full SHA
    5670f55 View commit details
  5. libhandy: build glade catalog separately

    So that libhandy itself does not have webkitgtk in build time closure through glade.
    jtojnar committed Apr 13, 2021

    Verified

    This commit was signed with the committer’s verified signature.
    jtojnar Jan Tojnar
    Copy the full SHA
    3cad001 View commit details
Showing with 46 additions and 13 deletions.
  1. +37 −7 pkgs/development/libraries/libhandy/default.nix
  2. +4 −3 pkgs/development/libraries/libpst/default.nix
  3. +5 −3 pkgs/tools/text/gtranslator/default.nix
44 changes: 37 additions & 7 deletions pkgs/development/libraries/libhandy/default.nix
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
{ lib, stdenv
{ lib
, stdenv
, fetchurl
, meson
, ninja
, pkg-config
, gobject-introspection
, vala
, gtk-doc
, docbook_xsl
, docbook-xsl-nons
, docbook_xml_dtd_43
, gtk3
, enableGlade ? false
, glade
, dbus
, xvfb_run
@@ -18,23 +20,32 @@
, hicolor-icon-theme
, at-spi2-atk
, at-spi2-core
, gnome3
, libhandy
, replaceDependency
}:

stdenv.mkDerivation rec {
pname = "libhandy";
version = "1.2.0";
version = "1.2.1";

outputs = [ "out" "dev" "devdoc" "glade" ];
outputs = [
"out"
"dev"
"devdoc"
] ++ lib.optionals enableGlade [
"glade"
];
outputBin = "dev";

src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "sha256-OfWQriCRDnb+HAYHsuvliXUPRWENau7Fww4u5gKiCyU=";
sha256 = "sha256-QRtMak1fntXkZZS0q7BMVK8pTjJCzzZJQgKfXgtvUQs=";
};

nativeBuildInputs = [
docbook_xml_dtd_43
docbook_xsl
docbook-xsl-nons
gobject-introspection
gtk-doc
libxml2
@@ -46,9 +57,10 @@ stdenv.mkDerivation rec {

buildInputs = [
gdk-pixbuf
glade
gtk3
libxml2
] ++ lib.optionals enableGlade [
glade
];

checkInputs = [
@@ -62,6 +74,7 @@ stdenv.mkDerivation rec {

mesonFlags = [
"-Dgtk_doc=true"
"-Dglade_catalog=${if enableGlade then "enabled" else "disabled"}"
];

# Uses define_variable in pkg-config, but we still need it to use the glade output
@@ -79,6 +92,23 @@ stdenv.mkDerivation rec {
meson test --print-errorlogs
'';

passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
};
} // lib.optionalAttrs (!enableGlade) {
glade =
let
libhandyWithGlade = libhandy.override {
enableGlade = true;
};
in (replaceDependency {
drv = libhandyWithGlade.glade;
oldDependency = libhandyWithGlade.out;
newDependency = libhandy.out;
});
};

meta = with lib; {
changelog = "https://gitlab.gnome.org/GNOME/libhandy/-/tags/${version}";
description = "Building blocks for modern adaptive GNOME apps";
7 changes: 4 additions & 3 deletions pkgs/development/libraries/libpst/default.nix
Original file line number Diff line number Diff line change
@@ -12,11 +12,12 @@
}:

stdenv.mkDerivation rec {
name = "libpst-0.6.75";
pname = "libpst";
version = "0.6.76";

src = fetchurl {
url = "http://www.five-ten-sg.com/libpst/packages/${name}.tar.gz";
sha256 = "11wrf47i3brlxg25wsfz17373q7m5fpjxn2lr41dj252ignqzaac";
url = "http://www.five-ten-sg.com/libpst/packages/${pname}-${version}.tar.gz";
sha256 = "0hhbbb8ddsgjhv9y1xd8s9ixlhdnjmhw12v06jwx4j6vpgp1na9x";
};

nativeBuildInputs = [
8 changes: 5 additions & 3 deletions pkgs/tools/text/gtranslator/default.nix
Original file line number Diff line number Diff line change
@@ -9,6 +9,7 @@
, wrapGAppsHook
, libxml2
, libgda
, libhandy
, libsoup
, json-glib
, gspell
@@ -22,11 +23,11 @@

stdenv.mkDerivation rec {
pname = "gtranslator";
version = "3.38.0";
version = "40.0";

src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "282puBoi2SM74Y6Z/VxEj2qwV1nR6UwQWAu4McotdjU=";
url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
sha256 = "0d48nc11z0m91scy21ah56ysxns82zvswx8lglvlkig1vqvblgpc";
};

nativeBuildInputs = [
@@ -46,6 +47,7 @@ stdenv.mkDerivation rec {
libdazzle
gtksourceview4
libgda
libhandy
libsoup
json-glib
gettext