pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/csound5 switch to fltk 1.3. fix build. bump pk...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/693c40a0e84d
branches:  trunk
changeset: 404092:693c40a0e84d
user:      mrg <mrg%pkgsrc.org@localhost>
date:      Wed Nov 06 11:56:56 2019 +0000

description:
switch to fltk 1.3.  fix build.  bump pkgversion.

diffstat:

 audio/csound5/Makefile                 |   8 +++---
 audio/csound5/PLIST                    |   3 +-
 audio/csound5/distinfo                 |   4 +-
 audio/csound5/patches/patch-install.py |  45 ++++++++++++++++++---------------
 4 files changed, 32 insertions(+), 28 deletions(-)

diffs (230 lines):

diff -r 86da139ba0da -r 693c40a0e84d audio/csound5/Makefile
--- a/audio/csound5/Makefile    Wed Nov 06 11:55:12 2019 +0000
+++ b/audio/csound5/Makefile    Wed Nov 06 11:56:56 2019 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.43 2019/04/25 07:32:34 maya Exp $
+# $NetBSD: Makefile,v 1.44 2019/11/06 11:56:56 mrg Exp $
 
 DISTNAME=              Csound${CSOUND_VERSION}
 PKGNAME=               csound5-${CSOUND_VERSION}
-PKGREVISION=           2
+PKGREVISION=           3
 CATEGORIES=            audio
 MASTER_SITES=          ${MASTER_SITE_SOURCEFORGE:=csound/csound5/csound5.19/}
 WRKSRC=                        ${WRKDIR}/Csound${CSOUND_VERSION}
@@ -44,13 +44,13 @@
                install.py --prefix=${PREFIX} --instdir=${DESTDIR}
        cd ${DESTDIR}${PREFIX} && ${LN} -s ../lib/csound5/csound bin/csound5
 
-.include "../../audio/fluidsynth/buildlink3.mk"
+#.include "../../audio/fluidsynth/buildlink3.mk"
 .include "../../audio/libsndfile/buildlink3.mk"
 PYTHON_FOR_BUILD_ONLY= yes
 .include "../../devel/scons/buildlink3.mk"
 .include "../../mk/jpeg.buildlink3.mk"
 .include "../../graphics/png/buildlink3.mk"
 .include "../../lang/python/application.mk"
-.include "../../x11/fltk/buildlink3.mk"
+.include "../../x11/fltk13/buildlink3.mk"
 .include "../../mk/pthread.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 86da139ba0da -r 693c40a0e84d audio/csound5/PLIST
--- a/audio/csound5/PLIST       Wed Nov 06 11:55:12 2019 +0000
+++ b/audio/csound5/PLIST       Wed Nov 06 11:56:56 2019 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2014/02/13 10:10:06 mrg Exp $
+@comment $NetBSD: PLIST,v 1.6 2019/11/06 11:56:56 mrg Exp $
 bin/csound5
 include/csound5/CppSound.hpp
 include/csound5/CsoundFile.hpp
@@ -47,7 +47,6 @@
 lib/csound5/plugins/libcsladspa.so
 lib/csound5/plugins/libdoppler.so
 lib/csound5/plugins/libfareygen.so
-lib/csound5/plugins/libfluidOpcodes.so
 lib/csound5/plugins/libfractalnoise.so
 lib/csound5/plugins/libimage.so
 lib/csound5/plugins/libmixer.so
diff -r 86da139ba0da -r 693c40a0e84d audio/csound5/distinfo
--- a/audio/csound5/distinfo    Wed Nov 06 11:55:12 2019 +0000
+++ b/audio/csound5/distinfo    Wed Nov 06 11:56:56 2019 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.14 2019/01/02 18:29:14 tnn Exp $
+$NetBSD: distinfo,v 1.15 2019/11/06 11:56:56 mrg Exp $
 
 SHA1 (Csound5.19.01.tar.gz) = eeeb3591745c5b352b9040a2dfa3805f22f5fbda
 RMD160 (Csound5.19.01.tar.gz) = ceb9952d562c57b09143a47a4d51081753f1b694
@@ -23,4 +23,4 @@
 SHA1 (patch-ao) = 83a028f92ef743072728376cf4ddc79ef3d46381
 SHA1 (patch-custom.py.mkg) = ef45464105e7d7bc8ad2401d1b19f521e12333ca
 SHA1 (patch-frontends_beats_main.c) = 5de77ee83be93120a93b86b755d767c46c58fcdf
-SHA1 (patch-install.py) = 98397ed54f1afb1551a4d82492e020842ee4dee1
+SHA1 (patch-install.py) = 7e17e5a42e7097f232abe530e3f738cc72fc6b0a
diff -r 86da139ba0da -r 693c40a0e84d audio/csound5/patches/patch-install.py
--- a/audio/csound5/patches/patch-install.py    Wed Nov 06 11:55:12 2019 +0000
+++ b/audio/csound5/patches/patch-install.py    Wed Nov 06 11:56:56 2019 +0000
@@ -1,9 +1,11 @@
-$NetBSD: patch-install.py,v 1.3 2019/01/02 18:29:14 tnn Exp $
+$NetBSD: patch-install.py,v 1.4 2019/11/06 11:56:56 mrg Exp $
 
 python 3.x support
 
---- install.py.orig    2013-01-07 12:49:35.000000000 +0000
-+++ install.py
+don't fake-conflict with csound6.
+
+--- install.py.orig    2013-01-07 04:49:35.000000000 -0800
++++ install.py 2019-11-06 03:43:25.554498784 -0800
 @@ -3,7 +3,6 @@
  import sys
  import os
@@ -12,7 +14,7 @@
  import time
  
  # get Python version
-@@ -28,13 +27,14 @@ exeFiles1 = ['csound', 'csound5gui', 'Cs
+@@ -28,13 +27,14 @@
               'scsort', 'extract', 'cs', 'csb64enc', 'makecsd', 'scot']
  
  exeFiles2 = ['brkpt', 'linseg', 'tabdes']
@@ -29,7 +31,7 @@
  
  prefix = '/usr/local'
  instDir = '/'
-@@ -47,14 +47,14 @@ md5Name = 'csound5-%s.md5sums' % time.st
+@@ -47,14 +47,14 @@
  word64Suffix = ''
  
  def printUsage():
@@ -52,7 +54,7 @@
  
  # parse command line options
  
-@@ -73,10 +73,10 @@ if sys.argv.__len__() > 1:
+@@ -73,10 +73,10 @@
              word64Suffix = '64'
          else:
              printUsage()
@@ -65,7 +67,7 @@
  
  # concatenates a list of directory names,
  # and returns full path without a trailing '/'
-@@ -96,15 +96,15 @@ def concatPath(lst):
+@@ -96,15 +96,15 @@
      return s
  
  # frontends
@@ -86,7 +88,7 @@
  # XMG files
  xmgDir      = concatPath([prefix, '/share/locale'])
  # documentation
-@@ -128,7 +128,7 @@ def runCmd(args):
+@@ -128,7 +128,7 @@
  
  def makeDir(dirName):
      try:
@@ -95,7 +97,7 @@
      except:
          pass
  
-@@ -158,9 +158,9 @@ def installFile_(src, dst, perm, stripMo
+@@ -158,9 +158,9 @@
          err = runCmd(['strip', stripMode, fullName])
      if err == 0:
          addMD5(fullName, fileName)
@@ -107,7 +109,7 @@
      return err
  
  def installFile(src, dst):
-@@ -195,9 +195,9 @@ def installLink(src, dst):
+@@ -195,9 +195,9 @@
              addMD5(concatPath([instDir, src]), linkName)
          else:
              addMD5(concatPath([instDir, linkName]), linkName)
@@ -119,9 +121,12 @@
      return err
  
  def findFiles(dir, pat):
-@@ -220,28 +220,28 @@ makeDir(concatPath([binDir]))
+@@ -218,30 +218,30 @@
+ 
+ makeDir(concatPath([binDir]))
  installedBinaries = findFiles(concatPath([instDir, binDir]), '.+')
- if ('csound' in installedBinaries) or ('csound64' in installedBinaries):
+-if ('csound' in installedBinaries) or ('csound64' in installedBinaries):
++if ('csound5' in installedBinaries) or ('csound64' in installedBinaries):
      if 'uninstall-csound5' in installedBinaries:
 -        print ' *** WARNING: found an already existing installation of Csound'
 +        print(' *** WARNING: found an already existing installation of Csound')
@@ -157,7 +162,7 @@
  for i in exeFiles1:
      if findFiles('.', i).__len__() > 0:
          err = installXFile('--strip-unneeded', i, binDir)
-@@ -253,7 +253,7 @@ for i in exeFiles2:
+@@ -253,7 +253,7 @@
  
  # copy libraries
  
@@ -166,7 +171,7 @@
  libList = findFiles('.', 'libcsound\\.a')
  libList += findFiles('.', 'libcsound64\\.a')
  libList += findFiles('.', 'libcsound\\.so\\..+')
-@@ -280,7 +280,7 @@ for i in libList:
+@@ -280,7 +280,7 @@
  
  # copy plugin libraries
  
@@ -175,7 +180,7 @@
  if not useDouble:
      pluginDir = pluginDir32
  else:
-@@ -297,13 +297,13 @@ for i in pluginList:
+@@ -297,13 +297,13 @@
  
  # copy header files
  
@@ -191,7 +196,7 @@
  wrapperList = [['csnd\\.py', '0', pythonDir],
                 ['loris\\.py', '0', pythonDir],
                 ['CsoundVST\\.py', '0', pythonDir],
-@@ -327,7 +327,7 @@ for i in wrapperList:
+@@ -327,7 +327,7 @@
  
  # copy XMG files
  
@@ -200,7 +205,7 @@
  xmgList = findFiles('.', '.+\\.xmg')
  if xmgList.__len__() > 0:
      err = installFiles(xmgList, xmgDir)
-@@ -341,34 +341,34 @@ else:
+@@ -341,34 +341,34 @@
      err = runCmd(['install', '-p', '-m', '0644', src, fileName])
      if err == 0:
          addMD5(fileName, fileName)
@@ -243,7 +248,7 @@
      rawWaveFiles = []
      for fName in os.listdir('./Opcodes/stk/rawwaves'):
          if re.match('^.*\.raw$', fName) != None:
-@@ -397,11 +397,11 @@ try:
+@@ -397,11 +397,11 @@
  except:
      pdDir = ''
  if pdDir != '':
@@ -257,7 +262,7 @@
          except:
              err = -1
      installErrors = installErrors or err
-@@ -409,7 +409,7 @@ if pdDir != '':
+@@ -409,7 +409,7 @@
  # copy VIM files if enabled
  
  if vimDir != '':
@@ -266,7 +271,7 @@
      err = installXFile('', 'installer/misc/vim/cshelp', binDir)
      installErrors = installErrors or err
      err = installFile('installer/misc/vim/csound.vim',
-@@ -420,71 +420,31 @@ if vimDir != '':
+@@ -420,71 +420,31 @@
                            '%s/%s' % (vimDir, 'syntax'))
          installErrors = installErrors or err
  



Home | Main Index | Thread Index | Old Index