Summary: | app-office/texmaker should use qt4-r2.eclass | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Ben de Groot (RETIRED) <yngwin> |
Component: | New packages | Assignee: | TeX project <tex> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | Inclusion |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 311481 | ||
Attachments: | texmaker-1.99.ebuild.diff |
Description
Ben de Groot (RETIRED)
2010-03-27 01:20:55 UTC
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 |