[Mageia-dev] Slow gnome-shell due to new cogl/clutter

2012-01-17 Thread Olav Vitters
Suggest to not restart gnome-shell nor logout until upstream fixed it.
Gnome-shell is unusably slow atm.
-- 
Regards,
Olav


Re: [Mageia-dev] [packages-commits] [197460] - axel-kapt man pages provided by axel-kapt package

2012-01-17 Thread Funda Wang
And I think due to files are being moved from one package to another,
Conflicts tag should be added to ease upgrading.

2012/1/18 Jani Välimaa :
> 2012/1/17  :
>> Revision 197460 Author matteo Date 2012-01-17 17:27:19 +0100 (Tue, 17 Jan
>> 2012)
>>
>> Log Message
>>
>> - axel-kapt man pages provided by axel-kapt package
>>
>> Modified Paths
>>
>> cauldron/axel/current/SPECS/axel.spec
>>
>> Modified: cauldron/axel/current/SPECS/axel.spec
>> ===
>> --- cauldron/axel/current/SPECS/axel.spec     2012-01-17 16:12:33 UTC (rev
>> 197459)
>> +++ cauldron/axel/current/SPECS/axel.spec     2012-01-17 16:27:19 UTC (rev
>> 197460)
>> @@ -30,9 +30,9 @@
>>  %install
>>  rm -rf %{buildroot}
>>  %makeinstall_std
>> -install -d -m 0755 %{buildroot}%{_datadir}/applications
>> -install -c -m 0755 gui/kapt/%{name}-kapt   %{buildroot}%{_bindir}/
>> -install -c -m 0644 gui/kapt/%{name}-kapt.1
>> %{buildroot}%{_datadir}/man/man1/
>> +install -D -d -m 0755 %{buildroot}%{_datadir}/applications
>> +install -D -m 0755 gui/kapt/%{name}-kapt   %{buildroot}%{_bindir}/
>> +install -D -m 0644 gui/kapt/%{name}-kapt.1
>> %{buildroot}%{_datadir}/man/man1/
>>
>>  xz -9 %{buildroot}%{_datadir}/man/man1/%{name}-kapt.1
>>
>> @@ -48,7 +48,8 @@
>>  %doc API README COPYING CREDITS %{name}rc.example
>>  %{_bindir}/%{name}
>>  %config(noreplace) %{_sysconfdir}/%{name}rc
>> -%{_mandir}/*
>> +%{_mandir}/man1/%{name}.1.xz
>> +%{_mandir}/zh_CN/man1/%{name}.1.xz
>>
>>  %package kapt
>>  Summary:        GUI for axel
>> @@ -65,4 +66,4 @@
>>  %files kapt
>>  %{_bindir}/%{name}-kapt
>>  %{_datadir}/applications/%{name}-kapt.desktop
>> -
>> +%{_mandir}/man1/%{name}-kapt.1.xz
>>
>
> A little hint: don't hardcode man page extension as we could change
> the compression someday -> file extension changes -> you need to edit
> every .spec by hand where the extension is hardcoded. Use wildcards
> instead.


Re: [Mageia-dev] [packages-commits] [197460] - axel-kapt man pages provided by axel-kapt package

2012-01-17 Thread Jani Välimaa
2012/1/17  :
> Revision 197460 Author matteo Date 2012-01-17 17:27:19 +0100 (Tue, 17 Jan
> 2012)
>
> Log Message
>
> - axel-kapt man pages provided by axel-kapt package
>
> Modified Paths
>
> cauldron/axel/current/SPECS/axel.spec
>
> Modified: cauldron/axel/current/SPECS/axel.spec
> ===
> --- cauldron/axel/current/SPECS/axel.spec 2012-01-17 16:12:33 UTC (rev
> 197459)
> +++ cauldron/axel/current/SPECS/axel.spec 2012-01-17 16:27:19 UTC (rev
> 197460)
> @@ -30,9 +30,9 @@
>  %install
>  rm -rf %{buildroot}
>  %makeinstall_std
> -install -d -m 0755 %{buildroot}%{_datadir}/applications
> -install -c -m 0755 gui/kapt/%{name}-kapt   %{buildroot}%{_bindir}/
> -install -c -m 0644 gui/kapt/%{name}-kapt.1
> %{buildroot}%{_datadir}/man/man1/
> +install -D -d -m 0755 %{buildroot}%{_datadir}/applications
> +install -D -m 0755 gui/kapt/%{name}-kapt   %{buildroot}%{_bindir}/
> +install -D -m 0644 gui/kapt/%{name}-kapt.1
> %{buildroot}%{_datadir}/man/man1/
>
>  xz -9 %{buildroot}%{_datadir}/man/man1/%{name}-kapt.1
>
> @@ -48,7 +48,8 @@
>  %doc API README COPYING CREDITS %{name}rc.example
>  %{_bindir}/%{name}
>  %config(noreplace) %{_sysconfdir}/%{name}rc
> -%{_mandir}/*
> +%{_mandir}/man1/%{name}.1.xz
> +%{_mandir}/zh_CN/man1/%{name}.1.xz
>
>  %package kapt
>  Summary:GUI for axel
> @@ -65,4 +66,4 @@
>  %files kapt
>  %{_bindir}/%{name}-kapt
>  %{_datadir}/applications/%{name}-kapt.desktop
> -
> +%{_mandir}/man1/%{name}-kapt.1.xz
>

A little hint: don't hardcode man page extension as we could change
the compression someday -> file extension changes -> you need to edit
every .spec by hand where the extension is hardcoded. Use wildcards
instead.


Re: [Mageia-dev] [packages-commits] [197459] - added xz as buildrequire

2012-01-17 Thread Jani Välimaa
2012/1/17  :
> Revision 197459 Author matteo Date 2012-01-17 17:12:33 +0100 (Tue, 17 Jan
> 2012)
>
> Log Message
>
> - added xz as buildrequire
> - fixed release
>
> Modified Paths
>
> cauldron/axel/current/SPECS/axel.spec
>
> Modified: cauldron/axel/current/SPECS/axel.spec
> ===
> --- cauldron/axel/current/SPECS/axel.spec 2012-01-17 16:06:10 UTC (rev
> 197458)
> +++ cauldron/axel/current/SPECS/axel.spec 2012-01-17 16:12:33 UTC (rev
> 197459)
> @@ -1,7 +1,7 @@
>  Name:axel
>  Summary:A lightweight download accelerator by using multiple
> connections
>  Version:2.4
> -Release:%mkrel 3
> +Release:%mkrel 2
>  Source0:
> http://alioth.debian.org/frs/download.php/3015/%{name}-%{version}.tar.gz
>  URL:http://axel.alioth.debian.org/
>
> @@ -11,6 +11,7 @@
>  BuildRequires:   libtool
>  BuildRequires:   gettext
>  BuildRequires:   desktop-file-utils
> +BuildRequires:   xz
>
>
>  %description
> @@ -30,21 +31,23 @@
>  rm -rf %{buildroot}
>  %makeinstall_std
>  install -d -m 0755 %{buildroot}%{_datadir}/applications
> -install -c -m 0755 gui/kapt/axel-kapt   %{buildroot}%{_bindir}/
> -install -c -m 0644 gui/kapt/axel-kapt.1 %{buildroot}%{_datadir}/man/man1/
> +install -c -m 0755 gui/kapt/%{name}-kapt   %{buildroot}%{_bindir}/
> +install -c -m 0644 gui/kapt/%{name}-kapt.1
> %{buildroot}%{_datadir}/man/man1/
>
> +xz -9 %{buildroot}%{_datadir}/man/man1/%{name}-kapt.1

There's no need to compress man pages by hand, it's done automatically
by the build process.


Re: [Mageia-dev] MANUAL FIX: ACL/permissions issues (i.e. sound devices)

2012-01-17 Thread Thierry Vignaud
On 17 January 2012 15:38, Colin Guthrie  wrote:
>
> You DO want one line with the above in it, you do NOT want more than one.

BTW what are the consequences?


Re: [Mageia-dev] MANUAL FIX: ACL/permissions issues (i.e. sound devices)

2012-01-17 Thread Thierry Vignaud
On 17 January 2012 15:38, Colin Guthrie  wrote:
> Hi,
>
> I messed up a %post script in the pam package which causes issues with
> systemd related authentication stuff. Sorry about that.
>
> It's a pain to fix with a script so I won't and thus a manual fix is needed.

perl -pi -e 'if (/^-session\s+optional\s+pam_systemd.so\s*$/o) {
$seen++; undef $_ if $seen > 1 }'  /etc/pam.d/system-authsystem-auth

> Simply edit the system-auth pam.d file, e.g.: sudo vi /etc/pam.d/system-auth
>
> and remove the last line which should say:
>
> -session    optional      pam_systemd.so
>
>
> This line should be a duplicate of an entry one or two lines above.
>
> You DO want one line with the above in it, you do NOT want more than one.
>
> pam package is fixed to not do this any more but you'll need to manually
> fix this up.
>
> Sorry for the inconvenience.


[Mageia-dev] MANUAL FIX: ACL/permissions issues (i.e. sound devices)

2012-01-17 Thread Colin Guthrie
Hi,

I messed up a %post script in the pam package which causes issues with
systemd related authentication stuff. Sorry about that.

It's a pain to fix with a script so I won't and thus a manual fix is needed.

Simply edit the system-auth pam.d file, e.g.: sudo vi /etc/pam.d/system-auth

and remove the last line which should say:

-sessionoptional  pam_systemd.so


This line should be a duplicate of an entry one or two lines above.

You DO want one line with the above in it, you do NOT want more than one.

pam package is fixed to not do this any more but you'll need to manually
fix this up.

Sorry for the inconvenience.

Col

-- 

Colin Guthrie
colin(at)mageia.org
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited http://www.tribalogic.net/
Open Source:
  Mageia Contributor http://www.mageia.org/
  PulseAudio Hacker http://www.pulseaudio.org/
  Trac Hacker http://trac.edgewall.org/


Re: [Mageia-dev] Issues with dracut

2012-01-17 Thread Colin Guthrie
'Twas brillig, and David W. Hodgins at 19/12/11 21:48 did gyre and gimble:
> On Sun, 18 Dec 2011 17:22:46 -0500, Colin Guthrie
>  wrote:
> 
>> Can you run the attached?
> 
> It works.  It identifies /usr as being on 252:9,
> which is on 8:12, which has the fs_type LVM2_member.
> 
> Regards, Dave Hodgins

Sorry, missed the reply... if this attachment worked, then the main code
should work for you too

Are things working OK for you now with dracut or is it still busted?

Col

-- 

Colin Guthrie
colin(at)mageia.org
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited http://www.tribalogic.net/
Open Source:
  Mageia Contributor http://www.mageia.org/
  PulseAudio Hacker http://www.pulseaudio.org/
  Trac Hacker http://trac.edgewall.org/


Re: [Mageia-dev] Mageia 2 Alpha 3 available for tests

2012-01-17 Thread Colin Guthrie
'Twas brillig, and EatDirt at 13/01/12 10:11 did gyre and gimble:
> On 12/01/12 21:04, Anne nicolas wrote:
>> Hi all
>>
>> Mageia 2 Alpha 3 is now available for tests:
>> http://blog.mageia.org/en/2012/01/12/here-comes-mageia-2-alpha3/
> 
> Hi,
> tested the boot.iso with network install; everything went fine.
> 
> At boot however, systemd exhibited some failures (apparently they are
> harmless though):
> 
> UNIT   LOAD   ACTIVE SUBJOB DESCRIPTION
> fedora-loadmodules.service loaded ESC[1;31mfailed failedESC[0m Load
> legacy module configuration

Yeah I think we can maybe drop this one, but you are correct, it's harmless.

> systemd-tmpfiles-clean.service loaded ESC[1;31mfailed failedESC[0m
> Cleanup of Temporary Directories
> systemd-tmpfiles-setup.service loaded ESC[1;31mfailed failedESC[0m
> Recreate Volatile Files and Directories

Likely due to missing "lock" group as a result of our lockdev package.
It's a somewhat complicated issue and I've basically chickened out of
fixing it thus far.

Will get around it it soon, if no one pings me with a "I'll have a go at
fixing it, do you have more details" type email (there are a few links
I'd need to dig out).

> udisksd.serviceloaded ESC[1;31mfailed failedESC[0m
> UDisks Daemon
> upowerd.serviceloaded ESC[1;31mfailed failedESC[0m
> UPower Daemon

Dunno why these two would be failing...

Col


-- 

Colin Guthrie
colin(at)mageia.org
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited http://www.tribalogic.net/
Open Source:
  Mageia Contributor http://www.mageia.org/
  PulseAudio Hacker http://www.pulseaudio.org/
  Trac Hacker http://trac.edgewall.org/


Re: [Mageia-dev] [changelog] [RPM] 1 core/updates_testing terminator-0.96-2.mga1

2012-01-17 Thread Florian Hubold
Am 17.01.2012 10:00, schrieb Jani Välimaa:
> 2012/1/16 Florian Hubold :
>> Am 16.01.2012 20:43, schrieb Jani Välimaa:
>>> 2012/1/16 lebedov :
 Name: terminator   Relocations: (not relocatable)
 Version : 0.96  Vendor: Mageia.Org
 Release : 2.mga1Build Date: Mon Jan 16 
 19:26:23 2012
 Install Date: (not installed)   Build Host: jonund
 Group   : Terminals Source RPM: (none)
 Size: 266173   License: GPLv2
 Signature   : (none)
 Packager: lebedov 
 URL : http://www.tenshu.net/terminator/
 Summary : A simple way to run multiple terminals in a single window
 Description :
 Terminator is an attempt to maximise useful space on a given desktop
 for terminals. It is a simple Python script that places multiple vte
 widgets (the same used by gnome-terminal) in a window. That's the same
 widget used by gnome-terminal.

 lebedov  0.96-2.mga1:
 + Revision: 196966
 - Require pygtk2.0 on installation (#3612).
 - Update to 0.96.
>>> You should use subrel when pushing updates to stable release.
>>>
>> Well, not for the version update, but for the next commit:
>> https://wiki.mageia.org/en/Updates_policy#Maintainer_.28or_any_interested_packager.29
> Well, this was not a version upgrade. :P
>
> Changelog is broken due to an old bug
> https://bugs.mageia.org/show_bug.cgi?id=3666
>
Former commit was a version update ;)
but anyways, release should never be bumped directly
for stable release.


Re: [Mageia-dev] [changelog] [RPM] 1 core/updates_testing terminator-0.96-2.mga1

2012-01-17 Thread Jani Välimaa
2012/1/16 Florian Hubold :
> Am 16.01.2012 20:43, schrieb Jani Välimaa:
>> 2012/1/16 lebedov :
>>> Name        : terminator                   Relocations: (not relocatable)
>>> Version     : 0.96                              Vendor: Mageia.Org
>>> Release     : 2.mga1                        Build Date: Mon Jan 16 19:26:23 
>>> 2012
>>> Install Date: (not installed)               Build Host: jonund
>>> Group       : Terminals                     Source RPM: (none)
>>> Size        : 266173                           License: GPLv2
>>> Signature   : (none)
>>> Packager    : lebedov 
>>> URL         : http://www.tenshu.net/terminator/
>>> Summary     : A simple way to run multiple terminals in a single window
>>> Description :
>>> Terminator is an attempt to maximise useful space on a given desktop
>>> for terminals. It is a simple Python script that places multiple vte
>>> widgets (the same used by gnome-terminal) in a window. That's the same
>>> widget used by gnome-terminal.
>>>
>>> lebedov  0.96-2.mga1:
>>> + Revision: 196966
>>> - Require pygtk2.0 on installation (#3612).
>>> - Update to 0.96.
>> You should use subrel when pushing updates to stable release.
>>
> Well, not for the version update, but for the next commit:
> https://wiki.mageia.org/en/Updates_policy#Maintainer_.28or_any_interested_packager.29

Well, this was not a version upgrade. :P

Changelog is broken due to an old bug
https://bugs.mageia.org/show_bug.cgi?id=3666


Re: [Mageia-dev] Mozilla is switching to MPLv2

2012-01-17 Thread Romain d'Alverny
On Tue, Jan 17, 2012 at 09:10, Florian Hubold  wrote:
> Am 17.01.2012 01:20, schrieb Kamil Rytarowski:
>> Please be aware of licenses.
>>
>> http://tech.slashdot.org/story/12/01/06/1752240/mozilla-public-license-20-released
>>
>> https://www.mozilla.org/MPL/2.0/
>> https://wiki.mozilla.org/MPL_Upgrade
>>
> It essentially means that the current triple-licensing will
> be removed in favour of MPLv2 only, which in turn means mozilla
> stuff can't be linked anymore to GPL stuff, IIUC.

Yes it can. See
https://wiki.mozilla.org/MPL_Upgrade#Why_is_it_better.3F and
https://wiki.mozilla.org/MPL_Upgrade#What_will_be_the_difference_in_terms_of_forward_licence_compatibility.3F

> https://www.gnu.org/licenses/license-list.html#MPL

Beware, now, it's
https://www.gnu.org/licenses/license-list.html#MPL-2.0 we're talking
about.


Re: [Mageia-dev] qemu new upstream release (1.0-rc1) and should we move from qemu-kvm to qemu?

2012-01-17 Thread Olav Vitters
On Tue, Jan 17, 2012 at 07:13:49AM +0100, Michael Scherer wrote:
> I am not opposed on having the patch in cauldron however.

Qemu 1.0 on Cauldron doesn't build. I suspect some kind of gcc problem
as it has built on other distributions (fedora, opensuse).

Filed https://bugs.mageia.org/show_bug.cgi?id=4164 against gcc (probably
wrong, but need an expert).

-- 
Regards,
Olav


Re: [Mageia-dev] Mozilla is switching to MPLv2

2012-01-17 Thread Florian Hubold
Am 17.01.2012 01:20, schrieb Kamil Rytarowski:
> Please be aware of licenses.
>
> http://tech.slashdot.org/story/12/01/06/1752240/mozilla-public-license-20-released
>
> https://www.mozilla.org/MPL/2.0/
> https://wiki.mozilla.org/MPL_Upgrade
>
It essentially means that the current triple-licensing will
be removed in favour of MPLv2 only, which in turn means mozilla
stuff can't be linked anymore to GPL stuff, IIUC.
But i may be totally off, all that licensing things are not
my area of expertise.

https://www.gnu.org/licenses/license-list.html#MPL
http://www.mozilla.org/MPL/2.0/FAQ.html#mpl-and-lgpl