{"id":15720885,"url":"https://github.com/themayursinha/calc","last_synced_at":"2026-04-28T11:32:48.987Z","repository":{"id":221065342,"uuid":"753352481","full_name":"themayursinha/calc","owner":"themayursinha","description":"calc app in C","archived":false,"fork":false,"pushed_at":"2024-02-06T14:44:54.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-06T04:41:11.420Z","etag":null,"topics":["c","gtk3","gui"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/themayursinha.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":"2024-02-06T00:13:18.000Z","updated_at":"2024-02-06T15:07:15.000Z","dependencies_parsed_at":"2024-10-03T22:00:48.721Z","dependency_job_id":null,"html_url":"https://github.com/themayursinha/calc","commit_stats":null,"previous_names":["themayursinha/calc"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/themayursinha%2Fcalc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/themayursinha%2Fcalc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/themayursinha%2Fcalc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/themayursinha%2Fcalc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/themayursinha","download_url":"https://codeload.github.com/themayursinha/calc/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246390873,"owners_count":20769478,"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","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","gtk3","gui"],"created_at":"2024-10-03T22:00:45.703Z","updated_at":"2026-04-28T11:32:48.870Z","avatar_url":"https://github.com/themayursinha.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"Attempt to build a calculator app in C\n\nThis project is a simple calculator application built with C and GTK+ 3. It demonstrates basic GUI application development on macOS, specifically for systems with the M1 chip, using the GTK+ 3 framework.\n\nThese instructions will get you a copy of the project up and running on your local machine for development and testing purposes.\n\nBefore you begin, ensure you have the following installed on your macOS system:\n- Homebrew\n- GTK+ 3\n- pkg-config\n- Clang compiler\n\nIf you're using Visual Studio Code, you might need to configure the include paths for IntelliSense. \nNote: The .vscode folder is excluded from this repository to maintain environment neutrality. You should configure it based on your local development environment.\n\nTo compile the calculator app, navigate to the project root directory and run:\n```\nclang `pkg-config --cflags gtk+-3.0` -o calculator_gui gui/gui.c src/calculator.c -Isrc/ `pkg-config --libs gtk+-3.0`\n```\n\nAfter compilation, you can run the application with:\n```\n./calculator_gui\n```\n\nOr make use of Makefile. To compile the calculator app, simply navigate to the project root directory and run the following command:\n\n```sh\nmake\n```\nThis command will compile the source files and generate an executable named `calculator_gui`.\n\nAfter compiling the application, you can run it directly from the terminal:\n```\n./calculator_gui\n```\n\nIf you want to clean up the build files (object files and the executable), run:\n```\nmake clean\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthemayursinha%2Fcalc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthemayursinha%2Fcalc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthemayursinha%2Fcalc/lists"}