Re: [Mageia-dev] Dev Team Call To Action...

2011-02-11 Thread محمد طيلوني
Hi;

Sorry to be a bit late in answering, but I have been a bit busy.
I guess I can help out with PHP for mageia-app-db, so if there is some
more information about it and how to coordinate, count me in :)

Muhammad

-- 
هذه الرسالة بما تحتويه خاصةٌ بالمرسلة إليه. الرجاء اﻹتصال بي وحذفها مباشرةً في 
حال تم استلامها عن طريق الخطأ..



[Mageia-dev] Caution about using src.rpm from mdv since today

2011-02-11 Thread Dexter Morgan
Hi all,

now that rpm packages are migrated to use rpm5 file triggers please
double check before backporting mdv commits into mageia.


thanks in advance


Re: [Mageia-dev] Caution about using src.rpm from mdv since today

2011-02-11 Thread Michael Scherer
Le vendredi 11 février 2011 à 13:09 +0100, Dexter Morgan a écrit :
 Hi all,
 
 now that rpm packages are migrated to use rpm5 file triggers please
 double check before backporting mdv commits into mageia.

Can you be more explicit ? 
( because you explained on irc, but the problem seemed to be rather
limited, so I may have misunderstood )
-- 
Michael Scherer



Re: [Mageia-dev] Caution about using src.rpm from mdv since today

2011-02-11 Thread Dexter Morgan
On Fri, Feb 11, 2011 at 2:33 PM, Michael Scherer m...@zarb.org wrote:
 Le vendredi 11 février 2011 à 13:09 +0100, Dexter Morgan a écrit :
 Hi all,

 now that rpm packages are migrated to use rpm5 file triggers please
 double check before backporting mdv commits into mageia.

 Can you be more explicit ?
 ( because you explained on irc, but the problem seemed to be rather
 limited, so I may have misunderstood )
 --
 Michael Scherer



on rpms like gnome-icon-theme we have :

# automatic gtk icon cache update on rpm installs/removals
# (see http://wiki.mandriva.com/en/Rpm_filetriggers)
install -d %buildroot%{_var}/lib/rpm/filetriggers
cat  %buildroot%{_var}/lib/rpm/filetriggers/gtk-icon-cache-gnome.filter  EOF
^./usr/share/icons/gnome/
EOF
cat  %buildroot%{_var}/lib/rpm/filetriggers/gtk-icon-cache-gnome.script  EOF
#!/bin/sh
if [ -x /usr/bin/gtk-update-icon-cache ]; then
  /usr/bin/gtk-update-icon-cache --force --quiet /usr/share/icons/gnome
fi
EOF
chmod 755 %buildroot%{_var}/lib/rpm/filetriggers/gtk-icon-cache-gnome.script


If you don't know what a file trigger is :

Filetriggers allow to run some scripts when some file has been added or removed.

The typical use cases are:

updating /etc/ld.so.cache when some libraries have been
added/removed in /usr/lib or /lib
running update-menus to update menus of non-XDG compliant desktops
when some *.desktop have been added/removed in /usr/share/applications


Now this is handled differently in rpm5 so those filetriggers have been removed.

so if you plan to sync those rpms from mandriva to mageia :
uClibc
apache-conf
rarian
GConf2
php-pear
desktop-common-data
glibc
nspluginwrapper
desktop-file-utils
oxygen-icon-theme
vdr
grub2
ibus-table
nagios


PLEASE  TAKE CARE TO NOT REMOVE THE FILETRIGGERS AND NOT BACKPORT RPM5
NEW FILETRIGGER METHOD.


In a neat future ( rpm 4.9.0 ) we will remove some filetriggers from
our rpms because it will be handled. But this will have to be looked
in detail.

i hope that this time i explained better :)


Re: [Mageia-dev] Caution about using src.rpm from mdv since today

2011-02-11 Thread Michael Scherer
Le vendredi 11 février 2011 à 14:42 +0100, Dexter Morgan a écrit :

 
 If you don't know what a file trigger is :
 
 Filetriggers allow to run some scripts when some file has been added or 
 removed.
 
 The typical use cases are:
 
 updating /etc/ld.so.cache when some libraries have been
 added/removed in /usr/lib or /lib
 running update-menus to update menus of non-XDG compliant desktops
 when some *.desktop have been added/removed in /usr/share/applications

People can also look at http://wiki.mandriva.com/en/Rpm_filetriggers

 please take care to not remove the filetriggers and not backport rpm5 new 
 filetrigger method

Well, it use this :

 %triggerin -n common -- %_datadir/glib-2.0/schemas/*.xml

what happen when we push this to a regular rpm ( ie not rpm 5 ) system ?
rpm accept it, or it fail to compile ?

-- 
Michael Scherer



[Mageia-dev] build system tools

2011-02-11 Thread philippe makowski
Hi,

about the build system, with Mandriva we had ssh access to build boxes
under Fedora I can use fedpkg to either make a local build into a
clean chroot or to ask for a scratch-build on the build system from a
local srpm
(scratch-build from a local srpm is really nice when testing a new package)

will we have something similar soon ?


Re: [Mageia-dev] build system tools

2011-02-11 Thread Thierry Vignaud
On 11 February 2011 16:49, philippe makowski makowski.mag...@gmail.com wrote:
 Hi,

 about the build system, with Mandriva we had ssh access to build boxes
 under Fedora I can use fedpkg to either make a local build into a
 clean chroot or to ask for a scratch-build on the build system from a
 local srpm
 (scratch-build from a local srpm is really nice when testing a new package)

 will we have something similar soon ?

You could try setup iurt locally.
But we don't have access to mageia packages for now...
And Mandriva package might be harder to set up.

Else you can try to hack mock so that it calls urpmi rather than yum
and create your
own /etc/mock/mageia.cfg
But you'll hit the same problem : we don't have access to mageia repository yet


Re: [Mageia-dev] build system tools

2011-02-11 Thread Michael Scherer
Le vendredi 11 février 2011 à 16:49 +0100, philippe makowski a écrit :
 Hi,
 
 about the build system, with Mandriva we had ssh access to build boxes
 under Fedora I can use fedpkg to either make a local build into a
 clean chroot or to ask for a scratch-build on the build system from a
 local srpm
 (scratch-build from a local srpm is really nice when testing a new package)
 
 will we have something similar soon ?

We do have mgarepo and iurt, and I think e should aim to improves theses
tools. But there is no plan to have chroot for developpers in the short
term, as we lack servers ( and time ) for that. 

In the long term, yes, we will do something for that ( ie giving access
to build box ). For now, we plan to open the mirror soon now the first
part is complete, so people could at least install their own chroot/test
compute whatever.
-- 
Michael Scherer



Re: [Mageia-dev] build system tools

2011-02-11 Thread Pascal Terjan
On Fri, Feb 11, 2011 at 16:02, Michael Scherer m...@zarb.org wrote:
 Le vendredi 11 février 2011 à 16:49 +0100, philippe makowski a écrit :
 Hi,

 about the build system, with Mandriva we had ssh access to build boxes
 under Fedora I can use fedpkg to either make a local build into a
 clean chroot or to ask for a scratch-build on the build system from a
 local srpm
 (scratch-build from a local srpm is really nice when testing a new package)

 will we have something similar soon ?

 We do have mgarepo and iurt, and I think e should aim to improves theses
 tools. But there is no plan to have chroot for developpers in the short
 term, as we lack servers ( and time ) for that.

Building from a local src.rpm can probably be done (like in a lower
priority queue) but we need to see how long to keep the packages, how
much disk and bandwidth would be needed, etc. In the meantime doing a
local build using the same system (iurt) is easier given that you have
a fast enough mirror (and no download quota...).


Re: [Mageia-dev] build system tools

2011-02-11 Thread philippe makowski
2011/2/11 Michael Scherer m...@zarb.org:
  For now, we plan to open the mirror soon now the first
 part is complete, so people could at least install their own chroot/test
 compute whatever.
good news


2011/2/11 Pascal Terjan pter...@gmail.com:
 Building from a local src.rpm can probably be done (like in a lower
 priority queue) but we need to see how long to keep the packages, how
 much disk and bandwidth would be needed, etc.
yes I think that keeping them few hours could be enough

 In the meantime doing a
 local build using the same system (iurt) is easier given that you have
 a fast enough mirror (and no download quota...).

so I ( we ) just need a doc on the wiki to explain how to use iurt locally
I never managed to get it working myself :(