net-wireless/wpa_supplicant-0.7.2-r3 got german translation Reproducible: Always Steps to Reproduce: 1. emerge -1v =net-wireless/wpa_supplicant-0.7.2-r3 2. ebuild /usr/portage/net-wireless/wpa_supplicant/wpa_supplicant-0.7.2-r3.ebuild unpack 3. lrelease /var/tmp/portage/net-wireless/wpa_supplicant-0.7.2-r3/work/wpa_supplicant-0.7.2/wpa_supplicant/wpa_gui-qt4/wpa_gui.pro 4. cp /var/tmp/portage/net-wireless/wpa_supplicant-0.7.2-r3/work/wpa_supplicant-0.7.2/wpa_supplicant/wpa_gui-qt4/lang/wpa_gui_de.qm /usr/share/qt4/translations/ 5. ebuild /usr/portage/net-wireless/wpa_supplicant/wpa_supplicant-0.7.2-r3.ebuild clean
I'm no expert on qt, and I'm not using it, so we'll have to try a few things. Could you try and add this line in the top of the file, right below the EAPI line, and see if that makes it install the translation? LANGS="de"
Created attachment 246473 [details] wpa_supplicant-0.7.2-r3.ebuild with german support
I've added also some code at the end of src_install function.
I'll take a look at it later, and maybe migrate it into 0.7.3, since we are currently working on getting 0.7.2-r3 marked stable. There is a few things missing, like a check regarding if qt is enabled (since the lrelease tool would not be avaliable without it)
You refer build system is looking for "LANGS" instead of "LINGUAS" variable? Do you have LINGUAS properly set?
What's the status on this issue? 0.7.x has been gone for a while, lowest version in the tree is 2.0. Is it still relevant or can we close it?
last touched 3 years ago, assuming obsolete