From f88d8b1ab3e7d487ea1e9aabbc997f6cc08c5f89 Mon Sep 17 00:00:00 2001 From: 4fury-c3440d8 Date: Fri, 16 Apr 2021 18:50:40 +0300 Subject: [PATCH 1/3] xfce docklike plugin. --- .../addon/xfce4-docklike-plugin/actions.py | 25 +++++++ .../addon/xfce4-docklike-plugin/pspec.xml | 68 +++++++++++++++++++ 2 files changed, 93 insertions(+) create mode 100644 desktop/xfce/addon/xfce4-docklike-plugin/actions.py create mode 100644 desktop/xfce/addon/xfce4-docklike-plugin/pspec.xml diff --git a/desktop/xfce/addon/xfce4-docklike-plugin/actions.py b/desktop/xfce/addon/xfce4-docklike-plugin/actions.py new file mode 100644 index 0000000000..6335ce1a17 --- /dev/null +++ b/desktop/xfce/addon/xfce4-docklike-plugin/actions.py @@ -0,0 +1,25 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file https://www.gnu.org/licenses/gpl-3.0.txt + +#from pisi.actionsapi import shelltools +from pisi.actionsapi import autotools +from pisi.actionsapi import pisitools +from pisi.actionsapi import get + +def setup(): +# shelltools.system("NOCONFIGURE=1 ./autogen.sh") + autotools.configure() + + pisitools.dosed("libtool", " -shared ", " -Wl,--as-needed -shared ") + +def build(): + autotools.make() + +def install(): + autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + + pisitools.dodoc("AUTHORS") + diff --git a/desktop/xfce/addon/xfce4-docklike-plugin/pspec.xml b/desktop/xfce/addon/xfce4-docklike-plugin/pspec.xml new file mode 100644 index 0000000000..34792cfbeb --- /dev/null +++ b/desktop/xfce/addon/xfce4-docklike-plugin/pspec.xml @@ -0,0 +1,68 @@ + + + + + xfce4-docklike-plugin + https://github.com/nsz32/docklike-plugin + + fury + wascheme@tuta.io + + GPLv3 + library + desktop.xfce.addon + A Dock-like Taskbar Plugin for XFCE. + + A modern, docklike, minimalist taskbar for XFCE. + + + https://github.com/davekeogh/xfce4-docklike-plugin/releases/download/v0.2.0/xfce4-docklike-plugin-0.2.0.tar.xz + + + intltool + gtk3-devel + cairo-devel + libX11-devel + libwnck3-devel + xfce4-dev-tools + libxfce4ui-devel + xfce4-panel-devel + + + + + xfce4-docklike-plugin + + atk + gtk3 + cairo + glib2 + pango + libX11 + libgcc + harfbuzz + libwnck3 + gdk-pixbuf + libxfce4ui + xfce4-panel + libxfce4util + + + /usr/lib + /usr/share + /usr/share/locale + /usr/share/doc + + + + + + 2021-04-02 + 0.2.0 + First release from David Keogh. + wascheme@tuta.io + fury + + + + From a45827e81d360ce8987c4923ee1aafe3476b536b Mon Sep 17 00:00:00 2001 From: 4fury-c3440d8 Date: Fri, 16 Apr 2021 18:52:24 +0300 Subject: [PATCH 2/3] xfce4-verve-plugin. --- .../xfce/addon/xfce4-verve-plugin/actions.py | 23 +++++++ .../xfce/addon/xfce4-verve-plugin/pspec.xml | 61 +++++++++++++++++++ 2 files changed, 84 insertions(+) create mode 100644 desktop/xfce/addon/xfce4-verve-plugin/actions.py create mode 100644 desktop/xfce/addon/xfce4-verve-plugin/pspec.xml diff --git a/desktop/xfce/addon/xfce4-verve-plugin/actions.py b/desktop/xfce/addon/xfce4-verve-plugin/actions.py new file mode 100644 index 0000000000..0e058c1bc2 --- /dev/null +++ b/desktop/xfce/addon/xfce4-verve-plugin/actions.py @@ -0,0 +1,23 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file https://www.gnu.org/licenses/gpl-3.0.txt + +from pisi.actionsapi import autotools +from pisi.actionsapi import pisitools +from pisi.actionsapi import get + +def setup(): + autotools.configure() + + pisitools.dosed("libtool", " -shared ", " -Wl,--as-needed -shared ") + +def build(): + autotools.make() + +def install(): + autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + + pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "NEWS", "THANKS") + diff --git a/desktop/xfce/addon/xfce4-verve-plugin/pspec.xml b/desktop/xfce/addon/xfce4-verve-plugin/pspec.xml new file mode 100644 index 0000000000..d2688f04e4 --- /dev/null +++ b/desktop/xfce/addon/xfce4-verve-plugin/pspec.xml @@ -0,0 +1,61 @@ + + + + + xfce4-verve-plugin + https://docs.xfce.org/panel-plugins/xfce4-verve-plugin + + fury + wascheme@tuta.io + + GPLv2 + desktop.xfce.addon + library + Command line for Xfce panel. + The Verve panel plugin is a comfortable command line plugin for the Xfce panel. + + https://archive.xfce.org/src/panel-plugins/xfce4-verve-plugin/2.0/xfce4-verve-plugin-2.0.1.tar.bz2 + + + intltool + exo-devel + gtk3-devel + glib2-devel + xfconf-devel + libpcre-devel + libxfce4ui-devel + xfce4-panel-devel + + + + + xfce4-verve-plugin + + gtk3 + glib2 + xfconf + libX11 + libpcre + libxfce4ui + xfce4-panel + libxfce4util + + + /usr/lib + /usr/share + /usr/share/locale + /usr/share/doc + + + + + + 2021-04-10 + 2.0.1 + First Beta build. + fury + uglyside@yandex.ru + + + + From 86993490fadaeb0935ae18deff8f6a8e5ddaadbf Mon Sep 17 00:00:00 2001 From: 4fury-c3440d8 Date: Fri, 16 Apr 2021 18:53:26 +0300 Subject: [PATCH 3/3] xfce audio mixer. --- desktop/xfce/addon/xfce4-mixer/actions.py | 26 +++ .../files/Fix_obvious_build_errors.patch | 166 ++++++++++++++++++ desktop/xfce/addon/xfce4-mixer/pspec.xml | 77 ++++++++ .../xfce/addon/xfce4-mixer/translations.xml | 10 ++ 4 files changed, 279 insertions(+) create mode 100644 desktop/xfce/addon/xfce4-mixer/actions.py create mode 100644 desktop/xfce/addon/xfce4-mixer/files/Fix_obvious_build_errors.patch create mode 100644 desktop/xfce/addon/xfce4-mixer/pspec.xml create mode 100644 desktop/xfce/addon/xfce4-mixer/translations.xml diff --git a/desktop/xfce/addon/xfce4-mixer/actions.py b/desktop/xfce/addon/xfce4-mixer/actions.py new file mode 100644 index 0000000000..3e6e137d67 --- /dev/null +++ b/desktop/xfce/addon/xfce4-mixer/actions.py @@ -0,0 +1,26 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file https://www.gnu.org/licenses/gpl-3.0.txt + +from pisi.actionsapi import shelltools +from pisi.actionsapi import autotools +from pisi.actionsapi import pisitools +from pisi.actionsapi import get + +def setup(): + shelltools.system("NOCONFIGURE=1 ./autogen.sh") + autotools.configure("--prefix=/usr --enable-debug=yes --disable-static") + + # for fix unused dependency + pisitools.dosed("libtool"," -shared ", " -Wl,--as-needed -shared ") + +def build(): + autotools.make() + +def install(): + autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + + pisitools.dodoc("AUTHORS", "COPYING", "NEWS", "README") + diff --git a/desktop/xfce/addon/xfce4-mixer/files/Fix_obvious_build_errors.patch b/desktop/xfce/addon/xfce4-mixer/files/Fix_obvious_build_errors.patch new file mode 100644 index 0000000000..1903c301a3 --- /dev/null +++ b/desktop/xfce/addon/xfce4-mixer/files/Fix_obvious_build_errors.patch @@ -0,0 +1,166 @@ +From 2ce5d0624689411d06fd723e317a951de739ee1c Mon Sep 17 00:00:00 2001 +From: Alexander Molodtsov +Date: Wed, 17 Feb 2021 15:16:18 +0300 +Subject: [PATCH] Fix obvious build errors + +--- + libxfce4mixer/Makefile.am | 8 +++--- + libxfce4mixer/alsa/alsa-options.h | 2 +- + libxfce4mixer/libxfce4mixer.c | 8 ++++-- + libxfce4mixer/sndio/.dirstamp | 0 + panel-plugin/xfce-volume-button.c | 41 ++++++++++++++++++++----------- + 5 files changed, 37 insertions(+), 22 deletions(-) + delete mode 100644 libxfce4mixer/sndio/.dirstamp + +diff --git a/libxfce4mixer/Makefile.am b/libxfce4mixer/Makefile.am +index 625f99f..0426746 100644 +--- a/libxfce4mixer/Makefile.am ++++ b/libxfce4mixer/Makefile.am +@@ -85,24 +85,24 @@ libxfce4mixer_la_CFLAGS = \ + + if ALSA_BACKEND + libxfce4mixer_la_CFLAGS += \ +- -Ialsa \ ++ -I$(srcdir)/alsa \ + $(ALSA_CFLAGS) + endif + + if PULSE_BACKEND + libxfce4mixer_la_CFLAGS += \ +- -Ipulse \ ++ -I$(srcdir)/pulse \ + $(PULSE_CFLAGS) + endif + + if OSS_BACKEND + libxfce4mixer_la_CFLAGS += \ +- -Ioss ++ -I$(srcdir)/oss + endif + + if SNDIO_BACKEND + libxfce4mixer_la_CFLAGS += \ +- -Isndio ++ -I$(srcdir)/sndio + endif + libxfce4mixer_la_LDFLAGS = \ + -no-undefined +diff --git a/libxfce4mixer/alsa/alsa-options.h b/libxfce4mixer/alsa/alsa-options.h +index 083ab5e..5f836f8 100644 +--- a/libxfce4mixer/alsa/alsa-options.h ++++ b/libxfce4mixer/alsa/alsa-options.h +@@ -38,7 +38,7 @@ struct _GstMixerAlsaOptions + + struct _GstMixerAlsaOptionsClass + { +- GstMixerAlsaTrack parent; ++ GstMixerAlsaTrackClass parent; + }; + + GType gst_mixer_alsa_options_get_type (void); +diff --git a/libxfce4mixer/libxfce4mixer.c b/libxfce4mixer/libxfce4mixer.c +index f73ef95..3589ddb 100644 +--- a/libxfce4mixer/libxfce4mixer.c ++++ b/libxfce4mixer/libxfce4mixer.c +@@ -52,7 +52,8 @@ + + static void _xfce_mixer_init_mixer (gpointer data, + gpointer user_data); +-static void _xfce_mixer_destroy_mixer (GstMixer *mixer); ++static void _xfce_mixer_destroy_mixer (gpointer data, ++ gpointer user_data); + + + +@@ -451,8 +452,11 @@ _xfce_mixer_init_mixer (gpointer data, + + + static void +-_xfce_mixer_destroy_mixer (GstMixer *mixer) ++_xfce_mixer_destroy_mixer (gpointer data, ++ gpointer user_data) + { ++ GstMixer *mixer = GST_MIXER (data); ++ + gst_element_set_state (GST_ELEMENT (mixer), GST_STATE_NULL); + gst_object_unref (GST_OBJECT (mixer)); + } +diff --git a/libxfce4mixer/sndio/.dirstamp b/libxfce4mixer/sndio/.dirstamp +deleted file mode 100644 +index e69de29..0000000 +diff --git a/panel-plugin/xfce-volume-button.c b/panel-plugin/xfce-volume-button.c +index 0481a66..daee4d5 100644 +--- a/panel-plugin/xfce-volume-button.c ++++ b/panel-plugin/xfce-volume-button.c +@@ -624,9 +624,14 @@ xfce_volume_button_popup_dock (XfceVolumeButton *button) + GtkWidget *button_widget = GTK_WIDGET (button); + GtkOrientation orientation; + GtkRequisition dock_requisition; ++#if GTK_CHECK_VERSION(3, 22, 0) ++ GdkDisplay *display; ++ GdkMonitor *monitor; ++#else + GdkScreen *screen; +- GdkRectangle monitor; +- gint monitor_num; ++ gint monitor; ++#endif ++ GdkRectangle monitor_rect; + gint window_x; + gint window_y; + GdkWindow *window; +@@ -669,10 +674,16 @@ xfce_volume_button_popup_dock (XfceVolumeButton *button) + y += button_allocation.y; + + /* Determine the geometry of the monitor containing the window containing the button */ +- screen = gtk_widget_get_screen (button_widget); + window = gtk_widget_get_window (GTK_WIDGET (button)); +- monitor_num = gdk_screen_get_monitor_at_window (screen, window); +- gdk_screen_get_monitor_geometry (screen, monitor_num, &monitor); ++#if GTK_CHECK_VERSION(3, 22, 0) ++ display = gtk_widget_get_display (button_widget); ++ monitor = gdk_display_get_monitor_at_window (display, window); ++ gdk_monitor_get_geometry (monitor, &monitor_rect); ++#else ++ screen = gtk_widget_get_screen (button_widget); ++ monitor = gdk_screen_get_monitor_at_window (screen, window); ++ gdk_screen_get_monitor_geometry (screen, monitor, &monitor_rect); ++#endif + + /* Determine the position of the window containing the button */ + if (xfce_screen_position_is_top (button->screen_position)) +@@ -692,9 +703,9 @@ xfce_volume_button_popup_dock (XfceVolumeButton *button) + gdk_window_get_root_origin (window, &window_x, &window_y); + + if (button->screen_position == XFCE_SCREEN_POSITION_FLOATING_V) +- position = (window_x < (monitor.x + monitor.width / 2)) ? GTK_POS_RIGHT : GTK_POS_LEFT; ++ position = (window_x < (monitor_rect.x + monitor_rect.width / 2)) ? GTK_POS_RIGHT : GTK_POS_LEFT; + else +- position = (window_y < (monitor.y + monitor.height / 2)) ? GTK_POS_BOTTOM : GTK_POS_TOP; ++ position = (window_y < (monitor_rect.y + monitor_rect.height / 2)) ? GTK_POS_BOTTOM : GTK_POS_TOP; + } + + /* Place the dock centered on the correct edge of the button */ +@@ -721,14 +732,14 @@ xfce_volume_button_popup_dock (XfceVolumeButton *button) + } + + /* Ensure the dock remains on the monitor */ +- if (x > monitor.x + monitor.width - dock_requisition.width) +- x = monitor.x + monitor.width - dock_requisition.width; +- if (x < monitor.x) +- x = monitor.x; +- if (y > monitor.y + monitor.height - dock_requisition.height) +- y = monitor.y + monitor.height - dock_requisition.height; +- if (y < monitor.y) +- y = monitor.y; ++ if (x > monitor_rect.x + monitor_rect.width - dock_requisition.width) ++ x = monitor_rect.x + monitor_rect.width - dock_requisition.width; ++ if (x < monitor_rect.x) ++ x = monitor_rect.x; ++ if (y > monitor_rect.y + monitor_rect.height - dock_requisition.height) ++ y = monitor_rect.y + monitor_rect.height - dock_requisition.height; ++ if (y < monitor_rect.y) ++ y = monitor_rect.y; + + /* Position the dock */ + gtk_window_move (GTK_WINDOW (button->dock), x, y); diff --git a/desktop/xfce/addon/xfce4-mixer/pspec.xml b/desktop/xfce/addon/xfce4-mixer/pspec.xml new file mode 100644 index 0000000000..2dde048a82 --- /dev/null +++ b/desktop/xfce/addon/xfce4-mixer/pspec.xml @@ -0,0 +1,77 @@ + + + + + xfce4-mixer + http://git.xfce.org/apps/xfce4-mixer + + Ayhan Yalçınsoy + ayhanyalcinsoy@pisilinux.org + + GPL-2 + app:gui + Xfce sound mixer application. + Xfce4-mixer is a volume control application for the Xfce Desktop Environment. It provides both a volume control plugin for the Xfce Panel and a standalone mixer application. It supports all audio systems supported by GStreamer project. + + https://git.xfce.org/apps/xfce4-mixer/snapshot/xfce4-mixer-30f3baf8b08985b9f6ee0ccc1c96b328e64ea7f5.tar.gz + + + gtk3-devel + cairo-devel + xfconf-devel + alsa-lib-devel + libunique-devel + keybinder-devel + gstreamer-devel + xfce4-dev-tools + gdk-pixbuf-devel + libxfce4ui-devel + xfce4-panel-devel + libxfce4util-devel + pulseaudio-libs-devel + gst-plugins-base-devel + + + Fix_obvious_build_errors.patch + + + + + xfce4-mixer + + gtk3 + cairo + glib2 + xfconf + alsa-lib + gstreamer + keybinder + gdk-pixbuf + libxfce4ui + xfce4-panel + libxfce4util + pulseaudio-libs + + + /usr/bin + /usr/lib/xfce4/panel/plugins + /usr/share/locale + /usr/share/pixmaps + /usr/share/applications + /usr/share/xfce4 + /usr/share/doc + /usr/share/man + + + + + + 2021-03-31 + 4.15.0 + First Beta release. + fury + uglyside@yandex.ru + + + + diff --git a/desktop/xfce/addon/xfce4-mixer/translations.xml b/desktop/xfce/addon/xfce4-mixer/translations.xml new file mode 100644 index 0000000000..3c45f65671 --- /dev/null +++ b/desktop/xfce/addon/xfce4-mixer/translations.xml @@ -0,0 +1,10 @@ + + + + xfce4-mixer + Xfce ses ayar uygulaması + Mikser dźwięku dla Xfce + Xfce4-mixer, Xfce Masaüstü Ortamı için yazılmış bir ses ayar uygulamasıdır. Hem panel eklentisi olarak, hem de kendi penceresinde bağımsız olarak kullanılabilen bir uygulamadır. GStreamer projesinin desteklediği tüm ses sistemlerini destekler. + Jest to nakładka na ustawienia miksera, dostarczana ze środowiskiem graficznym Xfce. Spełnia to samo zadanie, co inne nakładki ale jest zintegrowana z Xfce4 jako wtyczka dla panelu Xfce + +