kitty: 0.17.3 -> 0.17.4
https://github.com/kovidgoyal/kitty/releases/tag/v0.17.4
This commit is contained in:
parent
a68a408a7f
commit
fabf511ea4
@ -20,14 +20,14 @@
|
|||||||
with python3Packages;
|
with python3Packages;
|
||||||
buildPythonApplication rec {
|
buildPythonApplication rec {
|
||||||
pname = "kitty";
|
pname = "kitty";
|
||||||
version = "0.17.3";
|
version = "0.17.4";
|
||||||
format = "other";
|
format = "other";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "kovidgoyal";
|
owner = "kovidgoyal";
|
||||||
repo = "kitty";
|
repo = "kitty";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1nx8gjavq8kc656ayh3wign1f68b46jbnmy8zyks25wg0p9gid8l";
|
sha256 = "1rbyj84y8r6h7qd6w7cw58v2abspippignj458ihv2m26i4als2x";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
@ -12,21 +12,27 @@
|
|||||||
|
|
||||||
--- a/kitty/desktop.c
|
--- a/kitty/desktop.c
|
||||||
+++ b/kitty/desktop.c
|
+++ b/kitty/desktop.c
|
||||||
@@ -30,7 +30,7 @@
|
@@ -34,10 +34,7 @@ init_x11_startup_notification(PyObject UNUSED *self, PyObject *args) {
|
||||||
static PyObject*
|
done = true;
|
||||||
init_x11_startup_notification(PyObject UNUSED *self, PyObject *args) {
|
|
||||||
static bool done = false;
|
|
||||||
- static const char* libname = "libstartup-notification-1.so";
|
|
||||||
+ static const char* libname = "@libstartup_notification@";
|
|
||||||
// some installs are missing the .so symlink, so try the full name
|
|
||||||
static const char* libname2 = "libstartup-notification-1.so.0";
|
|
||||||
static const char* libname3 = "libstartup-notification-1.so.0.0.0";
|
|
||||||
@@ -105,7 +105,7 @@ load_libcanberra_functions(void) {
|
|
||||||
|
|
||||||
static void
|
const char* libnames[] = {
|
||||||
load_libcanberra(void) {
|
- "libstartup-notification-1.so",
|
||||||
- static const char* libname = "libcanberra.so";
|
- // some installs are missing the .so symlink, so try the full name
|
||||||
+ static const char* libname = "@libcanberra@";
|
- "libstartup-notification-1.so.0",
|
||||||
// some installs are missing the .so symlink, so try the full name
|
- "libstartup-notification-1.so.0.0.0",
|
||||||
static const char* libname2 = "libcanberra.so.0";
|
+ "@libstartup_notification@",
|
||||||
static const char* libname3 = "libcanberra.so.0.2.5";
|
NULL
|
||||||
|
};
|
||||||
|
for (int i = 0; libnames[i]; i++) {
|
||||||
|
@@ -113,10 +110,7 @@ load_libcanberra(void) {
|
||||||
|
if (done) return;
|
||||||
|
done = true;
|
||||||
|
const char* libnames[] = {
|
||||||
|
- "libcanberra.so",
|
||||||
|
- // some installs are missing the .so symlink, so try the full name
|
||||||
|
- "libcanberra.so.0",
|
||||||
|
- "libcanberra.so.0.2.5",
|
||||||
|
+ "@libcanberra@",
|
||||||
|
NULL
|
||||||
|
};
|
||||||
|
for (int i = 0; libnames[i]; i++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user