Re: [Mageia-dev] [101505] Revert rpm5 stuffs and sync with fedora

2011-07-10 Thread cazzaniga . sandro
I'm agree with ahmad: +1
-Original Message-
From: Ahmad Samir ahmadsamir3...@gmail.com
Sender: mageia-dev-boun...@mageia.org
Date: Sun, 10 Jul 2011 05:55:37 
To: mageia-dev@mageia.org
Reply-To: Mageia development mailing-list mageia-dev@mageia.org
Subject: Re: [Mageia-dev] [101505] Revert rpm5 stuffs and sync with fedora

On 7 June 2011 15:34,  r...@mageia.org wrote:
 Revision 101505 Author dmorgan Date 2011-06-07 15:34:09 +0200 (Tue, 07 Jun
 2011)

 Log Message

 Revert rpm5 stuffs and sync with fedora

 Modified Paths

 cauldron/gtk+3.0/current/SPECS/gtk+3.0.spec

 Modified: cauldron/gtk+3.0/current/SPECS/gtk+3.0.spec
 ===
 --- cauldron/gtk+3.0/current/SPECS/gtk+3.0.spec   2011-06-07 13:34:06 UTC 
 (rev
 101504)
 +++ cauldron/gtk+3.0/current/SPECS/gtk+3.0.spec   2011-06-07 13:34:09 UTC 
 (rev
 101505)
 @@ -6,7 +6,7 @@
  # enable_bootstrap: Toggle if bootstrapping package
  #  0 = no
  #  1 = yes
 -%define enable_bootstrap 0
 +%define enable_bootstrap 1

  # enable_tests: Run test suite in build
  #  0 = no
 @@ -43,12 +43,16 @@

  Summary: The GIMP ToolKit (GTK+), a library for creating GUIs
  Name:%{pkgname}%{api_version}
 -Version: 3.0.9
 +Version: 3.0.11
  Release:%mkrel 1
  License: LGPLv2+
  Group:   System/Libraries
 -Source0: 
 http://ftp.gnome.org/pub/GNOME/sources/%pkgname/%{pkgname}-%{version}.tar.bz2
 -BuildRoot:   %{_tmppath}/%{name}-%{version}-buildroot
 +Source0: 
 http://ftp.gnome.org/pub/GNOME/sources/%pkgname/%{pkgname}-%{version}.tar.xz
 +Source1:im-cedilla.conf
 +%if !%{enable_bootstrap}
 +# use oxygen gtk3 theme by default if available
 +Patch12:gtk+-defaulttheme.patch
 +%endif
  URL: http://www.gtk.org
  Requires:common-licenses
  BuildRequires:   gettext-devel
 @@ -82,6 +86,7 @@
  BuildRequires: fonts-ttf-dejavu
  %if !%{enable_bootstrap}
  Suggests: xdg-user-dirs-gtk
 +Suggests: oxygen-gtk3


Since oxygen-gtk3 is only useful for KDE users, it should be suggested
by a KDE package, not in gtk+3.0, IMHO.

(The same for gtk+2.0 suggesting oxygen-gtk).


  %endif
  Requires: %{libname} = %{version}
  Obsoletes:   gtk-engines3  3.0.0
 @@ -96,6 +101,30 @@
  If you are planning on using the GIMP or another program that uses GTK+,
  you'll need to have the gtk+ package installed.

 +%post
 +gtk-query-immodules-3.0-%{__isa_bits} --update-cache
 +glib-compile-schemas %{_datadir}/glib-2.0/schemas  /dev/null || :
 +
 +if [ -d %{_datadir}/icons ]; then
 +for i in `/bin/ls %{_datadir}/icons` ; do
 +[ -d %{_datadir}/icons/$i -a -e
 %{_datadir}/icons/$i/icon-theme.cache -a -e
 %{_datadir}/icons/$i/index.theme ]  gtk-update-icon-cache-%{api_version}
 --force --quiet %{_datadir}/icons/$i
 +done
 +exit 0
 +fi
 +
 +
 +%files -f gtk30.lang
 +%defattr(-, root, root)
 +%doc README
 +%_mandir/man1/gtk-query-immodules-%{api_version}.1*
 +%{_datadir}/themes
 +%{_datadir}/glib-2.0/schemas/org.gtk.Settings.FileChooser.gschema.xml
 +%dir %{_sysconfdir}/gtk-%{api_version}
 +%config(noreplace) %{_sysconfdir}/gtk-%{api_version}/im-multipress.conf
 +%{_sysconfdir}/X11/xinit/xinput.d/im-cedilla.conf
 +
 +#
 +
  %package -n %{libname}
  Summary: %{summary}
  Group:%{group}
 @@ -112,6 +141,37 @@
  This package contains the library needed to run programs dynamically
  linked with gtk+.

 +%post -n %{libname}
 +if [ $1 = 2 ]; then
 +if [ -f %{_sysconfdir}/gtk-%{api_version}/gtk.immodules ]; then
 +rm -f %{_sysconfdir}/gtk-%{api_version}/gtk.immodules
 +fi
 +fi
 +gtk-query-immodules-3.0-%{__isa_bits} --update-cache
 +%{_libdir}/gtk-%{api_version}/bin/gtk-query-immodules-%{api_version} 
 %_libdir/gtk-%{api_version}/3.0.0/immodules.cache
 +
 +%files -n %{libname}
 +%defattr(-, root, root)
 +%doc README
 +%{_bindir}/gtk-query-immodules-%{api_version}-*
 +%ghost %verify (not md5 mtime size)
 %_libdir/gtk-%{api_version}/3.0.0/immodules.cache
 +%dir %{_libdir}/gtk-%{api_version}
 +%dir %{_libdir}/gtk-%{api_version}/modules
 +%dir %{_libdir}/gtk-%{api_version}/%{binary_version}
 +%dir %{_libdir}/gtk-%{api_version}/%{binary_version}/immodules
 +%{_libdir}/gtk-%{api_version}/%{binary_version}/immodules/*.so
 +%dir %{_libdir}/gtk-%{api_version}/%{binary_version}/printbackends
 +%{_libdir}/gtk-%{api_version}/%{binary_version}/printbackends/*.so
 +%{_libdir}/libgtk-3.so.%{lib_major}
 +%{_libdir}/libgtk-3.so.%{lib_major}.*
 +%{_libdir}/libgdk-3.so.%{lib_major}
 +%{_libdir}/libgdk-3.so.%{lib_major}.*
 +%_libdir/girepository-1.0/Gdk-%{api_version}.typelib
 +%_libdir/girepository-1.0/GdkX11-%{api_version}.typelib
 +%_libdir/girepository-1.0/Gtk-%{api_version}.typelib
 +
 +#
 +
  %package -n %{develname}
  Summary: Development files for GTK+ (GIMP 

Re: [Mageia-dev] Standardising the virtual Provides in -devel packages

2011-07-10 Thread Ahmad Samir
On 8 July 2011 06:37, Ahmad Samir ahmadsamir3...@gmail.com wrote:
 Hello.

 I've had a rather vague idea about standardising the virtual provides
 in the distro, there should be:
 Provides: %{name}-devel
 Provides: lib%{name}-devel

 either both of them in _all_ packages, or one of them in _all_
 packages, so that we don't have to check urpmq --provides all the
 time. Personally, I am more inclined on having them both, so as not to
 break already working specs.

 For example:
 $ urpmq --provides lib64gudev1.0-devel-166-5.mga1.x86_64
 libgudev-devel[== 166-5.mga1]
 pkgconfig(gudev-1.0)[== 166]
 devel(libgudev-1.0(64bit))
 lib64gudev1.0-devel[== 166-5.mga1]
 lib64gudev1.0-devel(x86-64)[== 166-5.mga1]

 only libgudev-devel, so if I put BR gudev-devel in a spec it won't
 work, whereas I'd expect it to work since some other packages have
 such similar provides:
 $ urpmq --provides lib64dbus-1-devel
 libdbus-1-devel[== 1.4.1-3.mga1]
 libdbus-devel[== 1.4.1-3.mga1]
 dbus-devel[== 1.4.1-3.mga1]
 [...]


 WDYT?

 (If we agree to go one way or the other, will just fix them gradually
 over time).

 --
 Ahmad Samir


Adding to the above, spturtle has suggested using pkgconfig()
provides: https://bugs.mageia.org/show_bug.cgi?id=2065

-- 
Ahmad Samir


Re: [Mageia-dev] [101505] Revert rpm5 stuffs and sync with fedora

2011-07-10 Thread John Balcaen
2011/7/10  cazzaniga.san...@gmail.com:
 I'm agree with ahmad: +1

 Since oxygen-gtk3 is only useful for KDE users, it should be suggested
 by a KDE package, not in gtk+3.0, IMHO.

 (The same for gtk+2.0 suggesting oxygen-gtk).

I guess it's not directly related to kde but rather to provide the
same theme for xfce/gnome/kde aka oxygen while waiting for a decision
of the artwork team (i guess no one want to port iaora to gtk3)



-- 
Balcaen John
Jabber-id: mik...@jabber.littleboboy.net


Re: [Mageia-dev] [101505] Revert rpm5 stuffs and sync with fedora

2011-07-10 Thread Ahmad Samir
On 10 July 2011 11:36, John Balcaen mik...@mageia.org wrote:
 2011/7/10  cazzaniga.san...@gmail.com:
 I'm agree with ahmad: +1

 Since oxygen-gtk3 is only useful for KDE users, it should be suggested
 by a KDE package, not in gtk+3.0, IMHO.

 (The same for gtk+2.0 suggesting oxygen-gtk).

 I guess it's not directly related to kde but rather to provide the
 same theme for xfce/gnome/kde aka oxygen while waiting for a decision
 of the artwork team (i guess no one want to port iaora to gtk3)


Right; but if Ia_Ora doesn't get ported to GTK+3.0 then we should
stick with the upstream default, which is Adwaita. Less maintenance
costs, less downstream bugs for us...

(Oxygen looks good on Dolphin, but a bit quirky on Firefox, whereas
Clearlooks/Nodoka look good on Firefox, but not-so-hot on Dolphin).



 --
 Balcaen John
 Jabber-id: mik...@jabber.littleboboy.net




-- 
Ahmad Samir


[Mageia-dev] Request for package review: rss2email python-html2text

2011-07-10 Thread Remco Rijnders

Hi all,

As I missed the tool rss2email in Mageia (see also 
https://bugs.mageia.org/show_bug.cgi?id=1848 ), and I wanted to get some 
experience with packaging files myself I gave it a go and packaged it. 
Currently I do not have a mentor, and hence my request to you all to have 
a look at the rss2email package I created and the needed package 
python-html2text.


Both SRPMS and the spec files for these packages are available at 
https://milkzilla.webconquest.com/~remmy/mageia/


Any feedback you might have is appreciated.

The changes to the rss2email packages compared to that found in Mandriva 
is quite extensive. The python2html package only has the main .py file 
updated to the newest upstream version.


I'd like to thank Stormi who helped me with a few questions I had.

Kind regards,

Remmy


signature.asc
Description: Digital signature


Re: [Mageia-dev] mesa update needed

2011-07-10 Thread John Balcaen
2011/7/10 Colin Guthrie mag...@colin.guthr.ie:
 'Twas brillig, and Christiaan Welvaart at 10/07/11 18:38 did gyre and
 gimble:
 Gnome-shell also appears to require a newer mesa.

 When you say it requires it, what are the symptoms of it's not there?
There's some crash when clicking on the panel which are solved by upgrading
 to the mesa snapshot available in the svn for my radeon card for example.
After i stil have some graphical artificat but at least i can used it
without crash.


-- 
Balcaen John
Jabber-id: mik...@jabber.littleboboy.net


Re: [Mageia-dev] [RFC] Update to gnome 31

2011-07-10 Thread JA Magallón
On Fri, 1 Jul 2011 14:50:43 +0200, Dexter Morgan dmorga...@gmail.com wrote:

 2011/7/1 JA Magallón jamagal...@ono.com:
 
  On 2011.07.01, at 14:42, Dexter Morgan wrote:
 
  Hello,
 
 
  As gnome 3.2 will be available on october ( and in mageia 2 ) we will
  start to update now to gnome 3.1 to be able to report as many issues
  as possible upstream.
 
  Nice!!
  I have some questions in my queue, but will wait till new packages are
  there so they get solved automagically ;)
 
 i hope so :)

Well, I had no luck...

Some things that crash, I will try to find info and submit proper bug
reports:

- gdm crashed if I push down the power menu on the right top. Just press
  the icon, see the menu down and wait for the crash...
- gnome-settings-daemon crashes both for gdm and for the normal user
- the (in) famous BSOD (Oh, no! Something has gone wrong), that I
  relate to:
  one:~ grep register .xses*rs
  gnome-session[15939]: WARNING: Application 'gnome-shell.desktop' failed to 
register before timeout

I can post full .xsession-errors if you find usefoull.

TIA

-- 
J.A. Magallon jamagallon()ono!com \ Winter is coming...


Re: [Mageia-dev] mesa update needed

2011-07-10 Thread JA Magallón
On Sun, 10 Jul 2011 17:21:38 -0300, John Balcaen mik...@mageia.org wrote:

 2011/7/10 Colin Guthrie mag...@colin.guthr.ie:
  'Twas brillig, and Christiaan Welvaart at 10/07/11 18:38 did gyre and
  gimble:
  Gnome-shell also appears to require a newer mesa.
 
  When you say it requires it, what are the symptoms of it's not there?
 There's some crash when clicking on the panel which are solved by upgrading
  to the mesa snapshot available in the svn for my radeon card for example.
 After i stil have some graphical artificat but at least i can used it
 without crash.
 

I have also something like this, in gdm login screen, just click on the
menu icon on the right top, wait a couple seconds and gdm crashes.
Don't know if it is related.

-- 
J.A. Magallon jamagallon()ono!com \ Winter is coming...


Re: [Mageia-dev] mesa update needed

2011-07-10 Thread Balcaen John
On Monday 11 July 2011 01:04:19 JA Magallón wrote:
[...]
 
 I have also something like this, in gdm login screen, just click on the
 menu icon on the right top, wait a couple seconds and gdm crashes.
 Don't know if it is related.
Do you have a backtrace of the crash ?


Re: [Mageia-dev] [RFC] Update to gnome 31

2011-07-10 Thread Dexter Morgan
2011/7/11 JA Magallón jamagal...@ono.com:
 On Fri, 1 Jul 2011 14:50:43 +0200, Dexter Morgan dmorga...@gmail.com wrote:

 2011/7/1 JA Magallón jamagal...@ono.com:
 
  On 2011.07.01, at 14:42, Dexter Morgan wrote:
 
  Hello,
 
 
  As gnome 3.2 will be available on october ( and in mageia 2 ) we will
  start to update now to gnome 3.1 to be able to report as many issues
  as possible upstream.
 
  Nice!!
  I have some questions in my queue, but will wait till new packages are
  there so they get solved automagically ;)

 i hope so :)

 Well, I had no luck...

 Some things that crash, I will try to find info and submit proper bug
 reports:

 - gdm crashed if I push down the power menu on the right top. Just press
  the icon, see the menu down and wait for the crash...
 - gnome-settings-daemon crashes both for gdm and for the normal user
 - the (in) famous BSOD (Oh, no! Something has gone wrong), that I
  relate to:
  one:~ grep register .xses*rs
  gnome-session[15939]: WARNING: Application 'gnome-shell.desktop' failed to 
 register before timeout

 I can post full .xsession-errors if you find usefoull.

yes i would appreciate  your .xsession-errors  please .