From: Leo Albert Jackson Date: Thu, 22 Jul 2010 22:18:09 +0000 (-0400) Subject: Script change for shebangs X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=56dcb73b5a1df7498fc6c7722ac4a380b9646fad;p=inkscape.git Script change for shebangs --- diff --git a/share/extensions/Barcode/Base.py b/share/extensions/Barcode/Base.py index 4ba89d2d6..398e877e9 100644 --- a/share/extensions/Barcode/Base.py +++ b/share/extensions/Barcode/Base.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python ''' Copyright (C) 2007 Martin Owens diff --git a/share/extensions/Barcode/Code128.py b/share/extensions/Barcode/Code128.py index 2f0b327ed..3cb79b487 100644 --- a/share/extensions/Barcode/Code128.py +++ b/share/extensions/Barcode/Code128.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python ''' Copyright (C) 2007 Martin Owens diff --git a/share/extensions/Barcode/Code39.py b/share/extensions/Barcode/Code39.py index 650d27d95..78c8521f1 100644 --- a/share/extensions/Barcode/Code39.py +++ b/share/extensions/Barcode/Code39.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python ''' Copyright (C) 2007 Martin Owens diff --git a/share/extensions/Barcode/Code39Ext.py b/share/extensions/Barcode/Code39Ext.py index d1682a641..23c0d6a46 100644 --- a/share/extensions/Barcode/Code39Ext.py +++ b/share/extensions/Barcode/Code39Ext.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python ''' Copyright (C) 2007 Martin Owens diff --git a/share/extensions/Barcode/Code93.py b/share/extensions/Barcode/Code93.py index d5646a1a3..03c31adf1 100644 --- a/share/extensions/Barcode/Code93.py +++ b/share/extensions/Barcode/Code93.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python ''' Copyright (C) 2007 Martin Owens diff --git a/share/extensions/Barcode/EAN13.py b/share/extensions/Barcode/EAN13.py index c79b7749d..a7029d982 100644 --- a/share/extensions/Barcode/EAN13.py +++ b/share/extensions/Barcode/EAN13.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python ''' Copyright (C) 2007 Martin Owens diff --git a/share/extensions/Barcode/EAN5.py b/share/extensions/Barcode/EAN5.py index 9113566a3..8a93b497b 100644 --- a/share/extensions/Barcode/EAN5.py +++ b/share/extensions/Barcode/EAN5.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python ''' Copyright (C) 2007 Martin Owens Copyright (C) 2009 Aaron C Spike diff --git a/share/extensions/Barcode/EAN8.py b/share/extensions/Barcode/EAN8.py index e0534ecc5..e51cfa93a 100644 --- a/share/extensions/Barcode/EAN8.py +++ b/share/extensions/Barcode/EAN8.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python ''' Copyright (C) 2007 Martin Owens diff --git a/share/extensions/Barcode/RM4CC.py b/share/extensions/Barcode/RM4CC.py index 7b5f54ee1..22902f2e4 100644 --- a/share/extensions/Barcode/RM4CC.py +++ b/share/extensions/Barcode/RM4CC.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python ''' Copyright (C) 2007 Martin Owens diff --git a/share/extensions/Barcode/UPCA.py b/share/extensions/Barcode/UPCA.py index 89c97eed6..15d189daa 100644 --- a/share/extensions/Barcode/UPCA.py +++ b/share/extensions/Barcode/UPCA.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python ''' Copyright (C) 2007 Martin Owens diff --git a/share/extensions/Barcode/UPCE.py b/share/extensions/Barcode/UPCE.py index b41e94e8c..2065cfae9 100644 --- a/share/extensions/Barcode/UPCE.py +++ b/share/extensions/Barcode/UPCE.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python ''' Copyright (C) 2007 Martin Owens diff --git a/share/extensions/Barcode/__init__.py b/share/extensions/Barcode/__init__.py index b2257ebcb..281702c1e 100644 --- a/share/extensions/Barcode/__init__.py +++ b/share/extensions/Barcode/__init__.py @@ -1,4 +1,4 @@ - +#!/usr/bin/env python ''' Barcodes SVG Extention diff --git a/share/extensions/SpSVG.pm b/share/extensions/SpSVG.pm index b3f7ed09f..5976d6d97 100644 --- a/share/extensions/SpSVG.pm +++ b/share/extensions/SpSVG.pm @@ -1,4 +1,4 @@ -#!/usr/bin/perl -w +#!/usr/bin/env perl -w # # SpSVG # diff --git a/share/extensions/color_blackandwhite.py b/share/extensions/color_blackandwhite.py index c11b2a127..57e6e2ae8 100644 --- a/share/extensions/color_blackandwhite.py +++ b/share/extensions/color_blackandwhite.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python import coloreffect,sys class C(coloreffect.ColorEffect): diff --git a/share/extensions/color_brighter.py b/share/extensions/color_brighter.py index 741473839..6cec075d4 100644 --- a/share/extensions/color_brighter.py +++ b/share/extensions/color_brighter.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python import coloreffect class C(coloreffect.ColorEffect): diff --git a/share/extensions/color_custom.py b/share/extensions/color_custom.py index 1b866f684..5941d00ed 100644 --- a/share/extensions/color_custom.py +++ b/share/extensions/color_custom.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python import coloreffect class C(coloreffect.ColorEffect): @@ -22,4 +23,4 @@ class C(coloreffect.ColorEffect): return '%02x%02x%02x' % (int(round(r2*255)),int(round(g2*255)),int(round(b2*255))) c = C() -c.affect() \ No newline at end of file +c.affect() diff --git a/share/extensions/color_darker.py b/share/extensions/color_darker.py index 40bfb19e6..a8edb07c6 100644 --- a/share/extensions/color_darker.py +++ b/share/extensions/color_darker.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python import coloreffect class C(coloreffect.ColorEffect): diff --git a/share/extensions/color_desaturate.py b/share/extensions/color_desaturate.py index 28f747889..a2350a4d3 100644 --- a/share/extensions/color_desaturate.py +++ b/share/extensions/color_desaturate.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python import coloreffect class C(coloreffect.ColorEffect): @@ -7,4 +8,4 @@ class C(coloreffect.ColorEffect): return '%02x%02x%02x' % (ig,ig,ig) c = C() -c.affect() \ No newline at end of file +c.affect() diff --git a/share/extensions/color_grayscale.py b/share/extensions/color_grayscale.py index ce354b167..727f23570 100644 --- a/share/extensions/color_grayscale.py +++ b/share/extensions/color_grayscale.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python import coloreffect class C(coloreffect.ColorEffect): @@ -11,4 +12,4 @@ class C(coloreffect.ColorEffect): return '%02x%02x%02x' % (ig,ig,ig) c = C() -c.affect() \ No newline at end of file +c.affect() diff --git a/share/extensions/color_lesshue.py b/share/extensions/color_lesshue.py index ec4445641..d34a75019 100644 --- a/share/extensions/color_lesshue.py +++ b/share/extensions/color_lesshue.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python import coloreffect, inkex class C(coloreffect.ColorEffect): diff --git a/share/extensions/color_lesslight.py b/share/extensions/color_lesslight.py index 8841490ce..94dfb412d 100644 --- a/share/extensions/color_lesslight.py +++ b/share/extensions/color_lesslight.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python import coloreffect, inkex class C(coloreffect.ColorEffect): diff --git a/share/extensions/color_lesssaturation.py b/share/extensions/color_lesssaturation.py index 7b06f98f5..1d3702c76 100644 --- a/share/extensions/color_lesssaturation.py +++ b/share/extensions/color_lesssaturation.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python import coloreffect, inkex class C(coloreffect.ColorEffect): diff --git a/share/extensions/color_morehue.py b/share/extensions/color_morehue.py index 816a94c12..7d3406ec0 100644 --- a/share/extensions/color_morehue.py +++ b/share/extensions/color_morehue.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python import coloreffect, inkex class C(coloreffect.ColorEffect): diff --git a/share/extensions/color_morelight.py b/share/extensions/color_morelight.py index b930a86df..bbc418c3f 100644 --- a/share/extensions/color_morelight.py +++ b/share/extensions/color_morelight.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python import coloreffect, inkex class C(coloreffect.ColorEffect): diff --git a/share/extensions/color_moresaturation.py b/share/extensions/color_moresaturation.py index 5f3ab814f..4ecb4987c 100644 --- a/share/extensions/color_moresaturation.py +++ b/share/extensions/color_moresaturation.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python import coloreffect, inkex class C(coloreffect.ColorEffect): diff --git a/share/extensions/color_negative.py b/share/extensions/color_negative.py index 065586dcf..87a4bdce3 100644 --- a/share/extensions/color_negative.py +++ b/share/extensions/color_negative.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python import coloreffect class C(coloreffect.ColorEffect): @@ -5,4 +6,4 @@ class C(coloreffect.ColorEffect): return '%02x%02x%02x' % (255-r,255-g,255-b) c = C() -c.affect() \ No newline at end of file +c.affect() diff --git a/share/extensions/color_randomize.py b/share/extensions/color_randomize.py index cfe82a8e3..e27970e52 100644 --- a/share/extensions/color_randomize.py +++ b/share/extensions/color_randomize.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python import coloreffect,random,inkex class C(coloreffect.ColorEffect): diff --git a/share/extensions/color_removeblue.py b/share/extensions/color_removeblue.py index abba6ba5f..1ea207bdd 100644 --- a/share/extensions/color_removeblue.py +++ b/share/extensions/color_removeblue.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python import coloreffect class C(coloreffect.ColorEffect): @@ -5,4 +6,4 @@ class C(coloreffect.ColorEffect): return '%02x%02x%02x' % (r,g,0) c = C() -c.affect() \ No newline at end of file +c.affect() diff --git a/share/extensions/color_removegreen.py b/share/extensions/color_removegreen.py index 09ba4d5d1..86fdc73e0 100644 --- a/share/extensions/color_removegreen.py +++ b/share/extensions/color_removegreen.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python import coloreffect class C(coloreffect.ColorEffect): @@ -5,4 +6,4 @@ class C(coloreffect.ColorEffect): return '%02x%02x%02x' % (r,0,b) c = C() -c.affect() \ No newline at end of file +c.affect() diff --git a/share/extensions/color_removered.py b/share/extensions/color_removered.py index 5963af426..a6b92fd45 100644 --- a/share/extensions/color_removered.py +++ b/share/extensions/color_removered.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python import coloreffect class C(coloreffect.ColorEffect): @@ -5,4 +6,4 @@ class C(coloreffect.ColorEffect): return '%02x%02x%02x' % (0,g,b) c = C() -c.affect() \ No newline at end of file +c.affect() diff --git a/share/extensions/color_replace.py b/share/extensions/color_replace.py index c52d75957..edfd90a76 100644 --- a/share/extensions/color_replace.py +++ b/share/extensions/color_replace.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python import coloreffect import inkex diff --git a/share/extensions/color_rgbbarrel.py b/share/extensions/color_rgbbarrel.py index 3cac39ac5..0fdcd47bc 100644 --- a/share/extensions/color_rgbbarrel.py +++ b/share/extensions/color_rgbbarrel.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python import coloreffect class C(coloreffect.ColorEffect): @@ -5,4 +6,4 @@ class C(coloreffect.ColorEffect): return '%02x%02x%02x' % (b,r,g) c = C() -c.affect() \ No newline at end of file +c.affect() diff --git a/share/extensions/dxf_templates.py b/share/extensions/dxf_templates.py index c0a85f6b8..f2e838705 100644 --- a/share/extensions/dxf_templates.py +++ b/share/extensions/dxf_templates.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python r14_header = ''' 0 SECTION 2 diff --git a/share/extensions/inkweb.js b/share/extensions/inkweb.js index 142f51bab..7c40ccca4 100644 --- a/share/extensions/inkweb.js +++ b/share/extensions/inkweb.js @@ -1,3 +1,4 @@ +#!/usr/bin/env js /* ** InkWeb - Inkscape's Javscript features for the open vector web ** diff --git a/share/extensions/jessyInk.js b/share/extensions/jessyInk.js index 51736ad4e..eb5cd25a9 100755 --- a/share/extensions/jessyInk.js +++ b/share/extensions/jessyInk.js @@ -1,3 +1,4 @@ +#!usr/bin/env js // Copyright 2008, 2009 Hannes Hochreiner // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/share/extensions/jessyInk_core_mouseHandler_noclick.js b/share/extensions/jessyInk_core_mouseHandler_noclick.js index 88579754a..f97bda852 100644 --- a/share/extensions/jessyInk_core_mouseHandler_noclick.js +++ b/share/extensions/jessyInk_core_mouseHandler_noclick.js @@ -1,3 +1,4 @@ +#!/usr/bin/env js // Copyright 2008, 2009 Hannes Hochreiner // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/share/extensions/jessyInk_core_mouseHandler_zoomControl.js b/share/extensions/jessyInk_core_mouseHandler_zoomControl.js index 7944ae82f..7cbb85038 100644 --- a/share/extensions/jessyInk_core_mouseHandler_zoomControl.js +++ b/share/extensions/jessyInk_core_mouseHandler_zoomControl.js @@ -1,3 +1,4 @@ +#!/usr/bin/env js // Copyright 2008, 2009 Hannes Hochreiner // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/share/extensions/render_alphabetsoup_config.py b/share/extensions/render_alphabetsoup_config.py index a56120ea3..204991123 100644 --- a/share/extensions/render_alphabetsoup_config.py +++ b/share/extensions/render_alphabetsoup_config.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python # Syntax format: (raise your hand if you know lisp :-) # # 'state0': ("file.svg", ( ( ('state1', dx, dy, T-B, L|R),), diff --git a/share/extensions/render_barcode.py b/share/extensions/render_barcode.py index cdcb022cb..3de1a07da 100644 --- a/share/extensions/render_barcode.py +++ b/share/extensions/render_barcode.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python ''' Copyright (C) 2007 Martin Owens diff --git a/share/extensions/run_command.py b/share/extensions/run_command.py index f688444d6..89d42338a 100644 --- a/share/extensions/run_command.py +++ b/share/extensions/run_command.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python import os import sys import tempfile diff --git a/share/extensions/svg_and_media_zip_output.py b/share/extensions/svg_and_media_zip_output.py index 8308d6062..dc5ca5f26 100644 --- a/share/extensions/svg_and_media_zip_output.py +++ b/share/extensions/svg_and_media_zip_output.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#!/usr/bin/env python """ svg_and_media_zip_output.py An extention which collects all images to the documents directory and diff --git a/share/extensions/svg_regex.py b/share/extensions/svg_regex.py index 10fd9c385..3d0a21520 100644 --- a/share/extensions/svg_regex.py +++ b/share/extensions/svg_regex.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python # This software is OSI Certified Open Source Software. # OSI Certified is a certification mark of the Open Source Initiative. # diff --git a/share/extensions/text_braille.py b/share/extensions/text_braille.py index 3dcbbc6ac..09300f891 100644 --- a/share/extensions/text_braille.py +++ b/share/extensions/text_braille.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python #encoding: utf-8 import chardataeffect, inkex, string diff --git a/share/extensions/text_flipcase.py b/share/extensions/text_flipcase.py index 167f7f89c..6ddb9d5ea 100644 --- a/share/extensions/text_flipcase.py +++ b/share/extensions/text_flipcase.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python import chardataeffect, inkex, string class C(chardataeffect.CharDataEffect): diff --git a/share/extensions/text_lowercase.py b/share/extensions/text_lowercase.py index 96dcef3fc..c5e9e6279 100644 --- a/share/extensions/text_lowercase.py +++ b/share/extensions/text_lowercase.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python import chardataeffect, inkex, string class C(chardataeffect.CharDataEffect): diff --git a/share/extensions/text_randomcase.py b/share/extensions/text_randomcase.py index 0200aef3d..74c061a7c 100644 --- a/share/extensions/text_randomcase.py +++ b/share/extensions/text_randomcase.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python import chardataeffect, inkex, string import random diff --git a/share/extensions/text_replace.py b/share/extensions/text_replace.py index 6fb08cd27..b5d960430 100644 --- a/share/extensions/text_replace.py +++ b/share/extensions/text_replace.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python import chardataeffect, inkex, string class C(chardataeffect.CharDataEffect): diff --git a/share/extensions/text_sentencecase.py b/share/extensions/text_sentencecase.py index c5929ceb0..43460efc5 100644 --- a/share/extensions/text_sentencecase.py +++ b/share/extensions/text_sentencecase.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python import chardataeffect, inkex, string class C(chardataeffect.CharDataEffect): diff --git a/share/extensions/text_titlecase.py b/share/extensions/text_titlecase.py index 2fd3c49c3..1af0db26b 100644 --- a/share/extensions/text_titlecase.py +++ b/share/extensions/text_titlecase.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python import chardataeffect, inkex, string class C(chardataeffect.CharDataEffect): diff --git a/share/extensions/text_uppercase.py b/share/extensions/text_uppercase.py index f5a51945d..772c1fd88 100644 --- a/share/extensions/text_uppercase.py +++ b/share/extensions/text_uppercase.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python import chardataeffect, inkex, string class C(chardataeffect.CharDataEffect):