On Fri, Sep 23, 2022 at 02:36:14PM +0200, Laszlo Ersek wrote:
On 09/23/22 12:14, Laszlo Ersek wrote:
> On 09/23/22 11:54, Richard W.M. Jones wrote:
>> (2) Should we drop Gtk2 support? I kept this around to allow virt-p2v
>> to be compiled on RHEL <= 6. RHEL 5 in particular needs Gtk 2.10,
>> which even for Gtk 2 is an old version. Those RHEL releases had
>> support for some old hardware, especially some old HP Smart Array
>> devices, which was dropped in newer RHEL, making it impossible to
>> convert physical machines using those devices.
>>
>> However the move to PCRE2 means that we can no longer compile on RHEL 6
>> (RHEL 7 is still OK). Gtk2 itself went out of support in 2021 [0],
>> although that is not very relevant.
>>
>> If we had a customer who wanted support for the old devices, perhaps
>> it is better to look for a modern distro that still supports them and
>> would have Gtk 3, PCRE 2, etc. Perhaps Fedora or Debian.
>
> I'll look into removing gtk2 support from virt-p2v.
Can I drop "contrib/build-p2v-iso.sh" altogether?
I found this script by grepping the tree for "gtk2". We no longer seem
to be building the p2v ISO on RHEL (any major release), and on Fedora, I
don't use this script. I propose we remove it.
contrib/ is just "stuff", a dumping ground for things that might be
useful.
I've completely forgotten about this script, but looking at it now it
seems like it's a way to automate the livecd-tools step for RHEL 5, 6
and 7. (See also contrib/aux-scripts/do-build.sh which is part of the
same script, and contrib/test-p2v-iso.sh which was apparently used to
test it.)
Anyway since virt-p2v cannot build on RHEL <= 6 any longer, it seems
like we can get rid of this script and the related files and patch.
Don't forget to update top level Makefile.am too, and perhaps check
everything is shipshape with "make maintainer-check-extra-dist" before
committing.
Thanks,
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
Read my programming and virtualization blog:
http://rwmj.wordpress.com
nbdkit - Flexible, fast NBD server with plugins
https://gitlab.com/nbdkit/nbdkit