Mailing List Archive

MythTV 'master' branch needs a new library
Hi everyone,

I just pushed a new commit that replaces the old OSADB and minizip code
used by MythTV with libzip. The OSADB code hasn't been updated since
2008, and most distributions are still using minizip 1.x when version
3.x has been out for years. All the os/distributions that MythTV
supports have a fairly current version of libzip.

If you update 'master' and pick up commit be856e4cfa, you will need to
install libzip-devel or libzip-dev, depending on your system.

David


_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-dev
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: MythTV 'master' branch needs a new library [ In reply to ]
On Fri, Jul 16, 2021 at 06:10:27PM -0400, David Hampton via mythtv-dev wrote:
> Hi everyone,
>
> I just pushed a new commit that replaces the old OSADB and minizip code
> used by MythTV with libzip. The OSADB code hasn't been updated since
> 2008, and most distributions are still using minizip 1.x when version
> 3.x has been out for years. All the os/distributions that MythTV
> supports have a fairly current version of libzip.
>
> If you update 'master' and pick up commit be856e4cfa, you will need to
> install libzip-devel or libzip-dev, depending on your system.

Have you tried building it for Anroid?

David
--
David Engel
david@istwok.net
_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-dev
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: MythTV 'master' branch needs a new library [ In reply to ]
On Fri, 2021-07-16 at 21:27 -0500, David Engel wrote:
> On Fri, Jul 16, 2021 at 06:10:27PM -0400, David Hampton via mythtv-
> dev wrote:
> > Hi everyone,
> >
> > I just pushed a new commit that replaces the old OSADB and minizip
> > code
> > used by MythTV with libzip. The OSADB code hasn't been updated
> > since
> > 2008, and most distributions are still using minizip 1.x when
> > version
> > 3.x has been out for years. All the os/distributions that MythTV
> > supports have a fairly current version of libzip.
> >
> > If you update 'master' and pick up commit be856e4cfa, you will need
> > to
> > install libzip-devel or libzip-dev, depending on your system.
>
> Have you tried building it for Anroid?

Yes. I updated the packaging repo to add the additional instructions to
build and install the new library. The following should work from the
android directory of the packaging repo:

1) git update
2) make clean
3) ./makelibs.sh --sdk 21 --arm64 libzip
4) make SDK=21 MODE=arm64 apk

David


_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-dev
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: MythTV 'master' branch needs a new library [ In reply to ]
>
> If you update 'master' and pick up commit be856e4cfa, you will need to
> install libzip-devel or libzip-dev, depending on your system.
>

For the mac crowd, you'll need to install the libzip port.

I'm making a test build currently, but will make a PR to add libzip to the
macports ansible playbook once I finish building/testing on my four
environments.
Re: MythTV 'master' branch needs a new library [ In reply to ]
On Sat, 2021-07-17 at 07:59 -0400, John Hoyt wrote:
> > If you update 'master' and pick up commit be856e4cfa, you will need
> > to
> > install libzip-devel or libzip-dev, depending on your system.
> >
>
>
> For the mac crowd, you'll need to install the libzip port.
>
> I'm making a test build currently, but will make a PR to add libzip
> to the macports ansible playbook once I finish building/testing on my
> four environments.

If you're not in the EST timezone, the test cases are failing. I think
I made a bad assumption about the times stored in the zip file. Working
on it...

David


_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-dev
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: MythTV 'master' branch needs a new library [ In reply to ]
On Fri, Jul 16, 2021 at 10:57:53PM -0400, David Hampton wrote:
> On Fri, 2021-07-16 at 21:27 -0500, David Engel wrote:
> > On Fri, Jul 16, 2021 at 06:10:27PM -0400, David Hampton via mythtv-
> > > If you update 'master' and pick up commit be856e4cfa, you will need
> > > to
> > > install libzip-devel or libzip-dev, depending on your system.
> >
> > Have you tried building it for Anroid?
>
> Yes. I updated the packaging repo to add the additional instructions to
> build and install the new library. The following should work from the
> android directory of the packaging repo:
>
> 1) git update
> 2) make clean
> 3) ./makelibs.sh --sdk 21 --arm64 libzip
> 4) make SDK=21 MODE=arm64 apk

Great.

David
--
David Engel
david@istwok.net
_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-dev
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: MythTV 'master' branch needs a new library [ In reply to ]
On 16/07/2021 23:10, David Hampton via mythtv-dev wrote:
> Hi everyone,
>
> I just pushed a new commit that replaces the old OSADB and minizip code
> used by MythTV with libzip. The OSADB code hasn't been updated since
> 2008, and most distributions are still using minizip 1.x when version
> 3.x has been out for years. All the os/distributions that MythTV
> supports have a fairly current version of libzip.
>
> If you update 'master' and pick up commit be856e4cfa, you will need to
> install libzip-devel or libzip-dev, depending on your system.
>
> David


I built rpms for el7 using Gary's updated script. Thanks, Gary; but:

{{{
Error: Package: php-common-5.4.16-48.el7.x86_64 (@sl)
Requires: libzip.so.2()(64bit)
Removing: libzip-0.10.1-8.el7.x86_64 (@sl)
libzip.so.2()(64bit)
Updated By: libzip-1.8.0-1.el7.x86_64
(copr:copr.fedorainfracloud.org:gtb:libzip)
~libzip.so.5()(64bit)
You could try using --skip-broken to work around the problem

which proposed skipping all except the debug packages.

Packages skipped because of dependency problems:
libzip-1.8.0-1.el7.x86_64 from
copr:copr.fedorainfracloud.org:gtb:libzip
libzstd-1.5.0-1.el7.x86_64 from epel
mythtv-32.Pre.2793.g65ac18afce-100.el7.x86_64 from
/mythtv-32.Pre.2793.g65ac18afce-100.el7.x86_64
...etc

}}}

john P

_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-dev
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: MythTV 'master' branch needs a new library [ In reply to ]
On 17/07/2021 17:18, John Pilkington wrote:
> On 16/07/2021 23:10, David Hampton via mythtv-dev wrote:
>> Hi everyone,
>>
>> I just pushed a new commit that replaces the old OSADB and minizip code
>> used by MythTV with libzip. The OSADB code hasn't been updated since
>> 2008, and most distributions are still using minizip 1.x when version
>> 3.x has been out for years. All the os/distributions that MythTV
>> supports have a fairly current version of libzip.
>>
>> If you update 'master' and pick up commit be856e4cfa, you will need to
>> install libzip-devel or libzip-dev, depending on your system.
>>
>> David
>
>
> I built rpms for el7 using Gary's updated script.  Thanks, Gary;  but:
>
> {{{
> Error: Package: php-common-5.4.16-48.el7.x86_64 (@sl)
>            Requires: libzip.so.2()(64bit)
>            Removing: libzip-0.10.1-8.el7.x86_64 (@sl)
>                libzip.so.2()(64bit)
>            Updated By: libzip-1.8.0-1.el7.x86_64
> (copr:copr.fedorainfracloud.org:gtb:libzip)
>               ~libzip.so.5()(64bit)
>  You could try using --skip-broken to work around the problem
>
>  which proposed skipping all except the debug packages.
>
>  Packages skipped because of dependency problems:
>     libzip-1.8.0-1.el7.x86_64 from
> copr:copr.fedorainfracloud.org:gtb:libzip
>     libzstd-1.5.0-1.el7.x86_64 from epel
>     mythtv-32.Pre.2793.g65ac18afce-100.el7.x86_64 from
> /mythtv-32.Pre.2793.g65ac18afce-100.el7.x86_64
> ...etc
>
> }}}
>
> john P
>
Just for the record I tried installing the same rpms with the new copr
repo disabled.

{{{
Error: Package: mythtv-libs-32.Pre.2793.g65ac18afce-100.el7.x86_64
(/mythtv-libs-32.Pre.2793.g65ac18afce-100.el7.x86_64)
Requires: libzip.so.5()(64bit)
Error: Package: mythtv-plugins-32.Pre.2793.g65ac18afce-100.el7.x86_64
(/mythtv-plugins-32.Pre.2793.g65ac18afce-100.el7.x86_64)
Requires: libzip.so.5()(64bit)
}}}

Fedora 33 and ubuntu 20.04.1 ppa, x86_64 installed and run with no
problem seen.
_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-dev
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org