Comments (12)
Yeah, It's perfect, thanks for the hard work @tech189!
from versions.
Hey @tech189, would you like to take this one too?
No hurries though, just asking for help in clearing some backlog :)
from versions.
Okay. So in a pre_install
step, we will have to extract all files in the $PLUGINSDIR directory that end with .tar.xz
and .tar.lzma
, into the root directory:
from versions.
Example: https://github.com/chawyehsu/dorado/blob/master/bucket/nuwen-mingw-gcc.json
from versions.
See also https://github.com/mapleafgo/scoop-bucket/blob/master/bucket/tdm-gcc.json . I'm not suggesting using this, but just pointing it out for reference.
from versions.
See also https://github.com/rivy/scoop-bucket/blob/master/[email protected] . Same caveat.
from versions.
Yup, we don't need it, since we'll already be having an env_add_path
in the manifest
from versions.
This is certainly a tricky one! I got checkver working, which I hope covers the non-standard versioning they use. As for the installation, it looks like there's a ton of compressed files that get extracted and then their bins which are registered, plus some start menu shortcuts, see the installation log below.
Manifest so far:
{
"version": "10.3.0",
"description": "GCC compiler, Windows-friendly",
"homepage": "https://jmeubank.github.io/tdm-gcc/",
"license": "CC0-1.0",
"architecture": {
"64bit": {
"url": "https://github.com/jmeubank/tdm-gcc/releases/download/v10.3.0-tdm64-2/tdm64-gcc-10.3.0-2.exe#dl.7z",
"hash": "819c7a1f74d45ad04e10662e1a2c3124d13d9a2bca508847692251242cd455c3"
},
"32bit": {
"url": "https://github.com/jmeubank/tdm-gcc/releases/download/v10.3.0-tdm-1/tdm-gcc-10.3.0.exe#dl.7z",
"hash": "f6ed81c0e1cc4199ecf0488446f2396e20a56d731a0c80899afcd41ffb2c0e1c"
}
},
"checkver": {
"regex": "MinGW-w64 based.+\\s.+download\\/(?<win64>v(?<version>[\\d.]+).+\\/tdm64-gcc-[\\d.-]+.exe)\".+\\s.+\\s.+download\\/(?<win32>v.+\\/tdm-gcc-[\\d.-]+.exe)\""
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://github.com/jmeubank/tdm-gcc/releases/download/$matchWin64#dl.7z"
},
"32bit": {
"url": "https://github.com/jmeubank/tdm-gcc/releases/download/$matchWin32#dl.7z"
}
}
}
}
Installation log:
https://gist.github.com/tech189/41ce746b3dd541f625b9d89be7a6efd1
Edit:
Also found a manual installation instruction list here https://github.com/jmeubank/tdm-distrib/blob/master/tdm64/core/README-gcc-tdm64.md#manual-installation
from versions.
Thanks for your help guys, I'm almost there, just trying to recreate a shortcut that the installer does in the last step. It creates a shortcut that has the target of %comspec% /k ""C:\TDM-GCC-64\mingwvars.bat""
but scoop needs an exe/bat that is located in the installation dir so I can't specify cmd.exe
in the shortcut like so:
"shortcuts": [
[
"cmd.exe",
"MinGW Command Prompt",
"/k \"$dir\\mingwvars.bat\""
]
],
I tried just putting the bat file as the shortcut but for some reason it opens and immediately exits. If I double click the bat file it doesn't open either, it only works when I run cmd.exe /k "C:\Users\me\scoop\apps\tdm-gcc\current\mingwvars.bat"
from a cmd line. Any ideas?
from versions.
What does the bat file contain? I think it only contains a command to add TDM GCC's bin directory to PATH. This is why it immediately exits.
So we might not need it.
from versions.
I think that's exactly what it contains:
@echo.
@echo Setting up environment for using MinGW with GCC from %~dp0.
@set PATH=%~dp0bin;%PATH%
from versions.
I submitted the PR. It would be great if @Lunchb0ne or someone else who uses GCC could test the bins and PATH, as I do not work with it myself.
from versions.
Related Issues (20)
- [email protected]: hash check failed HOT 1
- [email protected]: hash check failed HOT 1
- [email protected]+1718168744451: hash check failed HOT 1
- [Bug]: fix android studio beta checkver
- [Bug]: fix android studio canary checkver
- [email protected]: hash check failed HOT 1
- ffmpeg-nightly@1718545205: hash check failed HOT 1
- [Request]: Add less beta
- [email protected]+1718654743057: hash check failed HOT 1
- [email protected]: hash check failed HOT 1
- [Request]: python packages with free-threaded binaries
- [email protected]: hash check failed HOT 1
- [email protected]: hash check failed HOT 1
- ffmpeg-nightly@1718973878: hash check failed HOT 1
- [Bug]: odin-nightly unable to be installed
- ffmpeg-nightly@1719063251: hash check failed HOT 1
- [email protected]: hash check failed HOT 1
- [email protected]: hash check failed HOT 1
- [email protected]: hash check failed HOT 1
- ipfilter-nightly@1719205625: hash check failed HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from versions.