Comments (8)
I suggest to add at least two more metadata to plugin description:
- minimum Synfig version (maybe maximum too if known)
- minimum Python version (maybe ma too if known)
from synfig.
@rodolforg , thanks for the suggestion.
I am running a little later than my schedule. I will cover it up within this week.
Firstly let's begin by defining proper specifications and requirements for Plugin.
Defining a Plugin (from docs)
The Plugins feature allows users to run custom Python scripts directly from the Synfig Studio menu. Each script takes the .sif file as the first argument and will modify its contents in some way. After script execution finished, the file is automatically reopened back in Synfig Studio.
Structure of plugin
Plugin directory structure:
- plugin.xml
- default_config.xml
- main.py
A new file format: .sipz (Synfig Plugin Zipped)
This is a zipped file containing the above files (will include more specific details, once I have a clear understanding of underlying working) (Ref: zstreambuf.cpp)
Here's an overview of how the installation will work.
Accept the sipz file.
Extract the content.
Check for the required files
Check if the required files are valid.
If everything is valid, then move the content to the plugins directory.
Community: Give me guidance and suggestions regarding this.
I will take a look at the code and start experimenting.
Questions that I need feedback from the community.
Where to access Plugin Manager Dialog?
Some possible options are:
- From preferences (a new tab named "Plugins")
- From the Plug-Ins Menu
I think we should go with the Plug-Ins menu.
from synfig.
A new file format: .sipz (Synfig Plugin Zipped)
Is this necessary, or can we skip this step for now?
Currently we do not pack plugin files, because it's easier to store them in git (compare/edit/etc).
The Debian package also requires non-binary files for packaging.
Therefore, it is better to pack them only for the release build (if required).
from synfig.
Is this necessary, or can we skip this step for now?
Currently we do not pack plugin files, because it's easier to store them in git (compare/edit/etc).
The intent here is to ease other developers to release their plugins without it being in synfig source code, for example.
Veermetri wrote some of them as well as Mattias Bassaglia. And their distribution as basically a git repository...
from synfig.
Related Issues (20)
- fix core collector on Ubuntu 18 HOT 1
- Feature request: Middle mouse button click for "Link" funtion HOT 5
- Create a crash 'report' HOT 3
- There's a need for a scroll bar in a copy dialog HOT 1
- RFE: new release?🤔 HOT 10
- Creating a new group layer from selected layers does nothing HOT 1
- Import of raster work is broken in Master HOT 12
- [GSOC 24] - Automated release notes generator and packaging script fixes
- [GSOC 2024] - Plugin Dialogue Manager and Other Shortcuts HOT 4
- [GSOC 2024] - Plugin Dialogue Manager HOT 1
- Bug with linear subsampling type of the motion blur layer HOT 1
- Failed to build on OSX 10.9 HOT 3
- Errors in CMake build script - "2-build-cmake.sh"
- Crashes immediately after launch HOT 4
- Removing part of the line when using the DrawTool HOT 3
- Crash When Using Extract Layer Option in Synfig HOT 3
- error: Something went wrong bootstrapping makefile fragments HOT 1
- Stroke and fill do not match
- Crash on undoing after converting and editing parameter
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from synfig.