[packages/yconsole] - fixes to add missing includes and disable stripping; release 4
qboosh
qboosh at pld-linux.org
Sat Oct 4 11:20:22 CEST 2025
commit b00027b6a314694feeb715434d528d0978aaefe5
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Oct 4 11:23:33 2025 +0200
- fixes to add missing includes and disable stripping; release 4
yconsole-includes.patch | 15 +++++++++++++++
yconsole-nostrip.patch | 14 ++++++++++++++
yconsole.spec | 9 +++++++--
3 files changed, 36 insertions(+), 2 deletions(-)
---
diff --git a/yconsole.spec b/yconsole.spec
index e7ebc36..9100922 100644
--- a/yconsole.spec
+++ b/yconsole.spec
@@ -2,11 +2,13 @@ Summary: yconsole - monitors & controls the Y sound server
Summary(pl.UTF-8): yconsole - monitorowanie i sterowanie serwerem dźwięku Y
Name: yconsole
Version: 3.4.6
-Release: 3
+Release: 4
License: GPL-like
Group: Applications/Sound
Source0: http://wolfsinger.com/~wolfpack/packages/%{name}-%{version}.tar.bz2
# Source0-md5: 923ddfedd38efa41a408d93ee6bd78ac
+Patch0: %{name}-includes.patch
+Patch1: %{name}-nostrip.patch
URL: http://freecode.com/projects/yconsole
BuildRequires: gtk+-devel >= 1.2.10
BuildRequires: imlib-devel
@@ -28,12 +30,15 @@ odtwarzać obiekty dźwiękowe i płyty CD-Audio.
%prep
%setup -q
+%patch -P0 -p1
+%patch -P1 -p1
%build
%{__make} -C yconsole \
CC="%{__cc}" \
CPP="%{__cxx}" \
- CFLAGS="%{rpmcflags} -Wall `imlib-config --cflags` -DHAVE_IMLIB `gtk-config --cflags`"
+ CFLAGS="%{rpmcflags} %{rpmcppflags} -Wall $(imlib-config --cflags) -DHAVE_IMLIB $(gtk-config --cflags)" \
+ LIBS="%{rpmldflags} -lY2 $(imlib-config --libs) $(gtk-config --libs)"
%install
rm -rf $RPM_BUILD_ROOT
diff --git a/yconsole-includes.patch b/yconsole-includes.patch
new file mode 100644
index 0000000..b59c18a
--- /dev/null
+++ b/yconsole-includes.patch
@@ -0,0 +1,15 @@
+--- yconsole-3.4.6/yconsole/dspview.c.orig 2009-03-05 06:00:00.000000000 +0100
++++ yconsole-3.4.6/yconsole/dspview.c 2025-10-04 10:32:03.354370775 +0200
+@@ -1,4 +1,5 @@
+ #include <gtk/gtk.h>
++#include <string.h>
+ #include "guiutils.h"
+ #include "dspview.h"
+
+--- yconsole-3.4.6/yconsole/conbar.c.orig 2009-03-05 06:00:00.000000000 +0100
++++ yconsole-3.4.6/yconsole/conbar.c 2025-10-04 10:32:58.484692122 +0200
+@@ -1,3 +1,4 @@
++#include <string.h>
+ #include <time.h>
+
+ #include <Y2/Y.h>
diff --git a/yconsole-nostrip.patch b/yconsole-nostrip.patch
new file mode 100644
index 0000000..411bcdb
--- /dev/null
+++ b/yconsole-nostrip.patch
@@ -0,0 +1,14 @@
+--- yconsole-3.4.6/yconsole/Makefile.install.UNIX.orig 2009-03-05 06:00:00.000000000 +0100
++++ yconsole-3.4.6/yconsole/Makefile.install.UNIX 2025-10-04 10:53:16.965113294 +0200
+@@ -9,9 +9,9 @@
+ #
+
+ INSTALL = install
+-INSTBINFLAGS = -m 0755 -s
++INSTBINFLAGS = -m 0755
+ INSTUIDFLAGS = -m 4755
+-INSTLIBFLAGS = -m 0755 -s
++INSTLIBFLAGS = -m 0755
+ INSTINCFLAGS = -m 0644
+ INSTMANFLAGS = -m 0644
+ INSTCFGFLAGS = -m 0644
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/yconsole.git/commitdiff/b00027b6a314694feeb715434d528d0978aaefe5
More information about the pld-cvs-commit
mailing list