Synfig CMake Port

Need help to contribute to code? Want to help synfig with a patch? Discuss it here.
0u812
Posts: 2
Joined: Fri Apr 25, 2014 2:57 am

Synfig CMake Port

Postby 0u812 » Fri Apr 25, 2014 4:04 am

Hi All.

I understand there has been on ongoing interest in porting the Synfig build system to CMake (references: here and here). If there is still active interest in this, I wanted to share a CMake port which is based on a several-month-old "fork" of synfig:master (due to complications it's not technically a fork, but for practical purposes it is):

https://github.com/0u812/cynfig

Linux support is fairly complete, but is missing some features that were present in the autotools build, but the all of essential features are there. Both Synfig & Synfig Studio compile and run and can render stills and sequences of images. Cygwin is also supported. Attached is a screenshot showing the Linux Build side-by-side with the Cygwin build running inside a Windows 8.1 VM. You can even build parts of it with Visual Studio (the synfig library and executable, although you can't run it yet). I'm still working on bringing the CMake feature set closer to autotools, but I wanted to post here to get feedback about whether people would want to pull this into synfig:master at some point (after I bring it up to date with the latest changes in master).

screenshot-synfig64-splash-small.jpg


I really think that having a good platform-independent CMake build system will help attract new developers to Synfig and accelerate the project, which is one of the reasons I invested a fair amount of my own time in this port. Hopefully, other people agree, and would be interested in trying out the CMake build so any remaining bugs could be fixed. I will post some build instructions on the Github page soon.

Advertisement

User avatar
d.j.a.y
Site Admin
Posts: 1356
Joined: Fri Apr 27, 2012 4:35 am
Contact:

Re: Synfig CMake Port

Postby d.j.a.y » Fri Apr 25, 2014 7:30 am

Hello 0u812 and welcome here!

I did't test or review the work you have done, but i can say, from my point of view, that all initiative to deploy and develop synfig in particular, freesoftware in general, is warmly welcome !

Good luck for the last things you have to continue to...
If that solved, please edit initial title adding [SOLVED]

Code: Select all

for each doc in [wiki] ;; if not doc.lang.your ;; then translate(doc, lang.your) ;;

-< Synfig documentation Getting started >-

User avatar
Genete
Site Admin
Posts: 5155
Joined: Sat Dec 01, 2007 6:26 am
Location: Spain

Re: Synfig CMake Port

Postby Genete » Fri Apr 25, 2014 9:39 am

Hi 0u812!
Those news are awesome!. We would be very happy if you rebase your branch onto the master branch. That would allow us to test cmake on different distributions and operating systems and so validate your work.

I can see that you haven't forked synfig repository and that's not a good idea. It would make more complex to us to merge it to the normal workflow. Please try to fork synfig repository first and then add the commits on top of master over the fork. This way it would be easier to issue a pull request and to solve the merge from our side.

Fantastic work!
-G
Synfig needs your help!
Developers, packagers, bug testers, translators, artists, web developers, wiki writers... you can contribute! :D

0u812
Posts: 2
Joined: Fri Apr 25, 2014 2:57 am

Re: Synfig CMake Port

Postby 0u812 » Tue Apr 29, 2014 3:03 pm

Thanks for the positive responses, everybody! I'll fork the Synfig master branch and integrate my changes. In the meantime, I uploaded instructions for Fedora (tested with 20 but it should work with any recent version). I also plan on uploading instructions for at least Ubuntu, Cygwin and Visual Studio (partial build) in the near future. I haven't tested the CMake port on a Mac yet but I hope to do so as soon as I have some time on my hands.

User avatar
eldruin
Posts: 94
Joined: Tue Feb 16, 2010 11:08 pm
Location: Germany
Contact:

Re: Synfig CMake Port

Postby eldruin » Sat Dec 06, 2014 7:56 pm

Hi 0u812!
I hope you are still around here.
I would really like to change the build system to cmake. I agree with you that this could also lower the initial barrier and get more people to hack around.
If you are interested, I will have some free time during christmas :)
I added an issue for this here: http://www.synfig.org/issues/thebuggenie/synfig/issues/721

PS: edited, I didn't read the previous comments

User avatar
caryoscelus
Posts: 35
Joined: Wed Nov 11, 2015 9:10 am
Contact:

Re: Synfig CMake Port

Postby caryoscelus » Fri Nov 04, 2016 5:13 pm

Wasn't aware of this thread, but anyway i've just started another effort to port to cmake today: https://github.com/synfig/synfig/issues/279

Anyway, i'm starting from scratch because i suspect it'll be easier and i don't exactly like what i've seen from "cynfig" cmakelists.

eldruin, if you are still interested in port, any help is appreciated.

User avatar
caryoscelus
Posts: 35
Joined: Wed Nov 11, 2015 9:10 am
Contact:

Re: Synfig CMake Port

Postby caryoscelus » Mon Nov 07, 2016 8:58 am

Everything is buildable for me with CMake now, so i need some testers to make it portable.

CMake branch: https://github.com/caryoscelus/synfig/tree/cmake
Build instructions: https://github.com/caryoscelus/synfig/t ... installing
Issue for discussion: https://github.com/synfig/synfig/issues/279


Return to “Coding synfig”

Who is online

Users browsing this forum: No registered users and 3 guests