Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 622748

Summary: app-office/scribus-1.4.6: broken .desktop file
Product: Gentoo Linux Reporter: Markus Meier <markus.meier74>
Component: Current packagesAssignee: Justin Lecher (RETIRED) <jlec>
Status: RESOLVED WONTFIX    
Severity: minor CC: jstein
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch for /usr/share/applications/scribus.desktop to fix path to executable.

Description Markus Meier 2017-06-26 16:31:34 UTC
Created attachment 478036 [details, diff]
Patch for /usr/share/applications/scribus.desktop to fix path to executable.

Hi,

The Scribus menu icon does not show up in my Desktop menus (XFCE4). The reason is that the /usr/share/applications/scribus.desktop file distributed with app-office/scribus-1.4.6 points to an non-existing executable.

Actual path to the Scribus executable:
/usr/bin/scribus-1.4.6


Path in the .desktop file
/usr/bin/scribus

I have attached a patch that fixes the problem.

Thank you!
Markus
Comment 1 Markus Meier 2017-06-26 16:33:02 UTC
Portage 2.3.5 (python 2.7.12-final-0, default/linux/amd64/13.0, gcc-5.4.0, glibc-2.23-r3, 3.18.25-gentoo-r1 x86_64)
=================================================================
System uname: Linux-3.18.25-gentoo-r1-x86_64-Intel-R-_Core-TM-_i7-3632QM_CPU_@_2.20GHz-with-gentoo-2.3
KiB Mem:    12187624 total,   1786024 free
KiB Swap:   12582908 total,  12582908 free
Timestamp of repository gentoo: Tue, 30 May 2017 18:45:01 +0000
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.26.1 p1.0) 2.26.1
app-shells/bash:          4.3_p48-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.1-r1::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo
dev-util/cmake:           3.7.2::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.26.3::gentoo
sys-apps/sandbox:         2.10-r3::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.6.3-r2::gentoo, 1.11.6-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.26.1::gentoo
sys-devel/gcc:            5.4.0-r3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r3::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.namerica.gentoo.org/gentoo-portage
    priority: -1000

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 0

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA AdobeFlash-11.x dlj-1.1 google-chrome Oracle-BCLA-JavaSE NVIDIA-CUDA RAR skype-4.0.0.7-copyright"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -mfpmath=sse  -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -mfpmath=sse  -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://mirror.csclub.uwaterloo.ca/gentoo-distfiles/"
LANG="en_CA.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X Xaw3d a52 aac aalib acl acpi aim alsa amd64 amr amrnb amrwb apache2 audio avahi bash-completion bidi blas bluetooth bluray branding bzip2 cairo caps cdda cddb cdparanoia cdr cjk cli cracklib crypt cups curl curlwrappers cxx daap dbus dmi doc dri dts dv dvb dvd dvdr dvdread emboss emf encode exif faac faad fam ffmpeg fftw firefox flac fontconfig foomaticdb fortran ftp gcj gd gdbm gif gimp ginac glade glib glut gmp gnome-keyring gnutls gphoto2 gpm graphviz gstreamer gtk gtk3 gtkhtml guile iconv icq idn ieee1394 imagemagick imap imlib ipod ipv6 jabber java javascript jbig jpeg jpeg2k lapack laptop lcms ldap lesstif libcaca libedit libnotify lm_sensors m17n-lib mad matroska midi mikmod mime mmap mmx mng modplug modules mono mozilla mp3 mpeg mpi mplayer msn mtp multilib musepack ncurses netcdf nls nntp nptl nptlonly ogg openexr opengl openldap openmp orc osc oscar pam pcmcia pcre pdf perl php plotutils png policykit posix ppds pulseaudio python qt3support quicktime readline recode rtmp samba scanner sdl seccomp session sharedmem smp sndfile snmp sound sox speex spell sqlite sse sse2 sse3 sse4_1 ssl ssse3 startup-notification svg syslog systemd taglib tcl tcpd theora threads threadsafe thunar tiff timidity tk tracker truetype udisks unicode upnp usb v4l v4l2 vcd video vorbis wav wifi win32codecs wmf wxwindows x264 xattr xcb xcomposite xft xine xinerama xml xmp xosd xpm xscreensaver xulrunner xv xvid zeroconf zlib" ABI_X86="64 32" ALSA_CARDS="usb-audio hda-intel" APACHE2_MODULES="actions alias asis auth_basic auth_digest authn_anon authn_core authn_dbd authn_dbm authn_default authn_file authz_core authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgid dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio lbmethod_byrequests lbmethod_bytraffic lbmethod_bybusyness lbmethod_heartbeat \ mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif slotmem_shm so socache_shmcb speling status unique_id unixd userdir usertrack vhost_alias" APACHE2_MPMS="worker" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev synaptics" KERNEL="linux" L10N="en en-CA en-GB de de-CH" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_CA en_GB de de_CH" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby21 ruby22" SANE_BACKENDS="genesys" USERLAND="GNU" VIDEO_CARDS="intel nvidia" XFCE_PLUGINS="brightness menu trash" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 2 Justin Lecher (RETIRED) gentoo-dev 2017-06-27 09:38:01 UTC
scribus-1.4.6 is definitely not the name we want. let me have a look into that.
Comment 3 Markus Meier 2017-06-27 15:06:31 UTC
Maybe this is to distinguish it from Scribus-1.5, which is the development branch. But the ebuilds do not appear to be slotted. Files saved with Scribus-1.5 are not backwards compatible with Scribus-1.4.6.
Comment 4 Michael 'veremitz' Everitt 2018-10-07 16:44:01 UTC
Ran into this one today also.

Symlinking /usr/bin/scribus to /usr/bin/scribus-1.4.6 works for me.

@jlec are you able to investigate this?
Comment 5 Michael 'veremitz' Everitt 2018-10-07 17:29:43 UTC
Fwiw, still affects v1.4.7 released earlier this year.

I would imagine this bug can be closed as RESO:WONT as the ebuilds are now no longer in tree.