{"id":13681540,"url":"https://github.com/gpg/gpg4win","last_synced_at":"2025-04-30T03:31:48.371Z","repository":{"id":45771544,"uuid":"42076355","full_name":"gpg/gpg4win","owner":"gpg","description":"GnuPG for Windows. NOTE: Maintainers are not tracking this mirror. Do not make pull requests here, nor comment any commits, submit them usual way to bug tracker (https://www.gnupg.org/documentation/bts.html) or to the mailing list (https://www.gnupg.org/documentation/mailing-lists.html).","archived":false,"fork":false,"pushed_at":"2024-07-30T22:03:26.000Z","size":48909,"stargazers_count":149,"open_issues_count":0,"forks_count":33,"subscribers_count":12,"default_branch":"master","last_synced_at":"2024-08-02T13:32:38.910Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gpg4win.git","language":"Shell","has_issues":false,"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/gpg.png","metadata":{"files":{"readme":"README","changelog":"ChangeLog","contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2015-09-07T21:57:20.000Z","updated_at":"2024-07-30T22:03:30.000Z","dependencies_parsed_at":"2022-08-05T08:30:53.860Z","dependency_job_id":"c9cde6f0-c771-4020-9702-8c2ad2d81ddc","html_url":"https://github.com/gpg/gpg4win","commit_stats":null,"previous_names":[],"tags_count":122,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gpg%2Fgpg4win","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gpg%2Fgpg4win/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gpg%2Fgpg4win/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gpg%2Fgpg4win/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gpg","download_url":"https://codeload.github.com/gpg/gpg4win/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224197063,"owners_count":17271931,"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-08-02T13:01:32.039Z","updated_at":"2024-11-12T00:32:26.148Z","avatar_url":"https://github.com/gpg.png","language":"Shell","funding_links":[],"categories":["Shell","G"],"sub_categories":[],"readme":"This is gpg4win - the GUI Installer Builder for W32.\n\nSee also the file doc/README.en.txt.\n\nFor MSI Package instructions see src/README-msi.txt.\n\nInstructions:\n=============\n\n1. Download the source and binary packages that are required to build\n   the installer:\n\n   $ cd packages\n   $ sh download.sh\n   [...]\n   $ cd ..\n\n2. Generate config files\n\n   $ ./autogen.sh\n\n3. Configure the source tree for cross compilation:\n\n   $ ./autogen.sh --build-w32\n\n4. Build the installer:\n\n   $ make\n\nThe installer will be made available under src/installers:\n\nsrc/installers/gpg4win-X.Y.Z.exe\n\n\nInstructions for AppImage:\n==========================\n\n1. Download the source and binary packages that are required to build\n   the installer:\n\n   $ cd packages\n   $ sh download.sh\n   [...]\n   $ cd ..\n\n2. Generate config files\n\n   $ ./autogen.sh\n\n3. Build the Docker image that will be used for creating the AppImage:\n\n   $ docker/build-appimage-docker-image.sh\n\n4. Build the AppImage using the Docker image:\n\n   $ docker/run-appimage-build.sh\n\n   During development is it often easier to use\n\n   $ docker/run-appimage-build.sh --devel\n\n   which does not delete the temporary directory.  Inside the\n   docker shell you start the build using\n      src/src/appimage/build-appimage.sh\n\n\nBasic requirements\n==================\n\nA decent POSIX system is required for building this software as well\nas GNU make.  We are using Debian GNU/Linux 10 (buster), any other\nPOSIX system should work as well but you may run into problems due to\ndifferent toolchain versions. For MSI Packages you will additionally\nneed the dependencies mentioned in src/README-msi.txt\n\nTo satisfy all needs of configure at least the following packages need\nto be installed:\n\n    build-essential autoconf automake mingw-w64 mingw-w64-i686-dev \\\n    mingw-w64-x86-64-dev nsis stow unzip icoutils \\\n    libglib2.0-dev gettext docbook-utils ghostscript texinfo \\\n    texinfo libgdk-pixbuf2.0-dev libqt4-dev-bin \\\n    wget mingw-w64 cmake libgtk2.0-bin libxml2-utils \\\n    gperf libgettextpo-dev automake-1.15 libkf5config-dev libkf5config-dev-bin \\\n    libkf5coreaddons-dev gpgrt-tools imagemagick libboost-graph-dev icoutils\n\nAdditionally on Debian Buster cmake has to be at least version 3.1.16 from\ndebian backports.\n\nNote: That Gpg4win requires to be compiled with the -posix flavor of mingw\nso if you have both installed use update-alterantives to select the posix ones.\n\nTo use update-alternatives:\n    update-alternatives --install /usr/bin/i686-w64-mingw32-gcc \\\n        i686-w64-mingw32-gcc /usr/bin/i686-w64-mingw32-gcc-posix 100\n\n    update-alternatives --install /usr/bin/i686-w64-mingw32-g++ \\\n        i686-w64-mingw32-g++ /usr/bin/i686-w64-mingw32-g++-posix 100\n\n\nBuilding on other platforms is not fully supported. Consider using docker:\n\n./autogen.sh\n./docker/build-gpg4win-docker-image.sh\n./docker/run-gpg4win-build.sh\n\nIt is known that some developers compile Gpg4win also on other platforms\n\nFor Fedora the required packages might be:\n\nyum install mingw64-gcc-c++ icoutils stow autoconf automake git cmake \\\n    mingw32-gcc-c++ mingw32-libstdc++ mingw-nsis-base texinfo-tex \\\n    ghostscript-tools-dvipdf kf5-kconfig-devel gettext gettext-devel \\\n    patch flex bison gperf kf5-kcoreaddons-devel mingw32-nsis\n\n\n\nBuilding the Webpages\n=====================\n\nThe website is in the dedicated branch \"website\" in the git reposity.\nCheckout that branch and read the instructions:\n\n  git checkout website\n\n\nDevelopment Branches\n====================\n\nThe old version of gpg4win (version \u003c 1.2) is since 1.1.3 tracked by\nthe GIT branch: gpg4win-1-branch.  Only important fixes will go into\nthis version.  The current version in the GIT master starts as version\n1.9.\n\n\n\nAdding new packages to the installer:\n=====================================\n\nThis requires editing a couple of files; we might eventually automate\nsome of these tasks.  Here is a short run up:\n\n1. Add constants for the package FOO into src/config.nsi.in .\n\n2. Create 2 new installer scripts, named src/inst-foo.nsi and\n   uninst-foo.nsi and add them to EXTRA_DIST in src/Makefile.am.\n\n3. Add foo to one the variables gpg4win_bpgks (if foo should not be\n   build be the gpg4win) or gpg4win_spkgs (if foo should be build by\n   gpg4win) in src/Makefile.am .  Also add any required configure\n   flags etc.\n\n4. Add FOO to src/inst-sections.nsi.\n\n5. Add detection of packages to configure.ac.  Check out the available\n   macros in m4/gpg4win.m4.  Depending on the way an upstream package\n   is packaged, you might need to write a new macro.\n\n6. Add download information to packages/download.sh.\n\n7. If the package ships pkg-config (*.pc) support files, you need add\n   post install instructions to Makefile.am.  Note that *.pc files may\n   be in the \"runtime\" directory ${pkgidir} if the package is built\n   within gpg4win (or peculiarly shipped), or in the development\n   package ${pkgidir_dev}.\n\nThen run the usual \"./autogen.sh\" to create the actual configure file\nand run configure as described above.\n\nKleopatra Locatization\n======================\n\nThe kde-l10n package is generated with the script packages/gen-kde-l10n.sh\nexecute it after a build to generate an updated l10n package which\nyou can then upload and add to packages.common.\nThe tarballs and the nsis scripts are located in the temp directory\nkde-l10n prints as output.\n\n\nInstaller Slideshow\n===================\n\nDuring installation we are showing a slide show. If you want to\nchange the contents shown add / modify files in the src/slideshow\nsubfolder. Install them in inst-gpg4win.nsi (Add them to the list\nof files before g4wihelp::slide_show) and modify\nsrc/slideshow/slides.dat accordingly.\n\nVersion numbers\n===============\n\nWe use a specific order of version numbers.  This is best shown by an\nexample:\n\n  2.1.1             - The final 2.1.1 release.\n  2.1.1-beta88      - A snapshot before the 2.1.1 release.\n                      (The 88 in this example is the number of\n                       commits since the last release).\n\nThe important point is that we bump up the version number before we do\nan release and append a suffix to mark it as a development version.\nThis allows other software to use a configure check for the next to be\nreleased version of gpg4win.\n\n\n\nCopyright\n=========\n\nThe entire Gpg4win package is\n\n  Copyright (C) 2005, 2006, 2007, 2008, 2009, 2012, 2013 g10 Code GmbH\n\n  GPG4Win is free software; you can redistribute it and/or modify it\n  under the terms of the GNU General Public License as published by\n  the Free Software Foundation; either version 2 of the License, or\n  (at your option) any later version.\n\n  GPG4Win is distributed in the hope that it will be useful, but\n  WITHOUT ANY WARRANTY; without even the implied warranty of\n  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n  General Public License for more details.\n\n  You should have received a copy of the GNU General Public License\n  along with this program; if not, write to the Free Software\n  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA\n  02110-1301, USA\n\n\nThis file\n=========\n\nCopyright 2005, 2006, 2008 g10 Code GmbH\n\nThis file is free software; as a special exception the author gives\nunlimited permission to copy and/or distribute it, with or without\nmodifications, as long as this notice is preserved.\n\nThis file is distributed in the hope that it will be useful, but\nWITHOUT ANY WARRANTY, to the extent permitted by law; without even the\nimplied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR\nPURPOSE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgpg%2Fgpg4win","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgpg%2Fgpg4win","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgpg%2Fgpg4win/lists"}