Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 58380 - Providing usbview.desktop to see usbview in gnome menu
Summary: Providing usbview.desktop to see usbview in gnome menu
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Low enhancement (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-26 04:03 UTC by Gustav Schaffter
Modified: 2005-04-30 19:33 UTC (History)
2 users (show)

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


Attachments
A simpe (English only) Gnome menu definition file. (usbview.desktop,1.47 KB, text/plain)
2004-07-26 04:04 UTC, Gustav Schaffter
Details
cleaned up version of usbview.desktop file (usbview.desktop,511 bytes, text/plain)
2004-09-03 08:19 UTC, Stephane Loeuillet
Details
/usr/portage/app-admin/usbview/usbview-1.0-r2.ebuild (usbview-1.0-r2.ebuild,704 bytes, text/plain)
2004-09-03 08:27 UTC, Stephane Loeuillet
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gustav Schaffter 2004-07-26 04:03:05 UTC
The app-admin/usbview ebuild (version 1.0-r1) doesn't contain the file /usr/share/applications/usbview.desktop which means that the usbview application doesn't show up in the Gnome menu.

I will attach a file that I use (English only). This file could(/should?) be added to the usbview ebuild.

From there, other usbview users may provide national translations to complement the file.

Gus


Reproducible: Always
Steps to Reproduce:
1. emerge usbview
2. load gnome
3. search for usbview in the Gnome menu
Actual Results:  
usbview does not show up in the Gnome menu.

Expected Results:  
usbview should show up in the Gnome menu.

# emerge info
Portage 2.0.50-r9 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3.20040420-r0,
2.6.7-gentoo-r11)
=================================================================
System uname: 2.6.7-gentoo-r11 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -funroll-loops -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /etc/tomcat /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config
/usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -funroll-loops -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://tsp.yggdrasil.home/tsp-cache/gentoo.oregonstate.edu
http://tsp.yggdrasil.home/tsp-cache/sunsite.cnlab-switch.ch/ftp/mirror/gentoo/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://tsp.yggdrasil.home/gentoo-portage"
USE="X acpi alsa apm arts avi berkdb cdr crypt cups dvd dvdr emacs encode esd
foomaticdb gdbm gif gnome gpm gtk gtk2 guile imlib java jpeg kde libg++ libwww
mad mikmod mmx motif mozcalendar mozilla mpeg ncurses nls oggvorbis opengl oss
pam pdflib perl png ppds python qt quicktime readline sdl slang spell sse ssl
svga tcpd truetype usb x86 xml2 xmms xv zlib"
 
#
Comment 1 Gustav Schaffter 2004-07-26 04:04:31 UTC
Created attachment 36183 [details]
A simpe (English only) Gnome menu definition file.
Comment 2 Stephane Loeuillet 2004-09-03 08:18:04 UTC
all those empty values are not needed
all xxx=[nothing]  lines should be removed

TryExec is here to detect if the exe exists (and to hide the entry from the menu if not found)

attaching a cleaned up version (adding fr translations in the process)
Comment 3 Stephane Loeuillet 2004-09-03 08:19:19 UTC
Created attachment 38823 [details]
cleaned up version of usbview.desktop file

add fr translation
fix TryExec line
remove empty translations
Comment 4 Stephane Loeuillet 2004-09-03 08:27:50 UTC
Created attachment 38824 [details]
/usr/portage/app-admin/usbview/usbview-1.0-r2.ebuild

just needs to put the .desktop file in :
/usr/portage/app-admin/usbview/files/
Comment 5 John N. Laliberte (RETIRED) gentoo-dev 2005-04-30 19:33:55 UTC
menu icon in ~r2 version of usbview.