{"id":22153907,"url":"https://github.com/philr/bzip2-windows","last_synced_at":"2025-07-26T06:32:29.638Z","repository":{"id":26705114,"uuid":"30162250","full_name":"philr/bzip2-windows","owner":"philr","description":"Patches and a PowerShell script to build bzip2 with Visual Studio 2013 using a dynamic library (libbz2.dll).","archived":false,"fork":false,"pushed_at":"2019-12-02T21:03:03.000Z","size":18,"stargazers_count":55,"open_issues_count":0,"forks_count":7,"subscribers_count":4,"default_branch":"master","last_synced_at":"2023-08-27T15:15:51.984Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PowerShell","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/philr.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-02-01T22:29:54.000Z","updated_at":"2023-08-04T09:26:45.000Z","dependencies_parsed_at":"2022-07-27T08:32:40.054Z","dependency_job_id":null,"html_url":"https://github.com/philr/bzip2-windows","commit_stats":null,"previous_names":[],"tags_count":4,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philr%2Fbzip2-windows","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philr%2Fbzip2-windows/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philr%2Fbzip2-windows/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philr%2Fbzip2-windows/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/philr","download_url":"https://codeload.github.com/philr/bzip2-windows/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227657171,"owners_count":17799911,"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":[],"created_at":"2024-12-02T01:38:56.233Z","updated_at":"2024-12-02T01:38:56.741Z","avatar_url":"https://github.com/philr.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bzip2 – Visual Studio libbz2.dll Build #\n\nPatches and a PowerShell script to build [bzip2](https://www.sourceware.org/bzip2/) with Visual Studio using a dynamic library (libbz2.dll).\n\n## Patches ##\n\nPatches are included in this repository that modify the `makefile.msc` file in the bzip2 distribution to:\n\n- Build cleanly with Visual Studio 2013 and later (replacing deprecated command line options).\n- Build libbz2 as a DLL (`libbz2.dll`).\n- Dynamically link the executable outputs with `libbz2.dll` (by default the executables are statically linked).\n- Add a version resource to the executables and DLL.\n- Fix a 'not a normal file' error when using `bzip2.exe` to compress large files.\n\n## PowerShell Script ##\n\nThe PowerShell script, `Build-Bzip2.ps1`, performs the following actions:\n\n1. Downloads the bzip2 source from [https://www.sourceware.org/bzip2/](https://www.sourceware.org/bzip2/).\n2. Extracts and verifies the source.\n3. Applies the patches (see above).\n4. For the x86 and x64 architectures:\n   1. Executes `nmake` to build bzip2.\n   2. Copies build outputs to a directory named `outputs`.\n   3. Creates zipped packages containing build outputs in a directory named `packages`.\n\n`Build-Bzip2.ps1` requires:\n\n- 64-bit Windows.\n- Microsoft Visual Studio 2013 or later (set `$VisualStudioDir` accordingly).\n- [PowerShell Community Extensions](https://pscx.codeplex.com/).\n- Git (used to apply patches).\n\n## Binaries ##\n\n32-bit and 64-bit Windows binaries can be [downloaded from the releases page](https://github.com/philr/bzip2-windows/releases).\n\nThe binary releases depend on the Visual Studio C Runtime Library (please refer to the release notes for details).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphilr%2Fbzip2-windows","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphilr%2Fbzip2-windows","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphilr%2Fbzip2-windows/lists"}