public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Parallizing ebuilds - 'trivial' ebuilds
@ 2006-01-11 22:51 Robin H. Johnson
  2006-01-11 23:44 ` Lisa Seelye
  2006-01-12  8:05 ` Kevin F. Quinn (Gentoo)
  0 siblings, 2 replies; 18+ messages in thread
From: Robin H. Johnson @ 2006-01-11 22:51 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 1078 bytes --]

I've been cleaning up media-fonts/ to work with modular-X, and I see a
lot of ebuilds with stuff like this:
    for font in *.bdf; do
        /usr/X11R6/bin/bdftopcf ${font} > `basename $font .bdf`.pcf
    done                               
    gzip *.pcf

For having 100 files in *bdf, this is so serial it's painful.

While this is a daunting task to accomplish, it would be worthwhile for
developers to attack poor coding like this and replace it with nicer stuff.

The above for example should be replaced with a small makefile:
%.pcf: %.bdf
	bdftopcf $< -o $@
%.pcf.gz: %.pcf
	gzip -9 $<
BDFFILES = # files go here
PCFFILES = $(BDFFILES:.bdf=.pcf)
PCFFILES_GZ = $(BDFFILES:.bdf=.pcf.gz)
all: $(PCFFILES_GZ)
clean:
	rm -f $(PCFFILES) $(PCFFILES_GZ)

Is this really too much work to get developers to do? I don't think so.

(And no, this email wasn't prompted by one of ciaranm's diversions about SPARC having many CPUs).

-- 
Robin Hugh Johnson
E-Mail     : robbat2@gentoo.org
GnuPG FP   : 11AC BA4F 4778 E3F6 E4ED  F38E B27B 944E 3488 4E85

[-- Attachment #2: Type: application/pgp-signature, Size: 241 bytes --]

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2006-01-17  3:23 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-11 22:51 [gentoo-dev] Parallizing ebuilds - 'trivial' ebuilds Robin H. Johnson
2006-01-11 23:44 ` Lisa Seelye
2006-01-12  0:18   ` Ferris McCormick
2006-01-12  0:55     ` Lisa Seelye
2006-01-12  9:23       ` Philippe Trottier
2006-01-12 14:11         ` Chris Gianelloni
2006-01-12 15:22           ` [gentoo-dev] " Duncan
2006-01-12 15:42             ` Simon Stelling
2006-01-13 10:53         ` [gentoo-dev] " Kalin KOZHUHAROV
2006-01-13 11:06           ` Patrick Lauer
2006-01-13 13:04             ` [gentoo-dev] " Duncan
2006-01-13 16:09             ` [gentoo-dev] " Kalin KOZHUHAROV
2006-01-13 17:25               ` Francesco Riosa
2006-01-13 19:05               ` Philippe Trottier
2006-01-16  8:10                 ` Philipp Riegger
2006-01-17  3:20                   ` Kalin KOZHUHAROV
2006-01-16  9:20           ` Colin Kingsley
2006-01-12  8:05 ` Kevin F. Quinn (Gentoo)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox