blob: db1e6b7d9b53f81d304504068e9bcb10af5c8198 (
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
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mageia-dev] need some more help to build rpms from linuxsampler project
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20need%20some%20more%20help%20to%20build%20rpms%20from%0A%09linuxsampler%20project&In-Reply-To=%3Ck49hce%24840%241%40ger.gmane.org%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="018892.html">
<LINK REL="Next" HREF="019055.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-dev] need some more help to build rpms from linuxsampler project</H1>
<B>PhilippeDidier</B>
<A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20need%20some%20more%20help%20to%20build%20rpms%20from%0A%09linuxsampler%20project&In-Reply-To=%3Ck49hce%24840%241%40ger.gmane.org%3E"
TITLE="[Mageia-dev] need some more help to build rpms from linuxsampler project">philippedidier at laposte.net
</A><BR>
<I>Sun Sep 30 15:27:48 CEST 2012</I>
<P><UL>
<LI>Previous message: <A HREF="018892.html">[Mageia-dev] need some help to build a linuxsampler.rpm
</A></li>
<LI>Next message: <A HREF="019055.html">[Mageia-dev] need some more help to build rpms from linuxsampler project
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#19052">[ date ]</a>
<a href="thread.html#19052">[ thread ]</a>
<a href="subject.html#19052">[ subject ]</a>
<a href="author.html#19052">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Barry Jackson a écrit :
><i> On 23/09/12 21:16, zezinho wrote:
</I>>><i>
</I>>><i> "svn export" gives a better tarball...
</I>>><i>
</I>><i> Yes - thanks for the correction - maybe even better to use:
</I>><i>
</I>><i> svn co <A HREF="https://svn.linuxsampler.org/svn/linuxsampler/trunk">https://svn.linuxsampler.org/svn/linuxsampler/trunk</A> linuxsampler
</I>><i> tar -czf linuxsampler.tar.gz linuxsampler/ --exclude-vcs
</I>><i>
</I>><i> .. which strips the svn stuff during tarball creation.
</I>><i> This way the tree may be updated if required.
</I>><i>
</I>@ Barry and Zezinho
Thanks to your help ...
Indeed I already used svn in the past...
Now that I created patches for the official source archive, (adding some
stuff in some makefile.in files) I tried to work on the last svn sources.
Indeed some upstream bugs are corrected ... everything can be built and
works fluently...
Nevertheless, I encounter a problem for building packages with the svn
source archives :
I have to add patches that only can be added on Makefile.in... and the
archive only contains makefile.cvs or makefile.svn
I have to create the makefile.in before to apply the patch
the command is : make -f makefile.cvs (or svn )
I can't add this line in the %setup part of the spec file
I can't add a patch command to modify the created Makefile.in in the
%build part of the spec file
So I have to first apply the command on a uncompressed source directory
then to compress again this directory in a new archived source file
Then I can use my spec and patches.
Is there a way to write a spec file so that we can apply patches after
the makefile.in are created ?
If not...
- Must I provide an attached srpm in bugzilla (maybe too huge)
- Or is it enough to attach a spec file (telling which svn revision I
use) letting anyone interested prepares himself the adequate archive
(that's to say :
uncompress the tar.gz,
open a console,
enter the uncompressed directory,
enter make -f makefile.cvs
compress the modified directory into tar.bz2 to prevent from confusion )
and then use the spec (looking for a tar.bz2 source)
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="018892.html">[Mageia-dev] need some help to build a linuxsampler.rpm
</A></li>
<LI>Next message: <A HREF="019055.html">[Mageia-dev] need some more help to build rpms from linuxsampler project
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#19052">[ date ]</a>
<a href="thread.html#19052">[ thread ]</a>
<a href="subject.html#19052">[ subject ]</a>
<a href="author.html#19052">[ 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>
|