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 <[email protected]> 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 <[email protected]> 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 <[email protected]>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 <[email protected]>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 <[email protected]>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
>>>>> [email protected]
>>>>> https://mail.gnome.org/mailman/listinfo/gimp-developer-list
>>>>>
>>>>>
>>>>
>>>
>>
>
_______________________________________________
gimp-developer-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/gimp-developer-list

Reply via email to