{"id":17987225,"url":"https://github.com/justinmeiners/classic-colors","last_synced_at":"2025-08-24T15:08:00.243Z","repository":{"id":40450498,"uuid":"408244942","full_name":"justinmeiners/classic-colors","owner":"justinmeiners","description":"Paint program for Unix. Inspired by MS Paint (Windows 95-98).","archived":false,"fork":false,"pushed_at":"2025-02-16T23:20:29.000Z","size":6452,"stargazers_count":48,"open_issues_count":8,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-07-05T23:36:33.132Z","etag":null,"topics":["c","graphics","motif","ms-paint","paint","paint-application","unix","x11"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/justinmeiners.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-09-19T21:52:46.000Z","updated_at":"2025-05-02T15:24:48.000Z","dependencies_parsed_at":"2025-02-08T07:23:54.326Z","dependency_job_id":"863ef8a2-6ab8-43f9-8c8a-f3d255464a84","html_url":"https://github.com/justinmeiners/classic-colors","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/justinmeiners/classic-colors","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justinmeiners%2Fclassic-colors","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justinmeiners%2Fclassic-colors/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justinmeiners%2Fclassic-colors/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justinmeiners%2Fclassic-colors/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/justinmeiners","download_url":"https://codeload.github.com/justinmeiners/classic-colors/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justinmeiners%2Fclassic-colors/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271895129,"owners_count":24840090,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-24T02:00:11.135Z","response_time":111,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c","graphics","motif","ms-paint","paint","paint-application","unix","x11"],"created_at":"2024-10-29T19:07:42.482Z","updated_at":"2025-08-24T15:08:00.161Z","avatar_url":"https://github.com/justinmeiners.png","language":"C","funding_links":[],"categories":["C"],"sub_categories":[],"readme":"\n# Classic Colors ![icon](icons/icon_app.png)\n\nClassic Colors is a simple and efficient paint program for Unix systems, inspired by MS Paint (Windows 95-98 version).\nIt is built on the time-tested [Motif][about-motif] UI library, so it should last for a long time\nand be widely compatible with various Unix flavours.\n\n![classic colors screenshot](screenshots/1.png)\n\n[about-motif]:  https://en.wikipedia.org/wiki/Motif_(software)\n\n## Dependencies\n\nFor now, you must build from source (help making it available in package managers would be greatly appreciated.)  \nIt has been tested on Debian (Ubuntu), OpenBSD, and macOS(Homebrew).\n\n**List**\n\n- gnumake\n- X11 (XQuartz on mac)\n- [Motif](https://motif.ics.com/motif) (dev version)\n- Xt\n- Xpm\n- Xp (only if motif on your platform is built with print support)\n- pkg-config (usually comes with package manager)\n\n**Debian/Ubuntu**:\n\n\tsudo apt install libmotif-dev libxpm-dev libxext-dev\n\n**macOS (homebrew)**:\n\nInstall [XQuartz][xquartz] either from the link, or homebrew cask:\n\n\tbrew install xquartz\n\nIf you just installed XQuartz for the first time make sure you restart otherwise you will get an error:\n\n\tError: Can't open display.\n\nNow install motif:\n\n\tbrew install openmotif libxpm\n\n[xquartz]: https://www.xquartz.org/\n\n**NetBSD (pkgsrc)**\n\n\tpkgin install motif gmake pkg-config\n\n**OpenBSD**\n\n\tpkg_add motif gmake\n\n**openIndiana/Tribblix**:\n\nClassic colors is available as a package for [Tribblix](http://www.tribblix.org/zap.html):\n\n    zap install-overlay classic-colors\n    \n## Install\n\nNow you are ready to build:\n\n\t./configure\n\tmake\n\tmake install\n    \nAnd run:\n\n\tclassic-colors\n\nIf you do not want to install in your path, the build output `./bin/classic-colors`\nis a standalone executable which can be moved around.\n\n## Platform notes\n\nClassic colors uses the [MIT SHM][shm] extension when available.\nThis extension allows the display to refresh much faster.\nThere is a fallback codepath when it is not available.\nIt works well, it's just not as smooth.\n\nSHM can be disabled at configuration time:\n\n\t./configure --no-shm\n\nUnfortunatly, macOS does not allow very much SYSV shared memory to be used,\nand so it is likely if you resize the window very large it will exceed this limit and switch to the fallback codepath.\nFor the best experience on macOS you will need to increase this limit.\nCreate a file `/etc/sysctl.conf` containing the following:\n\n    kern.sysv.shmmax=134217728\n    kern.sysv.shmmin=1\n    kern.sysv.shmmni=1024\n    kern.sysv.shmseg=256\n    kern.sysv.shmall=32768\n\nRestart the system after making this change.\n\n[shm]: https://www.x.org/releases/X11R7.7/doc/xextproto/shm.html\n\n### Building Motif\n\nIf motif is not available in a package you will need to build it manually.\n\nDownload source:\n\n\tcurl -L https://sourceforge.net/projects/motif/files/Motif%202.3.8%20Source%20Code/motif-2.3.8.tar.gz -O\n\nHere the development dependencies on Debian:\n\n\tsudo apt install libx11-dev libxt-dev libxext-dev libxft-dev bison flex\n\n## LICENSE\n\n[GPL](LICENSE.txt)\n\n## Screenshots\n\n![classic colors openbsd screenshot](screenshots/openbsd.png)\n\n![classic colors Mac OS screenshot](screenshots/macos.png)\n\n![classic colors NetBSD screenshot](screenshots/netbsd.png)\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjustinmeiners%2Fclassic-colors","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjustinmeiners%2Fclassic-colors","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjustinmeiners%2Fclassic-colors/lists"}