Re: [Synfig-devl] Building of master on OSX 10.9

2014-03-18 Thread Carlos López González
OK. I've been researching that combination of gnu extension symbol not
found and everything points to the default usage of the new libc++ as
replacement of the libstdc++ in OSX 10.9.x

I've not found a way to fix this from the root cause so I decided to
disable the line for the OSX platform. See:

https://github.com/genete/synfig/commit/3f9c3567de3a18ec01da41c743f12f1ab5526a15

Removing that line is not a big trouble because std::abort() is the default
function for the set_terminate argument so the commit would only affect to
the debug mode on OSX.
Once I could pass the error I have added some more commits to fix several
warnings produced by clang. Curiously there are some warning for unused
parameters that comes from Boost odeint libraries. I think I would raise a
issue for that on the boost site.

So basically synfig-core builds clean now on OSX 10.9.x.

It would be helpful if someone builds synfig-core from my master branch (it
is currently rebased) on a Linux or Windows machine to be sure I didn't
break anything on other platform.

I want to remark that I couldn't build current synfig master branch in my
Windows XP 32 bits box due to a crash on the CLI when building
synfig-studio.

I would continue fixing warning synfig-studio on OSX before I send a pull
request.

Cheers!


2014-03-12 4:40 GMT+01:00 Konstantin Dmitriev ksee.zelga...@gmail.com:

 Right.  I am building packages with DEBUG=0, that's why I haven't
 noticed it before.
 K.

 2014-03-11 0:57 GMT+07:00 Carlos López González genet...@gmail.com:
  Confirmed. Running:
  $ sudo sh synfigstudio-osx-build.sh
  produces in debug mode (export DEBUG=1 at line 65 of the script) the
  following error:
 
  main.cpp:196:21: error: use of undeclared identifier '__gnu_cxx'
 
  std::set_terminate(__gnu_cxx::__verbose_terminate_handler);
 
 ^
 
 
 
  2014-03-10 8:50 GMT+01:00 Konstantin Dmitriev ksee.zelga...@gmail.com:
 
  Hi!
 
  I don't have OSX on hand right now, but IIRC the synfigstudio binary
  is placed to ~/src/macports/SynfigStudio-app/Contents/Resources/bin/
 
  You can start it from terminal, but the best way is to run
  ~/src/macports/SynfigStudio-app/Contents/MacOS/SynfigStudio
 
  Regards,
  K.
 
  2014-03-10 14:38 GMT+07:00 Carlos López González genet...@gmail.com:
   One question:
  
   2014-03-09 12:00 GMT+01:00 Konstantin Dmitriev
   ksee.zelga...@gmail.com:
  
   Hello!
  
   FYI, the autobuild script doesn't use libstdc++ compilation.
   Why won't you use autobuild script in the same way ad you do for
   windows?
   ^__^
  
   After use the script, where is placed the synfigstudio executable? And
   also,
   can I directly run it form terminal?
  
  
  
  
   2014-03-09 15:22 GMT+07:00 Carlos López González genet...@gmail.com
 :
Hi! Unfortunately only the autobuild scripts works with this new
Mavericks.
I have not been able to build Synfig using native compiler (aka
clang)
and
Macports.
It raises an error that I've not been able to fix yet.
   
If someone want to reproduce it, this is the recipe:
1) Macports needs to be updated and the easier way is start from
scratch.
Follow the recipe to uninstall macports from here: 2.5. Uninstall
2) Reinstall macports following the recipe here: 2.2.1. Install
 Xcode
on
OS
X 10.9 or later and here:2.3.1. Mac OS X Package Install. Notice
 that
the
command xcode-select --install didn't work for me (maybe it is your
case
too) because Xcode was already installed and it complained that
 there
were
not connection to the server to download the command line tools.
 So i
went
to XcodeOpen Developer ToolMore Developer Tools, and on the
download
website, select the command line tools for Mavericks and installed
it.
3) Once reinstalled Macports you need minimum this to be able to
build
synfig-core:
$ sudo port install automake autoconf libtools intltool pkgconfig
glibmm
libxmlxx cairo pango boost
4) Then I used this script to build synfig (this script is the same
that
I
used on Lion)
   
---
   
#!/bin/sh
   
CPUS=4
   
cd synfig
   
prefix=$(pwd)/install
   
export PKG_CONFIG_PATH=$prefix/lib/pkgconfig
   
export ACLOCAL_FLAGS=-I $prefix/share/aclocal
   
export PATH=$(pwd)/synfig-core/src/tool/.libs:$PATH
   
export CPPFLAGS=-I/opt/local/include
   
export LDFLAGS=-L/opt/local/lib
   
   
cd ETL 
   
autoreconf --install --force 
   
./configure --prefix $prefix 
   
make --debug=b install 
   
\
   
cd ../synfig-core 
   
glibtoolize --copy --force 
   
autoreconf --install --force 
   
./configure --prefix $prefix --enable-optimization=0 --enable-debug

   
make --debug=b -j $CPUS install 
   
   \
   
cd ../synfig-studio 
   
/bin/sh ./bootstrap.sh 
   
./configure --prefix $prefix 

Re: [Synfig-devl] Building of master on OSX 10.9

2014-03-18 Thread Konstantin Dmitriev
Hi!

Thank you for the fixes!
I have tested your master branch on Linux - haven't noticed any problems here.
We are still investigating the Win32 build issues. No luck yet, but
we'll keep digging. ^__^

Regards,
K.


2014-03-18 14:12 GMT+07:00 Carlos López González genet...@gmail.com:
 OK. I've been researching that combination of gnu extension symbol not found
 and everything points to the default usage of the new libc++ as replacement
 of the libstdc++ in OSX 10.9.x

 I've not found a way to fix this from the root cause so I decided to disable
 the line for the OSX platform. See:

 https://github.com/genete/synfig/commit/3f9c3567de3a18ec01da41c743f12f1ab5526a15

 Removing that line is not a big trouble because std::abort() is the default
 function for the set_terminate argument so the commit would only affect to
 the debug mode on OSX.
 Once I could pass the error I have added some more commits to fix several
 warnings produced by clang. Curiously there are some warning for unused
 parameters that comes from Boost odeint libraries. I think I would raise a
 issue for that on the boost site.

 So basically synfig-core builds clean now on OSX 10.9.x.

 It would be helpful if someone builds synfig-core from my master branch (it
 is currently rebased) on a Linux or Windows machine to be sure I didn't
 break anything on other platform.

 I want to remark that I couldn't build current synfig master branch in my
 Windows XP 32 bits box due to a crash on the CLI when building
 synfig-studio.

 I would continue fixing warning synfig-studio on OSX before I send a pull
 request.

 Cheers!


 2014-03-12 4:40 GMT+01:00 Konstantin Dmitriev ksee.zelga...@gmail.com:

 Right.  I am building packages with DEBUG=0, that's why I haven't
 noticed it before.
 K.

 2014-03-11 0:57 GMT+07:00 Carlos López González genet...@gmail.com:
  Confirmed. Running:
  $ sudo sh synfigstudio-osx-build.sh
  produces in debug mode (export DEBUG=1 at line 65 of the script) the
  following error:
 
  main.cpp:196:21: error: use of undeclared identifier '__gnu_cxx'
 
  std::set_terminate(__gnu_cxx::__verbose_terminate_handler);
 
 ^
 
 
 
  2014-03-10 8:50 GMT+01:00 Konstantin Dmitriev ksee.zelga...@gmail.com:
 
  Hi!
 
  I don't have OSX on hand right now, but IIRC the synfigstudio binary
  is placed to ~/src/macports/SynfigStudio-app/Contents/Resources/bin/
 
  You can start it from terminal, but the best way is to run
  ~/src/macports/SynfigStudio-app/Contents/MacOS/SynfigStudio
 
  Regards,
  K.
 
  2014-03-10 14:38 GMT+07:00 Carlos López González genet...@gmail.com:
   One question:
  
   2014-03-09 12:00 GMT+01:00 Konstantin Dmitriev
   ksee.zelga...@gmail.com:
  
   Hello!
  
   FYI, the autobuild script doesn't use libstdc++ compilation.
   Why won't you use autobuild script in the same way ad you do for
   windows?
   ^__^
  
   After use the script, where is placed the synfigstudio executable?
   And
   also,
   can I directly run it form terminal?
  
  
  
  
   2014-03-09 15:22 GMT+07:00 Carlos López González
   genet...@gmail.com:
Hi! Unfortunately only the autobuild scripts works with this new
Mavericks.
I have not been able to build Synfig using native compiler (aka
clang)
and
Macports.
It raises an error that I've not been able to fix yet.
   
If someone want to reproduce it, this is the recipe:
1) Macports needs to be updated and the easier way is start from
scratch.
Follow the recipe to uninstall macports from here: 2.5. Uninstall
2) Reinstall macports following the recipe here: 2.2.1. Install
Xcode
on
OS
X 10.9 or later and here:2.3.1. Mac OS X Package Install. Notice
that
the
command xcode-select --install didn't work for me (maybe it is
your
case
too) because Xcode was already installed and it complained that
there
were
not connection to the server to download the command line tools.
So i
went
to XcodeOpen Developer ToolMore Developer Tools, and on the
download
website, select the command line tools for Mavericks and installed
it.
3) Once reinstalled Macports you need minimum this to be able to
build
synfig-core:
$ sudo port install automake autoconf libtools intltool pkgconfig
glibmm
libxmlxx cairo pango boost
4) Then I used this script to build synfig (this script is the
same
that
I
used on Lion)
   
---
   
#!/bin/sh
   
CPUS=4
   
cd synfig
   
prefix=$(pwd)/install
   
export PKG_CONFIG_PATH=$prefix/lib/pkgconfig
   
export ACLOCAL_FLAGS=-I $prefix/share/aclocal
   
export PATH=$(pwd)/synfig-core/src/tool/.libs:$PATH
   
export CPPFLAGS=-I/opt/local/include
   
export LDFLAGS=-L/opt/local/lib
   
   
cd ETL 
   
autoreconf --install --force 
   
./configure --prefix $prefix 
   
make --debug=b install 
   
\
   
cd ../synfig-core 
   

[Synfig-devl] option tool panel UI improvement

2014-03-18 Thread Yu Chen
Hello,

After days work, the tool options panel UI improvement has things[1] to
play with now. The current work is just done for Circle Tool, The rest
should be much easier to implement, but before applying to the other tools,
I would like to hear your feedback/criticism on the design and code.

- Options are re-arranged
- UI Layout is improved (I hope)
- Now options is layer-type-sensitive

More detailed information and mockup please go to forum thread.[2]

Cheers!

~ yu


[1] https://github.com/jcome/synfig/tree/tool-options-panel
[2] http://synfig.org/forums/viewtopic.php?f=14t=5000
--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech___
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl


Re: [Synfig-devl] option tool panel UI improvement

2014-03-18 Thread Carlos López González
Overall work is excellent in my humble opinion. Thanks!
Please go ahead with the rest of tools.
Cheers!


2014-03-18 9:46 GMT+01:00 Yu Chen jco...@gmail.com:


 Hello,

 After days work, the tool options panel UI improvement has things[1] to
 play with now. The current work is just done for Circle Tool, The rest
 should be much easier to implement, but before applying to the other tools,
 I would like to hear your feedback/criticism on the design and code.

 - Options are re-arranged
 - UI Layout is improved (I hope)
 - Now options is layer-type-sensitive

 More detailed information and mockup please go to forum thread.[2]

 Cheers!

 ~ yu


 [1] https://github.com/jcome/synfig/tree/tool-options-panel
 [2] http://synfig.org/forums/viewtopic.php?f=14t=5000


 --
 Learn Graph Databases - Download FREE O'Reilly Book
 Graph Databases is the definitive new guide to graph databases and their
 applications. Written by three acclaimed leaders in the field,
 this first edition is now available. Download your free book today!
 http://p.sf.net/sfu/13534_NeoTech
 ___
 Synfig-devl mailing list
 Synfig-devl@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/synfig-devl




-- 
Carlos
http://synfig.org
--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech___
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl


Re: [Synfig-devl] option tool panel UI improvement

2014-03-18 Thread Dave Jeffery
I agree with Carlos - this is absolutely fantastic work Yu.

Your improvements will really help new users to understand Synfig more
quickly and easily at the same time as making it more pleasant to use for
the rest of us.

All the best,

Dave
--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech___
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl


Re: [Synfig-devl] option tool panel UI improvement

2014-03-18 Thread Konstantin Dmitriev
Looks great!
I love buttons, which allows to choose type of created layer. All the
rest is also very cool!
The only issue I have noticed: when I have started the new version for
the first time, the Opacity slider was set to 0.0, so created Circle
was invisible.
Regards,
K.


2014-03-18 16:26 GMT+07:00 Dave Jeffery david.richard.jeff...@gmail.com:
 I agree with Carlos - this is absolutely fantastic work Yu.

 Your improvements will really help new users to understand Synfig more
 quickly and easily at the same time as making it more pleasant to use for
 the rest of us.

 All the best,

 Dave


 --
 Learn Graph Databases - Download FREE O'Reilly Book
 Graph Databases is the definitive new guide to graph databases and their
 applications. Written by three acclaimed leaders in the field,
 this first edition is now available. Download your free book today!
 http://p.sf.net/sfu/13534_NeoTech
 ___
 Synfig-devl mailing list
 Synfig-devl@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/synfig-devl




-- 
http://morevnaproject.org/

--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl


[Synfig-devl] [synfig/synfig] a7d9b7: Fix 608-Tool tooltip display voidsymbol if no ac...

2014-03-18 Thread [d.j.a.y] Jerome Blanchi
  Branch: refs/heads/master
  Home:   https://github.com/synfig/synfig
  Commit: a7d9b74fd48571921953b14ee6ecfacfe4accaab
  
https://github.com/synfig/synfig/commit/a7d9b74fd48571921953b14ee6ecfacfe4accaab
  Author: [d.j.a.y] Jerome Blanchi d.j@free.fr
  Date:   2014-03-18 (Tue, 18 Mar 2014)

  Changed paths:
M synfig-studio/src/gui/docks/dock_toolbox.cpp

  Log Message:
  ---
  Fix 608-Tool tooltip display voidsymbol if no accelerator is defined

- Add a test on accelerator presence before assign


--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech___
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl


Re: [Synfig-devl] Building of master on OSX 10.9

2014-03-18 Thread Carlos López González
Hi!
Thanks for checkout build in Linux.
Cheers!


2014-03-18 9:39 GMT+01:00 Konstantin Dmitriev ksee.zelga...@gmail.com:

 Hi!

 Thank you for the fixes!
 I have tested your master branch on Linux - haven't noticed any problems
 here.
 We are still investigating the Win32 build issues. No luck yet, but
 we'll keep digging. ^__^

 Regards,
 K.


 2014-03-18 14:12 GMT+07:00 Carlos López González genet...@gmail.com:
  OK. I've been researching that combination of gnu extension symbol not
 found
  and everything points to the default usage of the new libc++ as
 replacement
  of the libstdc++ in OSX 10.9.x
 
  I've not found a way to fix this from the root cause so I decided to
 disable
  the line for the OSX platform. See:
 
 
 https://github.com/genete/synfig/commit/3f9c3567de3a18ec01da41c743f12f1ab5526a15
 
  Removing that line is not a big trouble because std::abort() is the
 default
  function for the set_terminate argument so the commit would only affect
 to
  the debug mode on OSX.
  Once I could pass the error I have added some more commits to fix several
  warnings produced by clang. Curiously there are some warning for unused
  parameters that comes from Boost odeint libraries. I think I would raise
 a
  issue for that on the boost site.
 
  So basically synfig-core builds clean now on OSX 10.9.x.
 
  It would be helpful if someone builds synfig-core from my master branch
 (it
  is currently rebased) on a Linux or Windows machine to be sure I didn't
  break anything on other platform.
 
  I want to remark that I couldn't build current synfig master branch in my
  Windows XP 32 bits box due to a crash on the CLI when building
  synfig-studio.
 
  I would continue fixing warning synfig-studio on OSX before I send a pull
  request.
 
  Cheers!
 
 
  2014-03-12 4:40 GMT+01:00 Konstantin Dmitriev ksee.zelga...@gmail.com:
 
  Right.  I am building packages with DEBUG=0, that's why I haven't
  noticed it before.
  K.
 
  2014-03-11 0:57 GMT+07:00 Carlos López González genet...@gmail.com:
   Confirmed. Running:
   $ sudo sh synfigstudio-osx-build.sh
   produces in debug mode (export DEBUG=1 at line 65 of the script) the
   following error:
  
   main.cpp:196:21: error: use of undeclared identifier '__gnu_cxx'
  
   std::set_terminate(__gnu_cxx::__verbose_terminate_handler);
  
  ^
  
  
  
   2014-03-10 8:50 GMT+01:00 Konstantin Dmitriev 
 ksee.zelga...@gmail.com:
  
   Hi!
  
   I don't have OSX on hand right now, but IIRC the synfigstudio binary
   is placed to ~/src/macports/SynfigStudio-app/Contents/Resources/bin/
  
   You can start it from terminal, but the best way is to run
   ~/src/macports/SynfigStudio-app/Contents/MacOS/SynfigStudio
  
   Regards,
   K.
  
   2014-03-10 14:38 GMT+07:00 Carlos López González genet...@gmail.com
 :
One question:
   
2014-03-09 12:00 GMT+01:00 Konstantin Dmitriev
ksee.zelga...@gmail.com:
   
Hello!
   
FYI, the autobuild script doesn't use libstdc++ compilation.
Why won't you use autobuild script in the same way ad you do for
windows?
^__^
   
After use the script, where is placed the synfigstudio executable?
And
also,
can I directly run it form terminal?
   
   
   
   
2014-03-09 15:22 GMT+07:00 Carlos López González
genet...@gmail.com:
 Hi! Unfortunately only the autobuild scripts works with this new
 Mavericks.
 I have not been able to build Synfig using native compiler (aka
 clang)
 and
 Macports.
 It raises an error that I've not been able to fix yet.

 If someone want to reproduce it, this is the recipe:
 1) Macports needs to be updated and the easier way is start from
 scratch.
 Follow the recipe to uninstall macports from here: 2.5.
 Uninstall
 2) Reinstall macports following the recipe here: 2.2.1. Install
 Xcode
 on
 OS
 X 10.9 or later and here:2.3.1. Mac OS X Package Install. Notice
 that
 the
 command xcode-select --install didn't work for me (maybe it is
 your
 case
 too) because Xcode was already installed and it complained that
 there
 were
 not connection to the server to download the command line tools.
 So i
 went
 to XcodeOpen Developer ToolMore Developer Tools, and on the
 download
 website, select the command line tools for Mavericks and
 installed
 it.
 3) Once reinstalled Macports you need minimum this to be able to
 build
 synfig-core:
 $ sudo port install automake autoconf libtools intltool
 pkgconfig
 glibmm
 libxmlxx cairo pango boost
 4) Then I used this script to build synfig (this script is the
 same
 that
 I
 used on Lion)

 ---

 #!/bin/sh

 CPUS=4

 cd synfig

 prefix=$(pwd)/install

 export PKG_CONFIG_PATH=$prefix/lib/pkgconfig

 export ACLOCAL_FLAGS=-I $prefix/share/aclocal

 export 

Re: [Synfig-devl] option tool panel UI improvement

2014-03-18 Thread d . j . a . y
Nice work jcome !

I have found something that could interest you about combox (and others widgets 
holding text) resizing :

 I'm trying to create a combobox object than can be sized smaller than the 
 text. What is the best way to go about doing this?

###
# ellipsize the text box is the key to getting the '...' feature
cell.set_property( 'ellipsize', pango.ELLIPSIZE_END )
###

http://www.daa.com.au/pipermail/pygtk/2008-June/015449.html 


Nota : Konstantin was quicker than me to tell you about defautl opacity value 
;-)

--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl