Difference between revisions of "DeveloperWiki:Removal of desktop files"

From ArchWiki
Jump to: navigation, search
(Relevant quote)
(Relevant quote)
Line 11: Line 11:
  
 
=== Relevant quote ===
 
=== Relevant quote ===
''"Patching only occurs in extremely rare cases, to prevent severe breakage in the instance of version mismatches that may occur within a rolling release model."'' - [https://wiki.archlinux.org/index.php/Arch_Linux Arch Linux]
+
''"Patching only occurs in extremely rare cases, to prevent severe breakage in the instance of version mismatches that may occur within a rolling release model."'' - [https://wiki.archlinux.org/index.php/Arch_Linux#Source_Integrity Arch Linux Source Integrity]
  
 
=== Relevant commands ===
 
=== Relevant commands ===

Revision as of 12:48, 17 July 2012


[community]

Background information

Since archlinux advertises itself as having vanilla packages, I thought it might be a good idea to contact upstream about either including these desktop files in their sources, or if they refuse, then get rid of them. Packages should only be moved to the Done list if the .desktop files are removed from svn repos and the package itself. In case upstream does reject taking in the .desktop file, put it in the Done (rejected) list but do not delete the .desktop files from the package until the very end when we can formally warn users about the impending .desktop deletion and give them a week to backup anything they want.

Relevant quote

"Patching only occurs in extremely rare cases, to prevent severe breakage in the instance of version mismatches that may occur within a rolling release model." - Arch Linux Source Integrity

Relevant commands

  • find /var/abs/community -name '*.desktop'

Progress

Not Done

  • assaultcube/assaultcube.desktop
  • astromenace/astromenace.desktop
  • aumix/aumix.desktop
  • boinc/boinc.desktop
  • critter/critter.desktop
  • cycle/cycle.desktop
  • dguitar/dguitar.desktop
  • driconf/driconf.desktop
  • dvdisaster/dvdisaster.desktop
  • dwm/dwm.desktop
  • egoboo/egoboo.desktop
  • extremetuxracer/extremetuxracer.desktop
  • fceux/fceux.desktop
  • fillets-ng/fillets-ng.desktop
  • flobopuyo/flobopuyo.desktop
  • freecol/fc.desktop
  • freedroidrpg/freedroidrpg.desktop
  • freemind/freemind.desktop
  • freevo/freevo.desktop
  • frogatto/frogatto.desktop
  • gebabbel/gebabbel.desktop
  • ghemical/ghemical.desktop
  • gl-117/gl-117.desktop
  • gnormalize/gnormalize.desktop
  • gpg-crypter/gpg-crypter.desktop
  • gpsman/gpsman.desktop
  • gutenpy/gutenpy.desktop
  • gxmessage/gxmessage.desktop
  • hedgewars/hedgewars.desktop
  • hex-a-hop/hex-a-hop.desktop
  • hsoconnect/hsoconnect.desktop
  • jabref/jabref.desktop
  • jbidwatcher/jbidwatcher.desktop
  • josm/josm.desktop
  • jsampler/jsampler-classic.desktop
  • jsampler/jsampler.desktop
  • kcheckers/kcheckers.desktop
  • kydpdict/kydpdict.desktop
  • madman/madman.desktop
  • mp3splt-gtk/mp3splt-gtk.desktop
  • mumble/mumble11x.desktop
  • nfoview/x-nfo.desktop
  • openarena/openarena.desktop
  • openarena/openarena-server.desktop
  • pdfedit/pdfedit.desktop
  • pgadmin3/pgadmin3.desktop
  • pingus/pingus.desktop
  • pympc/pympc.desktop
  • qcad/QCad.desktop
  • qdevelop/qdevelop.desktop
  • qtcreator/qtcreator.desktop
  • rapidsvn/rapidsvn.desktop
  • sauerbraten/sauerbraten.desktop
  • scite/SciTE.desktop
  • scorched3d/scorched3d.desktop
  • sigil/sigil.desktop
  • sk1/sk1.desktop
  • smc/smc.desktop
  • solarwolf/solarwolf.desktop
  • solfege/solfege.desktop
  • stormbaancoureur/stormbaancoureur.desktop
  • tdfsb/tdfsb.desktop
  • teeworlds/teeworlds.desktop
  • tremulous/tremulous.desktop
  • tuxcards/tuxcards.desktop
  • tuxguitar/tuxguitar.desktop
  • twinkle/twinkle.desktop
  • ude/ude.desktop
  • vym/vym.desktop
  • warsow/warsow.desktop
  • widelands/widelands.desktop
  • xboard/xboard.desktop
  • xemacs/xemacs.desktop
  • xmoto/xmoto.desktop
  • xonotic/xonotic-glx.desktop
  • xonotic/xonotic-sdl.desktop
  • xsensors/xsensors.desktop

Pending (have been reported)

Done (upstream has a .desktop file)

  • armagetronad/armagetronad.desktop
  • elinks/elinks.desktop
  • eric5/eric5.desktop
  • frostwire/frostwire.desktop
  • gambas2/gambas2.desktop
  • gambas3/gambas3.desktop
  • grass/grass.desktop
  • megaglest/megaglest.desktop
  • mldonkey/mldonkey.desktop
  • mplayer-vaapi/mplayer.desktop
  • multiget/multiget.desktop
  • naev/naev.desktop
  • paintown/paintown.desktop
  • rawtherapee/rawtherapee.desktop
  • tipp10/tipp10.desktop
  • qmc2/qmamecat.desktop - also improved version sent to ML
  • root/root.desktop - https://savannah.cern.ch/bugs/?85082
  • springlobby/springlobby.desktop
  • spyder/spyder.desktop - http://code.google.com/p/spyderlib/issues/detail?id=598
  • stone-soup/stone-soup.desktop
  • texmaker/texmaker.desktop
  • zathura/zathura.desktop</nowiki>

Done (Upstream rejected the .desktop file)

  • nexuiz/nexuiz-glx.desktop (nexuiz is effectively dead)
  • nexuiz/nexuiz-sdl.desktop (nexuiz is effectively dead)
  • qgit/qgit.desktop (no project activity in 3 yrs)
  • xskat/xskat.desktop
  • intellij-idea-community-edition/intellijidea.desktop - IDEA has an option to generate desktop file from GUI, so there's no stand-alone file provided: http://youtrack.jetbrains.com/issue/IDEA-83646

Tools

gendesk

gendesk is a Arch Linux-specific tool for generating .desktop files from PKGBUILD files. Most of the information is fetched directly from the PKGBUILD.

Icons are downloaded from [fedora], if available (use gendesk -n to not download any icon). The source for icons can easily be changed in the future.

How to use
  • Add gendesk to makedepends
  • Start the build() function with:
cd "$srcdir"
gendesk
# And then the rest
  • Add _name=('Program Name') to the PKGBUILD to choose a name for the menu entry. There are other options available too, like _exec=('someapp --with-ponies').
  • See the gendesk source for more information. (Patches and pull requests are welcome).