Re: [Mypaint-discuss] MyPaint brushlib (libmypaint) moved to separate repository

2014-04-21 Thread Manuel Quiñones
2014-04-20 14:02 GMT-03:00 Jon Nordby jono...@gmail.com:
 Should be fixed in libmypaint master now. Let me know if not.

Thanks a lot! scons ends successfully and examples/gegl.py is working now.


 On 20 April 2014 12:30, Manuel Quiñones ma...@laptop.org wrote:
 And the attachment :)

 2014-04-20 6:56 GMT-03:00 Manuel Quiñones ma...@laptop.org:
 Hi Jon

 I finally tried building today.  I'm getting the attached error.  I'm
 building with:

 scons brushlib_only=true enable_gegl=true
 enable_introspection=true prefix=$prefix

 Were there changes in gegl, gegl-view, or babl, related to your recent
 work on brushlib?

 Thanks for your work.

 2014-04-06 8:24 GMT-03:00 Jon Nordby jono...@gmail.com:
 Hi all,
 as of yesterday the MyPaint brushlib lives in its own repository:
 https://gitorious.org/mypaint/libmypaint/

 The repository has all the history from the brushlib directory in
 MyPaint repository.
 MyPaint then uses this repository as a git submodule, at the same
 location as before.
 Until we have this library released and packaged in distributions -
 that is the recommended method of using the library in other
 applications.

 There is currently a very basic build based on scons set up, see the
 SConstruct file for available options.
 Install of the library files is right now missing. We also need to
 decide if the MyPaint brushes should also be distributed by the
 library.
 It is possible to just include libmypaint.c into ones own
 application build instead of linking. For quick experiments this may
 be the easiest way right now.

 The minimal example is right now broken, but the GEGL backend has
 been tested using Gobject introspection from Python
 (examples/gegl.py).

 Documentation is still TODO. Just ask for any questions :)

 --
 Jon Nordby - www.jonnor.com



 --
 .. manuq ..



 --
 .. manuq ..



 --
 Jon Nordby - www.jonnor.com



-- 
.. manuq ..

___
Mypaint-discuss mailing list
Mypaint-discuss@gna.org
https://mail.gna.org/listinfo/mypaint-discuss


Re: [Mypaint-discuss] MyPaint brushlib (libmypaint) moved to separate repository

2014-04-20 Thread Manuel Quiñones
Hi Jon

I finally tried building today.  I'm getting the attached error.  I'm
building with:

scons brushlib_only=true enable_gegl=true
enable_introspection=true prefix=$prefix

Were there changes in gegl, gegl-view, or babl, related to your recent
work on brushlib?

Thanks for your work.

2014-04-06 8:24 GMT-03:00 Jon Nordby jono...@gmail.com:
 Hi all,
 as of yesterday the MyPaint brushlib lives in its own repository:
 https://gitorious.org/mypaint/libmypaint/

 The repository has all the history from the brushlib directory in
 MyPaint repository.
 MyPaint then uses this repository as a git submodule, at the same
 location as before.
 Until we have this library released and packaged in distributions -
 that is the recommended method of using the library in other
 applications.

 There is currently a very basic build based on scons set up, see the
 SConstruct file for available options.
 Install of the library files is right now missing. We also need to
 decide if the MyPaint brushes should also be distributed by the
 library.
 It is possible to just include libmypaint.c into ones own
 application build instead of linking. For quick experiments this may
 be the easiest way right now.

 The minimal example is right now broken, but the GEGL backend has
 been tested using Gobject introspection from Python
 (examples/gegl.py).

 Documentation is still TODO. Just ask for any questions :)

 --
 Jon Nordby - www.jonnor.com



-- 
.. manuq ..

___
Mypaint-discuss mailing list
Mypaint-discuss@gna.org
https://mail.gna.org/listinfo/mypaint-discuss


Re: [Mypaint-discuss] MyPaint brushlib (libmypaint) moved to separate repository

2014-04-09 Thread Jon Nordby
On 9 April 2014 02:46, Albert Westra odysseywes...@gmail.com wrote:
 Sorry, I'm referring to the quick setup script on the wiki which allows
 other users to test out the git version. However every time I run it, I'm
 getting an error about it missing libraries.

As mentioned, you need to run git submodule update --init after you
do git pull/rebase/merge.
If you get an error about public key when you do this, see
https://mail.gna.org/public/mypaint-discuss/2014-04/msg6.html

 #!/bin/bash
 # Installs MyPaint's dependencies.
 echo Enter password to install dependencies...
 if [ -f /etc/debian_version ]; then
   sudo apt-get update  sudo apt-get install git scons python-numpy swig
 libglib2.0-dev python-dev python-gtk2-dev python-cairo-dev libpng12-dev g++
 gettext liblcms2-dev libjson0-dev
 else
   sudo yum install git scons numpy swig glib2-devel python-devel
 pycairo-devel libpng-devel gcc-c++ gettext liblcms2-devel libjson0-devel
 fi

 # Makes two folders, one to store GIT clones, and one in which MyPaint will
 be installed.
 mkdir ~/mypaintdev
 git clone git://gitorious.org/mypaint/mypaint.git ~/mypaint-src
 cd ~/mypaint-src
 scons prefix=~/mypaintdev/ install

These two lines should not be neccesary. If they are let me know so we
can just fix it.
 ln -s ~/mypaintdev/lib/libmypaint-brushlib.so
 ~/mypaintdev/lib/mypaint/libmypaint-brushlib.so  # see next comment

 scons prefix=~/mypaintdev/ install  # not ideal, but making a symlink for a
 'missing' lib, then running scons again


 # Just lets you know that you've installed MyPaint into this folder.
 echo MyPaint is now installed in the mypaintdev folder in your home
 directory.


 # wait three seconds so the user can see the above message
 sleep 3

 # Launches the MyPaint installation.
 ~/mypaintdev/bin/mypaint

 In file included from lib/mypaintlib.hpp:13:0,
  from lib/mypaintlib_wrap.cpp:3086:
 lib/mapping.hpp:20:21: fatal error: mapping.h: No such file or directory
  #include mapping.h
  ^
 compilation terminated.
 scons: *** [lib/mypaintlib_wrap.os] Error 1
 scons: building terminated because of errors.

 So how would I modify the script so it can build the the mypaintlib into
 MyPaint itself?


 On Tue, Apr 8, 2014 at 5:34 PM, Jon Nordby jono...@gmail.com wrote:

 On 9 April 2014 01:10, Albert Westra odysseywes...@gmail.com wrote:
  So how will this effect the build script provided on the wiki? I tried
  to
  build the master, only to get an error.
 Which build script and what error?
 I've updated the README with the additional command that needs to be
 ran, git submodule update --init

 --
 Jon Nordby - www.jonnor.com



 ___
 Mypaint-discuss mailing list
 Mypaint-discuss@gna.org
 https://mail.gna.org/listinfo/mypaint-discuss




-- 
Jon Nordby - www.jonnor.com

___
Mypaint-discuss mailing list
Mypaint-discuss@gna.org
https://mail.gna.org/listinfo/mypaint-discuss


Re: [Mypaint-discuss] MyPaint brushlib (libmypaint) moved to separate repository

2014-04-08 Thread Albert Westra
So how will this effect the build script provided on the wiki? I tried to
build the master, only to get an error.
___
Mypaint-discuss mailing list
Mypaint-discuss@gna.org
https://mail.gna.org/listinfo/mypaint-discuss


Re: [Mypaint-discuss] MyPaint brushlib (libmypaint) moved to separate repository

2014-04-08 Thread Albert Westra
Sorry, I'm referring to the quick setup script on the wiki which allows
other users to test out the git version. However every time I run it, I'm
getting an error about it missing libraries.


#!/bin/bash
# Installs MyPaint's dependencies.
echo Enter password to install dependencies...
if [ -f /etc/debian_version ]; then
  sudo apt-get update  sudo apt-get install git scons python-numpy
swig libglib2.0-dev python-dev python-gtk2-dev python-cairo-dev
libpng12-dev g++ gettext liblcms2-dev libjson0-dev
else
  sudo yum install git scons numpy swig glib2-devel python-devel
pycairo-devel libpng-devel gcc-c++ gettext liblcms2-devel
libjson0-devel
fi

# Makes two folders, one to store GIT clones, and one in which MyPaint
will be installed.
mkdir ~/mypaintdev
git clone git://gitorious.org/mypaint/mypaint.git ~/mypaint-src
cd ~/mypaint-src
scons prefix=~/mypaintdev/ install

ln -s ~/mypaintdev/lib/libmypaint-brushlib.so
~/mypaintdev/lib/mypaint/libmypaint-brushlib.so  # see next comment

scons prefix=~/mypaintdev/ install  # not ideal, but making a symlink
for a 'missing' lib, then running scons again

# Just lets you know that you've installed MyPaint into this folder.
echo MyPaint is now installed in the mypaintdev folder in your home directory.


# wait three seconds so the user can see the above message
sleep 3

# Launches the MyPaint installation.
~/mypaintdev/bin/mypaint

In file included from lib/mypaintlib.hpp:13:0,
 from lib/mypaintlib_wrap.cpp:3086:
lib/mapping.hpp:20:21: fatal error: mapping.h: No such file or directory
 #include mapping.h
 ^
compilation terminated.
scons: *** [lib/mypaintlib_wrap.os] Error 1
scons: building terminated because of errors.

So how would I modify the script so it can build the the mypaintlib into
MyPaint itself?


On Tue, Apr 8, 2014 at 5:34 PM, Jon Nordby jono...@gmail.com wrote:

 On 9 April 2014 01:10, Albert Westra odysseywes...@gmail.com wrote:
  So how will this effect the build script provided on the wiki? I tried to
  build the master, only to get an error.
 Which build script and what error?
 I've updated the README with the additional command that needs to be
 ran, git submodule update --init

 --
 Jon Nordby - www.jonnor.com

___
Mypaint-discuss mailing list
Mypaint-discuss@gna.org
https://mail.gna.org/listinfo/mypaint-discuss


[Mypaint-discuss] MyPaint brushlib (libmypaint) moved to separate repository

2014-04-06 Thread Jon Nordby
Hi all,
as of yesterday the MyPaint brushlib lives in its own repository:
https://gitorious.org/mypaint/libmypaint/

The repository has all the history from the brushlib directory in
MyPaint repository.
MyPaint then uses this repository as a git submodule, at the same
location as before.
Until we have this library released and packaged in distributions -
that is the recommended method of using the library in other
applications.

There is currently a very basic build based on scons set up, see the
SConstruct file for available options.
Install of the library files is right now missing. We also need to
decide if the MyPaint brushes should also be distributed by the
library.
It is possible to just include libmypaint.c into ones own
application build instead of linking. For quick experiments this may
be the easiest way right now.

The minimal example is right now broken, but the GEGL backend has
been tested using Gobject introspection from Python
(examples/gegl.py).

Documentation is still TODO. Just ask for any questions :)

-- 
Jon Nordby - www.jonnor.com

___
Mypaint-discuss mailing list
Mypaint-discuss@gna.org
https://mail.gna.org/listinfo/mypaint-discuss