From 1be510f9529cb082f802408b472a77d074b394c0 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Sun, 14 Apr 2013 13:46:12 +0000 Subject: Add zarb MLs html archives --- zarb-ml/mageia-dev/2013-January/021133.html | 152 ++++++++++++++++++++++++++++ 1 file changed, 152 insertions(+) create mode 100644 zarb-ml/mageia-dev/2013-January/021133.html (limited to 'zarb-ml/mageia-dev/2013-January/021133.html') diff --git a/zarb-ml/mageia-dev/2013-January/021133.html b/zarb-ml/mageia-dev/2013-January/021133.html new file mode 100644 index 000000000..3d7d4bea9 --- /dev/null +++ b/zarb-ml/mageia-dev/2013-January/021133.html @@ -0,0 +1,152 @@ + + + + [Mageia-dev] Help with package + + + + + + + + + +

[Mageia-dev] Help with package

+ sardine + sardine213 at sfr.fr +
+ Fri Jan 4 13:11:05 CET 2013 +

+
+ +
Hi,
+
+This should work :
+
+pushd %{buildroot}%{_datadir}/%{name}/basewsw
+for i in *;
+do
+  file=`basename $i`
+  ln -sf %{_datadir}/%{name}/basewsw/$i  %{buildroot}%{gamelibdir}/basewsw/$file
+done
+popd
+
+
+
+
+
+========================================
+
+Message du : 03/01/2013 23:00
+De : "Juan Luis Baptiste " <juancho at mageia.org>
+A : "Mageia development mailing-list" <mageia-dev at mageia.org>
+Copie à : 
+Sujet : [Mageia-dev] Help with package
+
+
+Hi,
+
+I'm having a strange problem with warsow's package. To fix bug #8103 I need
+to symlink the game data contents from warsow-data into the same directory
+were the game libraries are located. The problem is that when I build the
+package in my local cauldron installation, the symlinks are correctly
+created, but when it's built by the BS they end up broken. I have tried two
+ways to create the symlinks, both work fine on my machine but not on the BS:
+
+ln -sf %{_datadir}/%{name}/basewsw/*  %{buildroot}%{gamelibdir}/basewsw
+
+or:
+
+for i in %{_datadir}/%{name}/basewsw/*;
+do
+  file=`basename $i`
+  ln -sf $i  %{buildroot}%{gamelibdir}/basewsw/$file
+done
+
+With any of those two ways in my machine the symlinks are correctly created:
+
+[root at cauldron-laptop cauldron]# ll /usr/lib64/games/warsow/basewsw/
+total 28
+lrwxrwxrwx 1 root root 47 Jan  3 16:42 configs ->
+../../../../../usr/share/warsow/basewsw/configs/
+lrwxrwxrwx 1 root root 52 Jan  3 16:42 data0_10.pk3 ->
+../../../../../usr/share/warsow/basewsw/data0_10.pk3
+lrwxrwxrwx 1 root root 56 Jan  3 16:42 data0_10pure.pk3 ->
+../../../../../usr/share/warsow/basewsw/data0_10pure.pk3
+lrwxrwxrwx 1 root root 52 Jan  3 16:42 data1_10.pk3 ->
+../../../../../usr/share/warsow/basewsw/data1_10.pk3
+[...]
+
+But on the BS this is the result:
+
+[root at localhost juancho]# ls -l /usr/lib64/games/warsow/basewsw/
+total 0
+lrwxrwxrwx 1 root root 41 Jan  3 11:13 * ->
+../../../../../usr/share/warsow/basewsw/*
+
+A broken link to '*'. What can be causing this ?
+
+Thanks.
+
+-- 
+Juancho
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

+ +
+More information about the Mageia-dev +mailing list
+ -- cgit v1.2.1