sizes in Kb: 23554 /usr/share/scribus/translations 2246 /usr/include/scribus After adding linguas support and making headers installation optional (nothing in portage uses them) size of scribus decreased from 62162.58 KiB to 32865.33 KiB. Reproducible: Always
Created attachment 228011 [details] ebuild
LANGSLONG="en_US lt_LT th_TH" LANGS="af ar bg bn br ca cs cy da de_CH de_ol de dz el en_AU en_GB eo es_LA es et eu fi fr gl hu id it ja ko nb nl pl pt_BR pt ru sa sk sl sq sr sv tr uk zh zh_TW" Why other xx_XX's are in LANGLONG and others in LANGS, like pt_BR? And the headers install would go behind USE="minimal" imho
Use minimal is good idea, but we need description in metadata.xml for this package. Imho this USE flag should be enabled by default. >Why other xx_XX's are in LANGLONG and others in LANGS, like pt_BR? Because we want USE="linguas_pt_BR", not USE="linguas_pt", read /usr/portage/profiles/desc/linguas.desc LANGSLONG is var for xx_YY, where YY is not important and we want 'linguas_xx' LANGS is var for ff_TT and ff, where _both_ ff and TT (if present) are important and became linguas_ff_TT or linguas_ff. My ebuild and some ebuilds from portage work so, may be you know better solution? p.s. cd /usr/portage && grep LANGSLONG= */*/*ebuild -A2 -B2 ... media-sound/qmpdclient/qmpdclient-1.1.2-r2.ebuild- media-sound/qmpdclient/qmpdclient-1.1.2-r2.ebuild:LANGSLONG="cs_CZ de_DE fr_FR it_IT nl_NL nn_NO no_NO ru_RU sv_SE tr_TR uk_UA" media-sound/qmpdclient/qmpdclient-1.1.2-r2.ebuild-LANGS="zh_CN zh_TW pt_BR " -- media-video/minitube/minitube-0.9.ebuild-LANGS="es_AR pt_BR uk" media-video/minitube/minitube-0.9.ebuild:LANGSLONG="cs_CZ de_DE es_ES he_IL hr_HR hu_HU fr_FR it_IT ja_JP nb_NO pl_PL ru_RU media-video/minitube/minitube-0.9.ebuild-tr_TR" -- media-video/smplayer/smplayer-0.6.9.ebuild-pt sk sr sv tr zh_CN zh_TW" media-video/smplayer/smplayer-0.6.9.ebuild:LANGSLONG="ar_SY el_GR ro_RO ru_RU sl_SI uk_UA vi_VN" media-video/smplayer/smplayer-0.6.9.ebuild- -- net-im/qtwitter/qtwitter-0.10.0.ebuild-LANGS="nb_NO pt_BR" net-im/qtwitter/qtwitter-0.10.0.ebuild:LANGSLONG="ca_ES cs_CZ de_DE es_ES fr_FR it_IT ja_JP pl_PL" net-im/qtwitter/qtwitter-0.10.0.ebuild- ..
I've added the headers/minimal flag, it's enabled by default. But the linguas hassle is not very appealing, it adds extra burden to the ebuild maintaince. /me considers this half-fix good enough, thanks for reporting/ebuild!
Created attachment 230245 [details] diff Thanks for adding minimal use flag to ebuild in portage, but I think LINGUAS is more important - for me it saved 23 Mb, when 'minimal' only 2,3 Mb. I simplified patch, please look. > USE minimal controls now headers wrt #315567. Scribus is no reverse depend of anything and headers are useful only for e.g. plug-in developers. This should save about 30 MB installed data. May be you counted wrong or you need to change/tweak your FS?
I think reopening is necessary.
I stopped maintaining scribus
(In reply to comment #5) > Created attachment 230245 [details] > diff > Why did you add qt4-r2 ?
>Why did you add qt4-r2 ? You can remove this eclass and add: for x in ${LANGS}; do IUSE="${IUSE} linguas_${x}" done for x in ${LANGSLONG}; do IUSE="${IUSE} linguas_${x%_*}" done
+*scribus-1.4.0 (04 Jan 2012) + + 04 Jan 2012; Justin Lecher <jlec@gentoo.org> -scribus-1.3.6.ebuild, + -scribus-1.3.8.ebuild, -scribus-1.3.9-r1.ebuild, -scribus-1.4.0_rc5.ebuild, + -scribus-1.4.0_rc6.ebuild, +scribus-1.4.0.ebuild, metadata.xml: + Version Bump, added linguas support, #315567; cleaned old +