<feed xmlns='http://www.w3.org/2005/Atom'>
<title>drakx/perl-install/install/steps_gtk.pm, branch 18.71</title>
<subtitle>Mageia Installer and base platform for many utilities</subtitle>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/drakx/'/>
<entry>
<title>Use POSIX::setlocale() instead of c::setlocale().</title>
<updated>2025-11-02T18:20:25+00:00</updated>
<author>
<name>Martin Whitaker</name>
<email>mageia@martin-whitaker.me.uk</email>
</author>
<published>2025-11-02T12:50:05+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/drakx/commit/?id=b518f9f16b0fc09802d238eef91de41ed54de282'/>
<id>b518f9f16b0fc09802d238eef91de41ed54de282</id>
<content type='text'>
Since Perl 5.28, Perl has used the thread-safe uselocale() functions
from the C standard library when setting the locale. Once a thread-safe
locale setting has been made, the Locale::gettext functions will use
those settings, not the global locale settings. So calling the drakx
c::setlocale() and c::init_setlocale() functions, which still use the
underlying setlocale() function from the C standard library normally
has no effect. However, prior to Perl 5.38, there was a bug in Perl
that could cause the main thread to revert to using the global locale
settings, and it it would seem this bug was being triggered by the
stage2 installer, meaning it still properly translated the UI after
the language selection step. Now we have a newer version of Perl, this
is no longer so, and the UI contiues to be in English after the user
has selected a different language (mga#34656).

The POSIX::setlocale() function affects the thread-safe locale, so can
be used to fix this bug.

This patch removes the c::setlocale() function to prevent reintroduction
of this bug, and moves the c::init_locale() function to the common module.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since Perl 5.28, Perl has used the thread-safe uselocale() functions
from the C standard library when setting the locale. Once a thread-safe
locale setting has been made, the Locale::gettext functions will use
those settings, not the global locale settings. So calling the drakx
c::setlocale() and c::init_setlocale() functions, which still use the
underlying setlocale() function from the C standard library normally
has no effect. However, prior to Perl 5.38, there was a bug in Perl
that could cause the main thread to revert to using the global locale
settings, and it it would seem this bug was being triggered by the
stage2 installer, meaning it still properly translated the UI after
the language selection step. Now we have a newer version of Perl, this
is no longer so, and the UI contiues to be in English after the user
has selected a different language (mga#34656).

The POSIX::setlocale() function affects the thread-safe locale, so can
be used to fix this bug.

This patch removes the c::setlocale() function to prevent reintroduction
of this bug, and moves the c::init_locale() function to the common module.
</pre>
</div>
</content>
</entry>
<entry>
<title>stage2: use mutter with X11 backend</title>
<updated>2025-09-17T17:11:07+00:00</updated>
<author>
<name>Jani Välimaa</name>
<email>wally@mageia.org</email>
</author>
<published>2025-09-17T17:11:07+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/drakx/commit/?id=1750abd54183722a4311913b4d17ce3f1b083737'/>
<id>1750abd54183722a4311913b4d17ce3f1b083737</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>installer: restore flat list option for individual package selection</title>
<updated>2020-06-17T16:19:57+00:00</updated>
<author>
<name>Martin Whitaker</name>
<email>mageia@martin-whitaker.me.uk</email>
</author>
<published>2020-06-17T16:16:50+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/drakx/commit/?id=203cc58cb229fa411d73d5952a74d7f11d54ef2b'/>
<id>203cc58cb229fa411d73d5952a74d7f11d54ef2b</id>
<content type='text'>
This allows the user to select packages that aren't enabled by rpmsrate.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This allows the user to select packages that aren't enabled by rpmsrate.
</pre>
</div>
</content>
</entry>
<entry>
<title>adjust for newer vdagent for consistency</title>
<updated>2019-04-26T08:17:12+00:00</updated>
<author>
<name>Thierry Vignaud</name>
<email>thierry.vignaud@gmail.com</email>
</author>
<published>2019-03-18T06:44:39+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/drakx/commit/?id=b04cba2fb34c28b0dd8404ab71bd5aa2cdd95b67'/>
<id>b04cba2fb34c28b0dd8404ab71bd5aa2cdd95b67</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>add support for tooltips in summary</title>
<updated>2018-11-27T13:57:31+00:00</updated>
<author>
<name>Thierry Vignaud</name>
<email>thierry.vignaud@gmail.com</email>
</author>
<published>2018-11-27T13:57:31+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/drakx/commit/?id=d493169c872894fdfac04f04a58dff73a648dc38'/>
<id>d493169c872894fdfac04f04a58dff73a648dc38</id>
<content type='text'>
(needed for next commit)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(needed for next commit)
</pre>
</div>
</content>
</entry>
<entry>
<title>adapt to URPM-5.14 (using perl native ints)</title>
<updated>2017-09-07T19:08:09+00:00</updated>
<author>
<name>Thierry Vignaud</name>
<email>thierry.vignaud@gmail.com</email>
</author>
<published>2017-09-07T18:24:35+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/drakx/commit/?id=4920fbf71ee20c8cfd44fa6a73c06f2159932cff'/>
<id>4920fbf71ee20c8cfd44fa6a73c06f2159932cff</id>
<content type='text'>
See mga#21441
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
See mga#21441
</pre>
</div>
</content>
</entry>
<entry>
<title>Centre the advert images displayed by the installer.</title>
<updated>2017-06-23T07:09:39+00:00</updated>
<author>
<name>Martin Whitaker</name>
<email>mageia@martin-whitaker.me.uk</email>
</author>
<published>2017-06-23T07:09:39+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/drakx/commit/?id=305e53438feb5074a5a35d1ded0390114927fd3e'/>
<id>305e53438feb5074a5a35d1ded0390114927fd3e</id>
<content type='text'>
Gives better appearance at higher screen resolutions.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Gives better appearance at higher screen resolutions.
</pre>
</div>
</content>
</entry>
<entry>
<title>Increase the default window size of the installer to 1024x768 (mga#20624)</title>
<updated>2017-06-23T07:05:56+00:00</updated>
<author>
<name>Frédéric Buclin</name>
<email>LpSolit@netscape.net</email>
</author>
<published>2017-05-06T18:02:52+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/drakx/commit/?id=14eb1e5893eb7bc6748cf388df7cb05a3f05c7da'/>
<id>14eb1e5893eb7bc6748cf388df7cb05a3f05c7da</id>
<content type='text'>
This permits to correctly display the different panels as some
of them contain quite a lot of data.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This permits to correctly display the different panels as some
of them contain quite a lot of data.
</pre>
</div>
</content>
</entry>
<entry>
<title>revert forcing $progress_total &amp; $ratio to be int64</title>
<updated>2016-12-14T15:47:12+00:00</updated>
<author>
<name>Thierry Vignaud</name>
<email>thierry.vignaud@gmail.com</email>
</author>
<published>2016-12-14T15:42:04+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/drakx/commit/?id=1b0aaf551631c1f9c997100b61d674abf7aead75'/>
<id>1b0aaf551631c1f9c997100b61d674abf7aead75</id>
<content type='text'>
it's bogus as then, when not using native int64 (eg: i586), the ratio
cannot be a float between 0 &amp; 1 and thus the progress bar can never be
updated (mga#19930)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
it's bogus as then, when not using native int64 (eg: i586), the ratio
cannot be a float between 0 &amp; 1 and thus the progress bar can never be
updated (mga#19930)
</pre>
</div>
</content>
</entry>
<entry>
<title>make sure progress_total is int64 (mga#19895)</title>
<updated>2016-12-12T14:35:22+00:00</updated>
<author>
<name>Thierry Vignaud</name>
<email>thierry.vignaud@gmail.com</email>
</author>
<published>2016-12-12T14:27:42+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/drakx/commit/?id=2ad464a9746bf4274bf52b495c272cef50cce308'/>
<id>2ad464a9746bf4274bf52b495c272cef50cce308</id>
<content type='text'>
Else gtkval_modify() would complain the ref changes from eg
'SCALAR(0xbd2aa38)' to 'REF(0xbd2aa38)'
Thus enables i586 install to go on

Though "Time remaining" looks bogus...
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Else gtkval_modify() would complain the ref changes from eg
'SCALAR(0xbd2aa38)' to 'REF(0xbd2aa38)'
Thus enables i586 install to go on

Though "Time remaining" looks bogus...
</pre>
</div>
</content>
</entry>
</feed>
