{"id":18965295,"url":"https://github.com/ryanmcgrath/svgalib-1","last_synced_at":"2025-10-08T17:13:46.773Z","repository":{"id":66066523,"uuid":"1405878","full_name":"ryanmcgrath/svgalib-1","owner":"ryanmcgrath","description":"It's not svgalib \"dash\" 1, it's svgalib negative 1, because if you still use this library there's probably something wrong with you. That said, this is a 'fork' of the most recent (haha) version found on the internets, with a ton of patches from various people around the internet cobbled together. I have not and will not make any outlandish efforts to credit people, but if you see something here you wrote and you want credit, message me. Should fix a lot of compiling issues under recent issues of Linux.","archived":false,"fork":false,"pushed_at":"2019-01-07T19:25:51.000Z","size":1148,"stargazers_count":18,"open_issues_count":0,"forks_count":12,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-08-16T09:35:19.054Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ryanmcgrath.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2011-02-24T08:23:34.000Z","updated_at":"2024-02-08T09:35:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"be23a6e6-4262-475a-9a39-344cd1dd710e","html_url":"https://github.com/ryanmcgrath/svgalib-1","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/ryanmcgrath/svgalib-1","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanmcgrath%2Fsvgalib-1","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanmcgrath%2Fsvgalib-1/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanmcgrath%2Fsvgalib-1/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanmcgrath%2Fsvgalib-1/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ryanmcgrath","download_url":"https://codeload.github.com/ryanmcgrath/svgalib-1/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanmcgrath%2Fsvgalib-1/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278981518,"owners_count":26079640,"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-10-08T02:00:06.501Z","response_time":56,"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":[],"created_at":"2024-11-08T14:28:39.926Z","updated_at":"2025-10-08T17:13:46.753Z","avatar_url":"https://github.com/ryanmcgrath.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"svgalib-1\n-----------------------------------------------------------------------------------\n[SVGAlib](http://svgalib.org/) is (was?) a low level graphics library for\nthe C programming language. It seemingly stopped seeing active development\nin the early 2000's...\n\n...because, y'know, it's also been largely superseded by drawing routines\nin other environments (X, etc). I have a side project I'm working on for\nemulator routines from the Super Nintendo, and to further support this\nI wanted something that could run right in the framebuffer, without a \nneed for X/GTK/anything else.\n\nSDL can be compiled to use svgalib, which pretty much gives me what I need.\nProblem is that svgalib, as it stands, doesn't appear to compile against\nrecent versions of the Linux kernel. After hunting around for a bit, I \nfound cases where others seem to have to support this stuff as well, and\nhave thrown their own patches into the fray. To the best of my knowledge, I\ndon't know of anyone bringing said patches together.\n\nNow, I don't want to maintain this library. I've better things to do with my\ntime; that said, Github is great for this kind of thing. If you want to contribute,\nI'm happy to press a button to merge in your pull request.\n\nThis should compile on any recent Linux distribution now (tested on 32-bit Ubuntu, Maverick whatever).\nThis was 'forked' off of svgalib-1.9.25, a seemingly 'alpha' distribution.\n\n\nQuestions, Comments, Complaints?\n-----------------------------------------------------------------------------------\nI don't have time to actively support or maintain this in any true capacity, but\nif you'd like to get in touch, I'm happy to look things over or try and help if I can\n(I just make no guarantees, sadly). This is also where you should look if you think\nyou deserve credit for something here and it's not given.\n\n\n**Email**: ryan [at] venodesigns (dot) net  \n**Twitter**: **[@ryanmcgrath](http://twitter.com/ryanmcgrath)**  \n**Web**: **[Veno Designs](http://venodesigns.net/)**\n\n\nLegacy Notes\n-----------------------------------------------------------------------------------\n_Program using svgalib 1.9.0 or later don't need root privileges (suid root). \nThey do need access to /dev/svga, which is a char device with major 209 and minor 0.\nThe module svgalib_helper need also be inserted.\n\nTo make the devices, and the module (kernel 2.4 or newer), change to directory\nkernel/svgalib_helper, and type make install.\n\nThere is a compile time option to return to old behaviour, of using root\nprivileges to access /dev/mem, instead of svgalib helper. To compile for this\nselect the NO_HELPER option in Makefile.cfg._\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanmcgrath%2Fsvgalib-1","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fryanmcgrath%2Fsvgalib-1","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanmcgrath%2Fsvgalib-1/lists"}