view po/Makefile.mingw @ 12903:2bb4dc533a31

[gaim-migrate @ 15256] redpen686 posted modified sounds to gaim-devel: "The tones were sampled at 44.1 KHz (with a range of up to 22.05 KHz), which is fine, but since the tones are only up to ~3 to 4 KHz, a lot of space could be saved by downsampling. I went to 11,025 Hz, since it is already enough for these frequencies, and it's also the lowest common denominator for soundcards (rather than 8 or 16 KHz, for example). The 'alert' sound needed a lowpass filter, but only because of the high-pitched attack, which people won't notice anyway. All are still 16-bit, and in stereo (except for the 'alert' sound, which didn't need it), and so should sound virtually identical." These are significantly smaller files and I didn't notice a difference in the sound (of course, my speakers suck). They're also louder, which is good. I'm committing these so people can try them out. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Tue, 17 Jan 2006 02:49:32 +0000
parents 6dcfec6f2f7c
children 8793fc8f7064
line wrap: on
line source

# Makefile.mingw
# 
# Description: Makefile to generate mo files
#

PACKAGE = gaim

##
## PATHS
##

srcdir = .
GAIM_TOP = ..
GAIM_INSTALL_DIR = ../win32-install-dir
LOCALEDIR = $(GAIM_INSTALL_DIR)/locale
GTK_BIN = ../../win32-dev/gtk_2_0/bin

##
## TOOLS
##

GMSGFMT := $(GTK_BIN)/msgfmt


.SUFFIXES:
.SUFFIXES: .po .gmo


##
## SOURCES, OBJECTS
##

CATALOGS = $(patsubst %.po,%.gmo,$(wildcard *.po))

##
## RULES
##

.po.gmo:
	rm -f $@ && $(GMSGFMT) --statistics -o $@ $<


##
## TARGETS
##


all: $(CATALOGS)

install: all
	mkdir -p $(LOCALEDIR)
	@catalogs='$(CATALOGS)'; \
	for cat in $$catalogs; do \
	  cat=`basename $$cat`; \
	  lang=`echo $$cat | sed 's/\.gmo$$//'`; \
	  dir=$(LOCALEDIR)/$$lang/LC_MESSAGES; \
	  mkdir -p $$dir; \
	  if test -r $$cat; then \
	    cp $$cat $$dir/$(PACKAGE).mo; \
	    echo "installing $$cat as $$dir/$(PACKAGE).mo"; \
	  else \
	    cp $(srcdir)/$$cat $$dir/$(PACKAGE).mo; \
	    echo "installing $(srcdir)/$$cat as" \
		 "$$dir/$(PACKAGE).mo"; \
	  fi; \
	done

clean:
	rm -f *.gmo