[Python-modules-commits] r19653 - in packages/ipython/trunk/debian (3 files)

jtaylor-guest at users.alioth.debian.org jtaylor-guest at users.alioth.debian.org
Mon Dec 19 20:11:12 UTC 2011


    Date: Monday, December 19, 2011 @ 20:11:08
  Author: jtaylor-guest
Revision: 19653

install ipython svg to icons folder and patch desktop to use it

Added:
  packages/ipython/trunk/debian/patches/use-ipython-icon-in-desktop-files.patch
Modified:
  packages/ipython/trunk/debian/patches/series
  packages/ipython/trunk/debian/rules

Modified: packages/ipython/trunk/debian/patches/series
===================================================================
--- packages/ipython/trunk/debian/patches/series	2011-12-19 20:10:49 UTC (rev 19652)
+++ packages/ipython/trunk/debian/patches/series	2011-12-19 20:11:08 UTC (rev 19653)
@@ -1,3 +1,4 @@
 05_fix_seteditor_example.patch
 use-LightBG-colorscheme.patch
 debianize-error-messages.patch
+use-ipython-icon-in-desktop-files.patch
\ No newline at end of file

Added: packages/ipython/trunk/debian/patches/use-ipython-icon-in-desktop-files.patch
===================================================================
--- packages/ipython/trunk/debian/patches/use-ipython-icon-in-desktop-files.patch	                        (rev 0)
+++ packages/ipython/trunk/debian/patches/use-ipython-icon-in-desktop-files.patch	2011-12-19 20:11:08 UTC (rev 19653)
@@ -0,0 +1,50 @@
+From: Julian Taylor <jtaylor.debian at googlemail.com>
+Date: Wed, 9 Nov 2011 18:07:12 +0100
+Subject: use ipython icon in desktop files
+
+---
+ docs/examples/core/ipython-qtconsole.desktop |    2 +-
+ docs/examples/core/ipython-sh.desktop        |    2 +-
+ docs/examples/core/ipython.desktop           |    2 +-
+ 3 files changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/docs/examples/core/ipython-qtconsole.desktop b/docs/examples/core/ipython-qtconsole.desktop
+index 9d72cc0..daedf95 100644
+--- a/docs/examples/core/ipython-qtconsole.desktop
++++ b/docs/examples/core/ipython-qtconsole.desktop
+@@ -6,7 +6,7 @@ Comment=Enhanced interactive Python qtconsole
+ Exec=ipython qtconsole
+ GenericName[en_US]=Python shell
+ GenericName=Python shell
+-Icon=gnome-netstatus-idle
++Icon=ipython
+ Name[en_US]=IPython Qt console
+ Name=IPython Qt console
+ Categories=Development;Utility;
+diff --git a/docs/examples/core/ipython-sh.desktop b/docs/examples/core/ipython-sh.desktop
+index e47a3eb..d8268d7 100644
+--- a/docs/examples/core/ipython-sh.desktop
++++ b/docs/examples/core/ipython-sh.desktop
+@@ -6,7 +6,7 @@ Comment=Perform shell-like tasks in interactive ipython session
+ Exec=ipython --profile=pysh
+ GenericName[en_US]=IPython shell mode
+ GenericName=IPython shell mode
+-Icon=gnome-netstatus-idle
++Icon=ipython
+ Name[en_US]=ipython-sh
+ Name=ipython-sh
+ Categories=Development;Utility;
+diff --git a/docs/examples/core/ipython.desktop b/docs/examples/core/ipython.desktop
+index 4d9d310..86a7fc8 100644
+--- a/docs/examples/core/ipython.desktop
++++ b/docs/examples/core/ipython.desktop
+@@ -6,7 +6,7 @@ Comment=Enhanced interactive Python shell
+ Exec=ipython
+ GenericName[en_US]=IPython
+ GenericName=IPython
+-Icon=gnome-netstatus-idle
++Icon=ipython
+ Name[en_US]=ipython
+ Name=ipython
+ Categories=Development;Utility;
+-- 

Modified: packages/ipython/trunk/debian/rules
===================================================================
--- packages/ipython/trunk/debian/rules	2011-12-19 20:10:49 UTC (rev 19652)
+++ packages/ipython/trunk/debian/rules	2011-12-19 20:11:08 UTC (rev 19653)
@@ -38,6 +38,10 @@
 	dh_install -pipython-parallel IPython/parallel/ usr/share/pyshared/IPython
 	dh_install -pipython-qtconsole IPython/frontend/qt/ usr/share/pyshared/IPython/frontend
 
+	mkdir -p $(CURDIR)/debian/ipython/usr/share/icons/hicolor/scalable/apps/
+	cp IPython/frontend/qt/console/resources/icon/IPythonConsole.svg \
+	  $(CURDIR)/debian/ipython/usr/share/icons/hicolor/scalable/apps/ipython.svg
+
 	# remove embedded arparse
 	find $(CURDIR)/debian/ipython/usr/ -name _argparse.py -delete
 	




More information about the Python-modules-commits mailing list