Re: remove education/anki
On 2020/06/15 08:30, Andrea Fleckenstein wrote: > Stuart Henderson writes: > > > On 2020/06/14 09:40, Andrea Fleckenstein wrote: > >> Stuart Henderson writes: > >> > >> > The port was stuck due to not having qtwebengine which is needed > >> > for newer versions. > >> > > >> > There is a big enough change in build layout for the newer version > >> > that the current port isn't a good basis, so OK sthen@ to remove it. > >> > >> I'm keen to start work on the update. Anyone else been working on it? > >> Will the old port really be no use at all that I should just start from > >> scratch? > > > > I had a look at it a few times in the past, before we had qtwebengine > > (trying > > to switch it back to qtwebkit) but didn't get anywhere with that approach. > > Compared to the existing port, the files are in a different location, > > the dependencies are different with the move to qt5, and the file layout > > is different enough that the install target wasn't usable. There's not > > much else left to the existing port. > > And it doesn't seem like a straightforward > python port either, there's a Makefile that sets up its own python > venv, installs setuptools etc. and then builds. > Can I just skip this target and have the lang/python module handle > it for me, or do you think I'm better off just allowing the Makefile to > do it? You'll probably need to skip that, I expect it will try to download things itself which is not allowed in a ports build.
Re: remove education/anki
Stuart Henderson writes: > On 2020/06/14 09:40, Andrea Fleckenstein wrote: >> Stuart Henderson writes: >> >> > The port was stuck due to not having qtwebengine which is needed >> > for newer versions. >> > >> > There is a big enough change in build layout for the newer version >> > that the current port isn't a good basis, so OK sthen@ to remove it. >> >> I'm keen to start work on the update. Anyone else been working on it? >> Will the old port really be no use at all that I should just start from >> scratch? > > I had a look at it a few times in the past, before we had qtwebengine (trying > to switch it back to qtwebkit) but didn't get anywhere with that approach. > Compared to the existing port, the files are in a different location, > the dependencies are different with the move to qt5, and the file layout > is different enough that the install target wasn't usable. There's not > much else left to the existing port. And it doesn't seem like a straightforward python port either, there's a Makefile that sets up its own python venv, installs setuptools etc. and then builds. Can I just skip this target and have the lang/python module handle it for me, or do you think I'm better off just allowing the Makefile to do it? > I wasn't really interested enough in it to pick it up again. And, like > Calibre, upstream's advice to users to avoid OS packages isn't really > encouraging. If you or someone else want to pick it up, thr first thing > it will need is pyqtwebengine to be ported. Then I would suggest looking > for the last Anki version before they added the Rust bits so there is > less to deal with all at once.
Re: remove education/anki
On 2020/06/14 23:16, Rafael Sadowski wrote: > On Sun Jun 14, 2020 at 09:51:57PM +0100, Stuart Henderson wrote: > > On 2020/06/14 09:40, Andrea Fleckenstein wrote: > > > Stuart Henderson writes: > > > > > > > The port was stuck due to not having qtwebengine which is needed > > > > for newer versions. > > > > > > > > There is a big enough change in build layout for the newer version > > > > that the current port isn't a good basis, so OK sthen@ to remove it. > > > > > > I'm keen to start work on the update. Anyone else been working on it? > > > Will the old port really be no use at all that I should just start from > > > scratch? > > > > I had a look at it a few times in the past, before we had qtwebengine > > (trying > > to switch it back to qtwebkit) but didn't get anywhere with that approach. > > Compared to the existing port, the files are in a different location, > > the dependencies are different with the move to qt5, and the file layout > > is different enough that the install target wasn't usable. There's not > > much else left to the existing port. > > > > I wasn't really interested enough in it to pick it up again. And, like > > Calibre, upstream's advice to users to avoid OS packages isn't really > > encouraging. If you or someone else want to pick it up, thr first thing > > it will need is pyqtwebengine to be ported. > > > Do you mean www/py-qtwebengine? oh, yes :) > > Then I would suggest looking > > for the last Anki version before they added the Rust bits so there is > > less to deal with all at once. > > >
Re: remove education/anki
On Sun Jun 14, 2020 at 09:51:57PM +0100, Stuart Henderson wrote: > On 2020/06/14 09:40, Andrea Fleckenstein wrote: > > Stuart Henderson writes: > > > > > The port was stuck due to not having qtwebengine which is needed > > > for newer versions. > > > > > > There is a big enough change in build layout for the newer version > > > that the current port isn't a good basis, so OK sthen@ to remove it. > > > > I'm keen to start work on the update. Anyone else been working on it? > > Will the old port really be no use at all that I should just start from > > scratch? > > I had a look at it a few times in the past, before we had qtwebengine (trying > to switch it back to qtwebkit) but didn't get anywhere with that approach. > Compared to the existing port, the files are in a different location, > the dependencies are different with the move to qt5, and the file layout > is different enough that the install target wasn't usable. There's not > much else left to the existing port. > > I wasn't really interested enough in it to pick it up again. And, like > Calibre, upstream's advice to users to avoid OS packages isn't really > encouraging. If you or someone else want to pick it up, thr first thing > it will need is pyqtwebengine to be ported. > Do you mean www/py-qtwebengine? > > Then I would suggest looking > for the last Anki version before they added the Rust bits so there is > less to deal with all at once. >
Re: remove education/anki
On 2020/06/14 09:40, Andrea Fleckenstein wrote: > Stuart Henderson writes: > > > The port was stuck due to not having qtwebengine which is needed > > for newer versions. > > > > There is a big enough change in build layout for the newer version > > that the current port isn't a good basis, so OK sthen@ to remove it. > > I'm keen to start work on the update. Anyone else been working on it? > Will the old port really be no use at all that I should just start from > scratch? I had a look at it a few times in the past, before we had qtwebengine (trying to switch it back to qtwebkit) but didn't get anywhere with that approach. Compared to the existing port, the files are in a different location, the dependencies are different with the move to qt5, and the file layout is different enough that the install target wasn't usable. There's not much else left to the existing port. I wasn't really interested enough in it to pick it up again. And, like Calibre, upstream's advice to users to avoid OS packages isn't really encouraging. If you or someone else want to pick it up, thr first thing it will need is pyqtwebengine to be ported. Then I would suggest looking for the last Anki version before they added the Rust bits so there is less to deal with all at once.
Re: remove education/anki
Stuart Henderson writes: > The port was stuck due to not having qtwebengine which is needed > for newer versions. > > There is a big enough change in build layout for the newer version > that the current port isn't a good basis, so OK sthen@ to remove it. I'm keen to start work on the update. Anyone else been working on it? Will the old port really be no use at all that I should just start from scratch? Cheers, Andrea
Re: remove education/anki
On 2020/06/13 17:27, Klemens Nanni wrote: > The port stuck at a release from early 2018, marked BROKEN due to > core dumps revolving libQtWebKit and depends on python2-only ports such > as x11/py-qt4 and www/py-beautifulsoup, of which the latter is massively > behind as well (3.2.2 from ca. 2013). > > From https://www.crummy.com/software/BeautifulSoup/#Download > > Beautiful Soup 3 was the official release line of Beautiful Soup > from May 2006 to March 2012. It does not support Python 3 and it > will be discontinued on or after December 31, 2020—one year after > the Python 2 sunsetting date. If you have any active projects using > Beautiful Soup 3, you should migrate to Beautiful Soup 4 as part of > your Python 3 conversion. > > anki is also one of the only two consumers of py-beautifulsoup next to > textproc/calibre. > > Anyone OK with removing anki on its own, but also as part of cleaning > up behind beautifulsoup? > The port was stuck due to not having qtwebengine which is needed for newer versions. There is a big enough change in build layout for the newer version that the current port isn't a good basis, so OK sthen@ to remove it.
remove education/anki
The port stuck at a release from early 2018, marked BROKEN due to core dumps revolving libQtWebKit and depends on python2-only ports such as x11/py-qt4 and www/py-beautifulsoup, of which the latter is massively behind as well (3.2.2 from ca. 2013). >From https://www.crummy.com/software/BeautifulSoup/#Download Beautiful Soup 3 was the official release line of Beautiful Soup from May 2006 to March 2012. It does not support Python 3 and it will be discontinued on or after December 31, 2020—one year after the Python 2 sunsetting date. If you have any active projects using Beautiful Soup 3, you should migrate to Beautiful Soup 4 as part of your Python 3 conversion. anki is also one of the only two consumers of py-beautifulsoup next to textproc/calibre. Anyone OK with removing anki on its own, but also as part of cleaning up behind beautifulsoup?