summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2012-December/020658.html
blob: e37678e78a4d53aa522a84b0c8223894147273bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-dev] Perl MIDI:ALSA module (package suggestion for Mageia)
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Perl%20MIDI%3AALSA%20module%20%28package%20suggestion%20for%0A%20Mageia%29&In-Reply-To=%3C20121208164940.1c0d1985%40lap.shlomifish.org%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="020655.html">
   <LINK REL="Next"  HREF="020660.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-dev] Perl MIDI:ALSA module (package suggestion for Mageia)</H1>
    <B>Shlomi Fish</B> 
    <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Perl%20MIDI%3AALSA%20module%20%28package%20suggestion%20for%0A%20Mageia%29&In-Reply-To=%3C20121208164940.1c0d1985%40lap.shlomifish.org%3E"
       TITLE="[Mageia-dev] Perl MIDI:ALSA module (package suggestion for Mageia)">shlomif at shlomifish.org
       </A><BR>
    <I>Sat Dec  8 15:49:40 CET 2012</I>
    <P><UL>
        <LI>Previous message: <A HREF="020655.html">[Mageia-dev] Perl MIDI:ALSA module (package suggestion for Mageia)
</A></li>
        <LI>Next message: <A HREF="020660.html">[Mageia-dev] Perl MIDI:ALSA module (package suggestion for Mageia)
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#20658">[ date ]</a>
              <a href="thread.html#20658">[ thread ]</a>
              <a href="subject.html#20658">[ subject ]</a>
              <a href="author.html#20658">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>Hi tux99,

On Sat, 8 Dec 2012 14:43:47 +0100 (CET)
<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">tux99-mga at uridium.org</A> wrote:

&gt;<i> Hi,
</I>&gt;<i> Thanks to Peter Billam there is now a Perl module that gives Perl 
</I>&gt;<i> complete access to the ALSA MIDI library therefore allowing to easily 
</I>&gt;<i> create programs in Perl that inteface with MIDI capable synthesizers.
</I>&gt;<i> 
</I>&gt;<i> I have packaged up this Perl module for Centos 6 and I think it should 
</I>&gt;<i> be straightforward to port the Centos 6 spec-file to Mageia, but since 
</I>&gt;<i> I'm not a Mageia packager (and can't be due to lack of time) I wanted to 
</I>&gt;<i> bring this to your attention with the hope that a Mageia packager picks 
</I>&gt;<i> this up and adds this very useful package to Mageia. 
</I>&gt;<i> 
</I>
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
( <A HREF="http://fc-solve.shlomifish.org/">http://fc-solve.shlomifish.org/</A> ) 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:

<A HREF="http://mirrors.kernel.org/mageia/distrib/cauldron/SRPMS/core/release/freecell-solver-3.14.1-1.mga3.src.rpm">http://mirrors.kernel.org/mageia/distrib/cauldron/SRPMS/core/release/freecell-solver-3.14.1-1.mga3.src.rpm</A>

I should note that it should better be made a suggests of the Fedora PySolFC
package, because it enhances it (see <A HREF="http://www.youtube.com/watch?v=hYdqNuX4WJc">http://www.youtube.com/watch?v=hYdqNuX4WJc</A>
). 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

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


-- 
-----------------------------------------------------------------
Shlomi Fish       <A HREF="http://www.shlomifish.org/">http://www.shlomifish.org/</A>
My Aphorisms - <A HREF="http://www.shlomifish.org/humour.html">http://www.shlomifish.org/humour.html</A>

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

Please reply to list if it's a mailing list post - <A HREF="http://shlom.in/reply">http://shlom.in/reply</A> .
</PRE>

































<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="020655.html">[Mageia-dev] Perl MIDI:ALSA module (package suggestion for Mageia)
</A></li>
	<LI>Next message: <A HREF="020660.html">[Mageia-dev] Perl MIDI:ALSA module (package suggestion for Mageia)
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#20658">[ date ]</a>
              <a href="thread.html#20658">[ thread ]</a>
              <a href="subject.html#20658">[ subject ]</a>
              <a href="author.html#20658">[ author ]</a>
         </LI>
       </UL>

<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev
mailing list</a><br>
</body></html>