diff --git a/dssi-vst-wine1118.patch b/dssi-vst-wine1118.patch index 72b7040..1386fcf 100644 --- a/dssi-vst-wine1118.patch +++ b/dssi-vst-wine1118.patch @@ -10,3 +10,51 @@ diff -rupN dssi-vst-0.8.old/Makefile dssi-vst-0.8/Makefile install vsthost $(BINDIR) clean: +diff -rupN dssi-vst-0.8.old/remotevstclient.cpp dssi-vst-0.8/remotevstclient.cpp +--- dssi-vst-0.8.old/remotevstclient.cpp 2008-12-12 07:34:31.000000000 -0500 ++++ dssi-vst-0.8/remotevstclient.cpp 2009-06-02 22:37:21.000000000 -0400 +@@ -31,7 +31,7 @@ RemoteVSTClient::RemoteVSTClient(std::st + + const char *argStr = arg.c_str(); + +- // We want to run the dssi-vst-server script, which runs wine ++ // We want to run the dssi-vst-server.exe script, which runs wine + // dssi-vst-server.exe.so. We expect to find this script in the + // same subdirectory of a directory in the DSSI_PATH as a host + // would look for the GUI for this plugin: one called dssi-vst. +@@ -53,7 +53,7 @@ RemoteVSTClient::RemoteVSTClient(std::st + closedir(directory); + + struct stat st; +- std::string fileName = subDir + "/dssi-vst-server"; ++ std::string fileName = subDir + "/dssi-vst-server.exe"; + + if (stat(fileName.c_str(), &st)) { + continue; +@@ -293,7 +293,7 @@ RemoteVSTClient::queryPlugins(std::vecto + throw((std::string)"Failed to open FIFO"); + } + +- // We want to run the dssi-vst-scanner script, which runs wine ++ // We want to run the dssi-vst-scanner.exe script, which runs wine + // dssi-vst-scanner.exe.so. We expect to find this script in the + // same subdirectory of a directory in the DSSI_PATH as a host + // would look for the GUI for this plugin: one called dssi-vst. +@@ -316,7 +316,7 @@ RemoteVSTClient::queryPlugins(std::vecto + closedir(directory); + + struct stat st; +- std::string fileName = subDir + "/dssi-vst-scanner"; ++ std::string fileName = subDir + "/dssi-vst-scanner.exe"; + + if (stat(fileName.c_str(), &st)) { + continue; +@@ -351,7 +351,7 @@ RemoteVSTClient::queryPlugins(std::vecto + + if (!found) { + unlink(fifoFile); +- throw((std::string)"Failed to find dssi-vst-scanner executable"); ++ throw((std::string)"Failed to find dssi-vst-scanner.exe executable"); + } + + struct pollfd pfd; diff --git a/dssi-vst.spec b/dssi-vst.spec index 998114c..2ce78f1 100644 --- a/dssi-vst.spec +++ b/dssi-vst.spec @@ -1,14 +1,13 @@ Summary: VST plugins host Name: dssi-vst Version: 0.8 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv2 Group: Applications/Multimedia URL: http://dssi.sourceforge.net/ Source0: http://downloads.sourceforge.net/dssi/%{name}-%{version}.tar.gz Patch0: %{name}-gcc44.patch -# wine-g++ on wine-devel-1.1.18 (Fedora 11) creates executables with .exe suffix -# which makes the original "make install" fail: +# wine-g++ on wine-devel-1.1.18 (Fedora 11) creates executables with .exe suffix: Patch1: %{name}-wine1118.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root ExclusiveArch: %{ix86} x86_64 @@ -110,6 +109,9 @@ rm -rf %{buildroot} %endif %changelog +* Tue Jun 2 2009 Orcan Ogetbil - 0.8-3 +- Fix wine1118 patch + * Thu Apr 30 2009 Orcan Ogetbil - 0.8-2 - Make a ix86 only -wine subpackage