From 6ab32b73257048eb4397d4019f93746630b79453 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sun, 26 Jan 2025 10:56:08 +0100 Subject: [PATCH] rebuilt with specfile fixes [release 0.4.7-2mamba;Sat Jan 25 2025] --- lxmusic-0.4.5-libnotify-0.7.patch | 14 -------------- lxmusic.spec | 25 +++++++++++++------------ 2 files changed, 13 insertions(+), 26 deletions(-) delete mode 100644 lxmusic-0.4.5-libnotify-0.7.patch diff --git a/lxmusic-0.4.5-libnotify-0.7.patch b/lxmusic-0.4.5-libnotify-0.7.patch deleted file mode 100644 index bd73541..0000000 --- a/lxmusic-0.4.5-libnotify-0.7.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff -Nru lxmusic-0.4.5.orig/src/lxmusic-notify.c lxmusic-0.4.5/src/lxmusic-notify.c ---- lxmusic-0.4.5.orig/src/lxmusic-notify.c 2012-05-20 00:09:58.000000000 +0200 -+++ lxmusic-0.4.5/src/lxmusic-notify.c 2012-07-30 00:06:53.499831208 +0200 -@@ -84,9 +84,8 @@ - else - g_string_append( message, title ); - struct _LXMusicNotification *lxn = g_new ( struct _LXMusicNotification, 1); -- lxn->notify = notify_notification_new (summary, message->str, NULL, NULL); -+ lxn->notify = notify_notification_new (summary, message->str, NULL); - notify_notification_set_urgency (lxn->notify, NOTIFY_URGENCY_NORMAL); -- notify_notification_attach_to_status_icon( lxn->notify, status_icon ); - notify_notification_set_timeout (lxn->notify, NOTIFY_EXPIRES_DEFAULT); - g_string_free( message, TRUE ); - return lxn; diff --git a/lxmusic.spec b/lxmusic.spec index 27ee802..1adf178 100644 --- a/lxmusic.spec +++ b/lxmusic.spec @@ -1,27 +1,26 @@ %define majver %(echo %version | cut -d. -f1-2) Name: lxmusic Version: 0.4.7 -Release: 1mamba -Summary: LXMusic - The minimalist music player for LXDE. +Release: 2mamba +Summary: LXMusic - The minimalist music player for LXDE Group: Graphical Desktop/Applications/Multimedia Vendor: openmamba Distribution: openmamba -Packager: Fabio Giani +Packager: Silvan Calarco URL: http://www.lxde.org/ Source: http://downloads.sourceforge.net/project/lxde/LXMusic%20%28music%20player%29/LXMusic%20%{majver}.x/lxmusic-%{version}.tar.xz -Patch0: %{name}-0.4.2-no-tools-menu.patch -Patch1: %{name}-0.4.5-libnotify-0.7.patch +Patch0: lxmusic-0.4.2-no-tools-menu.patch License: GPL -BuildRoot: %{_tmppath}/%{name}-%{version}-root ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel -BuildRequires: libatk-devel +BuildRequires: libat-spi2-core-devel BuildRequires: libcairo-devel BuildRequires: libfontconfig-devel BuildRequires: libfreetype-devel BuildRequires: libgdk-pixbuf-devel BuildRequires: libglib-devel BuildRequires: libgtk2-devel +BuildRequires: libharfbuzz-devel BuildRequires: libnotify-devel BuildRequires: libpango-devel BuildRequires: libxmms2-devel @@ -34,10 +33,8 @@ It has very few functionality, and can do nothing more than play the music. The This is currently aimed to be used as the default music player of LXDE (Lightweight X11 Desktop Environment) project. %prep - %setup -q -%patch0 -p1 -#%patch1 -p1 +%patch 0 -p1 %build %configure @@ -56,13 +53,17 @@ This is currently aimed to be used as the default music player of LXDE (Lightwei %defattr(-,root,root) %{_bindir}/%{name} %{_datadir}/applications/lxmusic.desktop -%{_datadir}/lxmusic +%dir %{_datadir}/lxmusic +%{_datadir}/lxmusic/* %{_datadir}/pixmaps/lxmusic.png -%{_mandir}/man1/lxmusic.1.gz +%{_mandir}/man1/lxmusic.1* %doc AUTHORS COPYING # README %changelog +* Sat Jan 25 2025 Silvan Calarco 0.4.7-2mamba +- rebuilt with specfile fixes + * Sun Feb 21 2016 Automatic Build System 0.4.7-1mamba - automatic version update by autodist