la page d'accueil
le lien vers les sources : http://gnome-pulse-applet.googlecode.co ... 0.1.tar.gz
D'avance merci

Code : Tout sélectionner
pkgname=gnome-pulse-applet
pkgver=0.1
pkgrel=1
pkgdesc="simple applet for controlling PulseAudio streams."
arch=(i686 x86_64)
depends=('python' 'pulseaudio' 'pygtk2' 'python-setuptools' 'python-ctypes')
url="http://code.google.com/p/gnome-pulse-applet/"
source=(http://gnome-pulse-applet.googlecode.com/files/$pkgname-$pkgver.tar.gz)
Code : Tout sélectionner
install: ne peut créer le fichier régulier `/tmp/yaourt-tmp-root/aur-gnome-pulse-applet/gnome-pulse-applet/pkg/usr/share/locale/fi/LC_MESSAGES/gnome-pulse-applet.mo': Aucun fichier ou dossier de ce type
make: *** [install-pulse-applet] Erreur 1
==> ERREUR: La compilation a échoué.
Abandon...
Error: Makepkg n'a pas pu construire le paquetage gnome-pulse-applet.
Code : Tout sélectionner
pcm.pulse {
type pulse
}
ctl.pulse {
type pulse
}
Code : Tout sélectionner
pcm.pulse {
type pulse
}
ctl.pulse {
type pulse
}
pcm.!default {
type pulse
}
ctl.!default {
type pulse
}
Faudra que j'essaiecdemoulins a écrit :Le fichier alsa.conf ne sert à rien, la config d'alsa se fait dans asound.conf.
Je pense qu'il y a eu une erreur de recopie lors de l'écriture de la page du wiki par rapport à la version anglaise.
En tout cas je sais pas si sa changera grand chose mais tout ce qu'il y a dans ton alsa.conf met le dans ton asound.conf.
Code : Tout sélectionner
bash-3.2# yaourt -S gnome-pulse-applet
==> WARNING: La compilation en tant que root de paquetages non supportés est dangereuse.
Veuillez lancer yaourt en tant que simple utilisateur.
==> Téléchargement du PKGBUILD de gnome-pulse-applet depuis AUR...
tar: Taille de l'enregistrement = 8 blocs
First Submitted: Sat, 31 Jan 2009 21:21:35 +0000
gnome-pulse-applet 0.1-1 (Non supporté): This is simple applet for controlling PulseAudio streams.
==> Editer le PKGBUILD (recommandé) ? [O/n]("A" pour annuler)
==> ----------------------------------------------
==>n
==> Dépendances de gnome-pulse-applet
- pulseaudio (paquetage trouvé)
- pygtk (déjà installé)
- setuptools (paquetage trouvé)
- gnome-python-desktop (déjà installé)
==> Continuer la compilation de gnome-pulse-applet? [O/n]
==> ----------------------------------------------
==>o
==> Compilation et installation du paquetage
==> Création du paquet gnome-pulse-applet 0.1-1 x86_64 (mar. févr. 3 18:52:37 CET 2009)
==> ATTENTION: Lancement de makepkg en root...
==> Vérification des dépendances...
==> Installation des dépendances manquantes...
Résolution des dépendances...
Recherche des conflits possibles entre paquets...
Cibles (4): libasyncns-0.7-1 libsamplerate-0.1.6-1 pulseaudio-0.9.14-1
setuptools-0.6c9-2
Taille totale des paquets (téléchargement): 4,91 Mo
Taille totale des paquets (installation): 11,06 Mo
Procéder à l'installation? [O/n] o
:: Récupération des paquets du dépôt extra...
libsamplerate-0.1.6... 2,6M 47,2K/s 00:00:55 [#####################] 100%
setuptools-0.6c9-2-... 290,8K 54,3K/s 00:00:05 [#####################] 100%
:: Récupération des paquets du dépôt community...
libasyncns-0.7-1 23,0K 41,4K/s 00:00:01 [#####################] 100%
pulseaudio-0.9.14-1 2,0M 49,5K/s 00:00:42 [#####################] 100%
Analyse de l'intégrité des paquets...
(4/4) Analyse des conflits entre fichiers [#####################] 100%
(1/4) Installation libasyncns [#####################] 100%
(2/4) Installation libsamplerate [#####################] 100%
(3/4) Installation pulseaudio [#####################] 100%
>>> To use the ESounD wrapper while using a system-wide daemon, you also need
to enable auth-anonymous for the esound-unix module, or to copy
/var/run/pulse/.esd_auth into each home directory.
>>> To use the system-wide daemon, add your user to the pulse-access group and
run /etc/rc.d/pulseaudio start or add pulseaudio to your DAEMONS array in
your /etc/rc.conf. The daemon configuration is in /etc/pulse/system.pa.
Dépendances optionnelles pour pulseaudio
alsa-plugins: ALSA support
avahi: network support
bluez-libs: bluetooth support
glib
jack-audio-connection-kit: jack support
lirc-utils
tcp_wrappers
(4/4) Installation setuptools [#####################] 100%
==> Vérification des dépendances pour la compilation...
==> Récupération des sources...
-> Téléchargement de gnome-pulse-applet-0.1.tar.gz...
--2009-02-03 18:54:57-- http://gnome-pulse-applet.googlecode.com/files/gnome-pulse-applet-0.1.tar.gz
Résolution de gnome-pulse-applet.googlecode.com... 74.125.47.82
Connexion vers gnome-pulse-applet.googlecode.com|74.125.47.82|:80...connecté.
requête HTTP transmise, en attente de la réponse...200 OK
Longueur: 10616 (10K) [application/x-gzip]
Saving to: `gnome-pulse-applet-0.1.tar.gz.part'
100%[======================================>] 10 616 52,6K/s in 0,2s
2009-02-03 18:55:03 (52,6 KB/s) - « gnome-pulse-applet-0.1.tar.gz.part » sauvegardé [10616/10616]
-> Makefile.patch trouvé dans le répertoire de compilation
==> Validation des fichiers sources avec md5sums...
gnome-pulse-applet-0.1.tar.gz ... Réussite
Makefile.patch ... Réussite
==> Extraction des sources...
-> bsdtar -x -f gnome-pulse-applet-0.1.tar.gz
==> Début de la compilation...
./PKGBUILD: line 19: patch: command not found
make -C GnomePulseAppletInterface/ \
LIBDIR=/usr/lib PYTHON_VERSION=2.6
make[1]: entrant dans le répertoire « /tmp/yaourt-tmp-root/aur-gnome-pulse-applet/gnome-pulse-applet/src/gnome-pulse-applet-0.1/GnomePulseAppletInterface »
python setup.py bdist_egg
running bdist_egg
running egg_info
creating GnomePulseAppletInterface.egg-info
writing GnomePulseAppletInterface.egg-info/PKG-INFO
writing top-level names to GnomePulseAppletInterface.egg-info/top_level.txt
writing dependency_links to GnomePulseAppletInterface.egg-info/dependency_links.txt
writing manifest file 'GnomePulseAppletInterface.egg-info/SOURCES.txt'
reading manifest file 'GnomePulseAppletInterface.egg-info/SOURCES.txt'
writing manifest file 'GnomePulseAppletInterface.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
creating build
creating build/lib
creating build/lib/GnomePulseAppletInterface
copying GnomePulseAppletInterface/PulseObj.py -> build/lib/GnomePulseAppletInterface
copying GnomePulseAppletInterface/__init__.py -> build/lib/GnomePulseAppletInterface
copying GnomePulseAppletInterface/lib_pulseaudio.py -> build/lib/GnomePulseAppletInterface
copying GnomePulseAppletInterface/PulseSink.py -> build/lib/GnomePulseAppletInterface
copying GnomePulseAppletInterface/PulseClient.py -> build/lib/GnomePulseAppletInterface
copying GnomePulseAppletInterface/PulseVolume.py -> build/lib/GnomePulseAppletInterface
creating build/bdist.linux-x86_64
creating build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/GnomePulseAppletInterface
copying build/lib/GnomePulseAppletInterface/PulseObj.py -> build/bdist.linux-x86_64/egg/GnomePulseAppletInterface
copying build/lib/GnomePulseAppletInterface/__init__.py -> build/bdist.linux-x86_64/egg/GnomePulseAppletInterface
copying build/lib/GnomePulseAppletInterface/lib_pulseaudio.py -> build/bdist.linux-x86_64/egg/GnomePulseAppletInterface
copying build/lib/GnomePulseAppletInterface/PulseSink.py -> build/bdist.linux-x86_64/egg/GnomePulseAppletInterface
copying build/lib/GnomePulseAppletInterface/PulseClient.py -> build/bdist.linux-x86_64/egg/GnomePulseAppletInterface
copying build/lib/GnomePulseAppletInterface/PulseVolume.py -> build/bdist.linux-x86_64/egg/GnomePulseAppletInterface
byte-compiling build/bdist.linux-x86_64/egg/GnomePulseAppletInterface/PulseObj.py to PulseObj.pyc
byte-compiling build/bdist.linux-x86_64/egg/GnomePulseAppletInterface/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-x86_64/egg/GnomePulseAppletInterface/lib_pulseaudio.py to lib_pulseaudio.pyc
byte-compiling build/bdist.linux-x86_64/egg/GnomePulseAppletInterface/PulseSink.py to PulseSink.pyc
byte-compiling build/bdist.linux-x86_64/egg/GnomePulseAppletInterface/PulseClient.py to PulseClient.pyc
byte-compiling build/bdist.linux-x86_64/egg/GnomePulseAppletInterface/PulseVolume.py to PulseVolume.pyc
creating build/bdist.linux-x86_64/egg/EGG-INFO
copying GnomePulseAppletInterface.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying GnomePulseAppletInterface.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying GnomePulseAppletInterface.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying GnomePulseAppletInterface.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents...
creating dist
creating 'dist/GnomePulseAppletInterface-0.1a-py2.6.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
make[1]: quittant le répertoire « /tmp/yaourt-tmp-root/aur-gnome-pulse-applet/gnome-pulse-applet/src/gnome-pulse-applet-0.1/GnomePulseAppletInterface »
mkdir -p locale/fi/LC_MESSAGES/
msgfmt locale/fi.po -o locale/fi/LC_MESSAGES/gnome-pulse-applet.mo
mkdir -p /tmp/yaourt-tmp-root/aur-gnome-pulse-applet/gnome-pulse-applet/pkg/usr/share/gnome-pulse-applet
install gnome-pulse-applet.xml \
/tmp/yaourt-tmp-root/aur-gnome-pulse-applet/gnome-pulse-applet/pkg/usr/share/gnome-pulse-applet/gnome-pulse-applet.xml
install locale/fi/LC_MESSAGES/gnome-pulse-applet.mo \
/tmp/yaourt-tmp-root/aur-gnome-pulse-applet/gnome-pulse-applet/pkg/usr/share/locale/fi/LC_MESSAGES/gnome-pulse-applet.mo
install: ne peut créer le fichier régulier `/tmp/yaourt-tmp-root/aur-gnome-pulse-applet/gnome-pulse-applet/pkg/usr/share/locale/fi/LC_MESSAGES/gnome-pulse-applet.mo': Aucun fichier ou dossier de ce type
make: *** [install-pulse-applet] Erreur 1
==> ERREUR: La compilation a échoué.
Abandon...
Error: Makepkg n'a pas pu construire le paquetage gnome-pulse-applet.
bash-3.2#
Code : Tout sélectionner
# Makefile gnome-pulse-applet
#
# Author: Harry Karvonen <harry.karvonen@gmail.com>
#
DESTDIR =
# FIXME detection if /usr/lib64 exists use it else /usr/lib
LIBDIR = $(if $(wildcard $(DESTDIR)/usr/lib64),/usr/lib64,/usr/lib)
# FIXME detect this too
PYTHON_DIR = $(wildcard $(DESTDIR)$(LIBDIR)/python*)
PYTHON_VERSION = $(PYTHON_DIR:$(DESTDIR)$(LIBDIR)/python%=%)
# Default target
# make
all:
$(MAKE) -C GnomePulseAppletInterface/ \
LIBDIR=$(LIBDIR) PYTHON_VERSION=$(PYTHON_VERSION)
mkdir -p locale/fi/LC_MESSAGES/
msgfmt locale/fi.po -o locale/fi/LC_MESSAGES/gnome-pulse-applet.mo
# Install target
install: install-pulse-applet
$(MAKE) -C GnomePulseAppletInterface/ install \
LIBDIR=$(LIBDIR) PYTHON_VERSION=$(PYTHON_VERSION)
install-pulse-applet:
mkdir -p $(DESTDIR)/usr/share/gnome-pulse-applet
install gnome-pulse-applet.xml \
$(DESTDIR)/usr/share/gnome-pulse-applet/gnome-pulse-applet.xml
install locale/fi/LC_MESSAGES/gnome-pulse-applet.mo \
$(DESTDIR)/usr/share/locale/fi/LC_MESSAGES/gnome-pulse-applet.mo
install pulse-applet.py \
$(DESTDIR)$(LIBDIR)/python$(PYTHON_VERSION)/site-packages/pulse-applet.py
ln -s $(LIBDIR)/python$(PYTHON_VERSION)/site-packages/pulse-applet.py \
$(DESTDIR)/usr/bin/pulse-applet.py
install GNOME_PulseApplet_Factory.server \
$(DESTDIR)$(LIBDIR)/bonobo/servers/GNOME_PulseApplet_Factory.server
install-devel:
$(MAKE) -C GnomePulseAppletInterface/ install-devel \
LIBDIR=$(LIBDIR) PYTHON_VERSION=$(PYTHON_VERSION)
ln -s $(PWD)/pulse-applet.py \
$(DESTDIR)/usr/bin/
ln -s $(PWD)/GNOME_PulseApplet_Factory.server \
$(DESTDIR)$(LIBDIR)/bonobo/servers/
mkdir -p $(DESTDIR)/usr/share/gnome-pulse-applet
ln -s $(PWD)/gnome-pulse-applet.xml \
$(DESTDIR)/usr/share/gnome-pulse-applet/gnome-pulse-applet.xml
ln -s $(PWD)/locale/fi/LC_MESSAGES/gnome-pulse-applet.mo \
$(DESTDIR)/usr/share/locale/fi/LC_MESSAGES/gnome-pulse-applet.mo
uninstall:
$(MAKE) -C GnomePulseAppletInterface uninstall \
LIBDIR=$(LIBDIR) PYTHON_VERSION=$(PYTHON_VERSION)
$(RM) $(DESTDIR)/usr/bin/pulse-applet.py
$(RM) $(DESTDIR)$(LIBDIR)/bonobo/servers/GNOME_PulseApplet_Factory.server
$(RM) $(DESTDIR)/usr/share/locale/fi/LC_MESSAGES/gnome-pulse-applet.mo
$(RM) -r $(DESTDIR)/usr/share/gnome-pulse-applet
clean:
$(MAKE) -C GnomePulseAppletInterface clean