From Fedora Project Wiki

< User:Toshio

Revision as of 07:35, 23 February 2013 by Toshio (talk | contribs) (t's done. More q's)

https://fedorahosted.org/fesco/ticket/1077

On F19+ (and not on earlier fedoras), desktop files need to be changed to not be installed with a vendor prefix.

On rawhide: repoquery --whatprovides \*/fedora-\*.desktop --qf '%{name}'| sort| uniq| wc -l shows 619 binary packages with problems.

February 18: Down to 358 binary packages. Way to go!

February 28: Down to 328 binary packages

Porting notes

Some maintainers like to use the same spec file for all releases. To accommodate that you can use conditionals to make the spec use --vendor fedora on earlier releases and remove the --vendor for F19+. The simplest form looks something like this:

desktop-file-install \
%if 0%{?fedora} < 19
  --vendor fedora \
%endif
  %{name}.desktop

To be even more accommodating to maintainers, you can try to make your conditionals aware of potential EPEL builds as well. That looks like this:

# --vendor was not previously used in EPEL/RHEL builds or there aren't currently EPEL builds:
desktop-file-install \
%if 0%{?fedora} && 0%{?fedora} < 19
  --vendor fedora \
%endif
  %{name}.desktop

# If --vendor was previously used in EPEL/RHEL builds
desktop-file-install \
%if (0%{?fedora} && 0%{?fedora} < 19) || (0%{?rhel} && 0%{?rhel} < 7)
  --vendor fedora \
%endif
  %{name}.desktop

In addition to modifying the desktop-file-install line, you probably also have to modify the %files section to handle desktop files with or without the fedora- prefix. Some examples:

  %files
  # Use a wildcard
- %{_datadir}/applications/fedora-%{name}.desktop
+ %{_datadir}/applications/*%{name}.desktop

  # Use a conditional
+ %if 0%{?fedora} && 0%{?fedora} < 19
  %{_datadir}/applications/fedora-%{name}.desktop
+ %else
+ %{_datadir}/applications/%{name}.desktop
+ %endif

List of affected packages

On rawhide, run: repoquery --whatprovides \*/fedora-\*.desktop --qf '%{sourcerpm}'| sort| uniq

600 source packages need changing:

  • abe  : Rahul Sundaram
  • abiword  : Rahul Sundaram
  • agistudio  : Rahul Sundaram
  • aiksaurus  : Rahul Sundaram
  • airsnort  : Rahul Sundaram
  • alex4  : Rahul Sundaram
  • alexandria  : already fixed
  • alienarena  : Rahul Sundaram
  • alienblaster  : Rahul Sundaram
  • alleyoop  : Rahul Sundaram
  • alltray  : Rahul Sundaram
  • alphabet-soup  : Rahul Sundaram
  • alsamixergui  : Rahul Sundaram
  • alsa-tools - Rahul Sundaram. Filed https://bugzilla.redhat.com/show_bug.cgi?id=909622
  • amoebax  : Rahul Sundaram
  • amsn  : Rahul Sundaram
  • amtterm  : Rahul Sundaram
  • anaconda  : Rahul Sundaram. Filed https://bugzilla.redhat.com/show_bug.cgi?id=909592
  • angrydd  : Jon Ciesla
  • ants  : Rahul Sundaram
  • apcupsd  : Toshio Kuratomi It was in the -gui subpackage
  • apricots  : Jon Ciesla
  • ardour  : Rahul Sundaram
  • armacycles-ad  : Jon Ciesla
  • arora  : Rahul Sundaram
  • arrows  : Rahul Sundaram
  • asc  : Rahul Sundaram
  • astromenace - hold off, working on update - JC
  • asunder  : Rahul Sundaram
  • asylum  : Rahul Sundaram
  • asymptote  : Rahul Sundaram
  • aterm  : Rahul Sundaram
  • atomix  : Rahul Sundaram
  • atomorun  : Rahul Sundaram
  • audacity  : Rahul Sundaram
  • audio-convert-mod  : Rahul Sundaram
  • audit-viewer  : Rahul Sundaram
  • auriferous  : Rahul Sundaram
  • autobuild-applet  : Rahul Sundaram
  • azureus  : Rahul Sundaram
  • bacula  : Rahul Sundaram
  • ballbuster  : Rahul Sundaram
  • balsa  : Rahul Sundaram - FTBFS fixed by toshio, now rebuilt.
  • beldi  : Rahul Sundaram
  • beneath-a-steel-sky  : Rahul Sundaram
  • beneath-a-steel-sky-cd  : Rahul Sundaram
  • berusky  : Rahul Sundaram
  • bibus  : Rahul Sundaram
  • bitmap  : Rahul Sundaram
  • bless  : Rahul Sundaram
  • berusky  : Rahul Sundaram
  • blobby  : Rahul Sundaram
  • BlockOutII  : Rahul Sundaram
  • boinc-client  : Rahul Sundaram
  • bolzplatz2006  : Rahul Sundaram
  • boswars  : Rahul Sundaram
  • bouml  : Rahul Sundaram
  • biloba  : Jon Ciesla
  • bombardier  : Jon Ciesla
  • bygfoot  : Rahul Sundaram
  • cairo-clock  : Rahul Sundaram
  • catfish : already done
  • cave9  : Rahul Sundaram
  • cbrpager : already done
  • cdcollect  : Rahul Sundaram
  • cdogs-sdl : Rahul Sundaram
  • celestia  : Rahul Sundaram
  • cellwriter : Parag Nemade
  • centerim : Rahul Sundaram
  • cfdg-fe  : Jon Ciesla
  • chemtool : Rahul Sundaram
  • childsplay : Rahul Sundaram
  • chkrootkit  : Jon Ciesla
  • chmsee : Rahul Sundaram
  • cinepaint : Rahul Sundaram
  • clanbomber : Rahul Sundaram
  • clips : Rahul Sundaram
  • clonekeen : Rahul Sundaram
  • clusterssh : Rahul Sundaram
  • coco-coq  : Jon Ciesla
  • codeblocks
  • comix
  • conduit
  • conglomerate
  • coq
  • coriander
  • corrida
  • crack-attack
  • CriticalMass
  • crossfire-client  : Jon Ciesla
  • crystal-stacker
  • cssed
  • cwiid
  • cycle  : Jon Ciesla
  • cylindrix  : Jon Ciesla
  • dayplanner  : Toshio Kuratomi
  • dd2  : Toshio Kuratomi
  • ddd  : Jon Ciesla
  • deluge  : Toshio Kuratomi
  • dgae  : Jon Ciesla
  • dia : Christoph Wickert
  • dillo
  • diveintopython
  • djview4
  • dogtail
  • dosbox  : Jon Ciesla
  • drgeo
  • driconf
  • duel3
  • dvdisaster
  • dx
  • dxcc
  • e16-keyedit
  • ebview
  • ed2k_hash
  • edsadmin
  • eiciel
  • em8300
  • ember
  • emelfm2
  • empathy  : Brian Pepple
  • enigma
  • epdfview
  • escape
  • eterm
  • etherape  : Jon Ciesla
  • ettercap  : Jon Ciesla
  • exaile
  • expendable
  • extrema
  • extremetuxracer
  • fantasdic
  • fbg
  • fbreader
  • fedora-accessibility-guide-en-US
  • fedora-arm-installer
  • fedora-release-notes
  • fedora-review
  • filezilla  : Jon Ciesla
  • firstaidkit
  • FlightGear
  • flight-of-the-amazon-queen
  • flight-of-the-amazon-queen-cd
  • flobopuyo
  • flpsed
  • flumotion
  • fontforge : Paul Flo Williams
  • fontmatrix  : Parag Nemade
  • foobillard  : Jon Ciesla
  • fpm2
  • fprint_demo
  • freeciv  : Jon Ciesla
  • freecol
  • freedroid  : Jon Ciesla
  • freedroidrpg  : Jon Ciesla
  • freetennis
  • fslint
  • fwbackups
  • fwbuilder
  • fwfstab
  • g3data
  • gabedit
  • gajim
  • galternatives
  • gamazons
  • gambas2
  • gambas3
  • gazpacho
  • gbrainy
  • gcin
  • gcompris
  • gcstar
  • gcx
  • gdesklets
  • gdmap
  • geany
  • gemdropx
  • genchemlab  : Jon Ciesla
  • genius
  • ggobi
  • ggz-gtk-client
  • ghasher
  • ghost-diagrams
  • giggle  : Jon Ciesla
  • gimmix
  • git
  • gjots2
  • gl-117
  • glabels
  • glade3
  • glaxium
  • GLC_Player
  • glglobe
  • gliv
  • glob2
  • gmpc
  • gnomad2
  • gnomebaker
  • gnome-chemistry-utils
  • gnomeradio
  • gnome-subtitles
  • gnome-translate
  • gnubg  : Jon Ciesla
  • gnumeric  : Christoph Wickert
  • gobby
  • gonvert  : Jon Ciesla
  • gourmet
  • gparted
  • gphpedit
  • gpicview
  • gpodder  : Jon Ciesla
  • gpredict
  • gpsd
  • gq
  • grace
  • gramps  : Jon Ciesla
  • grass
  • grc
  • greadelf
  • gresistor
  • gresolver
  • GREYCstoration
  • greyhounds
  • grhino
  • grig
  • grip
  • grisbi
  • gscan2pdf
  • gtk-gnutella
  • gtkperf
  • gtkpod  : Jon Ciesla
  • gtk-recordmydesktop
  • gtkterm
  • gtorrentviewer
  • gv
  • gweled  : Jon Ciesla
  • gwget
  • gwibber
  • gxine
  • gyachi
  • hardinfo
  • hatari
  • hedgewars
  • HippoDraw
  • homebank
  • html2ps
  • htmldoc
  • httrack
  • hydrogen  : Jon Ciesla
  • im-chooser
  • immix  : Jon Ciesla
  • inetvis  : Toshio Kuratomi
  • international-time  : Toshio Kuratomi
  • iok  : Parag Nemade
  • ipe
  • isomaster
  • jabbim
  • jack-rack
  • jd
  • jigdo
  • jmol
  • justmoon
  • kazehakase
  • kbilliards
  • kdesvn
  • kdirstat
  • keepassx  : Jon Ciesla
  • kid3
  • kita
  • kitsune
  • klamav
  • knetstats
  • KoboDeluxe  : Jon Ciesla
  • kodos
  • komparator
  • koules
  • kover
  • kphotobymail
  • kpolynome
  • kreetingkard
  • ksensors
  • kshutdown
  • LabPlot
  • lacewing
  • lash  : oget
  • lazarus
  • lbrickbuster2
  • leafpad
  • libhocr
  • libsvm
  • licq
  • liferea  : Jon Ciesla
  • lincity-ng
  • linphone
  • linpsk
  • linsmith
  • liquidwar  : Jon Ciesla
  • listen
  • liveusb-creator
  • logjam
  • londonlaw
  • lshw
  • lucidlife
  • lure
  • lxappearance
  • lxtask
  • lxterminal
  • lybniz
  • machineball  : Toshio Kuratomi
  • Maelstrom  : Toshio Kuratomi
  • magicmaze  : Toshio Kuratomi
  • magicor  : Toshio Kuratomi
  • mail-notification  : Toshio Kuratomi
  • makehuman  : Toshio Kuratomi
  • manedit  : Toshio Kuratomi
  • maniadrive  : Toshio Kuratomi
  • mapnik  : Toshio Kuratomi
  • mdbtools  : Toshio Kuratomi
  • MegaMek  : Toshio Kuratomi
  • meld  : Toshio Kuatomi
  • methane  : Toshio Kuratomi
  • midori  : Toshio Kuratomi
  • milkytracker  : Toshio Kuratomi
  • mirage  : already fixed by Mamoru Tasaka
  • mirrormagic  : Toshio Kuratomi
  • mldonkey  : Toshio Kuratomi
  • mono-tools  : Toshio Kuratomi
  • monsterz  : Jon Ciesla
  • mrxvt  : Toshio Kuratomi
  • mtpaint  : Toshio Kuratomi
  • mtr  : Toshio Kuratomi
  • mypaint  : Toshio Kuratomi
  • MyPasswordSafe  : Toshio Kuratomi
  • naturette  : Jon Ciesla
  • nautilus-actions
  • nazghul
  • nedit
  • nemiver
  • nessus-core
  • netgen
  • netgo
  • nethack  : Jon Ciesla
  • nethack-vultures  : Jon Ciesla
  • netpanzer  : Jon Ciesla
  • neverball  : Jon Ciesla
  • nexuiz  : Jon Ciesla
  • nightfall
  • nightview
  • njam
  • nntpgrab
  • nogravity
  • npush
  • numptyphysics  : Jon Ciesla
  • nvclock
  • obconf
  • obmenu
  • ochusha
  • ocp
  • octave
  • oggconvert
  • OmegaT
  • oneko
  • openalchemist
  • openlierox
  • openmsx
  • openuniverse
  • opticalraytracer
  • orage
  • osmo
  • overgod
  • pachi
  • pan
  • paraview
  • parcellite
  • pari
  • pcmanfm
  • pcsc-tools
  • penguin-command  : Jon Ciesla
  • pengupop  : Jon Ciesla
  • perl-Padre
  • phasex
  • picard
  • picviz
  • pikdev
  • piklab
  • pikloops
  • pinball  : Jon Ciesla
  • pingus  : Jon Ciesla
  • pioneers  : Toshio Kuratomi
  • pipenightdreams  : Jon Ciesla
  • pipepanic  : Toshio Kuratomi
  • planets  : Jon Ciesla
  • player
  • pmpu
  • poedit
  • policycoreutils
  • portecle
  • prelude-notify
  • professor-is-missing  : Jon Ciesla
  • publican  : Parag Nemade
  • puzzles
  • pybliographer
  • pychess
  • pyrenamer  : Jon Ciesla
  • PySolFC
  • pyvnc2swf
  • qalculate-gtk  : Toshio Kuratomi
  • qalculate-kde  : Toshio Kuratomi
  • qascade
  • qcad : Toshio Kuratomi
  • qct : Toshio Kuratomi
  • qemu-launcher  : Toshio Kuratomi
  • qfaxreader : Toshio Kuratomi
  • qgis : Toshio Kutatomi
  • qgit
  • qjackctl  : oget
  • qmmp
  • qsynth  : oget
  • qtoctave
  • qt-recordmydesktop
  • quake3  : Jon Ciesla
  • quarry  : Jon Ciesla
  • qucs
  • quicksynergy
  • quodlibet
  • rafkill  : Jon Ciesla
  • raidem
  • rapidsvn
  • rawstudio
  • rcsslogplayer
  • rcssmonitor
  • rcssserver
  • rcssserver3d
  • redet
  • redmode
  • regexxer
  • rekall
  • remind
  • resapplet
  • revelation
  • revisor
  • Ri-li
  • ristretto
  • rocksndiamonds
  • rogue
  • rosegarden4
  • rott
  • roxterm
  • rxvt
  • rxvt-unicode
  • saoimage
  • schismtracker
  • scorched3d  : Jon Ciesla
  • scorchwentbonkers
  • screenruler
  • scribus
  • scythia
  • seahorse-adventures
  • sear
  • seaview
  • sectool
  • seq24
  • sergueis-destiny  : Jon Ciesla
  • shippy
  • sim
  • simcoupe
  • sirius
  • six
  • sk2py
  • slingshot  : Jon Ciesla
  • solarwolf  : Jon Ciesla
  • solfege
  • sonata
  • sooperlooper
  • sopwith  : Jon Ciesla
  • soundconverter  : modified in git already
  • soundtracker
  • spacechart
  • Sprog
  • sqliteman
  • stardict
  • starplot
  • SteGUI
  • stellarium  : Jon Ciesla
  • stormbaancoureur
  • subtitleeditor
  • supertuxkart  : Jon Ciesla
  • sweep
  • synaptic
  • synce-kpm
  • synce-software-manager
  • synce-trayicon
  • synfigstudio  : Jon Ciesla
  • system-config-rootpassword
  • tagtool  : Parag Nemade
  • taskcoach  : Parag Nemade
  • taskjuggler  : Parag Nemade
  • taxipilot  : Parag Nemade
  • tecnoballz  : Parag Nemade
  • teg  : Toshio Kuratomi
  • tennix  : Jon Ciesla
  • TeXmacs  : Parag Nemade
  • texmaker  : Parag Nemade
  • tgif  : Mamoru Tasaka
  • thewidgetfactory  : Toshio Kuratomi
  • Thunar  : Toshio Kuratomi
  • thunar-volman  : Toshio Kuratomi
  • timidity++  : Parag Nemade
  • tkgate  : Parag Nemade
  • tn5250  : Parag Nemade
  • tong  : Parag Nemade
  • torsmo  : Parag Nemade
  • trackballs  : Jon Ciesla
  • translation-filter  : Parag Nemade
  • tremulous  : Parag Nemade
  • tryton  : Parag Nemade
  • tunneler  : Toshio Kuratomi
  • tuxpaint  : Jon Ciesla
  • tuxpuck  : Jon Ciesla
  • tuxtype2  : Parag Nemade
  • twinkle  : Parag Nemade
  • typespeed  : Parag Nemade
  • tzclock  : Mamoru Tasaka
  • ularn  : Jon Ciesla
  • ultimatestunts  : Parag Nemade
  • unison213
  • uqm  : Jon Ciesla
  • usbview  : Parag Nemade
  • uudeview  : Parag Nemade
  • v4l2ucp  : Parag Nemade
  • valknut  : Parag Nemade
  • vavoom  : Parag Nemade
  • vdrift  : Parag Nemade
  • vegastrike  : Parag Nemade
  • verbiste  : Parag Nemade
  • vim  : Parag Nemade
  • vkeybd  : Parag Nemade
  • vodovod  : Parag Nemade
  • vym  : Parag Nemade
  • wallpapoz  : Mamoru Tasaka
  • warzone2100  : Parag Nemade
  • wavbreaker  : Parag Nemade
  • wesnoth  : Parag Nemade
  • wfut  : Parag Nemade
  • why  : Parag Nemade
  • whysynth-dssi  : Parag Nemade
  • widelands  : Parag Nemade
  • wine  : Parag Nemade
  • wings : Parag Nemade. FTBFS https://bugzilla.redhat.com/show_bug.cgi?id=909805
  • winpdb  : Parag Nemade
  • wireshark  : Parag Nemade
  • wlassistant  : Parag Nemade
  • wordwarvi  : Parag Nemade
  • worminator  : Parag Nemade
  • wormux  : Parag Nemade - dead package in Fedora, blocked from F19
  • WritRecogn  : Parag Nemade
  • wxGlade  : Parag Nemade
  • x3270  : Parag Nemade
  • xaos  : Parag Nemade. FTBFS fixed by toshio. Now rebuilt
  • xarchiver  : Parag Nemade
  • xarchon  : Parag Nemade
  • xawtv  : Parag Nemade
  • xblast  : Parag Nemade
  • xca  : Parag Nemade
  • xchat-gnome  : Parag Nemade
  • xchm  : Parag Nemade
  • xdaliclock  : Parag Nemade
  • xdesktopwaves  : Parag Nemade
  • xdrawchem  : Parag Nemade
  • xfbib  : Parag Nemade
  • xfce4-taskmanager  : Parag Nemade
  • xfhell  : Parag Nemade
  • xfig  : Parag Nemade
  • xfmpc  : Parag Nemade
  • xgalaxy  : Parag Nemade
  • xgrav  : Parag Nemade
  • xhotkeys  : Parag Nemade
  • xkeycaps  : Parag Nemade
  • xlockmore  : Parag Nemade
  • xmlcopyeditor  : Parag Nemade
  • xmoto  : Parag Nemade
  • xournal  : Parag Nemade
  • xpad  : Parag Nemade
  • xpdf  : Parag Nemade
  • xpilot-ng  : Parag Nemade
  • xsane  : Parag Nemade
  • xsc  : Parag Nemade
  • xterm  : Parag Nemade
  • xtide  : Mamoru Tasaka
  • xu4  : Parag Nemade
  • xvarstar  : Parag Nemade
  • xwrits  : Parag Nemade
  • xzgv  : Parag Nemade
  • yadex  : Parag Nemade
  • zasx  : Parag Nemade
  • zynaddsubfx  : Parag Nemade