gnome3.gnome-bluetooth: 3.34.3 → 3.34.5
- clean up
- remove intltool dependency e8ad2adfeb
This commit is contained in:
parent
1a7ac9640a
commit
9ddb819ed8
@ -1,6 +1,5 @@
|
|||||||
{ lib, stdenv
|
{ lib, stdenv
|
||||||
, fetchurl
|
, fetchurl
|
||||||
, fetchpatch
|
|
||||||
, meson
|
, meson
|
||||||
, ninja
|
, ninja
|
||||||
, pkg-config
|
, pkg-config
|
||||||
@ -25,25 +24,17 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "gnome-calendar";
|
pname = "gnome-calendar";
|
||||||
version = "40.rc";
|
version = "40.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "02cf7ckjfgb7n4wqc55gis3r8shv4hq0ckrilc52d0p79qsmak6w";
|
sha256 = "0d74hng9jdmwdcjgj4xfrcink2gwkbp1k1mad4wanaf7q31c6f38";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
# Port to libhandy-1
|
|
||||||
(fetchpatch {
|
|
||||||
url = "https://gitlab.gnome.org/GNOME/gnome-calendar/-/commit/8be361b6ce8f0f8053e1609decbdbdc164ec8448.patch";
|
|
||||||
sha256 = "Ue0pWwcbYyCZPHPPoR0dXW5n948/AZ3wVDMTIZDOnyE=";
|
|
||||||
})
|
|
||||||
|
|
||||||
# https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/84
|
# https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/84
|
||||||
(fetchpatch {
|
# A refactor has caused the PR patch to drift enough to need rebasing
|
||||||
url = "https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/84.patch";
|
./gtk_image_reset_crash.patch
|
||||||
sha256 = "czG3uIHl3tBnjDUvCOPm8IRp2o7yZYCb0/jWtv3uzIY=";
|
|
||||||
})
|
|
||||||
];
|
];
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
|
@ -0,0 +1,17 @@
|
|||||||
|
diff --git a/src/gui/views/gcal-year-view.c b/src/gui/views/gcal-year-view.c
|
||||||
|
index ac32a8f9..532425c1 100644
|
||||||
|
--- a/src/gui/views/gcal-year-view.c
|
||||||
|
+++ b/src/gui/views/gcal-year-view.c
|
||||||
|
@@ -2158,7 +2158,11 @@ update_weather (GcalYearView *self)
|
||||||
|
if (!updated)
|
||||||
|
{
|
||||||
|
gtk_label_set_text (self->temp_label, "");
|
||||||
|
- gtk_image_clear (self->weather_icon);
|
||||||
|
+ /* FIXME: This should never be NULL, but it somehow is.
|
||||||
|
+ * https://gitlab.gnome.org/GNOME/gnome-calendar/issues/299
|
||||||
|
+ */
|
||||||
|
+ if (self->weather_icon != NULL)
|
||||||
|
+ gtk_image_clear (self->weather_icon);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -1,28 +1,62 @@
|
|||||||
{ lib, stdenv, fetchurl, gnome3, meson, ninja, pkg-config, gtk3, intltool, glib
|
{ lib
|
||||||
, udev, itstool, libxml2, wrapGAppsHook, libnotify, libcanberra-gtk3, gobject-introspection
|
, stdenv
|
||||||
, gtk-doc, docbook_xsl, docbook_xml_dtd_43, python3, gsettings-desktop-schemas }:
|
, fetchurl
|
||||||
|
, gnome3
|
||||||
|
, meson
|
||||||
|
, ninja
|
||||||
|
, pkg-config
|
||||||
|
, gtk3
|
||||||
|
, gettext
|
||||||
|
, glib
|
||||||
|
, udev
|
||||||
|
, itstool
|
||||||
|
, libxml2
|
||||||
|
, wrapGAppsHook
|
||||||
|
, libnotify
|
||||||
|
, libcanberra-gtk3
|
||||||
|
, gobject-introspection
|
||||||
|
, gtk-doc
|
||||||
|
, docbook-xsl-nons
|
||||||
|
, docbook_xml_dtd_43
|
||||||
|
, python3
|
||||||
|
, gsettings-desktop-schemas
|
||||||
|
}:
|
||||||
|
|
||||||
let
|
stdenv.mkDerivation rec {
|
||||||
pname = "gnome-bluetooth";
|
pname = "gnome-bluetooth";
|
||||||
in stdenv.mkDerivation rec {
|
version = "3.34.5";
|
||||||
name = "${pname}-${version}";
|
|
||||||
version = "3.34.3";
|
|
||||||
|
|
||||||
# TODO: split out "lib"
|
# TODO: split out "lib"
|
||||||
outputs = [ "out" "dev" "devdoc" "man" ];
|
outputs = [ "out" "dev" "devdoc" "man" ];
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${name}.tar.xz";
|
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "08k4jak4r72pvn5kjhm21planyc514j6c7jjj5lv9nmvvlxqw1ha";
|
sha256 = "1a9ynlwwkb3wpg293ym517vmrkk63y809mmcv9a21k5yr199x53c";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
meson ninja intltool itstool pkg-config libxml2 wrapGAppsHook gobject-introspection
|
meson
|
||||||
gtk-doc docbook_xsl docbook_xml_dtd_43 python3
|
ninja
|
||||||
|
gettext
|
||||||
|
itstool
|
||||||
|
pkg-config
|
||||||
|
libxml2
|
||||||
|
wrapGAppsHook
|
||||||
|
gobject-introspection
|
||||||
|
gtk-doc
|
||||||
|
docbook-xsl-nons
|
||||||
|
docbook_xml_dtd_43
|
||||||
|
python3
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
glib gtk3 udev libnotify libcanberra-gtk3
|
glib
|
||||||
gnome3.adwaita-icon-theme gsettings-desktop-schemas
|
gtk3
|
||||||
|
udev
|
||||||
|
libnotify
|
||||||
|
libcanberra-gtk3
|
||||||
|
gnome3.adwaita-icon-theme
|
||||||
|
gsettings-desktop-schemas
|
||||||
];
|
];
|
||||||
|
|
||||||
mesonFlags = [
|
mesonFlags = [
|
||||||
@ -46,7 +80,7 @@ in stdenv.mkDerivation rec {
|
|||||||
homepage = "https://help.gnome.org/users/gnome-bluetooth/stable/index.html.en";
|
homepage = "https://help.gnome.org/users/gnome-bluetooth/stable/index.html.en";
|
||||||
description = "Application that let you manage Bluetooth in the GNOME destkop";
|
description = "Application that let you manage Bluetooth in the GNOME destkop";
|
||||||
maintainers = teams.gnome.members;
|
maintainers = teams.gnome.members;
|
||||||
license = licenses.gpl2;
|
license = licenses.gpl2Plus;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user