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



Have you installed the Wacom drivers for the Mac from the Wacom website?


On Thu, Mar 28, 2013 at 1:48 PM, Ryan Krauss <ryanlists 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 <partha1b 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 <ryanlists 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 <ryanlists 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 <partha1b 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 <ryanlists 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 <ryanlists 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 <partha1b 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 <ryanlists 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:


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 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












[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]