Author Topic: Test/Check Request: Openshot 1.4.1 (Update)  (Read 2889 times)

Offline TerryN

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 723
Test/Check Request: Openshot 1.4.1 (Update)
« on: January 31, 2012, 05:11:35 AM »
Video editor Openshot 1.4.1 has been released.
Details here

I have produced updated packages for testing/checking by other packagers:

32 bit
http://dl.dropbox.com/u/41375498/openshot-1.4.1-2_terryn_2012.i586.rpm  (md5sum=cf8062d7f845c08e14ac2d260c980466)
http://dl.dropbox.com/u/41375498/openshot-doc-1.4.1-2_terryn_2012.i586.rpm (md5sum=3401c281ee03cc50c23aef103a783636)

64 bit
http://dl.dropbox.com/u/41375498/openshot-1.4.1-2_terryn_2012.x86_64.rpm (md5sum=0740cab1c459d73742cc0808c858d62f)
http://dl.dropbox.com/u/41375498/openshot-doc-1.4.1-2_terryn_2012.x86_64.rpm(md5sum=dd5362af682dbf051bfaca0709ec1fe4)

Source
http://dl.dropbox.com/u/41375498/openshot-1.4.1-2_terryn_2012.src.rpm

During testing I found that in order to get the Blender stuff working it was necessary to edit /usr/bin/blender and add:
Code: [Select]
#!/bin/sh
to the top of the script on 32bit systems, otherwise Openshot complains that it can't find Blender even when it is installed.

Terry

EDIT:
Update 1.4.1-2 -- Added python-imaging dependency
« Last Edit: February 20, 2012, 08:15:27 AM by TerryN »
Dell E521 - AMD 64 X2 5000+, 4GB RAM, ATI X1300 graphics
PCLinuxOS 2013 (KDE)
|Twitter|

Offline Archie

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8583
  • Aurum nostrum non est aurum vulgi.
Re: Test/Check Request: Openshot 1.4.1 (Update)
« Reply #1 on: February 02, 2012, 09:06:08 PM »
Downloaded 32 and 64, and will check them out ASAP. Thanks, TerryN.

EDIT:
On 32-bit (almost pristine, only packaging tools installed):

After installing and launching from the Start menu, Openshot failed to launch.

Opened Konsole:
Code: [Select]
[archie@localhost archie]$ openshot
Added /usr/share/openshot to system path
--------------------------------
   OpenShot (version 1.4.1)
--------------------------------
Process no longer exists: 5404.  Creating new pid lock file.

------------------------- ERROR 1 ------------------------------
Failed to import 'from openshot import main'
Error Message: No module named PIL
----------------------------------------------------------------

------------------------- ERROR 2 ------------------------------
Failed to import 'from openshot.openshot import main'
Error Message: No module named openshot
----------------------------------------------------------------

OpenShot has failed to import some of the Python files or libraries
required for our application to run.  Here are some trouble shooting
tips:

Tip 1) Check if MLT can be successfully imported in Python.  Run the
 following commands, and see if any errors are displayed.  If you get
 an error, you need to investigate the correct way to install MLT.
 NOTE:  Do not type the $ or >> characters in the examples below.

       $ python
       >> import mlt
       >> mlt.Factory().init()

Tip 2) If MLT is working from the first example, then the next tip is
 to look at the above error messages very closely, and google for more
 help.  It's likely the problem is already reported, and maybe there is
 a simple work-around.  Also, you can search for bugs or report a new
 bug at https://bugs.launchpad.net/openshot.  Good luck!

[archie@localhost archie]$ rpm -qa *mlt*
mlt-0.7.6-1pclos2011
libmlt++3-0.7.6-1pclos2011
python-mlt-0.7.6-1pclos2011
libmlt4-0.7.6-1pclos2011
[archie@localhost archie]$

EDIT: Rebuilt from SRPM ... got the same output as above.

I will test the 64-bit ASAP.
« Last Edit: February 02, 2012, 11:50:14 PM by Archie »
Since 2006 | LiCo 401868 | Bare Metal | What is necessary is never unwise. --Sarek, 2258.42


Offline TerryN

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 723
Re: Test/Check Request: Openshot 1.4.1 (Update)
« Reply #2 on: February 03, 2012, 05:22:49 AM »
Thanks for testing that Archie.  The missing dependency is python-imaging which is not installed on MiniME but is present on on a Full System.  I was testing on a pristine Full Version but I think now that I should test on MiniME to be sure of catching these sort of dependency issues.

So that is a good lesson learned, thank you  :)

I'll update the links above with the %mkrel 2 versions ASAP

Thanks again
Terry.
Dell E521 - AMD 64 X2 5000+, 4GB RAM, ATI X1300 graphics
PCLinuxOS 2013 (KDE)
|Twitter|

Offline Archie

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8583
  • Aurum nostrum non est aurum vulgi.
Re: Test/Check Request: Openshot 1.4.1 (Update)
« Reply #3 on: February 03, 2012, 05:27:39 AM »
It was my pleasure, TerryN... wherever, whenever I can help.  ;)
Since 2006 | LiCo 401868 | Bare Metal | What is necessary is never unwise. --Sarek, 2258.42


Offline TerryN

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 723
Re: Test/Check Request: Openshot 1.4.1 (Update)
« Reply #4 on: February 03, 2012, 07:48:00 AM »
Packages updated.
Dell E521 - AMD 64 X2 5000+, 4GB RAM, ATI X1300 graphics
PCLinuxOS 2013 (KDE)
|Twitter|

Offline Archie

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8583
  • Aurum nostrum non est aurum vulgi.
Re: Test/Check Request: Openshot 1.4.1 (Update)
« Reply #5 on: February 03, 2012, 10:49:41 PM »
Better, TerryN.

Installed on clean KDE Minime 2012.02.

Code: [Select]
[guest@localhost Downloads]$ su
Password:
[root@localhost ~]# cd /home/guest/Downloads/
[root@localhost Downloads]# ls
openshot-1.4.1-2_terryn_2012.i586.rpm
[root@localhost Downloads]# rpm -Uvh openshot-1.4.1-2_terryn_2012.i586.rpm
error: Failed dependencies:
        ffmpeg is needed by openshot-1.4.1-2_terryn_2012.i586
        pyxdg is needed by openshot-1.4.1-2_terryn_2012.i586
        python-pygoocanvas is needed by openshot-1.4.1-2_terryn_2012.i586
        python-httplib2 is needed by openshot-1.4.1-2_terryn_2012.i586
        python-imaging is needed by openshot-1.4.1-2_terryn_2012.i586
        libmlt4 is needed by openshot-1.4.1-2_terryn_2012.i586
        librsvg2_2 is needed by openshot-1.4.1-2_terryn_2012.i586
        libmlt++3 is needed by openshot-1.4.1-2_terryn_2012.i586
        mlt >= 0.7 is needed by openshot-1.4.1-2_terryn_2012.i586
        python-mlt >= 0.7 is needed by openshot-1.4.1-2_terryn_2012.i586
        frei0r-plugins is needed by openshot-1.4.1-2_terryn_2012.i586
        sox is needed by openshot-1.4.1-2_terryn_2012.i586
[root@localhost Downloads]# apt-get install ffmpeg pyxdg python-pygoocanvas python-httplib2 python-imaging libmlt4 librsvg2_2 libmlt++3 mlt python-mlt frei0r-plugins sox
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
   goocanvas-i18n (0.15-2pclos2010)
   libSDL_image1.2 (1.2.10-1pclos2010)
   libamrnb2 (6.1.0.3-1pclos2007)
   libao4 (1.0.0-2pclos2011)
   libavfilter1 (0.7.8-1pclos2011)
   libdv4 (1.0.0-1pclos2010)
   libgavl1 (1.2.0-1pclos2011)
   libgoocanvas3 (0.15-2pclos2010)
   libgsm1 (1.0.10-12pclos2007)
   libid3tag0 (0.15.1b-6pclos2007)
   libmad0 (0.15.1b-7pclos2010)
   libquicktime0 (1.2.3-1pclos2011)
   libtk8.6 (8.6-0.b1.2pclos2010)
   libwavpack1 (4.60.1-1pclos2010)
   opencv (2.2.0-3pclos2011)
   tk (8.6-0.b1.2pclos2010)
   tkinter (2.6.6-2pclos2011)
The following NEW packages will be installed:
   ffmpeg (0.7.8-1pclos2011)
   frei0r-plugins (1.3-1pclos2011)
   goocanvas-i18n (0.15-2pclos2010)
   libSDL_image1.2 (1.2.10-1pclos2010)
   libamrnb2 (6.1.0.3-1pclos2007)
   libao4 (1.0.0-2pclos2011)
   libavfilter1 (0.7.8-1pclos2011)
   libdv4 (1.0.0-1pclos2010)
   libgavl1 (1.2.0-1pclos2011)
   libgoocanvas3 (0.15-2pclos2010)
   libgsm1 (1.0.10-12pclos2007)
   libid3tag0 (0.15.1b-6pclos2007)
   libmad0 (0.15.1b-7pclos2010)
   libmlt++3 (0.7.6-1pclos2011)
   libmlt4 (0.7.6-1pclos2011)
   libquicktime0 (1.2.3-1pclos2011)
   librsvg2_2 (2.32.1-1pclos2010)
   libtk8.6 (8.6-0.b1.2pclos2010)
   libwavpack1 (4.60.1-1pclos2010)
   mlt (0.7.6-1pclos2011)
   opencv (2.2.0-3pclos2011)
   python-httplib2 (0.6.0-2pclos2010)
   python-imaging (1.1.7-2pclos2010)
   python-mlt (0.7.6-1pclos2011)
   python-pygoocanvas (0.12.0-3pclos2010)
   pyxdg (0.19-2pclos2011)
   sox (14.3.0-5pclos2011)
   tk (8.6-0.b1.2pclos2010)
   tkinter (2.6.6-2pclos2011)
0 upgraded, 29 newly installed, 0 removed and 1 not upgraded.
Need to get 0B/14.3MB of archives.
After unpacking 35.3MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Committing changes...
Preparing                                ############################## [100%]
Updating / installing
  libtk8.6-8.6-0.b1.2pclos2010.i586      ############################## [100%]
  libmlt4-0.7.6-1pclos2011.i586          ############################## [100%]
  libmlt++3-0.7.6-1pclos2011.i586        ############################## [100%]
  tk-8.6-0.b1.2pclos2010.i586            ############################## [100%]
  tkinter-2.6.6-2pclos2011.i586          ############################## [100%]
  libwavpack1-4.60.1-1pclos2010.i586     ############################## [100%]
  libquicktime0-1.2.3-1pclos2011.i586    ############################## [100%]
  libmad0-0.15.1b-7pclos2010.i586        ############################## [100%]
  libid3tag0-0.15.1b-6pclos2007.i586     ############################## [100%]
  libgsm1-1.0.10-12pclos2007.i586        ############################## [100%]
  libdv4-1.0.0-1pclos2010.i586           ############################## [100%]
  libao4-1.0.0-2pclos2011.i586           ############################## [100%]
  libamrnb2-6.1.0.3-1pclos2007.i586      ############################## [100%]
  sox-14.3.0-5pclos2011.i586             ############################## [100%]
  libSDL_image1.2-1.2.10-1pclos2010.i586 ############################## [100%]
  mlt-0.7.6-1pclos2011.i586              ############################## [100%]
  goocanvas-i18n-0.15-2pclos2010.i586    ############################## [100%]
  libgoocanvas3-0.15-2pclos2010.i586     ############################## [100%]
  opencv-2.2.0-3pclos2011.i586           ############################## [100%]
  libgavl1-1.2.0-1pclos2011.i586         ############################## [100%]
  libavfilter1-0.7.8-1pclos2011.i586     ############################## [100%]
  ffmpeg-0.7.8-1pclos2011.i586           ############################## [100%]
  frei0r-plugins-1.3-1pclos2011.i586     ############################## [100%]
  python-pygoocanvas-0.12.0-3pclos2010.i ############################## [100%]
  python-mlt-0.7.6-1pclos2011.i586       ############################## [100%]
  python-imaging-1.1.7-2pclos2010.i586   ############################## [100%]
  pyxdg-0.19-2pclos2011.noarch           ############################## [100%]
  python-httplib2-0.6.0-2pclos2010.noarc ############################## [100%]
  librsvg2_2-2.32.1-1pclos2010.i586      ############################## [100%]
/var/tmp/rpm-tmp.SoHKQw: line 1: /usr/lib/gtk-2.0/bin/gdk-pixbuf-query-loaders: No such file or directory
/var/tmp/rpm-tmp.SoHKQw: line 2: /usr/lib/gtk-2.0/bin/gdk-pixbuf-query-loaders: No such file or directory
Done.
[root@localhost Downloads]# exit
[guest@localhost Downloads]$

Except for the last two warnings, all went OK.

Launched from the Menu, opened and edited a short video clip, saved ... thumbs up!

I haven't tested on 64-bit and will do so ASAP ... I doubt there'll be any problems.

Peace and much respect,
Archie
Since 2006 | LiCo 401868 | Bare Metal | What is necessary is never unwise. --Sarek, 2258.42


Offline TerryN

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 723
Re: Test/Check Request: Openshot 1.4.1 (Update)
« Reply #6 on: February 04, 2012, 05:09:36 AM »
Thanks again for your help and support Archie.

I have tried to investigate those 2 warnings because they "offend my eye" but I've not had any joy so far  :(  They seem to be specific to MiniME systems and also happened on the previous versions of the package.  I think it is some sort of weird path setting because gdk-pixbuf-query-loaders lives in /usr/bin not /usr/lib/gtk-2.0/bin.

If anyone here has any ideas on it I'll be glad to look further.  

Terry.
Dell E521 - AMD 64 X2 5000+, 4GB RAM, ATI X1300 graphics
PCLinuxOS 2013 (KDE)
|Twitter|

Offline Archie

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8583
  • Aurum nostrum non est aurum vulgi.
Re: Test/Check Request: Openshot 1.4.1 (Update)
« Reply #7 on: February 04, 2012, 05:28:49 AM »
Once again, it's my pleasure. The 64-bit is good as expected and runs perfect ... it checked for any stale pid ... nothing. It created a new pid lock file. However, it didn't find any LADSPA plugins and I'd have to check that out but it isn't the app error. Then it proceeded to detect all formats, codecs and filters ... it ran flawlessly. But what I haven't checked is its interaction with Blender. I still have to learn that blasted app! ;)

Anyway, it's really THANK YOU, TerryN for packing it for the community. I'd recommend that you send it upstream to update our previous Openshot.

As for the two warnings, yeap they are indeed sore eyes but it seems I've come across others with similar warnings. It would be good to track it down and have a fix.

If anyone here has any ideas on it I'll be glad to look further. 

Me too.  ;)
Since 2006 | LiCo 401868 | Bare Metal | What is necessary is never unwise. --Sarek, 2258.42


Offline TerryN

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 723
Re: Test/Check Request: Openshot 1.4.1 (Update)
« Reply #8 on: February 10, 2012, 01:04:45 PM »
Sent for processing as requested.
Dell E521 - AMD 64 X2 5000+, 4GB RAM, ATI X1300 graphics
PCLinuxOS 2013 (KDE)
|Twitter|

Offline coffeetime

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3426
  • Send me an Angel
Re: Test/Check Request: Openshot 1.4.1 (Update)
« Reply #9 on: February 18, 2012, 02:44:44 PM »
>TerryN

thanks! but I have a problem:


Code: [Select]
$ openshot
Added /usr/share/openshot to system path
--------------------------------
   OpenShot (version 1.4.1)
--------------------------------
Process no longer exists: 6374.  Creating new pid lock file.
on_mnuHistory_toggled called with self.GtkCheckMenuItem
on_nbFiles_switch_page
on_nbFiles_switch_page

Detecting formats, codecs, and filters...
---
video_codecs:
  - a64multi
  - a64multi5
  - asv1
  - asv2
  - bmp
  - dnxhd
  - dpx
  - dvvideo
  - ffv1
  - ffvhuff
  - flashsv
  - flashsv2
  - flv
  - gif
  - h261
  - h263
  - h263p
  - huffyuv
  - jpegls
  - ljpeg
  - mjpeg
  - mpeg1video
  - mpeg2video
  - mpeg4                                                                                                                                                                              
  - msmpeg4v2                                                                                                                                                                          
  - msmpeg4                                                                                                                                                                            
  - msvideo1                                                                                                                                                                            
  - pam                                                                                                                                                                                
  - pbm                                                                                                                                                                                
  - pcx                                                                                                                                                                                
  - pgm                                                                                                                                                                                
  - pgmyuv                                                                                                                                                                              
  - png                                                                                                                                                                                
  - ppm                                                                                                                                                                                
  - qtrle                                                                                                                                                                              
  - rawvideo
  - roqvideo
  - rv10
  - rv20
  - sgi
  - snow
  - svq1
  - targa
  - tiff
  - v210
  - wmv1
  - wmv2
  - zlib
  - zmbv
  - libschroedinger
  - libtheora
  - libvpx
  - libx264
  - libxvid
...
---
audio_codecs:
  - aac
  - ac3
  - ac3_fixed
  - alac
  - dca
  - eac3
  - flac
  - mp2
  - nellymoser
  - real_144
  - sonic
  - sonicls
  - wmav1
  - wmav2
  - pcm_alaw
  - pcm_f32be
  - pcm_f32le
  - pcm_f64be
  - pcm_f64le
  - pcm_mulaw
  - pcm_s8
  - pcm_s16be
  - pcm_s16le
  - pcm_s24be
  - pcm_s24daud
  - pcm_s24le
  - pcm_s32be
  - pcm_s32le
  - pcm_u8
  - pcm_u16be
  - pcm_u16le
  - pcm_u24be
  - pcm_u24le
  - pcm_u32be
  - pcm_u32le
  - pcm_zork
  - roq_dpcm
  - adpcm_adx
  - g722
  - g726
  - adpcm_ima_qt
  - adpcm_ima_wav
  - adpcm_ms
  - adpcm_swf
  - adpcm_yamaha
  - libfaac
  - libmp3lame
  - libopencore_amrnb
  - libvorbis
...
---
formats:
  - a64
  - ac3
  - adts
  - aiff
  - amr
  - asf
  - ass
  - asf_stream
  - au
  - avi
  - avm2
  - caf
  - cavsvideo
  - crc
  - daud
  - dirac
  - dnxhd
  - dts
  - dv
  - eac3
  - ffm
  - ffmetadata
  - filmstrip
  - flac
  - flv
  - framecrc
  - framemd5
  - g722
  - gif
  - gxf
  - h261
  - h263
  - h264
  - image2
  - image2pipe
  - ipod
  - ivf
  - m4v
  - md5
  - matroska
  - matroska
  - microdvd
  - mjpeg
  - mlp
  - mmf
  - mov
  - mp2
  - mp3
  - mp4
  - mpeg
  - vcd
  - mpeg1video
  - dvd
  - svcd
  - mpeg2video
  - vob
  - mpegts
  - mpjpeg
  - mxf
  - mxf_d10
  - null
  - nut
  - ogg
  - alaw
  - mulaw
  - f64be
  - f64le
  - f32be
  - f32le
  - s32be
  - s32le
  - s24be
  - s24le
  - s16be
  - s16le
  - s8
  - u32be
  - u32le
  - u24be
  - u24le
  - u16be
  - u16le
  - u8
  - psp
  - rawvideo
  - rm
  - RoQ
  - rso
  - rtp
  - rtsp
  - sap
  - sox
  - spdif
  - srt
  - swf
  - 3g2
  - 3gp
  - truehd
  - rcv
  - voc
  - wav
  - webm
  - yuv4mpegpipe
  - alsa
  - oss
  - sdl
...

------------------------- ERROR 1 ------------------------------
Failed to import 'from openshot import main'
Error Message: 'NoneType' object has no attribute 'set_cursor'
----------------------------------------------------------------

------------------------- ERROR 2 ------------------------------
Failed to import 'from openshot.openshot import main'
Error Message: No module named openshot
----------------------------------------------------------------

OpenShot has failed to import some of the Python files or libraries
required for our application to run.  Here are some trouble shooting
tips:

Tip 1) Check if MLT can be successfully imported in Python.  Run the
 following commands, and see if any errors are displayed.  If you get
 an error, you need to investigate the correct way to install MLT.
 NOTE:  Do not type the $ or >> characters in the examples below.

       $ python
       >> import mlt
       >> mlt.Factory().init()

Tip 2) If MLT is working from the first example, then the next tip is
 to look at the above error messages very closely, and google for more
 help.  It's likely the problem is already reported, and maybe there is
 a simple work-around.  Also, you can search for bugs or report a new
 bug at https://bugs.launchpad.net/openshot.  Good luck!


Quote
mlt-0.7.6-1pclos2011
openshot-1.4.1-2pclos2012
2.6.38.4-pclos1.pae
PCLinuxOS release 2012 (PCLinuxOS) for i586
ladspa-1.13-2pclos2011

fully updated


MLT problem?
PCLinuxOS e17 Club member/e17 video/Wifi problems?
those who complain rarely read. those who read rarely complain
 

Offline TerryN

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 723
Re: Test/Check Request: Openshot 1.4.1 (Update)
« Reply #10 on: February 18, 2012, 04:15:59 PM »
I don't think it is an MLT issue.  I have the same versions here.

Given that I can't reproduce it on any systems I have here I'm starting to suspect it might be some sort of local settings issue.  You could try renaming $HOME/.openshot and see if that solves it.
Dell E521 - AMD 64 X2 5000+, 4GB RAM, ATI X1300 graphics
PCLinuxOS 2013 (KDE)
|Twitter|

Offline coffeetime

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3426
  • Send me an Angel
Re: Test/Check Request: Openshot 1.4.1 (Update)
« Reply #11 on: February 19, 2012, 04:21:07 PM »
Thanks, TerryN. Renamed ~/.openshot & added #!/bin/sh in /usr/bin/blender and all is well again  :)




PCLinuxOS e17 Club member/e17 video/Wifi problems?
those who complain rarely read. those who read rarely complain
 

Offline Archie

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8583
  • Aurum nostrum non est aurum vulgi.
Re: Test/Check Request: Openshot 1.4.1 (Update)
« Reply #12 on: February 19, 2012, 06:35:22 PM »
Thanks, TerryN. Renamed ~/.openshot & added #!/bin/sh in /usr/bin/blender and all is well again  :)

I've been meaning to ask about this ... OK I'm a bit daft and I should just first try it but this is bugging me. /usr/bin/blender is a binary file. I'm sure it can be edited with a text editor.

When you mean add #! /bin/sh at the top of the file, did you mean it literally? Wouldn't that mess up the blender (the executable)? Wouldn't it be the same as calling the executable with a bash script that included #! /bin/bash?

Just curious.
Since 2006 | LiCo 401868 | Bare Metal | What is necessary is never unwise. --Sarek, 2258.42


Offline coffeetime

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3426
  • Send me an Angel
Re: Test/Check Request: Openshot 1.4.1 (Update)
« Reply #13 on: February 19, 2012, 06:45:27 PM »
When you mean add #! /bin/sh at the top of the file, did you mean it literally?

Yep
PCLinuxOS e17 Club member/e17 video/Wifi problems?
those who complain rarely read. those who read rarely complain
 

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: Test/Check Request: Openshot 1.4.1 (Update)
« Reply #14 on: February 19, 2012, 07:15:58 PM »
Thanks, TerryN. Renamed ~/.openshot & added #!/bin/sh in /usr/bin/blender and all is well again  :)

I've been meaning to ask about this ... OK I'm a bit daft and I should just first try it but this is bugging me. /usr/bin/blender is a binary file. I'm sure it can be edited with a text editor.

When you mean add #! /bin/sh at the top of the file, did you mean it literally? Wouldn't that mess up the blender (the executable)? Wouldn't it be the same as calling the executable with a bash script that included #! /bin/bash?

Just curious.

No, it is not a binary executable it is a shell script wrapper!   ;D  
And you are right Archie, editing a binary file will corrupt the same.   ;)
BTW, the real executables are /usr/bin/blender.sse and /usr/bin/blender.nonsse, the shell script wrapper select one or the other depending if the CPU support sse or not.