Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 322717 - net-im/pidgin-2.7.1 misses GNOME menu entry when built withtout nls USE flag
Summary: net-im/pidgin-2.7.1 misses GNOME menu entry when built withtout nls USE flag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High minor (vote)
Assignee: Gentoo Net-im project
URL: http://developer.pidgin.im/ticket/12126
Whiteboard:
Keywords:
: 328039 333913 334915 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-06-04 08:18 UTC by Marcin Deranek
Modified: 2010-10-25 10:55 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcin Deranek 2010-06-04 08:18:54 UTC
Starting with version 2.7.0 I started to notice that there's no menu entry for pidgin in Application -> Internet, so the only way to start it is to use CLI or create our own entry.

pidgin built with nls:
sun ~ # epm -q -l pidgin|grep pidgin.desktop
/usr/share/applications/pidgin.desktop

pidgin built without nls:
sun ~ # epm -q -l pidgin|grep pidgin.desktop
sun ~ #

Reproducible: Always
Comment 1 Michael Weber (RETIRED) gentoo-dev 2010-06-07 05:01:56 UTC
Hi MArcin,

i don't see any Gentoo specific about that in the ebuild. 
Maintainers can do a workaround (by using make_desktop_entry from eutils.eclass) but this should be reported upstream and linked here as URL. Can you please search the upstream bug tracker/ticket system to support the maintainer?

Thanks Michael
Comment 2 Marcin Deranek 2010-06-07 20:10:34 UTC
Seems like they are already aware of the problems (configure.ac):

if test "x$enable_i18n" = "xno" ; then
        echo
        echo Warning: You have disabled the building and installation of translation
        echo data.  This will prevent building pidgin.desktop and the GConf schemas.
        echo Be sure you know what you are doing.
fi

I can poke them to see what they say although most likely they will say no..
I didn't find any bug report about this problem in their bugzilla.
Comment 3 Olivier Crete (RETIRED) gentoo-dev 2010-06-07 20:59:27 UTC
Building desktop files requires gettext. Get over it and just do USE=nls. If too many people complain, I'll just remove the USE=nls. Its a dumb idea anyway.
Comment 4 Peter Volkov (RETIRED) gentoo-dev 2010-07-22 13:55:20 UTC
*** Bug 328039 has been marked as a duplicate of this bug. ***
Comment 5 Peter Volkov (RETIRED) gentoo-dev 2010-07-22 13:57:51 UTC
Olivier, what do you think if we keep nls USE flag but force it in case gtk is enabled? Something like this:

@@ -66,8 +66,8 @@
 	gtk? ( x11-proto/scrnsaverproto )
 	dbus? ( <dev-lang/python-3 )
 	doc? ( app-doc/doxygen )
-	nls? ( >=dev-util/intltool-0.41.1
-		sys-devel/gettext )"
+	!gtk? ( nls? ( >=dev-util/intltool-0.41.1
+		sys-devel/gettext ) )"
 
 DOCS="AUTHORS HACKING NEWS README ChangeLog"
 
@@ -153,7 +153,7 @@
 
 	econf \
 		$(use_enable ncurses consoleui) \
-		$(use_enable nls) \
+		$(use gtk || use_enable nls) \
 		$(use_enable gtk gtkui) \
 		$(use_enable gtk sm) \
 		$(use gtk && use_enable startup-notification) \

Not ideal but will work until portage will have proper support for this...
Comment 6 Peter Volkov (RETIRED) gentoo-dev 2010-08-23 04:22:41 UTC
*** Bug 333913 has been marked as a duplicate of this bug. ***
Comment 7 Peter Volkov (RETIRED) gentoo-dev 2010-08-23 04:22:48 UTC
Oliver, could you review solution in comment #5? I think it's still good idea to keep nls USE flag.
Comment 8 Peter Volkov (RETIRED) gentoo-dev 2010-08-29 16:14:52 UTC
*** Bug 334915 has been marked as a duplicate of this bug. ***
Comment 9 Peter Volkov (RETIRED) gentoo-dev 2010-10-25 10:55:17 UTC
Ok, we force nls in case gtk is enabled. Fixed in 2.7.4.