{"id":20708854,"url":"https://github.com/stweil/cyg2deb","last_synced_at":"2025-04-23T02:52:09.119Z","repository":{"id":78071157,"uuid":"126237769","full_name":"stweil/cyg2deb","owner":"stweil","description":"Convert Cygwin packages to Debian packages","archived":false,"fork":false,"pushed_at":"2020-10-17T21:19:25.000Z","size":29,"stargazers_count":10,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-29T21:22:29.699Z","etag":null,"topics":["converter","cross-compiler","cross-platform","cygwin","debian","debian-packages","linux","windows"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stweil.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":"2018-03-21T20:39:22.000Z","updated_at":"2024-06-02T17:01:41.000Z","dependencies_parsed_at":"2023-04-12T17:16:52.360Z","dependency_job_id":null,"html_url":"https://github.com/stweil/cyg2deb","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stweil%2Fcyg2deb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stweil%2Fcyg2deb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stweil%2Fcyg2deb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stweil%2Fcyg2deb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stweil","download_url":"https://codeload.github.com/stweil/cyg2deb/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250360249,"owners_count":21417718,"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":["converter","cross-compiler","cross-platform","cygwin","debian","debian-packages","linux","windows"],"created_at":"2024-11-17T01:33:32.244Z","updated_at":"2025-04-23T02:52:09.112Z","avatar_url":"https://github.com/stweil.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cyg2deb – convert Cygwin packages to Debian packages\n\n## What is the purpose of this software?\nThis software is used to convert [Cygwin](https://cygwin.com/) packages to [Debian](https://www.debian.org/) packages.\n\n## Why is this useful?\nMost Cygwin packages are only useful on Windows, but the Cygwin package list also includes lots of packages for cross compilation.\nThose packages can also be used on Debian GNU Linux to run cross compilations there.\n\nThe focus is on cross compilations with [Mingw-w64](https://mingw-w64.org/) on Debian GNU Linux.\nBoth Cygwin and Debian include Mingw-w64 cross compilers which allow building 32 bit and 64 bit Windows applications,\nbut Debian only has a small number of libraries for that purpose. Ignore that libraries and use the libraries from Cygwin!\n\n## Where is it used?\nIt is used to build Windows installers for [QEMU](https://www.qemu.org/) and [Tesseract](https://github.com/tesseract-ocr/tesseract/).\n\n## How to use it?\nHere is a typical use case running under Debian (a UTF-8 environment is required):\n\n    $ python3 cyg2deb.py\n    Name:        mingw64-x86_64-a52dec\n    Version:     0.7.4-2\n    Category:    Devel\n    Requires:\n    Description: ATSC A/52 (AC-3) decoder library for Win64 toolchain\n    Install:     noarch/release/mingw64-x86_64-a52dec/mingw64-x86_64-a52dec-0.7.4-2.tar.xz (47832)\n\n    make package, mingw64-x86-64-a52dec_0.7.4-2-1_all.deb\n\n    mingw64-x86-64-a52dec_0.7.4-2-1_all.deb generated\n    Name:        mingw64-x86_64-aalib\n    Version:     1.4rc5-2\n    Category:    Devel\n    Requires:    bash mingw64-x86_64-ncurses\n    Description: ASCII art library for Win64 toolchain\n    Install:     noarch/release/mingw64-x86_64-aalib/mingw64-x86_64-aalib-1.4rc5-2.tar.xz (66348)\n\n    make package, mingw64-x86-64-aalib_1.4rc5-2-1_all.deb\n\n    mingw64-x86-64-aalib_1.4rc5-2-1_all.deb generated\n    Name:        mingw64-x86_64-adwaita-icon-theme\n    Version:     3.26.1-1\n    Category:    Devel\n    Requires:    mingw64-x86_64-hicolor-icon-theme mingw64-x86_64-pkg-config\n    Description: GNOME desktop icon theme for Win64 toolchain\n    Install:     noarch/release/mingw64-x86_64-adwaita-icon-theme/mingw64-x86_64-adwaita-icon-theme-3.26.1-1.tar.xz (13172464)\n\n    make package, mingw64-x86-64-adwaita-icon-theme_3.26.1-1-1_all.deb\n\n    mingw64-x86-64-adwaita-icon-theme_3.26.1-1-1_all.deb generated\n    [...]\n\nThat use case first gets the complete Cygwin package list `setup.ini`.\nThen it looks for all packages with names starting with mingw64-i686- or mingw64-x86_64-,\ndownloads them,\nunpacks them and repacks them into Debian packages for 64 bit cross compilation.\nDeprecated packages are skipped automatically.\nPackages which are not useful for cross compilation because they only work on\nWindows are skipped, too.\n\nTo get only certain packages for cross compilation,\njust run `python3 cyg2deb.py NAMEPATTERN`.\nNAMEPATTERN is a regular expression for the package name.\nExample: `python3 cyg2deb.py mingw64-i686-.*` will get only the 32 bit packages,\nwhile `python3 cyg2deb.py mingw64-x86_64-.*` will get only the 64 bit packages.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstweil%2Fcyg2deb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstweil%2Fcyg2deb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstweil%2Fcyg2deb/lists"}