[Gimp-developer] gimp 2.8 on OS X with Python 2.7 and Wacom Pressure sensitivity

2013-03-28 Thread Ryan Krauss
I have recently switched from Ubuntu to Mac and am having some trouble
getting GIMP working the way I need.  I use pygimp and a Wacom tablet to
create a sort of digital white board when I teach.  I use my pygimp code to
correctly number each slide as I lecture so that the slides are useful to
the students for review when I am done.  Here is an example if you are
curious:

http://www.cs.siue.edu/~rkrauss/450/2013/lectures/03_22_13/index.html

I am using Python 2.7 for scipy, numpy, and other packages installed using
homebrew and pip.  I am having a hard time getting GIMP installed in OS X
10.8 that supports both Python 2.7 and pressure sensitivity.  I have tried
two approaches.  I downloaded a binary from here:
Download GIMP 2.8 http://gimp.lisanet.de/Website/Download.html on the
gimp.org/downloads page.  It runs natively on OS X (i.e. not using X11) and
it works perfectly with pressure sensitivity on my Wacom tablet.  The only
problem is that it seems to ship with Python 2.6, which is a bit dated and
not compatible with my other Python packages.

I also tried to build and install from source.  I have tried this two ways.
 The first was through homebrew.  I am able to compile correctly and it
uses Python 2.7, but for reasons I don't understand, it seems to build an
X11 version.  Again for reasons I don't understand, pressure sensitivity
does not work when I build this way.  The pen and tablet under the extended
input configuration are greyed out. They are set correctly, but the
settings don't seem to be respected.

I have also tried to just use homebrew to install the dependencies and then
build GIMP myself in other directory.  This keeps getting hung up on trying
to build a test GTK+ file that fails because it can't find gtk.h.  gtk.h is
in a homebrew Cellar folder and I don't seem to be able to point the
configure script to it correctly.

So, can someone point me to the best solution.  If a binary of GIMP 2.8
linked to Python 2.7 could easily be made available, that would be great.
 If someone can help me build a version of GIMP 2.8 that runs natively
using the Python from homebrew, that would also work.  I don't even mind
setting up my own thing and compiling outside of homebrew, but I would
prefer to avoid installing all the dependencies myself if possible.  I
would prefer to have GIMP run natively rather than through X11, but if
Python 2.7 and pressure sensitivity both worked, I would be OK with that.

Thanks,

Ryan
___
gimp-developer-list mailing list
gimp-developer-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gimp-developer-list


Re: [Gimp-developer] gimp 2.8 on OS X with Python 2.7 and Wacom Pressure sensitivity

2013-03-28 Thread Partha Bagchi
Try my version and let me know if you have issues: www.partha.com

Partha



On Thu, Mar 28, 2013 at 12:15 PM, Ryan Krauss ryanli...@gmail.com wrote:

 I have recently switched from Ubuntu to Mac and am having some trouble
 getting GIMP working the way I need.  I use pygimp and a Wacom tablet to
 create a sort of digital white board when I teach.  I use my pygimp code to
 correctly number each slide as I lecture so that the slides are useful to
 the students for review when I am done.  Here is an example if you are
 curious:

 http://www.cs.siue.edu/~rkrauss/450/2013/lectures/03_22_13/index.html

 I am using Python 2.7 for scipy, numpy, and other packages installed using
 homebrew and pip.  I am having a hard time getting GIMP installed in OS X
 10.8 that supports both Python 2.7 and pressure sensitivity.  I have tried
 two approaches.  I downloaded a binary from here:
 Download GIMP 2.8 http://gimp.lisanet.de/Website/Download.html on the
 gimp.org/downloads page.  It runs natively on OS X (i.e. not using X11)
 and it works perfectly with pressure sensitivity on my Wacom tablet.  The
 only problem is that it seems to ship with Python 2.6, which is a bit dated
 and not compatible with my other Python packages.

 I also tried to build and install from source.  I have tried this two
 ways.  The first was through homebrew.  I am able to compile correctly and
 it uses Python 2.7, but for reasons I don't understand, it seems to build
 an X11 version.  Again for reasons I don't understand, pressure sensitivity
 does not work when I build this way.  The pen and tablet under the extended
 input configuration are greyed out. They are set correctly, but the
 settings don't seem to be respected.

 I have also tried to just use homebrew to install the dependencies and
 then build GIMP myself in other directory.  This keeps getting hung up on
 trying to build a test GTK+ file that fails because it can't find gtk.h.
  gtk.h is in a homebrew Cellar folder and I don't seem to be able to point
 the configure script to it correctly.

 So, can someone point me to the best solution.  If a binary of GIMP 2.8
 linked to Python 2.7 could easily be made available, that would be great.
  If someone can help me build a version of GIMP 2.8 that runs natively
 using the Python from homebrew, that would also work.  I don't even mind
 setting up my own thing and compiling outside of homebrew, but I would
 prefer to avoid installing all the dependencies myself if possible.  I
 would prefer to have GIMP run natively rather than through X11, but if
 Python 2.7 and pressure sensitivity both worked, I would be OK with that.

 Thanks,

 Ryan

 ___
 gimp-developer-list mailing list
 gimp-developer-list@gnome.org
 https://mail.gnome.org/mailman/listinfo/gimp-developer-list


___
gimp-developer-list mailing list
gimp-developer-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gimp-developer-list


Re: [Gimp-developer] gimp 2.8 on OS X with Python 2.7 and Wacom Pressure sensitivity

2013-03-28 Thread Ryan Krauss
Thanks for your help and the quick response.  Your version looks
promising.  However, it doesn't seem to respect the PYTHONPATH set in my
~/.profile file.  So, it cannot find my personal Python files.  Where
should I set the PYTHONPATH for your version?

Thanks again,

Ryan


On Thu, Mar 28, 2013 at 11:19 AM, Partha Bagchi parth...@gmail.com wrote:

 Try my version and let me know if you have issues: www.partha.com

 Partha



 On Thu, Mar 28, 2013 at 12:15 PM, Ryan Krauss ryanli...@gmail.com wrote:

 I have recently switched from Ubuntu to Mac and am having some trouble
 getting GIMP working the way I need.  I use pygimp and a Wacom tablet to
 create a sort of digital white board when I teach.  I use my pygimp code to
 correctly number each slide as I lecture so that the slides are useful to
 the students for review when I am done.  Here is an example if you are
 curious:

 http://www.cs.siue.edu/~rkrauss/450/2013/lectures/03_22_13/index.html

 I am using Python 2.7 for scipy, numpy, and other packages installed
 using homebrew and pip.  I am having a hard time getting GIMP installed in
 OS X 10.8 that supports both Python 2.7 and pressure sensitivity.  I have
 tried two approaches.  I downloaded a binary from here:
 Download GIMP 2.8 http://gimp.lisanet.de/Website/Download.html on the
 gimp.org/downloads page.  It runs natively on OS X (i.e. not using X11)
 and it works perfectly with pressure sensitivity on my Wacom tablet.  The
 only problem is that it seems to ship with Python 2.6, which is a bit dated
 and not compatible with my other Python packages.

 I also tried to build and install from source.  I have tried this two
 ways.  The first was through homebrew.  I am able to compile correctly and
 it uses Python 2.7, but for reasons I don't understand, it seems to build
 an X11 version.  Again for reasons I don't understand, pressure sensitivity
 does not work when I build this way.  The pen and tablet under the extended
 input configuration are greyed out. They are set correctly, but the
 settings don't seem to be respected.

 I have also tried to just use homebrew to install the dependencies and
 then build GIMP myself in other directory.  This keeps getting hung up on
 trying to build a test GTK+ file that fails because it can't find gtk.h.
  gtk.h is in a homebrew Cellar folder and I don't seem to be able to point
 the configure script to it correctly.

 So, can someone point me to the best solution.  If a binary of GIMP 2.8
 linked to Python 2.7 could easily be made available, that would be great.
  If someone can help me build a version of GIMP 2.8 that runs natively
 using the Python from homebrew, that would also work.  I don't even mind
 setting up my own thing and compiling outside of homebrew, but I would
 prefer to avoid installing all the dependencies myself if possible.  I
 would prefer to have GIMP run natively rather than through X11, but if
 Python 2.7 and pressure sensitivity both worked, I would be OK with that.

 Thanks,

 Ryan

 ___
 gimp-developer-list mailing list
 gimp-developer-list@gnome.org
 https://mail.gnome.org/mailman/listinfo/gimp-developer-list



___
gimp-developer-list mailing list
gimp-developer-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gimp-developer-list


Re: [Gimp-developer] gimp 2.8 on OS X with Python 2.7 and Wacom Pressure sensitivity

2013-03-28 Thread Ryan Krauss
Just to be clear, it picks up everything in ~/Library/Application
Support/GIMP/2.8/plug-ins without any problems, but I only keep GIMP
specific Python files in there.  My general Python stuff is in other
directories.  My pygimp code depends on some of the general stuff and those
are the files that are not being found.


On Thu, Mar 28, 2013 at 11:43 AM, Ryan Krauss ryanli...@gmail.com wrote:

 Thanks for your help and the quick response.  Your version looks
 promising.  However, it doesn't seem to respect the PYTHONPATH set in my
 ~/.profile file.  So, it cannot find my personal Python files.  Where
 should I set the PYTHONPATH for your version?

 Thanks again,

 Ryan


 On Thu, Mar 28, 2013 at 11:19 AM, Partha Bagchi parth...@gmail.comwrote:

 Try my version and let me know if you have issues: www.partha.com

 Partha



 On Thu, Mar 28, 2013 at 12:15 PM, Ryan Krauss ryanli...@gmail.comwrote:

  I have recently switched from Ubuntu to Mac and am having some trouble
 getting GIMP working the way I need.  I use pygimp and a Wacom tablet to
 create a sort of digital white board when I teach.  I use my pygimp code to
 correctly number each slide as I lecture so that the slides are useful to
 the students for review when I am done.  Here is an example if you are
 curious:

 http://www.cs.siue.edu/~rkrauss/450/2013/lectures/03_22_13/index.html

 I am using Python 2.7 for scipy, numpy, and other packages installed
 using homebrew and pip.  I am having a hard time getting GIMP installed in
 OS X 10.8 that supports both Python 2.7 and pressure sensitivity.  I have
 tried two approaches.  I downloaded a binary from here:
 Download GIMP 2.8 http://gimp.lisanet.de/Website/Download.html on the
 gimp.org/downloads page.  It runs natively on OS X (i.e. not using X11)
 and it works perfectly with pressure sensitivity on my Wacom tablet.  The
 only problem is that it seems to ship with Python 2.6, which is a bit dated
 and not compatible with my other Python packages.

 I also tried to build and install from source.  I have tried this two
 ways.  The first was through homebrew.  I am able to compile correctly and
 it uses Python 2.7, but for reasons I don't understand, it seems to build
 an X11 version.  Again for reasons I don't understand, pressure sensitivity
 does not work when I build this way.  The pen and tablet under the extended
 input configuration are greyed out. They are set correctly, but the
 settings don't seem to be respected.

 I have also tried to just use homebrew to install the dependencies and
 then build GIMP myself in other directory.  This keeps getting hung up on
 trying to build a test GTK+ file that fails because it can't find gtk.h.
  gtk.h is in a homebrew Cellar folder and I don't seem to be able to point
 the configure script to it correctly.

 So, can someone point me to the best solution.  If a binary of GIMP 2.8
 linked to Python 2.7 could easily be made available, that would be great.
  If someone can help me build a version of GIMP 2.8 that runs natively
 using the Python from homebrew, that would also work.  I don't even mind
 setting up my own thing and compiling outside of homebrew, but I would
 prefer to avoid installing all the dependencies myself if possible.  I
 would prefer to have GIMP run natively rather than through X11, but if
 Python 2.7 and pressure sensitivity both worked, I would be OK with that.

 Thanks,

 Ryan

 ___
 gimp-developer-list mailing list
 gimp-developer-list@gnome.org
 https://mail.gnome.org/mailman/listinfo/gimp-developer-list




___
gimp-developer-list mailing list
gimp-developer-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gimp-developer-list


Re: [Gimp-developer] gimp 2.8 on OS X with Python 2.7 and Wacom Pressure sensitivity

2013-03-28 Thread Partha Bagchi
It uses it's own PYTHONPATH. Any reason you need a separate PYTHONPATH? Can
you not put them in the plug-ins folder in ~/Library/Application
Support/GIMP/2.8?




On Thu, Mar 28, 2013 at 12:44 PM, Ryan Krauss ryanli...@gmail.com wrote:

 Just to be clear, it picks up everything in ~/Library/Application
 Support/GIMP/2.8/plug-ins without any problems, but I only keep GIMP
 specific Python files in there.  My general Python stuff is in other
 directories.  My pygimp code depends on some of the general stuff and those
 are the files that are not being found.


 On Thu, Mar 28, 2013 at 11:43 AM, Ryan Krauss ryanli...@gmail.com wrote:

 Thanks for your help and the quick response.  Your version looks
 promising.  However, it doesn't seem to respect the PYTHONPATH set in my
 ~/.profile file.  So, it cannot find my personal Python files.  Where
 should I set the PYTHONPATH for your version?

 Thanks again,

 Ryan


 On Thu, Mar 28, 2013 at 11:19 AM, Partha Bagchi parth...@gmail.comwrote:

 Try my version and let me know if you have issues: www.partha.com

 Partha



 On Thu, Mar 28, 2013 at 12:15 PM, Ryan Krauss ryanli...@gmail.comwrote:

  I have recently switched from Ubuntu to Mac and am having some
 trouble getting GIMP working the way I need.  I use pygimp and a Wacom
 tablet to create a sort of digital white board when I teach.  I use my
 pygimp code to correctly number each slide as I lecture so that the slides
 are useful to the students for review when I am done.  Here is an example
 if you are curious:

 http://www.cs.siue.edu/~rkrauss/450/2013/lectures/03_22_13/index.html

 I am using Python 2.7 for scipy, numpy, and other packages installed
 using homebrew and pip.  I am having a hard time getting GIMP installed in
 OS X 10.8 that supports both Python 2.7 and pressure sensitivity.  I have
 tried two approaches.  I downloaded a binary from here:
 Download GIMP 2.8 http://gimp.lisanet.de/Website/Download.html on
 the gimp.org/downloads page.  It runs natively on OS X (i.e. not using
 X11) and it works perfectly with pressure sensitivity on my Wacom tablet.
  The only problem is that it seems to ship with Python 2.6, which is a bit
 dated and not compatible with my other Python packages.

 I also tried to build and install from source.  I have tried this two
 ways.  The first was through homebrew.  I am able to compile correctly and
 it uses Python 2.7, but for reasons I don't understand, it seems to build
 an X11 version.  Again for reasons I don't understand, pressure sensitivity
 does not work when I build this way.  The pen and tablet under the extended
 input configuration are greyed out. They are set correctly, but the
 settings don't seem to be respected.

 I have also tried to just use homebrew to install the dependencies and
 then build GIMP myself in other directory.  This keeps getting hung up on
 trying to build a test GTK+ file that fails because it can't find gtk.h.
  gtk.h is in a homebrew Cellar folder and I don't seem to be able to point
 the configure script to it correctly.

 So, can someone point me to the best solution.  If a binary of GIMP 2.8
 linked to Python 2.7 could easily be made available, that would be great.
  If someone can help me build a version of GIMP 2.8 that runs natively
 using the Python from homebrew, that would also work.  I don't even mind
 setting up my own thing and compiling outside of homebrew, but I would
 prefer to avoid installing all the dependencies myself if possible.  I
 would prefer to have GIMP run natively rather than through X11, but if
 Python 2.7 and pressure sensitivity both worked, I would be OK with that.

 Thanks,

 Ryan

 ___
 gimp-developer-list mailing list
 gimp-developer-list@gnome.org
 https://mail.gnome.org/mailman/listinfo/gimp-developer-list





___
gimp-developer-list mailing list
gimp-developer-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gimp-developer-list


Re: [Gimp-developer] gimp 2.8 on OS X with Python 2.7 and Wacom Pressure sensitivity

2013-03-28 Thread Ryan Krauss
As a quick hack, I appended my personal folders to the PYTHONPATH set in
/Applications/Gimp-2.8.4.app/Contents/MacOS/Gimp.  Python stuff seems to be
working.

Pressure sensitivity does not seem to be working.  It behaves just like the
X11 version I built from homebrew - the options are listed under extended
input and pen and tablet seem to be set correctly, but a pencil  set to a
pressure opacity brush is always either 0 or 100% opacitiy.


On Thu, Mar 28, 2013 at 11:50 AM, Partha Bagchi parth...@gmail.com wrote:

 It uses it's own PYTHONPATH. Any reason you need a separate PYTHONPATH?
 Can you not put them in the plug-ins folder in ~/Library/Application
 Support/GIMP/2.8?




 On Thu, Mar 28, 2013 at 12:44 PM, Ryan Krauss ryanli...@gmail.com wrote:

 Just to be clear, it picks up everything in ~/Library/Application
 Support/GIMP/2.8/plug-ins without any problems, but I only keep GIMP
 specific Python files in there.  My general Python stuff is in other
 directories.  My pygimp code depends on some of the general stuff and those
 are the files that are not being found.


 On Thu, Mar 28, 2013 at 11:43 AM, Ryan Krauss ryanli...@gmail.comwrote:

 Thanks for your help and the quick response.  Your version looks
 promising.  However, it doesn't seem to respect the PYTHONPATH set in my
 ~/.profile file.  So, it cannot find my personal Python files.  Where
 should I set the PYTHONPATH for your version?

 Thanks again,

 Ryan


 On Thu, Mar 28, 2013 at 11:19 AM, Partha Bagchi parth...@gmail.comwrote:

 Try my version and let me know if you have issues: www.partha.com

 Partha



 On Thu, Mar 28, 2013 at 12:15 PM, Ryan Krauss ryanli...@gmail.comwrote:

  I have recently switched from Ubuntu to Mac and am having some
 trouble getting GIMP working the way I need.  I use pygimp and a Wacom
 tablet to create a sort of digital white board when I teach.  I use my
 pygimp code to correctly number each slide as I lecture so that the slides
 are useful to the students for review when I am done.  Here is an example
 if you are curious:

 http://www.cs.siue.edu/~rkrauss/450/2013/lectures/03_22_13/index.html

 I am using Python 2.7 for scipy, numpy, and other packages installed
 using homebrew and pip.  I am having a hard time getting GIMP installed in
 OS X 10.8 that supports both Python 2.7 and pressure sensitivity.  I have
 tried two approaches.  I downloaded a binary from here:
 Download GIMP 2.8 http://gimp.lisanet.de/Website/Download.html on
 the gimp.org/downloads page.  It runs natively on OS X (i.e. not
 using X11) and it works perfectly with pressure sensitivity on my Wacom
 tablet.  The only problem is that it seems to ship with Python 2.6, which
 is a bit dated and not compatible with my other Python packages.

 I also tried to build and install from source.  I have tried this two
 ways.  The first was through homebrew.  I am able to compile correctly and
 it uses Python 2.7, but for reasons I don't understand, it seems to build
 an X11 version.  Again for reasons I don't understand, pressure 
 sensitivity
 does not work when I build this way.  The pen and tablet under the 
 extended
 input configuration are greyed out. They are set correctly, but the
 settings don't seem to be respected.

 I have also tried to just use homebrew to install the dependencies and
 then build GIMP myself in other directory.  This keeps getting hung up on
 trying to build a test GTK+ file that fails because it can't find gtk.h.
  gtk.h is in a homebrew Cellar folder and I don't seem to be able to point
 the configure script to it correctly.

 So, can someone point me to the best solution.  If a binary of GIMP
 2.8 linked to Python 2.7 could easily be made available, that would be
 great.  If someone can help me build a version of GIMP 2.8 that runs
 natively using the Python from homebrew, that would also work.  I don't
 even mind setting up my own thing and compiling outside of homebrew, but I
 would prefer to avoid installing all the dependencies myself if possible.
  I would prefer to have GIMP run natively rather than through X11, but if
 Python 2.7 and pressure sensitivity both worked, I would be OK with that.

 Thanks,

 Ryan

 ___
 gimp-developer-list mailing list
 gimp-developer-list@gnome.org
 https://mail.gnome.org/mailman/listinfo/gimp-developer-list






___
gimp-developer-list mailing list
gimp-developer-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gimp-developer-list


Re: [Gimp-developer] gimp 2.8 on OS X with Python 2.7 and Wacom Pressure sensitivity

2013-03-28 Thread Ryan Krauss
While trying to debug the lack of pressure sensitivity, I deleted
~/Library/Application Support/GIMP/2.8 completely.  When I relaunch your
version, the Wacom pen and tablet do not show up at all under extended
input devices.  The settings there were apparently hanging around from the
other binary GIMP version I had installed from gimp.org/downloads.


On Thu, Mar 28, 2013 at 11:58 AM, Ryan Krauss ryanli...@gmail.com wrote:

 As a quick hack, I appended my personal folders to the PYTHONPATH set in
 /Applications/Gimp-2.8.4.app/Contents/MacOS/Gimp.  Python stuff seems to be
 working.

 Pressure sensitivity does not seem to be working.  It behaves just like
 the X11 version I built from homebrew - the options are listed under
 extended input and pen and tablet seem to be set correctly, but a pencil
 set to a pressure opacity brush is always either 0 or 100% opacitiy.


 On Thu, Mar 28, 2013 at 11:50 AM, Partha Bagchi parth...@gmail.comwrote:

 It uses it's own PYTHONPATH. Any reason you need a separate PYTHONPATH?
 Can you not put them in the plug-ins folder in ~/Library/Application
 Support/GIMP/2.8?




 On Thu, Mar 28, 2013 at 12:44 PM, Ryan Krauss ryanli...@gmail.comwrote:

 Just to be clear, it picks up everything in ~/Library/Application
 Support/GIMP/2.8/plug-ins without any problems, but I only keep GIMP
 specific Python files in there.  My general Python stuff is in other
 directories.  My pygimp code depends on some of the general stuff and those
 are the files that are not being found.


 On Thu, Mar 28, 2013 at 11:43 AM, Ryan Krauss ryanli...@gmail.comwrote:

 Thanks for your help and the quick response.  Your version looks
 promising.  However, it doesn't seem to respect the PYTHONPATH set in my
 ~/.profile file.  So, it cannot find my personal Python files.  Where
 should I set the PYTHONPATH for your version?

 Thanks again,

 Ryan


 On Thu, Mar 28, 2013 at 11:19 AM, Partha Bagchi parth...@gmail.comwrote:

 Try my version and let me know if you have issues: www.partha.com

 Partha



 On Thu, Mar 28, 2013 at 12:15 PM, Ryan Krauss ryanli...@gmail.comwrote:

  I have recently switched from Ubuntu to Mac and am having some
 trouble getting GIMP working the way I need.  I use pygimp and a Wacom
 tablet to create a sort of digital white board when I teach.  I use my
 pygimp code to correctly number each slide as I lecture so that the 
 slides
 are useful to the students for review when I am done.  Here is an example
 if you are curious:

 http://www.cs.siue.edu/~rkrauss/450/2013/lectures/03_22_13/index.html

 I am using Python 2.7 for scipy, numpy, and other packages installed
 using homebrew and pip.  I am having a hard time getting GIMP installed 
 in
 OS X 10.8 that supports both Python 2.7 and pressure sensitivity.  I have
 tried two approaches.  I downloaded a binary from here:
 Download GIMP 2.8 http://gimp.lisanet.de/Website/Download.html on
 the gimp.org/downloads page.  It runs natively on OS X (i.e. not
 using X11) and it works perfectly with pressure sensitivity on my Wacom
 tablet.  The only problem is that it seems to ship with Python 2.6, which
 is a bit dated and not compatible with my other Python packages.

 I also tried to build and install from source.  I have tried this two
 ways.  The first was through homebrew.  I am able to compile correctly 
 and
 it uses Python 2.7, but for reasons I don't understand, it seems to build
 an X11 version.  Again for reasons I don't understand, pressure 
 sensitivity
 does not work when I build this way.  The pen and tablet under the 
 extended
 input configuration are greyed out. They are set correctly, but the
 settings don't seem to be respected.

 I have also tried to just use homebrew to install the dependencies
 and then build GIMP myself in other directory.  This keeps getting hung 
 up
 on trying to build a test GTK+ file that fails because it can't find 
 gtk.h.
  gtk.h is in a homebrew Cellar folder and I don't seem to be able to 
 point
 the configure script to it correctly.

 So, can someone point me to the best solution.  If a binary of GIMP
 2.8 linked to Python 2.7 could easily be made available, that would be
 great.  If someone can help me build a version of GIMP 2.8 that runs
 natively using the Python from homebrew, that would also work.  I don't
 even mind setting up my own thing and compiling outside of homebrew, but 
 I
 would prefer to avoid installing all the dependencies myself if possible.
  I would prefer to have GIMP run natively rather than through X11, but if
 Python 2.7 and pressure sensitivity both worked, I would be OK with that.

 Thanks,

 Ryan

 ___
 gimp-developer-list mailing list
 gimp-developer-list@gnome.org
 https://mail.gnome.org/mailman/listinfo/gimp-developer-list







___
gimp-developer-list mailing list
gimp-developer-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gimp-developer-list


Re: [Gimp-developer] gimp 2.8 on OS X with Python 2.7 and Wacom Pressure sensitivity

2013-03-28 Thread Ryan Krauss
Yes, I plugged it before launching the second time (I have had that problem
in Ubuntu).


On Thu, Mar 28, 2013 at 12:45 PM, Partha Bagchi parth...@gmail.com wrote:

 Well I don't have the version from gimp.org :) since I build my own. Yet,
 I have them in my system.

 So, I will need to investigate why you don't see it under your
 preferences.

 Did you plug in the tablet before starting McGimp?



 On Thu, Mar 28, 2013 at 1:32 PM, Ryan Krauss ryanli...@gmail.com wrote:

 While trying to debug the lack of pressure sensitivity, I deleted
 ~/Library/Application Support/GIMP/2.8 completely.  When I relaunch your
 version, the Wacom pen and tablet do not show up at all under extended
 input devices.  The settings there were apparently hanging around from the
 other binary GIMP version I had installed from gimp.org/downloads.


 On Thu, Mar 28, 2013 at 11:58 AM, Ryan Krauss ryanli...@gmail.comwrote:

 As a quick hack, I appended my personal folders to the PYTHONPATH set in
 /Applications/Gimp-2.8.4.app/Contents/MacOS/Gimp.  Python stuff seems to be
 working.

 Pressure sensitivity does not seem to be working.  It behaves just like
 the X11 version I built from homebrew - the options are listed under
 extended input and pen and tablet seem to be set correctly, but a pencil
 set to a pressure opacity brush is always either 0 or 100% opacitiy.


 On Thu, Mar 28, 2013 at 11:50 AM, Partha Bagchi parth...@gmail.comwrote:

 It uses it's own PYTHONPATH. Any reason you need a separate PYTHONPATH?
 Can you not put them in the plug-ins folder in ~/Library/Application
 Support/GIMP/2.8?




 On Thu, Mar 28, 2013 at 12:44 PM, Ryan Krauss ryanli...@gmail.comwrote:

 Just to be clear, it picks up everything in ~/Library/Application
 Support/GIMP/2.8/plug-ins without any problems, but I only keep GIMP
 specific Python files in there.  My general Python stuff is in other
 directories.  My pygimp code depends on some of the general stuff and 
 those
 are the files that are not being found.


 On Thu, Mar 28, 2013 at 11:43 AM, Ryan Krauss ryanli...@gmail.comwrote:

 Thanks for your help and the quick response.  Your version looks
 promising.  However, it doesn't seem to respect the PYTHONPATH set in my
 ~/.profile file.  So, it cannot find my personal Python files.  Where
 should I set the PYTHONPATH for your version?

 Thanks again,

 Ryan


 On Thu, Mar 28, 2013 at 11:19 AM, Partha Bagchi 
 parth...@gmail.comwrote:

 Try my version and let me know if you have issues: www.partha.com

 Partha



 On Thu, Mar 28, 2013 at 12:15 PM, Ryan Krauss 
 ryanli...@gmail.comwrote:

  I have recently switched from Ubuntu to Mac and am having some
 trouble getting GIMP working the way I need.  I use pygimp and a Wacom
 tablet to create a sort of digital white board when I teach.  I use my
 pygimp code to correctly number each slide as I lecture so that the 
 slides
 are useful to the students for review when I am done.  Here is an 
 example
 if you are curious:


 http://www.cs.siue.edu/~rkrauss/450/2013/lectures/03_22_13/index.html

 I am using Python 2.7 for scipy, numpy, and other packages
 installed using homebrew and pip.  I am having a hard time getting GIMP
 installed in OS X 10.8 that supports both Python 2.7 and pressure
 sensitivity.  I have tried two approaches.  I downloaded a binary from 
 here:
 Download GIMP 2.8 http://gimp.lisanet.de/Website/Download.html on
 the gimp.org/downloads page.  It runs natively on OS X (i.e. not
 using X11) and it works perfectly with pressure sensitivity on my Wacom
 tablet.  The only problem is that it seems to ship with Python 2.6, 
 which
 is a bit dated and not compatible with my other Python packages.

 I also tried to build and install from source.  I have tried this
 two ways.  The first was through homebrew.  I am able to compile 
 correctly
 and it uses Python 2.7, but for reasons I don't understand, it seems to
 build an X11 version.  Again for reasons I don't understand, pressure
 sensitivity does not work when I build this way.  The pen and tablet 
 under
 the extended input configuration are greyed out. They are set 
 correctly,
 but the settings don't seem to be respected.

 I have also tried to just use homebrew to install the dependencies
 and then build GIMP myself in other directory.  This keeps getting 
 hung up
 on trying to build a test GTK+ file that fails because it can't find 
 gtk.h.
  gtk.h is in a homebrew Cellar folder and I don't seem to be able to 
 point
 the configure script to it correctly.

 So, can someone point me to the best solution.  If a binary of GIMP
 2.8 linked to Python 2.7 could easily be made available, that would be
 great.  If someone can help me build a version of GIMP 2.8 that runs
 natively using the Python from homebrew, that would also work.  I don't
 even mind setting up my own thing and compiling outside of homebrew, 
 but I
 would prefer to avoid installing all the dependencies myself if 
 possible.
  I would prefer to have GIMP run natively 

Re: [Gimp-developer] gimp 2.8 on OS X with Python 2.7 and Wacom Pressure sensitivity

2013-03-28 Thread Michael Schumacher

On 28.03.2013 17:50, Partha Bagchi wrote:


It uses it's own PYTHONPATH. Any reason you need a separate PYTHONPATH?


You could probably modify your version to prepend the GIMP PYTHONPATH, 
this should avoid problems like that.



--
Regards,
Michael
___
gimp-developer-list mailing list
gimp-developer-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gimp-developer-list


Re: [Gimp-developer] gimp 2.8 on OS X with Python 2.7 and Wacom Pressure sensitivity

2013-03-28 Thread Partha Bagchi
Have you installed the Wacom drivers for the Mac from the Wacom website?


On Thu, Mar 28, 2013 at 1:48 PM, Ryan Krauss ryanli...@gmail.com wrote:

 Yes, I plugged it before launching the second time (I have had that
 problem in Ubuntu).


 On Thu, Mar 28, 2013 at 12:45 PM, Partha Bagchi parth...@gmail.comwrote:

 Well I don't have the version from gimp.org :) since I build my own.
 Yet, I have them in my system.

 So, I will need to investigate why you don't see it under your
 preferences.

 Did you plug in the tablet before starting McGimp?



 On Thu, Mar 28, 2013 at 1:32 PM, Ryan Krauss ryanli...@gmail.com wrote:

 While trying to debug the lack of pressure sensitivity, I deleted
 ~/Library/Application Support/GIMP/2.8 completely.  When I relaunch your
 version, the Wacom pen and tablet do not show up at all under extended
 input devices.  The settings there were apparently hanging around from the
 other binary GIMP version I had installed from gimp.org/downloads.


 On Thu, Mar 28, 2013 at 11:58 AM, Ryan Krauss ryanli...@gmail.comwrote:

 As a quick hack, I appended my personal folders to the PYTHONPATH set
 in /Applications/Gimp-2.8.4.app/Contents/MacOS/Gimp.  Python stuff seems to
 be working.

 Pressure sensitivity does not seem to be working.  It behaves just like
 the X11 version I built from homebrew - the options are listed under
 extended input and pen and tablet seem to be set correctly, but a pencil
 set to a pressure opacity brush is always either 0 or 100% opacitiy.


 On Thu, Mar 28, 2013 at 11:50 AM, Partha Bagchi parth...@gmail.comwrote:

 It uses it's own PYTHONPATH. Any reason you need a separate
 PYTHONPATH? Can you not put them in the plug-ins folder in
 ~/Library/Application Support/GIMP/2.8?




 On Thu, Mar 28, 2013 at 12:44 PM, Ryan Krauss ryanli...@gmail.comwrote:

 Just to be clear, it picks up everything in ~/Library/Application
 Support/GIMP/2.8/plug-ins without any problems, but I only keep GIMP
 specific Python files in there.  My general Python stuff is in other
 directories.  My pygimp code depends on some of the general stuff and 
 those
 are the files that are not being found.


 On Thu, Mar 28, 2013 at 11:43 AM, Ryan Krauss ryanli...@gmail.comwrote:

 Thanks for your help and the quick response.  Your version looks
 promising.  However, it doesn't seem to respect the PYTHONPATH set in my
 ~/.profile file.  So, it cannot find my personal Python files.  Where
 should I set the PYTHONPATH for your version?

 Thanks again,

 Ryan


 On Thu, Mar 28, 2013 at 11:19 AM, Partha Bagchi 
 parth...@gmail.comwrote:

 Try my version and let me know if you have issues: www.partha.com

 Partha



 On Thu, Mar 28, 2013 at 12:15 PM, Ryan Krauss 
 ryanli...@gmail.comwrote:

  I have recently switched from Ubuntu to Mac and am having some
 trouble getting GIMP working the way I need.  I use pygimp and a Wacom
 tablet to create a sort of digital white board when I teach.  I use my
 pygimp code to correctly number each slide as I lecture so that the 
 slides
 are useful to the students for review when I am done.  Here is an 
 example
 if you are curious:


 http://www.cs.siue.edu/~rkrauss/450/2013/lectures/03_22_13/index.html

 I am using Python 2.7 for scipy, numpy, and other packages
 installed using homebrew and pip.  I am having a hard time getting 
 GIMP
 installed in OS X 10.8 that supports both Python 2.7 and pressure
 sensitivity.  I have tried two approaches.  I downloaded a binary 
 from here:
 Download GIMP 2.8 http://gimp.lisanet.de/Website/Download.html on
 the gimp.org/downloads page.  It runs natively on OS X (i.e. not
 using X11) and it works perfectly with pressure sensitivity on my 
 Wacom
 tablet.  The only problem is that it seems to ship with Python 2.6, 
 which
 is a bit dated and not compatible with my other Python packages.

 I also tried to build and install from source.  I have tried this
 two ways.  The first was through homebrew.  I am able to compile 
 correctly
 and it uses Python 2.7, but for reasons I don't understand, it seems 
 to
 build an X11 version.  Again for reasons I don't understand, pressure
 sensitivity does not work when I build this way.  The pen and tablet 
 under
 the extended input configuration are greyed out. They are set 
 correctly,
 but the settings don't seem to be respected.

 I have also tried to just use homebrew to install the dependencies
 and then build GIMP myself in other directory.  This keeps getting 
 hung up
 on trying to build a test GTK+ file that fails because it can't find 
 gtk.h.
  gtk.h is in a homebrew Cellar folder and I don't seem to be able to 
 point
 the configure script to it correctly.

 So, can someone point me to the best solution.  If a binary of
 GIMP 2.8 linked to Python 2.7 could easily be made available, that 
 would be
 great.  If someone can help me build a version of GIMP 2.8 that runs
 natively using the Python from homebrew, that would also work.  I 
 don't
 even mind setting up my own thing and 

Re: [Gimp-developer] gimp 2.8 on OS X with Python 2.7 and Wacom Pressure sensitivity

2013-03-28 Thread Partha Bagchi
Michael,

I didn't know about the GIMP PYTHONPATH. Where is it defined in the source?

Thanks!
Partha



On Thu, Mar 28, 2013 at 2:06 PM, Michael Schumacher schum...@gmx.de wrote:

 On 28.03.2013 17:50, Partha Bagchi wrote:

  It uses it's own PYTHONPATH. Any reason you need a separate PYTHONPATH?


 You could probably modify your version to prepend the GIMP PYTHONPATH,
 this should avoid problems like that.


 --
 Regards,
 Michael

 __**_
 gimp-developer-list mailing list
 gimp-developer-list@gnome.org
 https://mail.gnome.org/**mailman/listinfo/gimp-**developer-listhttps://mail.gnome.org/mailman/listinfo/gimp-developer-list

___
gimp-developer-list mailing list
gimp-developer-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gimp-developer-list


Re: [Gimp-developer] gimp 2.8 on OS X with Python 2.7 and Wacom Pressure sensitivity

2013-03-28 Thread Ryan Krauss
I have this driver installed:
http://cdn.wacom.com/U/Drivers/Mac/Consumer/532/PenTablet_5.3.2-2.dmg

Pressure sensitivity works fine with the binary installation from
gimp.org/downloads (but only Python 2.6).

I essentially get no pressure sensitivity with your binary.





On Thu, Mar 28, 2013 at 2:54 PM, Partha Bagchi parth...@gmail.com wrote:

 Michael,

 I didn't know about the GIMP PYTHONPATH. Where is it defined in the source?

 Thanks!
 Partha



 On Thu, Mar 28, 2013 at 2:06 PM, Michael Schumacher schum...@gmx.dewrote:

 On 28.03.2013 17:50, Partha Bagchi wrote:

  It uses it's own PYTHONPATH. Any reason you need a separate PYTHONPATH?


 You could probably modify your version to prepend the GIMP PYTHONPATH,
 this should avoid problems like that.


 --
 Regards,
 Michael

 __**_
 gimp-developer-list mailing list
 gimp-developer-list@gnome.org
 https://mail.gnome.org/**mailman/listinfo/gimp-**developer-listhttps://mail.gnome.org/mailman/listinfo/gimp-developer-list



 ___
 gimp-developer-list mailing list
 gimp-developer-list@gnome.org
 https://mail.gnome.org/mailman/listinfo/gimp-developer-list


___
gimp-developer-list mailing list
gimp-developer-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gimp-developer-list