[openmamba-devel-it] tutti in vacanza? ... pulseaudio...

gil puntogil a libero.it
Ven 8 Ago 2008 01:42:24 CEST


Ercole Carpanetto ha scritto:
> Ciao Gil, hai ragione sulla poszione del file desktop, non è che tu 
> hai installato xfce? Perchè la directory che usa è quella di xfce. 
> Quando hai generato lo specfile con autospec gli hai detto vero che il 
> programma era per kde?
> A presto
> Ciao
> ercole
>
> -- 
> Freedom is nothing else but a chance to be better.
> A.Camus
ciao
il problema é noto
o si mette una patch oppure si installa il file desktop dallo specfile...
questo é una parte del pulseaudio-0.9.11/src/Makefile 
pulseaudio-0.9.11/src/Makefile.am  dove c'é il problema
anche mettendo come prefisso /opt/kde3 ...
non cambia nulla installa il file nella posizione anomala
/etc/opt/kde3/xdg/autostart/pulseaudio.desktop
pero poi ci sarebbe da configurare il file /etc/...dove lo vogliamo 
mettere ... /default.pa per l'autostart

*xdgautostartdir = $(sysconfdir)/xdg/autostart*

###################################
#            Defines              #
###################################
PA_BINARY = $(bindir)/pulseaudio$(EXEEXT)
@OS_IS_WIN32_FALSE a PA_DEFAULT_CONFIG_DIR = $(pulseconfdir)
@OS_IS_WIN32_TRUE a PA_DEFAULT_CONFIG_DIR = %PULSE_ROOT%

###################################
#     Compiler/linker flags       #
###################################

# This cool debug trap works on i386/gcc only
AM_CFLAGS = -I$(top_srcdir)/src -I$(top_builddir)/src/modules \
    -I$(top_builddir)/src/modules/rtp \
    -I$(top_builddir)/src/modules/gconf $(PTHREAD_CFLAGS) \
    -D_POSIX_PTHREAD_SEMANTICS $(LTDLINCL) $(LIBSAMPLERATE_CFLAGS) \
    $(LIBSNDFILE_CFLAGS) $(LIBSPEEX_CFLAGS) \
    -DPA_DLSEARCHPATH=\"$(modlibexecdir)\" \
    -DPA_DEFAULT_CONFIG_DIR=\"$(PA_DEFAULT_CONFIG_DIR)\" \
    -DPA_BINARY=\"$(PA_BINARY)\" \
    -DPA_SYSTEM_RUNTIME_PATH=\"$(PA_SYSTEM_RUNTIME_PATH)\" \
    -DPA_SYSTEM_CONFIG_PATH=\"$(PA_SYSTEM_CONFIG_PATH)\" \
    -DPA_SYSTEM_STATE_PATH=\"$(PA_SYSTEM_STATE_PATH)\" \
    -DAO_REQUIRE_CAS '-DDEBUG_TRAP=__asm__("int $$3")'
AM_LIBADD = $(PTHREAD_LIBS)
AM_LDADD = $(PTHREAD_LIBS)

# Only required on some platforms but defined for all to avoid errors
AM_LDFLAGS = -Wl,-no-undefined -Wl,--gc-sections $(am__append_1)
@STATIC_BINS_TRUE a BINLDFLAGS = -static
@OS_IS_WIN32_TRUE a WINSOCK_LIBS = -lwsock32 -lws2_32 -lwininet
@OS_IS_WIN32_FALSE a PA_THREAD_OBJS = \
@OS_IS_WIN32_FALSE@        pulsecore/mutex-posix.c pulsecore/mutex.h \
@OS_IS_WIN32_FALSE@        pulsecore/thread-posix.c pulsecore/thread.h \
@OS_IS_WIN32_FALSE@        pulsecore/semaphore-posix.c pulsecore/semaphore.h

@OS_IS_WIN32_TRUE a PA_THREAD_OBJS = \
@OS_IS_WIN32_TRUE@        pulsecore/mutex-win32.c pulsecore/mutex.h \
@OS_IS_WIN32_TRUE@        pulsecore/thread-win32.c pulsecore/thread.h \
@OS_IS_WIN32_TRUE@        pulsecore/semaphore-win32.c pulsecore/semaphore.h


###################################
#          Extra files            #
###################################
EXTRA_DIST = pulse/client.conf.in pulse/version.h.in \
    daemon/daemon.conf.in daemon/default.pa.in \
    daemon/default.pa.win32 depmod.py daemon/esdcompat.in \
    daemon/start-pulseaudio-x11.in utils/padsp \
    modules/module-defs.h.m4 daemon/pulseaudio.desktop map-file \
    daemon/org.pulseaudio.policy $(SYMDEF_FILES)
pulseconf_DATA = \
        default.pa \
        daemon.conf \
        client.conf

@HAVE_X11_TRUE@*xdgautostart_DATA = \
@HAVE_X11_TRUE@        daemon/pulseaudio.desktop

*Makefile.am
*xdgautostartdir=$(sysconfdir)/xdg/autostart*

###################################
#            Defines              #
###################################

PA_BINARY=$(bindir)/pulseaudio$(EXEEXT)
if OS_IS_WIN32
PA_DEFAULT_CONFIG_DIR=%PULSE_ROOT%
else
PA_DEFAULT_CONFIG_DIR=$(pulseconfdir)
endif

###################################
#     Compiler/linker flags       #
###################################

AM_CFLAGS = -I$(top_srcdir)/src -I$(top_builddir)/src/modules 
-I$(top_builddir)/src/modules/rtp -I$(top_builddir)/src/modules/gconf
AM_CFLAGS += $(PTHREAD_CFLAGS) -D_POSIX_PTHREAD_SEMANTICS
AM_CFLAGS += $(LTDLINCL)
AM_CFLAGS += $(LIBSAMPLERATE_CFLAGS) $(LIBSNDFILE_CFLAGS) $(LIBSPEEX_CFLAGS)
AM_CFLAGS += -DPA_DLSEARCHPATH=\"$(modlibexecdir)\"
AM_CFLAGS += -DPA_DEFAULT_CONFIG_DIR=\"$(PA_DEFAULT_CONFIG_DIR)\"
AM_CFLAGS += -DPA_BINARY=\"$(PA_BINARY)\"
AM_CFLAGS += -DPA_SYSTEM_RUNTIME_PATH=\"$(PA_SYSTEM_RUNTIME_PATH)\"
AM_CFLAGS += -DPA_SYSTEM_CONFIG_PATH=\"$(PA_SYSTEM_CONFIG_PATH)\"
AM_CFLAGS += -DPA_SYSTEM_STATE_PATH=\"$(PA_SYSTEM_STATE_PATH)\"
AM_CFLAGS += -DAO_REQUIRE_CAS

# This cool debug trap works on i386/gcc only
AM_CFLAGS += '-DDEBUG_TRAP=__asm__("int $$3")'

AM_LIBADD = $(PTHREAD_LIBS)
AM_LDADD = $(PTHREAD_LIBS)

# Only required on some platforms but defined for all to avoid errors
AM_LDFLAGS = -Wl,-no-undefined -Wl,--gc-sections

if STATIC_BINS
BINLDFLAGS = -static
endif

if OS_IS_WIN32
AM_LDFLAGS+=-Wl,--export-all-symbols
WINSOCK_LIBS=-lwsock32 -lws2_32 -lwininet
endif

if OS_IS_WIN32
PA_THREAD_OBJS = \
        pulsecore/mutex-win32.c pulsecore/mutex.h \
        pulsecore/thread-win32.c pulsecore/thread.h \
        pulsecore/semaphore-win32.c pulsecore/semaphore.h
else
PA_THREAD_OBJS = \
        pulsecore/mutex-posix.c pulsecore/mutex.h \
        pulsecore/thread-posix.c pulsecore/thread.h \
        pulsecore/semaphore-posix.c pulsecore/semaphore.h
endif

###################################
#          Extra files            #
###################################

EXTRA_DIST = \
        pulse/client.conf.in \
        pulse/version.h.in \
        daemon/daemon.conf.in \
        daemon/default.pa.in \
        daemon/default.pa.win32 \
        depmod.py \
        daemon/esdcompat.in \
        daemon/start-pulseaudio-x11.in \
        utils/padsp \
        modules/module-defs.h.m4 \
        daemon/pulseaudio.desktop \
        map-file \
        daemon/org.pulseaudio.policy

pulseconf_DATA = \
        default.pa \
        daemon.conf \
        client.conf

if HAVE_X11
*xdgautostart_DATA = \
        daemon/pulseaudio.desktop*


Maggiori informazioni sulla lista openmamba-devel-it