Re: [Mageia-dev] Perl MIDI:ALSA module (package suggestion for Mageia)

2012-12-09 Thread tux99-mga
On Sun, 9 Dec 2012, Remy CLOUARD wrote:

 On Sat, Dec 08, 2012 at 02:43:47PM +0100, tux99-...@uridium.org wrote:
  Hi,
  If you are curious to see what can be done with the MIDI::ALSA Perl 
  module have a look at a program I wrote with it:
  http://www.yamahaforums.co.uk/forum/viewtopic.php?f=9t=5915
  
 Awesome !
 
 Up until now I used to use simple sysexxer to transfer sysex to my DX7.
 Editing patches on the DX7 is a major pain, because there is only one
 slider to adjust each parameter for all oscillators.
 Seems to me that this library will make it way easier to build apps that
 do what this app does for the RM50. (maybe you have plans to support
 other hardware ?)

Yes, IMHO this library together with Perl/Tk (or GTK2-Perl if you 
prefer) for the GUI makes it very easy to write apps like this one, I 
have very little programming experience and I still managed to write 
this in a few weeks in my spare time (I did have basic Perl scripting 
experience but had never written such large GUI based app before).
 
I might write similar apps for other synths I own in future but I don't 
own a DX7 (great synth!) so can't support that one.

Regards,
Andy



[Mageia-dev] Perl MIDI:ALSA module (package suggestion for Mageia)

2012-12-08 Thread tux99-mga
Hi,
Thanks to Peter Billam there is now a Perl module that gives Perl 
complete access to the ALSA MIDI library therefore allowing to easily 
create programs in Perl that inteface with MIDI capable synthesizers.

I have packaged up this Perl module for Centos 6 and I think it should 
be straightforward to port the Centos 6 spec-file to Mageia, but since 
I'm not a Mageia packager (and can't be due to lack of time) I wanted to 
bring this to your attention with the hope that a Mageia packager picks 
this up and adds this very useful package to Mageia. 

Here are the Centos 6 files:

Spec-file:
http://pkgrepo.linuxtech.net/el6/testing/spec-files/perl-MIDI-ALSA.spec

Source RPM:
http://pkgrepo.linuxtech.net/el6/testing/source/perl-MIDI-ALSA-1.16-1.el6.src.rpm

Binary RPMS:
http://pkgrepo.linuxtech.net/el6/testing/i686/perl-MIDI-ALSA-1.16-1.el6.i686.rpm
http://pkgrepo.linuxtech.net/el6/testing/x86_64/perl-MIDI-ALSA-1.16-1.el6.x86_64.rpm

If you are curious to see what can be done with the MIDI::ALSA Perl 
module have a look at a program I wrote with it:
http://www.yamahaforums.co.uk/forum/viewtopic.php?f=9t=5915

Regards,
Andy



Re: [Mageia-dev] Perl MIDI:ALSA module (package suggestion for Mageia)

2012-12-08 Thread Shlomi Fish
Hi tux99,

On Sat, 8 Dec 2012 14:43:47 +0100 (CET)
tux99-...@uridium.org wrote:

 Hi,
 Thanks to Peter Billam there is now a Perl module that gives Perl 
 complete access to the ALSA MIDI library therefore allowing to easily 
 create programs in Perl that inteface with MIDI capable synthesizers.
 
 I have packaged up this Perl module for Centos 6 and I think it should 
 be straightforward to port the Centos 6 spec-file to Mageia, but since 
 I'm not a Mageia packager (and can't be due to lack of time) I wanted to 
 bring this to your attention with the hope that a Mageia packager picks 
 this up and adds this very useful package to Mageia. 
 

I now packaged your perl-MIDI-ALSA for Mageia Linux 3/Cauldron after some
Mageiaisation of the .spec file. Thanks!

If you wish to return the favour you can package Freecell Solver
( http://fc-solve.shlomifish.org/ ) for Fedora/CentOS. The .tar.bz2 already has
a built-in .spec and .spec.in and there's also a Mageia package for it here:

http://mirrors.kernel.org/mageia/distrib/cauldron/SRPMS/core/release/freecell-solver-3.14.1-1.mga3.src.rpm

I should note that it should better be made a suggests of the Fedora PySolFC
package, because it enhances it (see http://www.youtube.com/watch?v=hYdqNuX4WJc
). PySolFC recommends the following flags in build Freecell Solver:

--enable-max-num-freecells=8
--enable-max-num-stacks=20
--enable-max-num-initial-cards-per-stack=60

Translated into the new CMake build system, they are:

%cmake -DLOCALE_INSTALL_DIR=%{_datadir}/locale -DLIB_INSTALL_DIR=%{_libdir} \
-DMAX_NUM_FREECELLS=8 -DMAX_NUM_STACKS=20 -DMAX_NUM_INITIAL_CARDS_IN_A_STACK=60

I tried to set up a Fedora VM to prepare the package and test it, but Fedora
ran extremely slowly on my VirtualBox VM and I couldn't stand it (Mageia and
other Linux distributions as well as Windows and FreeBSD run fine on different
VMs). If anyone can she any light on this issue, I'll be grateful as well.

Regards,

Shlomi Fish

 Here are the Centos 6 files:
 
 Spec-file:
 http://pkgrepo.linuxtech.net/el6/testing/spec-files/perl-MIDI-ALSA.spec
 
 Source RPM:
 http://pkgrepo.linuxtech.net/el6/testing/source/perl-MIDI-ALSA-1.16-1.el6.src.rpm
 
 Binary RPMS:
 http://pkgrepo.linuxtech.net/el6/testing/i686/perl-MIDI-ALSA-1.16-1.el6.i686.rpm
 http://pkgrepo.linuxtech.net/el6/testing/x86_64/perl-MIDI-ALSA-1.16-1.el6.x86_64.rpm
 
 If you are curious to see what can be done with the MIDI::ALSA Perl 
 module have a look at a program I wrote with it:
 http://www.yamahaforums.co.uk/forum/viewtopic.php?f=9t=5915
 
 Regards,
 Andy
 



-- 
-
Shlomi Fish   http://www.shlomifish.org/
My Aphorisms - http://www.shlomifish.org/humour.html

Larry Wall has more dollars in the bank than in his Perl code.

Please reply to list if it's a mailing list post - http://shlom.in/reply .


Re: [Mageia-dev] Perl MIDI:ALSA module (package suggestion for Mageia)

2012-12-08 Thread tux99-mga
On Sat, 8 Dec 2012, Shlomi Fish wrote:
 
 I now packaged your perl-MIDI-ALSA for Mageia Linux 3/Cauldron after some
 Mageiaisation of the .spec file. Thanks!

That's great, thanks!

 If you wish to return the favour you can package Freecell Solver
 ( http://fc-solve.shlomifish.org/ ) for Fedora/CentOS. The .tar.bz2 already 
 has
 a built-in .spec and .spec.in and there's also a Mageia package for it here:

Unfortunately I'm not a Fedora user or packager at all, I only run a 
personal repo for EL6 (RHEL6/Centos6/SL6) specialised in Audio/Video 
packages which is quite popular among EL6 desktop users due to the fact 
that it has several A/V related packages no other EL6 repo has.

If you like I could add Freecell-Solver to my personal EL6 repo, but I 
don't think that would help much, it would probably get more attention 
in one of the large EL6 repos like EPEL.

Regards,
Andy



Re: [Mageia-dev] Perl MIDI:ALSA module (package suggestion for Mageia)

2012-12-08 Thread Shlomi Fish
Hi tux99,

On Sat, 8 Dec 2012 16:59:25 +0100 (CET)
tux99-...@uridium.org wrote:

 On Sat, 8 Dec 2012, Shlomi Fish wrote:
  
  I now packaged your perl-MIDI-ALSA for Mageia Linux 3/Cauldron after some
  Mageiaisation of the .spec file. Thanks!
 
 That's great, thanks!
 

You're welcome.

  If you wish to return the favour you can package Freecell Solver
  ( http://fc-solve.shlomifish.org/ ) for Fedora/CentOS. The .tar.bz2 already
  has a built-in .spec and .spec.in and there's also a Mageia package for it
  here:
 
 Unfortunately I'm not a Fedora user or packager at all, I only run a 
 personal repo for EL6 (RHEL6/Centos6/SL6) specialised in Audio/Video 
 packages which is quite popular among EL6 desktop users due to the fact 
 that it has several A/V related packages no other EL6 repo has.
 
 If you like I could add Freecell-Solver to my personal EL6 repo, but I 
 don't think that would help much, it would probably get more attention 
 in one of the large EL6 repos like EPEL.
 

Thanks for your work.

In any case, today I was able to successfully install and run a Fedora VM on my
laptop (which is more underpowered than the desktop machine), although I did a
few things differently like using a fixed-size VBox disk image and installing a
32-bit system. After that, and after installing some packages, I was able to
prepare a Fedora-friendly freecell-solver .src.rpm and submitted it here:

https://bugzilla.redhat.com/show_bug.cgi?id=885346

Another thing I considered doing in the Fedora VM was an install of the Oracle
RDBMS (which I was told was free for development purposes) and play with it
a little. Not sure I'll do that, but I might.

Regards,

Shlomi Fish   

-- 
-
Shlomi Fish   http://www.shlomifish.org/
List of Portability Libraries - http://shlom.in/port-libs

E‐mail, web feeds, and doing something productive — choose two.

Please reply to list if it's a mailing list post - http://shlom.in/reply .


Re: [Mageia-dev] Perl MIDI:ALSA module (package suggestion for Mageia)

2012-12-08 Thread Remy CLOUARD
On Sat, Dec 08, 2012 at 02:43:47PM +0100, tux99-...@uridium.org wrote:
 Hi,
 If you are curious to see what can be done with the MIDI::ALSA Perl 
 module have a look at a program I wrote with it:
 http://www.yamahaforums.co.uk/forum/viewtopic.php?f=9t=5915
 
 Regards,
 Andy
 
Awesome !

Up until now I used to use simple sysexxer to transfer sysex to my DX7.
Editing patches on the DX7 is a major pain, because there is only one
slider to adjust each parameter for all oscillators.
Seems to me that this library will make it way easier to build apps that
do what this app does for the RM50. (maybe you have plans to support
other hardware ?)

Thanks for bringing attention to this module, and thanks rindolf for
packaging it :)

Cheers,
-- 
Rémy CLOUARD
() ascii ribbon campaign - against html e-mail
/\ www.asciiribbon.org - against proprietary attachments