emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MinGW Sources, was: Windows Binaries Release


From: H. Dieter Wilhelm
Subject: Re: MinGW Sources, was: Windows Binaries Release
Date: Thu, 04 Nov 2021 18:51:36 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (windows-nt)

Óscar Fuentes <ofv@wanadoo.es> writes:

> "H. Dieter Wilhelm" <dieter@duenenhof-wilhelm.de> writes:
>
>> in d:/Emacs/emacs-28/admin/nt/dist-build/build-dep-zips.py there is 
>>
>>   
>> SRC_REPO="https://sourceforge.net/projects/msys2/files/REPOS/MINGW/Sources";.
>>
>> But it seems that the Sources folder vanished (for the moment?)!  Do
>> you, or anybody else, know where else sources of MinGW are?
>
> Try
>
> https://repo.msys2.org/mingw/sources/

Yes, thank you!

modified   admin/nt/dist-build/build-dep-zips.py
@@ -121,7 +121,8 @@ def ntldd_munge(out):
 
 ## Currently no packages seem to require this!
 ARCH_PKGS=[]
-SRC_REPO="https://sourceforge.net/projects/msys2/files/REPOS/MINGW/Sources";
+## SRC_REPO="https://sourceforge.net/projects/msys2/files/REPOS/MINGW/Sources";
+SRC_REPO="https://repo.msys2.org/mingw/sources";
 
 
 def immediate_deps(pkg):
@@ -167,7 +168,7 @@ def download_source(tarball):
     if not os.path.exists("../emacs-src-cache/{}".format(tarball)):
         print("Downloading {}...".format(tarball))
         check_output_maybe(
-            "wget -a ../download.log -O ../emacs-src-cache/{} {}/{}/download"
+            "wget -a ../download.log -O ../emacs-src-cache/{} {}/{}"
             .format(tarball, SRC_REPO, tarball),
             shell=True
         )

> That directory contains tarballs with the exact sources used to build
> their respective binary packages.

Adjusted build-dep-zips.py and had to install some missing MSYS2
packages but now the script builds dpendencies.  And the other script
seems to build Emacs.  But I'm still unsecure about the naming.
E.g. why are snapshots of Emacs aren't named with the date but just
"emacs-29.0.50-snapshot"?

~/
|- emacs-build/
|       |- git/
|       |  |- emacs-$branch ?
|       |  |- master/ (for snapshots) -> emacs-29.0.50-snapshot
|       |  |- emacs-$version
|       |- deps/
|       |  |- libXpm/
|       |  |  |- libXpm-noX4.dll (cp from /bin, manually)
|       |  |- src-emacs (sources from dep py script)  
|       |  |- src-emacs-cache (from dep py script)  
|       |  |- x86_64 (DLLs from dep.py script)  
|       |- build/
|       |  |- $version
|       |- install/ (from script)
|          |- emacs-29.0.50-snapshot/
|             |- Emacs' tree
|- emacs-upload/

   Dieter



reply via email to

[Prev in Thread] Current Thread [Next in Thread]