[Python-Dev] Minor: Unix icons for 2.5? (original) (raw)

Georg Brandl g.brandl at gmx.net
Tue Jul 11 23:43:24 CEST 2006


Martin v. Löwis wrote:

Georg Brandl wrote:

In case we add a Python .desktop file (as proposed in patch #1353344), we'll need some PNGs in /usr/share/icons. A patch for Makefile.pre.in is attached. Independent of whether this should be done at all, I have a comment on the patch. Instead of invoking sed, I would use autoconf machinery here

+Exec=pythonVER %f This would become Exec=python at VERSION@@EXEEXT@ %f + sed 's/VER/$(VERSION)$(EXE)/' $(srcdir)/Misc/python.desktop.in > $(srcdir)/Misc/python.desktop This could go away, and configure should grow ACCONFIGFILES(Makefile.pre Modules/Setup.config Misc/python.desktop)

Ah, thanks. I'm not very fit with autoconf magic.

Georg



More information about the Python-Dev mailing list