Coder Social home page Coder Social logo

libresprite / dotto Goto Github PK

View Code? Open in Web Editor NEW
674.0 674.0 19.0 77.94 MB

A portable and modern pixelart editor, written from scratch.

License: MIT License

Makefile 0.66% JavaScript 2.04% Lua 0.02% C++ 95.94% Objective-C++ 0.35% Shell 0.26% Roff 0.44% HTML 0.28%

dotto's Introduction

LibreSprite Liberapay

Linux Windows x86 MacOS Android

Introduction

LibreSprite is a free and open source program for creating and animating your sprites.

  • Real-time animation previews.
  • Onion skinning.
  • Multiple sprites can be edited at once.
  • Ready to use palettes, or make your own.
  • Sprites are composed of both layers & frames.
  • Tiled drawing mode, useful to draw patterns and textures.
  • Pixel precise tools like filled contour, polygon, shading mode, etc.
  • Several file types supported for your sprites and animations.

Download

Grab an AppImage for Linux, or get the Windows Portable.

History

LibreSprite originated as a fork of Aseprite, developed by David Capello. Aseprite used to be distributed under the GNU General Public License version 2, but was moved to a proprietary license on August 26th, 2016.

This fork was made on the last commit covered by the GPL version 2 license, and is now developed independently of Aseprite.

Contributing

As LibreSprite has a newly budding community, we need help building the infrastructure of our development, support, and news networks. If you would like to help, please make yourself known at our Discord or Matrix, and checkout our guide on contributing.

Compiling

Don't worry, it isn't as hard as you might think! Just follow the instructions here.

Theming

Don't like the default look of Libresprite? Don't panic, you can download from the Libresprite resources repo.

License

This program is distributed under the GNU General Public License Version 2.

Credits

An enormous thank you to the original developers of Aseprite, without them and their original licensing this project wouldn’t exist. Additional shout-outs are given in the list of contributors. If you have submitted work to LibreSprite and would like to have your name on the list, please create a pull request or get in touch and we’ll make it happen.

dotto's People

Contributors

anulo2 avatar blackraven7021 avatar dimensionalspace avatar felipemanga avatar mak448a avatar maujin111 avatar pegvin avatar romansedykh avatar zughy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dotto's Issues

The built AppImages from GitHub actions tab is broken on Fedora 38

Describe the bug
It doesn't launch. It's probably related to #44.

To Reproduce

  1. Get a system with Fedora 37 on it.
  2. Make the AppImage executable.
  3. Try to launch it.

Error

Crashinfo: ¯\_(ツ)_/¯
Error: signal 11:
dotto(+0x11d266)[0x5639aeb79266]
/lib64/libc.so.6(+0x3cb20)[0x7f7d83978b20]
dotto(+0x249be3)[0x5639aeca5be3]
dotto(+0x24a197)[0x5639aeca6197]
/tmp/.mount_Dotto-fAQtvN/usr/lib/libnode.so.72(_ZN2v88internal25FunctionCallbackArguments4CallENS0_15CallHandlerInfoE+0x179)[0x7f7d84f03ab9]
/tmp/.mount_Dotto-fAQtvN/usr/lib/libnode.so.72(+0xd03e65)[0x7f7d84f03e65]
/tmp/.mount_Dotto-fAQtvN/usr/lib/libnode.so.72(+0xd046ba)[0x7f7d84f046ba]
/tmp/.mount_Dotto-fAQtvN/usr/lib/libnode.so.72(_ZN2v88internal21Builtin_HandleApiCallEiPmPNS0_7IsolateE+0x1d)[0x7f7d84f050bd]
/tmp/.mount_Dotto-fAQtvN/usr/lib/libnode.so.72(+0x178ac79)[0x7f7d8598ac79]

Suggested Fix
Maybe bundle node with Dotto?

Desktop (please complete the following information):

  • OS: Fedora 37

Flatpak support

Linux has a packaging format called Flatpak so when this drops it would be great if it supported it

Conflicting Dependencies on Fedora 37

Describe the bug
When I try to install the dependencies with this command:

$ sudo dnf install g++ make SDL2-devel SDL2_image-devel v8-devel lcms2-devel freetype-devel zenity libXi-devel

I get this error:

$ sudo dnf install g++ make SDL2-devel SDL2_image-devel v8-devel lcms2-devel freetype-devel zenity libXi-devel
Last metadata expiration check: 3:23:04 ago on Wed 22 Mar 2023 05:29:51 PM CDT.
Package gcc-c++-12.2.1-4.fc37.x86_64 is already installed.
Package make-1:4.3-11.fc37.x86_64 is already installed.
Package freetype-devel-2.12.1-3.fc37.x86_64 is already installed.
Package zenity-3.43.0-3.fc37.x86_64 is already installed.
Package libXi-devel-1.8-3.fc37.x86_64 is already installed.
Dependencies resolved.

 Problem: cannot install the best candidate for the job
  - nothing provides nodejs-devel(x86-64) = 1:18.12.1-1.fc37 needed by v8-devel-2:10.2.154.15-1.18.12.1.1.fc37.x86_64
  - nothing provides nodejs-libs(x86-64) = 1:18.12.1-1.fc37 needed by v8-devel-2:10.2.154.15-1.18.12.1.1.fc37.x86_64
============================================================================================================================================================================================
 Package                                         Architecture                        Version                                                     Repository                            Size
============================================================================================================================================================================================
Installing:
 SDL2-devel                                      x86_64                              2.26.3-1.fc37                                               updates                              400 k
 SDL2_image-devel                                x86_64                              2.6.3-1.fc37                                                updates                               18 k
 lcms2-devel                                     x86_64                              2.14-1.fc37                                                 updates                              1.7 M
 v8-devel                                        x86_64                              2:10.2.154.13-1.18.7.0.1.fc37                               fedora                                14 k
Installing dependencies:
 SDL2_image                                      x86_64                              2.6.3-1.fc37                                                updates                              103 k
 gmock                                           x86_64                              1.12.1-2.fc37                                               fedora                                59 k
 gtest                                           x86_64                              1.12.1-2.fc37                                               fedora                               167 k
 gtest-devel                                     x86_64                              1.12.1-2.fc37                                               fedora                               252 k
 highway-devel                                   x86_64                              1.0.2-1.fc37                                                updates                              232 k
 libjxl-devel                                    x86_64                              1:0.7.0-5.fc37                                              updates                               58 k
 libtiff-devel                                   x86_64                              4.4.0-4.fc37                                                fedora                               546 k
 libuv-devel                                     x86_64                              1:1.44.2-2.fc37                                             fedora                                27 k
 libwebp-devel                                   x86_64                              1.3.0-1.fc37                                                updates                               38 k
 mesa-libEGL-devel                               x86_64                              22.3.7-1.fc37                                               updates                               21 k
 nodejs                                          x86_64                              1:18.7.0-1.fc37                                             fedora                                98 k
 nodejs-devel                                    x86_64                              1:18.7.0-1.fc37                                             fedora                               163 k
 nodejs-libs                                     x86_64                              1:18.7.0-1.fc37                                             fedora                                13 M
 nodejs-packaging                                noarch                              2023.03-1.fc37                                              updates                               21 k
 nodejs20                                        x86_64                              1:19.7.0-13.fc37                                            updates                              2.2 M
 nodejs20-libs                                   x86_64                              1:19.7.0-13.fc37                                            updates                               14 M
Installing weak dependencies:
 nodejs-full-i18n                                x86_64                              1:18.7.0-1.fc37                                             fedora                               8.2 M
 nodejs20-docs                                   noarch                              1:19.7.0-13.fc37                                            updates                              7.7 M
 nodejs20-full-i18n                              x86_64                              1:19.7.0-13.fc37                                            updates                              8.4 M
 nodejs20-npm                                    x86_64                              1:9.5.0-1.19.7.0.13.fc37                                    updates                              2.3 M
Skipping packages with broken dependencies:
 v8-devel                                        x86_64                              2:10.2.154.15-1.18.12.1.1.fc37                              updates                               15 k

Transaction Summary
============================================================================================================================================================================================
Install  24 Packages
Skip      1 Package

Total size: 60 M
Installed size: 275 M
Is this ok [Y/n]: 
Downloading Packages:
[SKIPPED] gmock-1.12.1-2.fc37.x86_64.rpm: Already downloaded                                                                                                                               
[SKIPPED] gtest-1.12.1-2.fc37.x86_64.rpm: Already downloaded                                                                                                                               
[SKIPPED] gtest-devel-1.12.1-2.fc37.x86_64.rpm: Already downloaded                                                                                                                         
[SKIPPED] libtiff-devel-4.4.0-4.fc37.x86_64.rpm: Already downloaded                                                                                                                        
[SKIPPED] libuv-devel-1.44.2-2.fc37.x86_64.rpm: Already downloaded                                                                                                                         
[SKIPPED] nodejs-18.7.0-1.fc37.x86_64.rpm: Already downloaded                                                                                                                              
[SKIPPED] nodejs-devel-18.7.0-1.fc37.x86_64.rpm: Already downloaded                                                                                                                        
[SKIPPED] nodejs-full-i18n-18.7.0-1.fc37.x86_64.rpm: Already downloaded                                                                                                                    
[SKIPPED] nodejs-libs-18.7.0-1.fc37.x86_64.rpm: Already downloaded                                                                                                                         
[SKIPPED] v8-devel-10.2.154.13-1.18.7.0.1.fc37.x86_64.rpm: Already downloaded                                                                                                              
[SKIPPED] SDL2-devel-2.26.3-1.fc37.x86_64.rpm: Already downloaded                                                                                                                          
[SKIPPED] SDL2_image-2.6.3-1.fc37.x86_64.rpm: Already downloaded                                                                                                                           
[SKIPPED] SDL2_image-devel-2.6.3-1.fc37.x86_64.rpm: Already downloaded                                                                                                                     
[SKIPPED] highway-devel-1.0.2-1.fc37.x86_64.rpm: Already downloaded                                                                                                                        
[SKIPPED] lcms2-devel-2.14-1.fc37.x86_64.rpm: Already downloaded                                                                                                                           
[SKIPPED] libjxl-devel-0.7.0-5.fc37.x86_64.rpm: Already downloaded                                                                                                                         
[SKIPPED] libwebp-devel-1.3.0-1.fc37.x86_64.rpm: Already downloaded                                                                                                                        
[SKIPPED] mesa-libEGL-devel-22.3.7-1.fc37.x86_64.rpm: Already downloaded                                                                                                                   
[SKIPPED] nodejs-packaging-2023.03-1.fc37.noarch.rpm: Already downloaded                                                                                                                   
[SKIPPED] nodejs20-19.7.0-13.fc37.x86_64.rpm: Already downloaded                                                                                                                           
[SKIPPED] nodejs20-docs-19.7.0-13.fc37.noarch.rpm: Already downloaded                                                                                                                      
[SKIPPED] nodejs20-full-i18n-19.7.0-13.fc37.x86_64.rpm: Already downloaded                                                                                                                 
[SKIPPED] nodejs20-libs-19.7.0-13.fc37.x86_64.rpm: Already downloaded                                                                                                                      
[SKIPPED] nodejs20-npm-9.5.0-1.19.7.0.13.fc37.x86_64.rpm: Already downloaded                                                                                                               
Running transaction check
Transaction check succeeded.
Running transaction test
Error: Transaction test error:
  file /usr/lib64/libv8.so.10 conflicts between attempted installs of nodejs20-libs-1:19.7.0-13.fc37.x86_64 and nodejs-libs-1:18.7.0-1.fc37.x86_64
  file /usr/lib64/libv8_libbase.so.10 conflicts between attempted installs of nodejs20-libs-1:19.7.0-13.fc37.x86_64 and nodejs-libs-1:18.7.0-1.fc37.x86_64
  file /usr/lib64/libv8_libplatform.so.10 conflicts between attempted installs of nodejs20-libs-1:19.7.0-13.fc37.x86_64 and nodejs-libs-1:18.7.0-1.fc37.x86_64

To Reproduce
Install the dependencies of Dotto on Fedora 37 with sudo dnf install g++ make SDL2-devel SDL2_image-devel v8-devel lcms2-devel freetype-devel zenity libXi-devel and see conflicting dependencies.

Expected behavior
The installation finishes without any errors.

Desktop (please complete the following information):

  • OS: Fedora 37

Font rendering is blurry

Describe the bug
When opening up Dotto, the fonts look blurry.

To Reproduce
Steps to reproduce the behavior:

  1. Go to the Dotto online page
  2. Set fractional scaling on your desktop environment to 125%
  3. Look at the fonts being blurry

Expected behavior
The fonts should be clear.

Screenshots
Screenshot_20230320_151258

Desktop

  • OS: Fedora Linux 38
  • Scaling Factor: 125%
  • Desktop Environment: KDE Plasma
  • Display Server: Wayland
  • Browser: Firefox 112.0.2 (64-bit)

Doesn't compile (qoi.h no such file or directory)

Describe the bug
Doesn't compile

To Reproduce
Steps to reproduce the bug:

  1. Environment: Fedora 38 KDE
  2. Install dependencies in README.md
  3. Run make -j 8 in terminal
src/parsers/QoiParser.cpp:5:10: fatal error: qoi/qoi.h: No such file or directory
    5 | #include <qoi/qoi.h>
      |          ^~~~~~~~~~~
compilation terminated.
make: *** [Makefile:175: build/src/parsers/QoiParser.cpp.o] Error 1
make: *** Waiting for unfinished jobs....

Expected behavior
Should compile

Delete key on keyboard doesn't work when entering canvas size, and other keyboard shortcuts don't work

Describe the bug
A clear and concise description of what the bug is.
When entering the canvas size, pressing the delete key on the keyboard doesn't delete the number in front of the cursor.

To Reproduce
Steps to reproduce the behavior:

  1. Go to File
  2. Click on New
  3. Click on Width box
  4. Try putting the cursor one character back, then press the delete key on your keyboard

Expected behavior
The delete key should delete the character in front of the cursor.

  • OS: Fedora Linux 37
  • Browser: Firefox

Gui not loading correctly

Compiled the git repository on Arch Linux,
while starting I get following error:

Could not create St10shared_ptrI11PropertySetE out of Dn

System:
Arch Linux "rolling" with Mate Desktop on a Dell E4310
gcc version 12.1.0
GNU make 4.3

Any clue how to fix this?

Dotto! - What? Who? Why? When?

What

LibreSprite Dotto! is a clean-room, modern, flexible rewrite of LibreSprite. Since it does not reuse code, it is more of a spiritual successor than a new version, hence the new repository.


Who

The core is currently being written by myself, though @Zughy and @maujin111 have been closely involved since before day 1.
Due to the scripting system being tightly integrated, the JavaScript and Lua programmers of the community will soon be able to get involved as well.


Why

First, some context. LibreSprite was born half a decade ago, as a fork of Aseprite. Aseprite, in turn, was born shortly after the invention of the transistor. Despite numerous rewrites and refactors, the codebase showed serious signs of age. Notably, it was based on a buggy, custom, old version of Allegro for rendering and often did not follow standard C++11 coding practices.

After the fork, Aseprite went on getting refactored/maintained/improved, while LibreSprite mostly just sat there, gathering digital dust.

Recently, an effort was made to make the fork usable. An SDL2 backend was added as an alternative for Allegro and several bugs were patched. During this process, one thing became painfully obvious to the maintainers: adding new features without breaking things is going to be really, really hard.

As an example, we often get requests for new tools. Ideally, LibreSprite would be flexible enough to allow users to add their own tools by making simple scripts. Unfortunately, there is a lot of hardcoding in the existing set of tools. They're even hardcoded to skins as old skins have no way of displaying icons for tools that came later. Our community is fond of custom skins and breaking existing skins every time we want to add a new tool isn't what we want.

Looking at the current state of LibreSprite, we came to the conclusion that getting it to where we are comfortable adding new features would take just as long as simply starting again. This was not at all a decision taken lightly. Throwing away decades of work and doing it again is not going to be easy. So Dotto! was born initially as a prototype branch, where we tested the waters to see if it was really something we wanted to do. Now we know: it is.


When

It's opensource, so: it'll be ready when it's ready. As of this writing, Dotto is 3 weeks old. Compared to the decades of work that had already been put into LibreSprite by the original author, there is still a long road to go. On the other hand, progress is really fast. Keep an eye out for updates here and on Discord or Matrix, if you blink you'll miss 7 commits.

Make cannot find Lua

The package I installed for Lua was Lua5.3, make cannot find the package for Lua because I could not use the default package name.

Package lua was not found in the pkg-config search path.
Perhaps you should add the directory containing lua.pc' to the PKG_CONFIG_PATH environment variable No package 'lua' found g++ -Og -g -D_DEBUG -Ilibs -Ilibs/tinyxml2 -Ilibs/duktape -Ilibs/tinyfiledialogs -Isrc -MMD -MP -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -DSCRIPT_ENGINE_LUA --std=c++17 -c src/cmd/Paint.cpp -o build/src/cmd/Paint.cpp.o Package lua was not found in the pkg-config search path. Perhaps you should add the directory containing lua.pc'
to the PKG_CONFIG_PATH environment variable
No package 'lua' found
g++ -Og -g -D_DEBUG -Ilibs -Ilibs/tinyxml2 -Ilibs/duktape -Ilibs/tinyfiledialogs -Isrc -MMD -MP -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -DSCRIPT_ENGINE_LUA --std=c++17 -c src/cmd/ActivateTool.cpp -o build/src/cmd/ActivateTool.cpp.o
^Cmake: *** [Makefile:101: build/src/cmd/ActivateTool.cpp.o] Interrupt

I am using Pop!_OS 20.04. Where do you think the path would be?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.