<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/util-linux.git/libmount/python, branch master</title>
<subtitle>git.kernel.org: pub/scm/utils/util-linux/util-linux.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/util-linux.git/'/>
<entry>
<title>pylibmount: properly mark initialization function</title>
<updated>2022-11-10T03:12:10+00:00</updated>
<author>
<name>Thomas Weißschuh</name>
<email>thomas@t-8ch.de</email>
</author>
<published>2022-11-10T03:05:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/util-linux.git/commit/?id=9798f7ffb1818648ead93a98d4d041825d693562'/>
<id>9798f7ffb1818648ead93a98d4d041825d693562</id>
<content type='text'>
The module initialization function is supposed to only public function
in a module.
Newer versions of meson use -fvisibility=hidden and expected this
function to be marked with PyMODINIT_FUNC [0].

As this does not hurt on autotools either, let's use it everywhere.

[0] https://mesonbuild.com/Release-notes-for-0-63-0.html#python-extension-modules-now-build-with-hidden-visibility
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The module initialization function is supposed to only public function
in a module.
Newer versions of meson use -fvisibility=hidden and expected this
function to be marked with PyMODINIT_FUNC [0].

As this does not hurt on autotools either, let's use it everywhere.

[0] https://mesonbuild.com/Release-notes-for-0-63-0.html#python-extension-modules-now-build-with-hidden-visibility
</pre>
</div>
</content>
</entry>
<entry>
<title>meson: use -Wno-cast-function-type for libmount python bindings</title>
<updated>2022-11-10T03:06:54+00:00</updated>
<author>
<name>Thomas Weißschuh</name>
<email>thomas@t-8ch.de</email>
</author>
<published>2022-11-02T04:19:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/util-linux.git/commit/?id=932ac04e64390f3257fa252a5e857a58712ee003'/>
<id>932ac04e64390f3257fa252a5e857a58712ee003</id>
<content type='text'>
The same way it is done by autotools.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The same way it is done by autotools.
</pre>
</div>
</content>
</entry>
<entry>
<title>libmount: check errno after strto..()</title>
<updated>2021-06-21T13:03:01+00:00</updated>
<author>
<name>Karel Zak</name>
<email>kzak@redhat.com</email>
</author>
<published>2021-06-21T13:00:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/util-linux.git/commit/?id=5aa726461a997044bb9d32ad8e9e2bbccabb79de'/>
<id>5aa726461a997044bb9d32ad8e9e2bbccabb79de</id>
<content type='text'>
Addresses: https://github.com/karelzak/util-linux/issues/1356
Signed-off-by: Karel Zak &lt;kzak@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Addresses: https://github.com/karelzak/util-linux/issues/1356
Signed-off-by: Karel Zak &lt;kzak@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>meson: add second build system</title>
<updated>2021-03-17T14:07:27+00:00</updated>
<author>
<name>Zbigniew Jędrzejewski-Szmek</name>
<email>zbyszek@in.waw.pl</email>
</author>
<published>2020-02-23T18:42:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/util-linux.git/commit/?id=d4c880d5a4339d3865cbd7d30264785cd3794322'/>
<id>d4c880d5a4339d3865cbd7d30264785cd3794322</id>
<content type='text'>
To build: meson build &amp;&amp; ninja -C build
To run tests: ninja -C build check
To install for packaging: DESTDIR=/var/tmp/inst ninja -C build install
To install for realz: sudo ninja -C build install

v2:
- Optional items are now based on the 'feature' feature in meson.
  Built libraries which are disabled turn into disabler() objects
  and also poison any executables which link to them.

What is there:
- building of the binaries and libs and the python module
- installation of binaries, libs, python module, localization files,
  man pages, pkgconfig files
- running of tests
- most options to configure build equivalently to the
  ./configure settings

Partially implemented:
- disabling of stuff when things missing. In the C code, the defines
  are all used, so that should be fine. In the build system, some
  files should be skipped, but that is probably not always done properly.
  Getting this right might require some testing of various build option
  combinations to get the details right.

Not implemented:
- static builds of fdisk and other binaries
- things marked with XXX or FIXME
- ???

Differences:
- .la files are not created. They are useless and everybody hates them.
- Requires.private in pkgconfig files are not present in the
  autogenerated .pc file. Not sure if they should be there or not. If
  necessary, they can be added by hand.
- man pages and systemd units are installed by the install target. Not
  sure why 'make install' doesn't do that.
- the split between / and /usr is probably wrong. But it's all pointless
  anyway, so maybe we could simplify things but not implementing it at
  all under meson?
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
To build: meson build &amp;&amp; ninja -C build
To run tests: ninja -C build check
To install for packaging: DESTDIR=/var/tmp/inst ninja -C build install
To install for realz: sudo ninja -C build install

v2:
- Optional items are now based on the 'feature' feature in meson.
  Built libraries which are disabled turn into disabler() objects
  and also poison any executables which link to them.

What is there:
- building of the binaries and libs and the python module
- installation of binaries, libs, python module, localization files,
  man pages, pkgconfig files
- running of tests
- most options to configure build equivalently to the
  ./configure settings

Partially implemented:
- disabling of stuff when things missing. In the C code, the defines
  are all used, so that should be fine. In the build system, some
  files should be skipped, but that is probably not always done properly.
  Getting this right might require some testing of various build option
  combinations to get the details right.

Not implemented:
- static builds of fdisk and other binaries
- things marked with XXX or FIXME
- ???

Differences:
- .la files are not created. They are useless and everybody hates them.
- Requires.private in pkgconfig files are not present in the
  autogenerated .pc file. Not sure if they should be there or not. If
  necessary, they can be added by hand.
- man pages and systemd units are installed by the install target. Not
  sure why 'make install' doesn't do that.
- the split between / and /usr is probably wrong. But it's all pointless
  anyway, so maybe we could simplify things but not implementing it at
  all under meson?
</pre>
</div>
</content>
</entry>
<entry>
<title>pylibmount: PyEval_Call* is deprecate, use PyObject_Call*</title>
<updated>2021-03-15T15:37:47+00:00</updated>
<author>
<name>Karel Zak</name>
<email>kzak@redhat.com</email>
</author>
<published>2021-03-15T15:37:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/util-linux.git/commit/?id=f823700f61c999cf2897feaf4652d6ef3cdd10ad'/>
<id>f823700f61c999cf2897feaf4652d6ef3cdd10ad</id>
<content type='text'>
Signed-off-by: Karel Zak &lt;kzak@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Karel Zak &lt;kzak@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>libmount: (python) fix compiler warning</title>
<updated>2021-02-17T11:25:49+00:00</updated>
<author>
<name>Karel Zak</name>
<email>kzak@redhat.com</email>
</author>
<published>2021-02-17T11:25:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/util-linux.git/commit/?id=296b58a79e21be1b575869c7b37cc06d7c6c2a41'/>
<id>296b58a79e21be1b575869c7b37cc06d7c6c2a41</id>
<content type='text'>
Signed-off-by: Karel Zak &lt;kzak@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Karel Zak &lt;kzak@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>libmount: do not use pointer as an integer value</title>
<updated>2020-09-02T10:06:18+00:00</updated>
<author>
<name>Sami Kerola</name>
<email>kerolasa@iki.fi</email>
</author>
<published>2020-08-28T19:59:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/util-linux.git/commit/?id=f4987e082bb551c2d28145b578fe4a620dcf9e52'/>
<id>f4987e082bb551c2d28145b578fe4a620dcf9e52</id>
<content type='text'>
Fix couple "initialization of ‘long int’ from ‘void *’ makes integer from
pointer without a cast" warnings.

Signed-off-by: Sami Kerola &lt;kerolasa@iki.fi&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix couple "initialization of ‘long int’ from ‘void *’ makes integer from
pointer without a cast" warnings.

Signed-off-by: Sami Kerola &lt;kerolasa@iki.fi&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'clang' of https://github.com/neheb/util-linux</title>
<updated>2020-04-22T08:07:51+00:00</updated>
<author>
<name>Karel Zak</name>
<email>kzak@redhat.com</email>
</author>
<published>2020-04-22T08:07:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/util-linux.git/commit/?id=69fe4f4ba62a0f028b241067a8117b6aef44855c'/>
<id>69fe4f4ba62a0f028b241067a8117b6aef44855c</id>
<content type='text'>
* 'clang' of https://github.com/neheb/util-linux:
  [clang-tidy] fix misleading identation
  [clang-tidy] use ceil
  [clang-tidy] fix wrong *cmp usage
  [clang-tidy] do not use else after return
  [clang-tidy] do not return in void functions
  [clang-tidy] fix mismatching declarations
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* 'clang' of https://github.com/neheb/util-linux:
  [clang-tidy] fix misleading identation
  [clang-tidy] use ceil
  [clang-tidy] fix wrong *cmp usage
  [clang-tidy] do not use else after return
  [clang-tidy] do not return in void functions
  [clang-tidy] fix mismatching declarations
</pre>
</div>
</content>
</entry>
<entry>
<title>pylibmount: cleanup and sync UL_RaiseExc</title>
<updated>2020-04-22T07:44:47+00:00</updated>
<author>
<name>Karel Zak</name>
<email>kzak@redhat.com</email>
</author>
<published>2020-04-22T07:44:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/util-linux.git/commit/?id=e2aedec8d1aa4fd9b50e0248b6dc86d2a8776fd8'/>
<id>e2aedec8d1aa4fd9b50e0248b6dc86d2a8776fd8</id>
<content type='text'>
Addresses: https://github.com/karelzak/util-linux/issues/1013
Signed-off-by: Karel Zak &lt;kzak@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Addresses: https://github.com/karelzak/util-linux/issues/1013
Signed-off-by: Karel Zak &lt;kzak@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[clang-tidy] do not use else after return</title>
<updated>2020-04-20T20:20:59+00:00</updated>
<author>
<name>Rosen Penev</name>
<email>rosenp@gmail.com</email>
</author>
<published>2020-04-19T05:16:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/util-linux.git/commit/?id=042f62dfc514da177c148c257e4dcb32e5f8379d'/>
<id>042f62dfc514da177c148c257e4dcb32e5f8379d</id>
<content type='text'>
Found with readability-else-after-return

Signed-off-by: Rosen Penev &lt;rosenp@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Found with readability-else-after-return

Signed-off-by: Rosen Penev &lt;rosenp@gmail.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
