You are not logged in.

#1 2008-02-18 22:43:37

B-Con
Member
From: USA
Registered: 2007-12-17
Posts: 554
Website

Which packages do you prefer to manually compile?

One of the things I love about Arch is the ABS. You can run a binary-based distro for as long as you want, then just stop, drop, and compile any package that you want.

I've been looking to optimize my system for snappiness, so I'm trying to decide on which frequently-used programs are worth compiling from source. (All packages being i686-optimized from the start cuts down the need to recompile most programs.) I really don't care about small fraction-second lags in programs I use a few times a week, but for apps like Firefox that I use all the time I feel it's worth compiling. I'm still trying to decide which programs to keep manually compiled and which to not bother with. Recompiling all of gnome-desktop, IMO, is pretty pointless, but I'd consider manually compiling metacity.

So I'm curious: Which packages do you guys like to manually compile?

Last edited by B-Con (2008-02-18 22:46:37)

Offline

#2 2008-02-18 22:52:42

fwojciec
Member
Registered: 2007-05-20
Posts: 1,411

Re: Which packages do you prefer to manually compile?

Firefox -- to enable official branding and xinerama support (no idea why Firefox is compiled with disable-xinerama by default)
Mplayer -- to let it pick the best optimizations for my processor automatically
rtorrent/libtorrent -- the latest svn versions have dht support

I used to compile a custom kernel as well but decided that there is no really compelling reason to do it anymore.

Offline

#3 2008-02-18 22:57:06

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,365
Website

Re: Which packages do you prefer to manually compile?

fwojciec wrote:

Firefox -- to enable official branding

Add thunderbird to that too...  I don't add any extra optimization though.  The icons are important to me for some reason....

fwojciec wrote:

Mplayer -- to let it pick the best optimizations for my processor automatically

Does that work if you have the default C{XX}FLAGS in makepkg.conf or have you adjusted those?

Last edited by Allan (2008-02-18 22:57:50)

Offline

#4 2008-02-18 23:05:07

fwojciec
Member
Registered: 2007-05-20
Posts: 1,411

Re: Which packages do you prefer to manually compile?

Allan wrote:

Does that work if you have the default C{XX}FLAGS in makepkg.conf or have you adjusted those?

You know what... now that you have asked me this question I did a little investigation and realized that mplayer has automatic runtime (not compile-time) cpu detection...  so I guess I don't have to compile mplayer manually after all (using custom compile flags is possible, apparently, but discouraged from what I was able to find out by googling some info about it).

Offline

#5 2008-02-19 05:27:42

B-Con
Member
From: USA
Registered: 2007-12-17
Posts: 554
Website

Re: Which packages do you prefer to manually compile?

fwojciec wrote:

Firefox -- to enable official branding and xinerama support (no idea why Firefox is compiled with disable-xinerama by default)

I recompile Firefox but still see it labeled Bon Echo. Which patch needs to be excluded to get the branding back?

Offline

#6 2008-02-19 05:44:21

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,365
Website

Re: Which packages do you prefer to manually compile?

B-Con: Have a look at this script... http://allan.mcrae.googlepages.com/rebuild-firefox

Offline

#7 2008-02-19 05:46:49

fwojciec
Member
Registered: 2007-05-20
Posts: 1,411

Re: Which packages do you prefer to manually compile?

There used to be a package in aur called firefox-branded, but I can't find it anymore.
1) First of all you need add this to the mozconfig file:

ac_add_options --enable-official-branding

2) Then you also have to change the PKGBUILD, basically what you need to do is change every instance of "/src/mozilla/browser/app/default.xpm" to "/src/mozilla/other-licenses/branding/firefox/default.xpm".  There should be three changes total.
3) You'll also have to update the md5sums, of course, since the mozconfig file was changed.  That should do it, I think...

EDIT: Or just use Allan's script smile
EDIT: I just checked again and firefox-branded is available in AUR (http://aur.archlinux.org/packages.php?ID=10599), so if all you want is branding you should be able to just install that package from AUR.

Last edited by fwojciec (2008-02-19 06:24:11)

Offline

#8 2008-02-19 05:50:45

bangkok_manouel
Member
From: indicates a starting point
Registered: 2005-02-07
Posts: 1,556

Re: Which packages do you prefer to manually compile?

mostly for fun:
kernel
firefox (cvs)
deluge
openbox
thunar + its dep.
vlc
ffmpeg
xorg

changed -march=native and added -fomit-frame-pointer

Offline

#9 2008-02-19 06:16:28

fwojciec
Member
Registered: 2007-05-20
Posts: 1,411

Re: Which packages do you prefer to manually compile?

Nice script, by the way, Allan -- you just gave me a new idea and you've reminded me that any repetitive activity that I do on a computer deserves a script (I'm only learning bash scripting at the moment so my instincts tend to be all wrong).  Anyways -- I've adopted your script for my purposes (only slight changes were necessary) and made a version for thunderbird...  Using this method I should be able to get rid of my local repo and just rebuild the selected packages using scripts when necessary -- so thanks for a good idea!

Offline

#10 2008-02-19 10:58:37

anykey
Member
From: Trier, Germany
Registered: 2004-06-12
Posts: 79

Re: Which packages do you prefer to manually compile?

in the past, I remember having to build gcc mysqlf (for objc support), but Arch fixed it.

Oh, I build my own kernels on all machines. Everything else is fit to go as it comes from Arch.

Last edited by anykey (2008-02-19 11:00:41)

Offline

#11 2008-02-19 11:34:37

triplefault
Member
From: Linz, Austria
Registered: 2006-09-18
Posts: 17

Re: Which packages do you prefer to manually compile?

Mostly fvwm because I just can't live without the patches wink

Offline

#12 2008-02-19 12:01:47

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

Re: Which packages do you prefer to manually compile?

urxvt - for libafterimage support
xf86-video-ati - for mach64 support

fwojciec wrote:

rtorrent/libtorrent -- the latest svn versions have dht support

http://rakshasa.no/pipermail/libtorrent … 01470.html - still needs a Community update though. codemac? smile

Offline

#13 2008-02-19 12:19:18

wain
Member
From: France
Registered: 2005-05-01
Posts: 289
Website

Re: Which packages do you prefer to manually compile?

kernel, conky, codecs, mplayer, vim + all modules (like virtualbox, ndiswrapper, nvidia etc...) that need to be rebuilt against my custom kernel.
customizepkg help me to rebuild automatically these package with yaourt -Su

Offline

#14 2008-02-19 13:31:14

zyghom
Member
From: Poland/currently Africa
Registered: 2006-05-11
Posts: 432
Website

Re: Which packages do you prefer to manually compile?

kernel (highmem support >= 4GB)
kismet (only svn sees my card)
kphotoalbum
ksquirrel
truecrypt (because of custom kernel)
virtualbox-modules (because of custom kernel)
claws-mail (cvs)
kmymoney2 (cvs)


Zygfryd Homonto

Offline

#15 2008-02-19 13:37:19

z3ppelin
Member
Registered: 2006-07-10
Posts: 171

Re: Which packages do you prefer to manually compile?

dwm - just to configure it
mplayer-svn - custom build flags
There are many svn/cvs/git packages I build, but I dosen't change anything in PKGBUILD, so why post them...

Offline

#16 2008-02-19 13:40:59

dolby
Member
From: 1992
Registered: 2006-08-08
Posts: 1,581

Re: Which packages do you prefer to manually compile?

autocutsel/
cksfv/
cmus/
dmenu/
dwm/
elinks/
firefox3/
gimp/
git/
gtk-engine-murrine/
libtorrent/
mercurial/
mktorrent/
mplayer/
mutt/
nicotine/
nopaste/
offlineimap/
psyco/
rtorrent/
ruby-gettext/
rubyripper/
rxvt-unicode/
snownews/
terminus-font/
xcursor-neutral/
xterm/
zsh-lovers/

and i am in the process of building all base and all other packages i have installed (which are 291) stripping out locale, .desktop files pixmaps etc. dont know if i actually go through this though. it requires too much time to maintain.


There shouldn't be any reason to learn more editor types than emacs or vi -- mg (1)
[You learn that sarcasm does not often work well in international forums.  That is why we avoid it. -- ewaller (arch linux forum moderator)

Offline

#17 2008-02-19 13:43:59

dolby
Member
From: 1992
Registered: 2006-08-08
Posts: 1,581

Re: Which packages do you prefer to manually compile?

tomk wrote:

urxvt - for libafterimage support
xf86-video-ati - for mach64 support

fwojciec wrote:

rtorrent/libtorrent -- the latest svn versions have dht support

http://rakshasa.no/pipermail/libtorrent … 01470.html - still needs a Community update though. codemac? smile

rtorrent 0.8 is still marked as unstable on the site


There shouldn't be any reason to learn more editor types than emacs or vi -- mg (1)
[You learn that sarcasm does not often work well in international forums.  That is why we avoid it. -- ewaller (arch linux forum moderator)

Offline

#18 2008-02-19 15:26:02

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

Re: Which packages do you prefer to manually compile?

Yeah, I've since been informed about the difference between rtorrent ML and website announcements.

Building it anyway...

Offline

#19 2008-02-19 15:45:06

Oxyd
Member
From: Czech Republic
Registered: 2008-01-17
Posts: 167

Re: Which packages do you prefer to manually compile?

Kernel -- because it gives me nice warm feeling to have a custom-configured kernel.
NVidia kernel module -- needs to be because of the custom kernel
Firefox -- to get official branding

And then packages from AUR that are not in binary repositories -- no other option than building from source (unfortunately).

Before I came to Arch I was using Gentoo and I couldn't notice any difference in speed between the two -- Arch already is i686/x86_64 optimised. smile

Offline

#20 2008-02-19 15:51:32

Susu
Member
From: Germany
Registered: 2005-11-11
Posts: 191
Website

Re: Which packages do you prefer to manually compile?

Recently I built kaffeine, because of the "setRecord" patch.


Album reviews (in german): http://schallwelle.filzo.de

Offline

#21 2008-02-19 16:40:10

chicha
Member
From: France
Registered: 2007-04-20
Posts: 271

Re: Which packages do you prefer to manually compile?

I do not have a defined list of packages I build myself, but I have 2 frequent use cases :

- Getting a new version of a package when it is not already there in core/extra/community
- Patching an anoying bug before a new release is out.

I would say that I have approximatively 5 or 6 packages rebuilt by myself on my system, which is a very small amount thanks to the rolling release way of life. I guess I would have much more packages rebuilt by myself on other distros (I won't give name wink )

To be completly honest I have to add some packages from AUR/Unsupported : thus I must have a dozen of home built packages.

About optimization stuff : As a previous Gentoo user I assure you that you will be very disapointed by custom CFLAGS and other gcc tricks. Also be carefull : some optimization may lead to instability of some packages. Some other optimization may lead to higher memory consumption ...

Offline

#22 2008-02-19 20:30:23

broch
Banned
From: L.A. California
Registered: 2006-11-13
Posts: 975

Re: Which packages do you prefer to manually compile?

no AUR/ABS
- kernel
- nvidia (though binary installation is hardly custom compilation) - reason -> only way to get all installed kernels to load nvidia driver Plus offline installation so each time I am booting new kernel nvidia is installed already.
- software not available for Arch

AUR/ABS
stuff that is here while can't installed as Arch binary.

otherwise too lazy

Last edited by broch (2008-02-19 20:31:06)

Offline

#23 2008-02-19 21:11:47

wuischke
Member
From: Suisse Romande
Registered: 2007-01-06
Posts: 630

Re: Which packages do you prefer to manually compile?

xf86-video-intel: This driver likes to cause trouble which is often solved in more recent versions.

Offline

#24 2008-02-20 20:29:04

B-Con
Member
From: USA
Registered: 2007-12-17
Posts: 554
Website

Re: Which packages do you prefer to manually compile?

Allan wrote:

B-Con: Have a look at this script... http://allan.mcrae.googlepages.com/rebuild-firefox

Very nice. Kudos. smile

Offline

#25 2008-02-20 23:26:38

cry0x
Member
Registered: 2007-04-11
Posts: 91

Re: Which packages do you prefer to manually compile?

Kernel - I'm just used to doing it from my Slackware days. I'm also a control freak, and a good amount of the patches on the Arch kernel I don't need.
Modules for my kernel via ABS: madwifi, vboxdrv, and some others.
Deluge - They have a PKGBUILD on the website! Also 0.5.8.4 came out almost a week ago, and the repos still have 0.5.8.3. For an application that notifies you during runtime if there is a new version, you'd think it would be quickly upgraded. Oh well.

Last edited by cry0x (2008-02-20 23:28:11)


Who is this doin' this synthetic type of alpha beta psychedelic funkin'?

Offline

Board footer

Powered by FluxBB