Re: [gentoo-dev] enhancement for doicon/newicon in eutils.eclass

2012-05-23 Thread Michał Górny
On Thu, 24 May 2012 02:43:47 +0200 hasufell wrote: > -s|--size) > if [[ ${2%%x*}x${2%%x*} == "$2" ]] ; then > size=${2%%x*} > else > size=${2} > fi >

Re: [gentoo-dev] enhancement for doicon/newicon in eutils.eclass

2012-05-23 Thread hasufell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 05/24/2012 02:30 AM, Mike Frysinger wrote: > On Wednesday 23 May 2012 20:16:12 hasufell wrote: >> Thanks, I'v implemented most of that, but your proposal about >> non-duplicated list in case) has multiple problems. The only >> cases that actually w

Re: [gentoo-dev] enhancement for doicon/newicon in eutils.eclass

2012-05-23 Thread hasufell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 05/24/2012 02:30 AM, Mike Frysinger wrote: > On Wednesday 23 May 2012 20:16:12 hasufell wrote: >> Thanks, I'v implemented most of that, but your proposal about >> non-duplicated list in case) has multiple problems. The only >> cases that actually w

Re: [gentoo-dev] enhancement for doicon/newicon in eutils.eclass

2012-05-23 Thread Mike Frysinger
On Wednesday 23 May 2012 20:16:12 hasufell wrote: > Thanks, I'v implemented most of that, but your proposal about > non-duplicated list in case) has multiple problems. The only cases > that actually work with that snippet are: > 16x16|22x22|24x24|32x32|36x36|48x48|64x64|72x72|96x96|scalable. > All

Re: [gentoo-dev] enhancement for doicon/newicon in eutils.eclass

2012-05-23 Thread hasufell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 05/22/2012 04:49 AM, Mike Frysinger wrote: > On Sunday 20 May 2012 19:24:13 hasufell wrote: >> case ${2} in > > please use $1/$2/etc... with positional variables when possible > >> 16|22|24|32|36|48|64|72|96|128|192|256) size=${2}x${2};; >> 16x16

Re: [gentoo-dev] enhancement for doicon/newicon in eutils.eclass

2012-05-21 Thread Mike Frysinger
On Sunday 20 May 2012 19:24:13 hasufell wrote: > case ${2} in please use $1/$2/etc... with positional variables when possible > 16|22|24|32|36|48|64|72|96|128|192|256) > size=${2}x${2};; > > 16x16|22x

Re: [gentoo-dev] enhancement for doicon/newicon in eutils.eclass

2012-05-21 Thread Mike Frysinger
On Monday 21 May 2012 15:58:24 hasufell wrote: > On 05/21/2012 07:14 PM, Michał Górny wrote: > > On Mon, 21 May 2012 01:24:13 +0200 hasufell wrote: > >> I want support for installing icons into the appropriate > >> directories which are under /usr/share/icons/... and not just > >> pixmaps. > >> >

Re: [gentoo-dev] enhancement for doicon/newicon in eutils.eclass

2012-05-21 Thread hasufell
On 05/21/2012 07:14 PM, Michał Górny wrote: > On Mon, 21 May 2012 01:24:13 +0200 hasufell > wrote: > >> I want support for installing icons into the appropriate >> directories which are under /usr/share/icons/... and not just >> pixmaps. >> >> proposal attached + diff >> >> This should not brea

Re: [gentoo-dev] enhancement for doicon/newicon in eutils.eclass

2012-05-21 Thread Samuli Suominen
On 05/21/2012 08:14 PM, Michał Górny wrote: On Mon, 21 May 2012 01:24:13 +0200 hasufell wrote: I want support for installing icons into the appropriate directories which are under /usr/share/icons/... and not just pixmaps. proposal attached + diff This should not break existing ebuilds. Test

Re: [gentoo-dev] enhancement for doicon/newicon in eutils.eclass

2012-05-21 Thread Michał Górny
On Mon, 21 May 2012 01:24:13 +0200 hasufell wrote: > I want support for installing icons into the appropriate directories > which are under /usr/share/icons/... and not just pixmaps. > > proposal attached + diff > > This should not break existing ebuilds. Tested a bit and open for > review now.

Re: [gentoo-dev] enhancement for doicon/newicon in eutils.eclass

2012-05-20 Thread hasufell
On 05/21/2012 01:36 AM, Alexis Ballier wrote: > On Mon, 21 May 2012 01:24:13 +0200 > hasufell wrote: > >> I want support for installing icons into the appropriate directories >> which are under /usr/share/icons/... and not just pixmaps. >> >> proposal attached + diff >> >> This should not break e

Re: [gentoo-dev] enhancement for doicon/newicon in eutils.eclass

2012-05-20 Thread Alexis Ballier
On Mon, 21 May 2012 01:24:13 +0200 hasufell wrote: > I want support for installing icons into the appropriate directories > which are under /usr/share/icons/... and not just pixmaps. > > proposal attached + diff > > This should not break existing ebuilds. Tested a bit and open for > review now.

[gentoo-dev] enhancement for doicon/newicon in eutils.eclass

2012-05-20 Thread hasufell
I want support for installing icons into the appropriate directories which are under /usr/share/icons/... and not just pixmaps. proposal attached + diff This should not break existing ebuilds. Tested a bit and open for review now. # @FUNCTION: doicon # @USAGE: doicon [options] # @DESCRIPTION: #