summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2011-October/009084.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-dev/2011-October/009084.html')
-rw-r--r--zarb-ml/mageia-dev/2011-October/009084.html241
1 files changed, 241 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2011-October/009084.html b/zarb-ml/mageia-dev/2011-October/009084.html
new file mode 100644
index 000000000..f606c7842
--- /dev/null
+++ b/zarb-ml/mageia-dev/2011-October/009084.html
@@ -0,0 +1,241 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Mageia-dev] Re : E17 packaging
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Re%20%3A%20%20E17%20packaging&In-Reply-To=%3C4EA40925.1090100%40arcor.de%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="009083.html">
+ <LINK REL="Next" HREF="009085.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-dev] Re : E17 packaging</H1>
+ <B>Florian Hubold</B>
+ <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Re%20%3A%20%20E17%20packaging&In-Reply-To=%3C4EA40925.1090100%40arcor.de%3E"
+ TITLE="[Mageia-dev] Re : E17 packaging">doktor5000 at arcor.de
+ </A><BR>
+ <I>Sun Oct 23 14:31:33 CEST 2011</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="009083.html">[Mageia-dev] Re : E17 packaging
+</A></li>
+ <LI>Next message: <A HREF="009085.html">[Mageia-dev] Re : Re : E17 packaging
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#9084">[ date ]</a>
+ <a href="thread.html#9084">[ thread ]</a>
+ <a href="subject.html#9084">[ subject ]</a>
+ <a href="author.html#9084">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>Am 23.10.2011 14:18, schrieb Philippe Reynes:
+&gt;<i> Thanks for this feedback,
+</I>&gt;<i>
+</I>&gt;<i> here the new eina.spec with all feedbacks :
+</I>&gt;<i>
+</I>&gt;<i> Index: eina/SPECS/eina.spec
+</I>&gt;<i> ===================================================================
+</I>&gt;<i> --- eina/SPECS/eina.spec (r&#233;vision 157379)
+</I>&gt;<i> +++ eina/SPECS/eina.spec (copie de travail)
+</I>&gt;<i> @@ -1,18 +1,32 @@
+</I>&gt;<i> %define major 1
+</I>&gt;<i> %define libname %mklibname %{name} %major
+</I>&gt;<i> %define libnamedev %mklibname %{name} -d
+</I>&gt;<i> +%define svn r64324
+</I>&gt;<i> +%define rel 1
+</I>&gt;<i> +%if %svn
+</I>&gt;<i> +%define release %mkrel -c %svn %rel
+</I>&gt;<i> +%else
+</I>&gt;<i> +%define release %mkrel %rel
+</I>&gt;<i> +%endif
+</I>&gt;<i> Summary: Data Type Library
+</I>&gt;<i> Name: eina
+</I>&gt;<i> -Version: 1.0.1
+</I>&gt;<i> -Release: %mkrel 2
+</I>&gt;<i> +Version: 1.1.0
+</I>&gt;<i> +Release: %{release}
+</I>&gt;<i> License: LGPLv2+
+</I>&gt;<i> Group: Graphical desktop/Enlightenment
+</I>&gt;<i> -Source: <A HREF="http://download.enlightenment.org/releases/%{name">http://download.enlightenment.org/releases/%{name</A>}-%{version}.tar.bz2
+</I>&gt;<i> -URL: <A HREF="http://www.enlightenment.org/">http://www.enlightenment.org/</A>
+</I>&gt;<i> +# creating archive is quite simple:
+</I>&gt;<i> +# svn co <A HREF="http://svn.enlightenment.org/svn/e/trunk/eina">http://svn.enlightenment.org/svn/e/trunk/eina</A> eina
+</I>&gt;<i> +# tar cJf eina-r&lt;svnrevision&gt;.tar.xz eina
+</I>&gt;<i> +%if %svn
+</I>&gt;<i> +Source: %name-%svn.tar.xz
+</I>&gt;<i> +%else
+</I>&gt;<i> +Source: <A HREF="http://download.enlightenment.org/releases/%name-%version.tar.bz2">http://download.enlightenment.org/releases/%name-%version.tar.bz2</A>
+</I>&gt;<i> +%endif
+</I>&gt;<i> +URL: <A HREF="http://trac.enlightenment.org/e/wiki/Eina">http://trac.enlightenment.org/e/wiki/Eina</A>
+</I>&gt;<i> %description
+</I>&gt;<i> -Eina is a data type library.
+</I>&gt;<i> +Eina is a core data structure and common utility library.
+</I>&gt;<i> %package -n %libname
+</I>&gt;<i> Summary: Libraries for the %{name} package
+</I>&gt;<i> @@ -32,10 +46,17 @@
+</I>&gt;<i> %{name} development headers and libraries.
+</I>&gt;<i> %prep
+</I>&gt;<i> -%setup -qn %{name}-%{version}
+</I>&gt;<i> +%if %svn
+</I>&gt;<i> +%setup -qn %name
+</I>&gt;<i> +%else
+</I>&gt;<i> +%setup -qn %name-%version
+</I>&gt;<i> +%endif
+</I>&gt;<i> %build
+</I>&gt;<i> -%configure2_5x
+</I>&gt;<i> +%if %svn
+</I>&gt;<i> +NOCONFIGURE=1 ./autogen.sh
+</I>&gt;<i> +%endif
+</I>&gt;<i> +%configure2_5x --disable-static
+</I>&gt;<i> %make
+</I>&gt;<i> %install
+</I>&gt;<i> @@ -44,18 +65,13 @@
+</I>&gt;<i> find %buildroot -name *.la | xargs rm
+</I>&gt;<i> -%clean
+</I>&gt;<i> -rm -fr %buildroot
+</I>&gt;<i> -
+</I>&gt;<i> %files -n %libname
+</I>&gt;<i> -%defattr(-,root,root)
+</I>&gt;<i> +%doc AUTHORS README
+</I>&gt;<i> %{_libdir}/*.so.%{major}*
+</I>&gt;<i> %files -n %libnamedev
+</I>&gt;<i> -%defattr(-,root,root)
+</I>&gt;<i> %{_libdir}/pkgconfig/*
+</I>&gt;<i> %{_libdir}/*.so
+</I>&gt;<i> -%{_libdir}/*.a
+</I>&gt;<i> %{_includedir}/*
+</I>&gt;<i>
+</I>&gt;<i> regards,
+</I>&gt;<i> trem
+</I>&gt;<i>
+</I>&gt;<i>
+</I>&gt;<i> -------------------------------------------------------------------------------
+</I>&gt;<i> *De :* Florian Hubold &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">doktor5000 at arcor.de</A>&gt;
+</I>&gt;<i> *&#192; :* <A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">mageia-dev at mageia.org</A>
+</I>&gt;<i> *Envoy&#233; le :* Dimanche 23 Octobre 2011 12h55
+</I>&gt;<i> *Objet :* Re: [Mageia-dev] E17 packaging
+</I>&gt;<i>
+</I>&gt;<i> Am 22.10.2011 14:29, schrieb Balcaen John:
+</I>&gt;<i> &gt; Le samedi 22 octobre 2011 14:10:53 Florian Hubold a &#233;crit :
+</I>&gt;<i> &gt; [...]
+</I>&gt;<i> &gt;&gt; Well, there are &quot;stable&quot; snapshots from time to time, but they are
+</I>&gt;<i> &gt;&gt; not done regularly. I'd say if we can make local builds of a newer SVN
+</I>&gt;<i> &gt;&gt; snapshot of the whole E17 before Mageia 2 alpha (i.e. in the next ~20 days)
+</I>&gt;<i> &gt;&gt; then we should at least try it.
+</I>&gt;<i> &gt;&gt;
+</I>&gt;<i> &gt;&gt; BTW: I'd remove the Source URL when only using snapshots or
+</I>&gt;<i> &gt;&gt; change the SPEC in a way that make using SVN snapshots possible
+</I>&gt;<i> &gt;&gt; by only changing a macro.
+</I>&gt;<i> &gt; That's was also suggested on irc :)
+</I>&gt;<i> &gt;
+</I>&gt;<i> &gt; Regards,
+</I>&gt;<i> &gt;
+</I>&gt;<i> So here's my try, feel free to comment:
+</I>&gt;<i> (Please don't care about the date format for now :) )
+</I>&gt;<i>
+</I>&gt;<i> $ svn diff
+</I>&gt;<i> Index: eina.spec
+</I>&gt;<i> ===================================================================
+</I>&gt;<i> --- eina.spec (Revision 157462)
+</I>&gt;<i> +++ eina.spec (Arbeitskopie)
+</I>&gt;<i> @@ -1,3 +1,13 @@
+</I>&gt;<i> +%define svndate 23102011
+</I>&gt;<i> +
+</I>&gt;<i> +%define svn r64322
+</I>&gt;<i> +%if %svn
+</I>&gt;<i> +%define rel 0.%{svn}svn.1
+</I>&gt;<i> +%else
+</I>&gt;<i> +%define rel 1
+</I>&gt;<i> +%endif
+</I>&gt;<i> +
+</I>&gt;<i> +
+</I>&gt;<i> %define major 1
+</I>&gt;<i> %define libname %mklibname %{name} %major
+</I>&gt;<i> %define libnamedev %mklibname %{name} -d
+</I>&gt;<i> @@ -4,11 +14,18 @@
+</I>&gt;<i>
+</I>&gt;<i> Summary: Data Type Library
+</I>&gt;<i> Name: eina
+</I>&gt;<i> -Version: 1.0.1
+</I>&gt;<i> -Release: %mkrel 2
+</I>&gt;<i> +Version: 1.0.999
+</I>&gt;<i> +Release: %mkrel %rel
+</I>&gt;<i> License: LGPLv2+
+</I>&gt;<i> Group: Graphical desktop/Enlightenment
+</I>&gt;<i> +# export latest svn checkout
+</I>&gt;<i> +# svn export <A HREF="http://svn.enlightenment.org/svn/e/trunk/%{name">http://svn.enlightenment.org/svn/e/trunk/%{name</A>}
+</I>&gt;<i> %{name}-svn-$(date +%d%m%Y)
+</I>&gt;<i> +%if %svn
+</I>&gt;<i> +Source: %{name}-svn-%svndate.tar.bz2
+</I>&gt;<i> +%else
+</I>&gt;<i> Source: <A HREF="http://download.enlightenment.org/releases/%{name">http://download.enlightenment.org/releases/%{name</A>}-%{version}.tar.bz2
+</I>&gt;<i> +%endif
+</I>&gt;<i> +
+</I>&gt;<i> URL: <A HREF="http://www.enlightenment.org/">http://www.enlightenment.org/</A>
+</I>&gt;<i>
+</I>&gt;<i> %description
+</I>&gt;<i> @@ -32,9 +49,17 @@
+</I>&gt;<i> %{name} development headers and libraries.
+</I>&gt;<i>
+</I>&gt;<i> %prep
+</I>&gt;<i> +%if %svn
+</I>&gt;<i> +%setup -qn %{name}-svn-%svndate
+</I>&gt;<i> +%else
+</I>&gt;<i> %setup -qn %{name}-%{version}
+</I>&gt;<i> +%endif
+</I>&gt;<i>
+</I>&gt;<i> +
+</I>&gt;<i> %build
+</I>&gt;<i> +%if %svn
+</I>&gt;<i> +./autogen.sh
+</I>&gt;<i> +%endif
+</I>&gt;<i> %configure2_5x
+</I>&gt;<i> %make
+</I>&gt;<i>
+</I>&gt;<i>
+</I>&gt;<i>
+</I>Don't do an svn checkout for such purposes, an svn export is much lighter
+and already excludes all the .svn internal VCS files. Also the version is not
+correct,
+eina is not at 1.1.0 as e17 is also not at version 0.17.
+</PRE>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="009083.html">[Mageia-dev] Re : E17 packaging
+</A></li>
+ <LI>Next message: <A HREF="009085.html">[Mageia-dev] Re : Re : E17 packaging
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#9084">[ date ]</a>
+ <a href="thread.html#9084">[ thread ]</a>
+ <a href="subject.html#9084">[ subject ]</a>
+ <a href="author.html#9084">[ 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>