Solved Quick question about synth and configuring ports.

I just installed synth and am having it upgrade my system. I wanted to know if it will reset my custom configs for certain ports I built. For example I built musicpd with resamplers disabled, will synth reinstall that as default. Also how can I configure new installs with synth? Does it just install the ports with default settings or can I still use "make config"?
Thanks:D
 
When I used synth, I made a list of ports I wanted to build, then went into each port dir and did make config-recursive so I could customize. I then fed synth the list I made and it worked fine. I can't remember if when I updated the ports tree using portsnap, whether it wiped out my customizations. That would not be synth's fault though.. It uses default configs until you change the config yourself, at least that is my understanding, and what I experienced.
 
OK cool. I never cleaned those files so they should still be there. I usually use portsnap auto but even when I did a full update it never wiped anything out. Thanks!
 
Yeah, I built the ports list and just passed it to synth - it builds everything in the list. I did on a separate machine though,using that machine as a repo. Ended being a huge PITA so just went back to packages. That wasn't synth's fault - having the separate repo was a pain. Still bugs me a little that I am not "customized" but I am not hurting for space so I think it's OK. I may go back to ports again, not sure. Everything is working perfectly so "if it ain't broke, don't fix it"...
 
True but I didn't know that I wasn't supposed to mix ports with pkgs and have gotten myself in a bit of a jam doing so. If I don't like it I will surely revert back to pkg. Nothing broken so far. :)
 
Yeah, learned that the hard way - took some advice from seasoned experts here and only stick with one or the other. I like the idea of ports, I just get lazy sometimes and don't feel like waiting for long compile times during updates. Makes me feel like I am using Gentoo Linux again ;)
 
LMAO yeah it can be brutal. I have an old machine and it took llvm60 and gcc7 over 12 hours each to try (and fail) compiling until I disabled tmpfs in synth. Now they actually build but still take a while. For some reason the "use prebuilt packages" option is not working. I would stick with pkg too if not for some apps that I needed to change some options for like vim (to use python 3.6), the suckless apps, and musicpd which, thankfully on FreeBSD, lets me disable ALL resampling as OSS and bitperfect mode was the whole reason I switched from Arch to BSD. Gentoo I stayed clear away from tho. LOL
 
Not to get too offtopic, but I don't actually use ports to build the suckless apps: I just git the code to my user's home then build there. The terminal and window manager are standalone executables so install amounts to copying them to /usre/local/bin. Just my pref. Actually I don't use the terminal any more because although it's lean, it's odd and I don't really like it.

My new box builds roughly 740 ports including editors/libreoffice, www/firefox and the various llvm flavors in about 4.5 hours using ports-mgmt/synth. Not quite as fast as my old box but much quieter and much cooler.
 
LOL. It took my machine over 13 hours to build libreoffice! I just uninstalled it after. I probably should have built the suckless apps that way too. Would have saved me the headache of working with patches but it's good to know the FreeBSD way of doing it for future reference. Well, after completing a synth upgrade of over 900 apps I have 350 new updates to install. I may just fry my breakfast on my harddrive afterwards to save energy. LOL:D
 
Fringing on off-topic :), I'll keep going...so I have mods I make to the config.def.h file for x11-wm/dwm so it's just easier, for me anyway, to make them in my user's home, then save off the file so it doesn't get clobbered, then build the executable. There may be official patches available, but I have enough coding skill I can muddle through minor changes. I tend to jump around between window managers anyway so once one of them starts acting odd or something happens that bugs me, I jump ship and find something else. My 3 most used are: x11-wm/dwm, x11-wm/windowmaker and x11-wm/cwm.

Nuff said before a mod smacks me upside the head :p
 
lol. I try other wms for fun and to experiment but I've been using bspwm for 5 years now and I have little interest in using another. It works perfect and is the lightest one using only 2MB of RAM. Dwm was really good though. I dropped it because I couldn't figure out how to pipe conky with colour into the lower bar that I patched in.
 
Back
Top