app-office/texmaker is currently using the deprecated qt4.eclass and should therefore be migrated to qt4-r2.eclass. I'll attach a patch. I did some extra cleanup, but of course you're free to discard that.
Created attachment 225405 [details, diff] texmaker-1.99.ebuild.diff
feel free to commit, except: -if [ ${MINOR_2} -eq "0" ] ; then +if [[ ${MINOR_2} -eq "0" ]] ; then unless you have arguments for introducing a bashism - >=x11-libs/qt-gui-4.5.1:4 - >=x11-libs/qt-core-4.5.1:4 + x11-libs/qt-core:4 + x11-libs/qt-gui:4 wtf? thats not "cleanup" thats borkage :p
(In reply to comment #2) > +if [[ ${MINOR_2} -eq "0" ]] ; then > > unless you have arguments for introducing a bashism [[ is always better than [ except if you need posix compatibility, but ebuilds are written in bash anyway, so there is no good reason not to use the safer [[ test. > + x11-libs/qt-core:4 > + x11-libs/qt-gui:4 > > wtf? thats not "cleanup" thats borkage :p There is no lower version than 4.5.3 in the tree anymore and there hasn't been for quite a while. And as they have known security bugs, they won't return to the tree anyway. So I see no reason to specify the version here. It's simply superfluous, altho it doesn't hurt.
(In reply to comment #3) > (In reply to comment #2) > > +if [[ ${MINOR_2} -eq "0" ]] ; then > > > > unless you have arguments for introducing a bashism > > [[ is always better than [ except if you need posix compatibility, but > ebuilds are written in bash anyway, so there is no good reason not to use > the safer [[ test. yes but here it changes nothing and adds 2 bytes if something had to change that'd be quotes around ${MINOR_2} but we control what's in this variable; since its in global scope I indeed prefer posix compatibility > > > + x11-libs/qt-core:4 > > + x11-libs/qt-gui:4 > > > > wtf? thats not "cleanup" thats borkage :p > > There is no lower version than 4.5.3 in the tree anymore and there hasn't been > for quite a while. And as they have known security bugs, they won't return to > the tree anyway. So I see no reason to specify the version here. It's simply > superfluous, altho it doesn't hurt. > its not superfluous; think about a box not updated for a couple of years
this was actually done when bumped to 2.0