Comments (7)
@CJ1169, sorry for the late response and thank you for your help. I will change the behavior this week and release 0.7.3 with it.
from bauh.
Good to hear! Lovely work
from bauh.
If you have enabled AUR , it will create an optimized version of makepkg in your home folder. This behavior can be disabled via the environment variable BAUH_ARCH_OPTIMIZE=0. This is described in the project README file in the AUR (arch) gem section.
from bauh.
If you have enabled AUR , it will create an optimized version of makepkg in your home folder. This behavior can be disabled via the environment variable BAUH_ARCH_OPTIMIZE=0. This is described in the project README file in the AUR (arch) gem section.
Good to hear the behavior can be modified. However, is it best to have that as the default behavior? I believe it's possible to call makepkg using a custom makepkg.conf that won't be picked up regularly. yay, the aur helper does this, I believe (although not by default).
i.e. maybe in a ~/.config/bauh directory, a makepkg.conf file could be used and then makepkg directed to use that instead.
Also good work my dude!
from bauh.
I added this behavior with new Linux users in mind. Non-tech people that don't know anything about compilation and probably won't like some AUR applications taking too long to install. bauh just make a copy of your /etc/makepkg.conf in your home folder and add these two lines ( if you haven't defined a value for them ):
MAKEFLAGS="-j$(nproc)"
COMPRESSXZ=(xz -c -z - --threads=0)
In the next future, I will add a settings window where you can see all bauh options and enable / disable them.
About informing a custom makepkg, I agree with you that is a better way and was the first thing that came in mind when I was coding. Unfortunately, I didn't find any other way at the time. If you know how to do it, please let me know, and I will change it for the next release.
Cheers
from bauh.
I added this behavior with new Linux users in mind. Non-tech people that don't know anything about compilation and probably won't like some AUR applications taking too long to install. bauh just make a copy of your /etc/makepkg.conf in your home folder and add these two lines ( if you haven't defined a value for them ):
MAKEFLAGS="-j$(nproc)" COMPRESSXZ=(xz -c -z - --threads=0)
In the next future, I will add a settings window where you can see all bauh options and enable / disable them.
About informing a custom makepkg, I agree with you that is a better way and was the first thing that came in mind when I was coding. Unfortunately, I didn't find any other way at the time. If you know how to do it, please let me know, and I will change it for the next release.
Cheers
Makes sense!
As for passing a custom config to makepkg, I believe
exec:
if config.MakepkgConf != "" {
args = append(args, "--config", config.MakepkgConf)
}
config:
MakepkgConf: "",
Does it in Go. This was taken from yay's source code.
TL;DR: passing --config "/etc/makepkg.conf" should do it?
Goodluck! :)
from bauh.
Already done. If you want to have a look at the code changes -> 374c697
In the end of the day I will be publishing it to AUR in bauh-staging package.
from bauh.
Related Issues (20)
- Crashes with KeyError: 'grub' HOT 2
- Problem when try to install via pip install HOT 1
- Paginate search results HOT 2
- [New AppImage] nextcloud-desktop moved to another github web link HOT 2
- trouble with getting text boxes to follow system theme HOT 3
- unknown trigger conditions - tooltips occasionally flicker HOT 1
- [Feature Request] Ask for confirmation when user tries to quit bauh when an app/package is being downloaded or installed
- [Feature Request] Work with the Software Center Krunner/ Plasma search plugin
- [Feature Request] In AUR package information page, add an AUR URL page HOT 2
- [Feature Request] Make links clickable inside of Bauh HOT 1
- Feature Request: Ability to check/uncheck optional dependencies at once. HOT 2
- What needs to be done to install .rpm packages as well with bauh? HOT 1
- [ SOLVED] Bauh is trying to install flathub, but I don't know why! HOT 1
- bauh scale-factor HOT 1
- option to cleanup unused runtime for flatpak
- Very confused on how to use bauh HOT 1
- names of flatpak packages are replaced by author HOT 14
- [Feature Request]: Let user to choose where applications are stored HOT 2
- [Feature Request]: Add HTTP(S) proxy support HOT 2
- [Feature Request] QT 6 migration ? HOT 2
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 bauh.