Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (e3a0259a6a6d5ef1c7afab7e97a9715e30dbeffd)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Vlad Glagolev <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (e3a0259a6a6d5ef1c7afab7e97a9715e30dbeffd)
  • Date: Wed, 22 Jul 2020 16:22:49 +0000

GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:

ChangeLog | 3 +++
audio-soft/spotify-tray/DEPENDS | 3 +++
audio-soft/spotify-tray/DETAILS | 17 +++++++++++++++++
audio-soft/spotify-tray/HISTORY | 2 ++
audio-soft/spotify-tray/PRE_BUILD | 8 ++++++++
audio-soft/spotify-tray/glib254.patch | 17 +++++++++++++++++
6 files changed, 50 insertions(+)

New commits:
commit e3a0259a6a6d5ef1c7afab7e97a9715e30dbeffd
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

spotify-tray: new spell, Spotify tray

diff --git a/ChangeLog b/ChangeLog
index b9558d5..4fd8aeb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2020-07-22 Vlad Glagolev <stealth AT sourcemage.org>
+ * audio-soft/spotify-tray: new spell, Spotify tray
+
2020-07-16 Treeve Jelbert <treeve AT sourcemage.org>
* kblog, move to kde5-extra
no longer part of kde-release service
diff --git a/audio-soft/spotify-tray/DEPENDS b/audio-soft/spotify-tray/DEPENDS
new file mode 100755
index 0000000..4a8fa2f
--- /dev/null
+++ b/audio-soft/spotify-tray/DEPENDS
@@ -0,0 +1,3 @@
+depends glib2 &&
+depends gtk+3 &&
+depends libx11
diff --git a/audio-soft/spotify-tray/DETAILS b/audio-soft/spotify-tray/DETAILS
new file mode 100755
index 0000000..4ae389f
--- /dev/null
+++ b/audio-soft/spotify-tray/DETAILS
@@ -0,0 +1,17 @@
+ SPELL=spotify-tray
+ VERSION=1.2.0
+ SOURCE=${SPELL}-${VERSION}.tar.gz
+
SOURCE_URL[0]=https://github.com/tsmetana/${SPELL}/archive/v${VERSION}.tar.gz
+
SOURCE_HASH=sha512:5bb2746819164d60c076ebaacb9636e980109dec36a2805aa8eaaefcd5e5db7551f6843a25e74c0a4d2b7b4da3a5422cde706879c95d327f544bdf9337dfd6b7
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+ WEB_SITE=https://github.com/tsmetana/spotify-tray
+ LICENSE[0]=GPL
+ ENTERED=20200722
+ SHORT="Spotify tray"
+cat << EOF
+Adds a tray icon to the Spotify Linux client application.
+
+Features:
+- Basic playback control through right-click menu
+- Hiding the main client window ("minimize to tray")
+EOF
diff --git a/audio-soft/spotify-tray/HISTORY b/audio-soft/spotify-tray/HISTORY
new file mode 100644
index 0000000..841e464
--- /dev/null
+++ b/audio-soft/spotify-tray/HISTORY
@@ -0,0 +1,2 @@
+2020-07-22 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS, DEPENDS, PRE_BUILD, glib254.patch: created spell, version
1.2.0
diff --git a/audio-soft/spotify-tray/PRE_BUILD
b/audio-soft/spotify-tray/PRE_BUILD
new file mode 100755
index 0000000..8723d8c
--- /dev/null
+++ b/audio-soft/spotify-tray/PRE_BUILD
@@ -0,0 +1,8 @@
+default_pre_build &&
+cd "${SOURCE_DIRECTORY}" &&
+
+if spell_ok glib2 && is_version_less $(installed_version glib2) 2.54; then
+ patch -p0 < "${SPELL_DIRECTORY}/glib254.patch"
+fi &&
+
+./autogen.sh
diff --git a/audio-soft/spotify-tray/glib254.patch
b/audio-soft/spotify-tray/glib254.patch
new file mode 100644
index 0000000..c34aba9
--- /dev/null
+++ b/audio-soft/spotify-tray/glib254.patch
@@ -0,0 +1,17 @@
+--- src/tray_dbus.h.orig 2020-03-17 00:36:31.000000000 -0700
++++ src/tray_dbus.h 2020-07-22 09:16:23.849398442 -0700
+@@ -1,6 +1,14 @@
+ #ifndef _DBUS_SERVER_H
+ #define _DBUS_SERVER_H
+
++/* If glib does not support immediate return in case of bus
++ * name being owned by some other connection (glib < 2.54),
++ * fall back to a default behavior - enter waiting queue. */
++#ifndef G_BUS_NAME_OWNER_FLAGS_DO_NOT_QUEUE
++# define G_BUS_NAME_OWNER_FLAGS_DO_NOT_QUEUE \
++ G_BUS_NAME_OWNER_FLAGS_NONE
++#endif
++
+ gboolean tray_dbus_server_check_running(gboolean toggle);
+ guint tray_dbus_server_new(GdkWindow *win);
+ void tray_dbus_server_destroy(guint owner_id);



  • [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (e3a0259a6a6d5ef1c7afab7e97a9715e30dbeffd), Vlad Glagolev, 07/22/2020

Archive powered by MHonArc 2.6.24.

Top of Page