You are not logged in.

#1 2009-11-08 03:11:07

Anikom15
Banned
From: United States
Registered: 2009-04-30
Posts: 836
Website

Coming back, have a question.

I plan on reinstalling Arch, here's my question:

What's the easiest and minimalist way to use arch as a source distro. (like gentoo)?


Personally, I'd rather be back in Hobbiton.

Offline

#2 2009-11-08 03:25:40

MP2E
Member
Registered: 2009-09-05
Posts: 115

Re: Coming back, have a question.

Anikom15 wrote:

I plan on reinstalling Arch, here's my question:

What's the easiest and minimalist way to use arch as a source distro. (like gentoo)?

ABS(Arch Build System) plus source AUR packages. Only way to know if the AUR is using the source of a program is to check the PKGBUILD(which you should do in the first place, anyway). I believe that there is a way to customize the systems CFLAGS and CXXFLAGS so that you can optimize according to your processor, which is the main benefit of recompiling anyway, but someone else is going to have to say what file that is that contains such info, since I've never done that myself...


17:23 < ConSiGno> yeah baby I release the source code with your mom every night
17:24 < ConSiGno> you could call them nightly builds if you know what I mean

Offline

#3 2009-11-08 03:48:19

Statix
Member
From: Hangzhou, China
Registered: 2008-02-16
Posts: 240

Re: Coming back, have a question.

You might be interested in pacbuilder, which you can also get from the aur.

Edit: Building options like CFLAGS are in /etc/makepkg.conf

Last edited by Statix (2009-11-08 03:49:21)


Madly in love with Arch64, Openbox, DotA, and of course... penguins!
Happy to help if you're not a Help Vampire. Use your wonderful resources like ArchWiki, Google, and our wonderful search page.

Offline

#4 2009-11-08 04:39:42

barum87
Member
Registered: 2009-01-12
Posts: 5

Re: Coming back, have a question.

I used to use gentoo, but I don't consider having all the build scripts minimalist. The benefit of gentoo is that it makes detailed configuration easy, but it is not, at least in my definition, minimal.

Offline

#5 2009-11-08 05:18:01

Bregol
Member
Registered: 2008-08-15
Posts: 175

Re: Coming back, have a question.

yaourt will also build from both AUR and ABS if you tell it to.

yaourt -Sb <packagename>   #to compile from ABS
yaourt -S <packagename>   #to build packages from AUR (also to install binarys from the main repos)


Nai haryuvalyë melwa rë

Offline

#6 2009-11-08 05:47:06

sHyLoCk
Member
From: /dev/null
Registered: 2009-06-19
Posts: 1,197

Re: Coming back, have a question.

Why use yaourt? I mean is there any reason? Faster? Nope. Less typing? How?
You type:
yaourt -S packagename and here you will have to type
makepkg -s PKGBUILD

same amount of effort I think and much more secured.


~ Regards,
sHy
ArchBang: Yet another Distro for Allan to break.
Blog | GIT | Forum (。◕‿◕。)

Offline

#7 2009-11-08 06:16:22

Chrysalis
Member
Registered: 2008-07-07
Posts: 155

Re: Coming back, have a question.

I used to compile everything (and i have ALOT of pkgs) for like 6 months out of spite to see if i could.

Conclusion... utter waste of time!

ABS is there if you want to _change_ something, not to recompile the whole system when arch provides excellent pkgs already.

Last edited by Chrysalis (2009-11-08 06:20:14)

Offline

#8 2009-11-08 06:24:31

sHyLoCk
Member
From: /dev/null
Registered: 2009-06-19
Posts: 1,197

Re: Coming back, have a question.

I use ABS to compile a few "not so popular nd hence not upgraded faster" packages, eg-> clamav. It's still on version 0.95.2 in repo but I compiled 0.95.3
Another example is branding of firefox. Also a few other packages I like to keep more up-to-date.


~ Regards,
sHy
ArchBang: Yet another Distro for Allan to break.
Blog | GIT | Forum (。◕‿◕。)

Offline

#9 2009-11-08 21:11:39

Anikom15
Banned
From: United States
Registered: 2009-04-30
Posts: 836
Website

Re: Coming back, have a question.

Chrysalis wrote:

I used to compile everything (and i have ALOT of pkgs) for like 6 months out of spite to see if i could.

Conclusion... utter waste of time!

ABS is there if you want to _change_ something, not to recompile the whole system when arch provides excellent pkgs already.

I want answers; not opinions. So basically, I can use pacbuilder to keep everything up to date, correct? Because I'm aware that upgrading from a abs package with pacman will replace the source with a binary.


Personally, I'd rather be back in Hobbiton.

Offline

#10 2009-11-08 21:20:14

Sakurina
Member
From: Trois-Rivieres, Quebec, Canada
Registered: 2008-10-09
Posts: 90
Website

Re: Coming back, have a question.

Yes, you can use pacbuilder to keep your system up to date; I have had an all-source pacbuilder system in the past.

Offline

#11 2009-11-08 21:32:47

Acecero
Member
Registered: 2008-06-21
Posts: 1,373

Re: Coming back, have a question.

sHyLoCk wrote:

Why use yaourt? I mean is there any reason? Faster? Nope. Less typing? How?
You type:
yaourt -S packagename and here you will have to type
makepkg -s PKGBUILD

same amount of effort I think and much more secured.

I agree, another benefit to makepkg is storing package cache, which yaourt doesn't seem to do.

Offline

#12 2009-11-08 22:23:53

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Coming back, have a question.

Anikom15 wrote:

I want answers; not opinions.

And in an ideal world, that's what you would get. This, however, is a public discussion forum, and Chrysalis, along with anyone else who's sufficiently interested, is entitled to express his opinion - just as you are entitled to ignore it.

Offline

#13 2009-11-09 01:21:24

sHyLoCk
Member
From: /dev/null
Registered: 2009-06-19
Posts: 1,197

Re: Coming back, have a question.

Acecero wrote:
sHyLoCk wrote:

Why use yaourt? I mean is there any reason? Faster? Nope. Less typing? How?
You type:
yaourt -S packagename and here you will have to type
makepkg -s PKGBUILD

same amount of effort I think and much more secured.

I agree, another benefit to makepkg is storing package cache, which yaourt doesn't seem to do.

Well there is a way which requires a little bit of effort, after you let yaourt compile the package for you [installing all the dependencies,etc.] just before it asks you if you would like to "Continue with the installation [y/n]?" you can go to the /tmp/yaourtbuild/ folder and copy the package cache to somewhere else and then continue with the installation. As I have noticed that yaourt automatically cleans the temp working directory.


~ Regards,
sHy
ArchBang: Yet another Distro for Allan to break.
Blog | GIT | Forum (。◕‿◕。)

Offline

Board footer

Powered by FluxBB