[csw-devel] SF.net SVN: gar:[21211] csw/mgar/pkg

lblume at users.sourceforge.net lblume at users.sourceforge.net
Mon May 27 20:23:44 CEST 2013


Revision: 21211
          http://gar.svn.sourceforge.net/gar/?rev=21211&view=rev
Author:   lblume
Date:     2013-05-27 18:23:44 +0000 (Mon, 27 May 2013)
Log Message:
-----------
fluidsynth/trunk: Add Fluidsynth

Added Paths:
-----------
    csw/mgar/pkg/fluidsynth/
    csw/mgar/pkg/fluidsynth/Makefile
    csw/mgar/pkg/fluidsynth/branches/
    csw/mgar/pkg/fluidsynth/tags/
    csw/mgar/pkg/fluidsynth/trunk/
    csw/mgar/pkg/fluidsynth/trunk/Makefile
    csw/mgar/pkg/fluidsynth/trunk/checksums
    csw/mgar/pkg/fluidsynth/trunk/files/
    csw/mgar/pkg/fluidsynth/trunk/files/0001-translate_error-is-not-on-solaris.patch

Added: csw/mgar/pkg/fluidsynth/Makefile
===================================================================
--- csw/mgar/pkg/fluidsynth/Makefile	                        (rev 0)
+++ csw/mgar/pkg/fluidsynth/Makefile	2013-05-27 18:23:44 UTC (rev 21211)
@@ -0,0 +1,2 @@
+%:
+	$(MAKE) -C trunk $*


Property changes on: csw/mgar/pkg/fluidsynth/trunk
___________________________________________________________________
Added: svn:ignore
   + work


Added: csw/mgar/pkg/fluidsynth/trunk/Makefile
===================================================================
--- csw/mgar/pkg/fluidsynth/trunk/Makefile	                        (rev 0)
+++ csw/mgar/pkg/fluidsynth/trunk/Makefile	2013-05-27 18:23:44 UTC (rev 21211)
@@ -0,0 +1,52 @@
+# $Id$
+# TODO (release-critical prefixed with !, non release-critical with *)
+#
+NAME    = fluidsynth
+VERSION = 1.1.6
+GARTYPE = v2
+
+DESCRIPTION = A real-time software synthesizer based on the SoundFont 2 specifications. 
+define BLURB
+endef
+
+MASTER_SITES = $(SF_MIRRORS)
+DISTFILES  = $(DISTNAME).tar.gz
+
+PATCHFILES += 0001-translate_error-is-not-on-solaris.patch
+
+GARCOMPILER=GCC4
+
+BUILD64_LIBS_ONLY = 1
+
+PACKAGES += CSWfluidsynth
+CATALOGNAME_CSWfluidsynth = fluidsynth
+PKGFILES_CSWfluidsynth += $(bindir)/.*
+PKGFILES_CSWfluidsynth += $(mandir)/man.*
+SPKG_DESC_CSWfluidsynth += $(DESCRIPTION), fluidsynth
+RUNTIME_DEP_PKGS_CSWfluidsynth += CSWlibfluidsynth1
+
+PACKAGES += CSWlibfluidsynth1
+CATALOGNAME_CSWlibfluidsynth1 = libfluidsynth1
+PKGFILES_CSWlibfluidsynth1 += $(call baseisadirs,$(libdir),libfluidsynth\.so\.1\.5\.2)
+PKGFILES_CSWlibfluidsynth1 += $(call baseisadirs,$(libdir),libfluidsynth\.so\.1(\.\d+)*)
+SPKG_DESC_CSWlibfluidsynth1 += $(DESCRIPTION), libfluidsynth.so.1
+
+PACKAGES += CSWfluidsynth-dev
+CATALOGNAME_CSWfluidsynth-dev = fluidsynth_dev
+SPKG_DESC_CSWfluidsynth-dev += $(DESCRIPTION), development files
+# PKGFILES is catchall
+
+RUNTIME_DEP_PKGS_CSWlibfluidsynth1 += CSWlibdbus1-3
+RUNTIME_DEP_PKGS_CSWlibfluidsynth1 += CSWlibgcc-s1
+RUNTIME_DEP_PKGS_CSWlibfluidsynth1 += CSWlibglib2-0-0
+RUNTIME_DEP_PKGS_CSWlibfluidsynth1 += CSWlibsndfile
+RUNTIME_DEP_PKGS_CSWlibfluidsynth1 += CSWlibreadline6
+
+RUNTIME_DEP_PKGS_CSWfluidsynth-dev += CSWlibfluidsynth1
+
+EXTRA_CFLAGS = -Dsun
+
+CONFIGURE_ARGS = $(DIRPATHS)
+
+include gar/category.mk
+


Property changes on: csw/mgar/pkg/fluidsynth/trunk/Makefile
___________________________________________________________________
Added: svn:keywords
   + Id

Added: csw/mgar/pkg/fluidsynth/trunk/checksums
===================================================================
--- csw/mgar/pkg/fluidsynth/trunk/checksums	                        (rev 0)
+++ csw/mgar/pkg/fluidsynth/trunk/checksums	2013-05-27 18:23:44 UTC (rev 21211)
@@ -0,0 +1 @@
+ae5aca6de824b4173667cbd3a310b263  fluidsynth-1.1.6.tar.gz

Added: csw/mgar/pkg/fluidsynth/trunk/files/0001-translate_error-is-not-on-solaris.patch
===================================================================
--- csw/mgar/pkg/fluidsynth/trunk/files/0001-translate_error-is-not-on-solaris.patch	                        (rev 0)
+++ csw/mgar/pkg/fluidsynth/trunk/files/0001-translate_error-is-not-on-solaris.patch	2013-05-27 18:23:44 UTC (rev 21211)
@@ -0,0 +1,29 @@
+--- a/src/bindings/fluid_rtkit.c.original	Thu Aug 16 06:01:13 2012
++++ b/src/bindings/fluid_rtkit.c	Mon May 27 17:45:27 2013
+@@ -34,7 +34,7 @@
+ #include "fluid_rtkit.h"
+ 
+ 
+-#if defined(__linux__) || defined(__APPLE__)
++#if defined(__linux__) || defined(__APPLE__) 
+ 
+ #ifndef _GNU_SOURCE
+ #define _GNU_SOURCE
+@@ -47,7 +47,6 @@
+ #include <sys/syscall.h>
+ #include <sys/resource.h>
+ 
+-
+ static pid_t _gettid(void) {
+         return (pid_t) syscall(SYS_gettid);
+ }
+@@ -342,7 +341,9 @@
+ 	dbus_error_init(&error);
+ 	conn = dbus_bus_get_private(DBUS_BUS_SYSTEM, &error);
+ 	if (conn == NULL) {
++#if defined(__linux__) || defined(__APPLE__) 
+ 		res = translate_error(error.name);
++#endif
+         	dbus_error_free(&error);
+ 		return res;
+ 	}

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list