ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] странность с зависимостями
@ 2005-11-26 20:52 Igor Zubkov
  2005-11-26 22:24 ` Igor Zubkov
  0 siblings, 1 reply; 3+ messages in thread
From: Igor Zubkov @ 2005-11-26 20:52 UTC (permalink / raw)
  To: ALT Devel discussion list


[-- Attachment #1.1: Type: text/plain, Size: 1750 bytes --]

Привет, Всем!

Имеется спек из аттача.

Странность такая:
[icesik@nirvana icesik]$ rpm -q --requires polypaudio
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(CompressedFileNames) <= 3.0.4-1
coreutils  
libICE.so.6  
libSM.so.6  
libX11.so.6  
libalsa-util.so  
libasound.so.2  
libasound.so.2(ALSA_0.9)  
libasound.so.2(ALSA_0.9.0rc4)  
libauthkey-prop.so  
libauthkey.so  
libc.so.6  
libc.so.6(GLIBC_2.0)  
libc.so.6(GLIBC_2.1)  
libc.so.6(GLIBC_2.1.2)  
libc.so.6(GLIBC_2.1.3)  
libc.so.6(GLIBC_2.2)  
libc.so.6(GLIBC_2.3)  
libc.so.6(GLIBC_2.3.4)  
libcap.so.1  
libcli.so  
libdl.so.2  
libiochannel.so  
libioline.so  
libltdl.so.3  
libm.so.6  
libm.so.6(GLIBC_2.0)  
liboss-util.so  
libpacket.so  
libpdispatch.so  
libpolyp-0.7.so.0  
libpolyp-error-0.7.so.0  
libpolyp-mainloop-0.7.so.0  
libprotocol-cli.so  
libprotocol-esound.so  
libprotocol-native.so  
libprotocol-simple.so  
libpstream-util.so  
libpstream.so  
libpthread.so.0  
libpthread.so.0(GLIBC_2.0)  
libsamplerate.so.0  
libsamplerate.so.0(libsamplerate.so.0.0)  
libsndfile.so.1  
libsndfile.so.1(libsndfile.so.1.0)  
libsocket-client.so  
libsocket-server.so  
libsocket-util.so  
libstrlist.so  
libtagstruct.so  
libwrap.so.0  
libx11prop.so  
libx11wrap.so  
sh  
[icesik@nirvana icesik]$ 

Так вот, мне интересно, откуда наш rpm берёт libx11prop.so и компанию? Они все 
лежат в /usr/lib/polypaudio-0.7/. При сборке используется 
%add_findprov_lib_path %_libdir/polypaudio-0.7/

Чего ему не хватает? Без %add_findprov_lib_path тоже самое.

-- 
http://www.livejournal.com/users/icesik/7614.html
http://www.livejournal.com/users/icesik/7393.html
http://www.livejournal.com/users/icesik/7024.html

[-- Attachment #1.2: polypaudio.spec --]
[-- Type: text/plain, Size: 3539 bytes --]

Name: polypaudio
Version: 0.7
Release: alt1

Summary: Polypaudio is a sound server for Linux
Group: System/Servers
License: LGPL
Url: http://0pointer.de/lennart/projects/polypaudio/

Source0: %name-%version.tar.gz
Patch0: %name-%version-alt-install.patch

Packager: Igor Zubkov <icesik@altlinux.ru>

%add_findprov_lib_path %_libdir/polypaudio-0.7/

# Automatically added by buildreq on Tue Nov 15 2005
BuildRequires: doxygen gcc-c++ glib-devel glib2-devel libalsa-devel libcap-devel libltdl-devel libsamplerate-devel libsndfile-devel libstdc++-devel libwrap-devel lynx pkgconfig xorg-x11-devel

%description
Polypaudio is a sound server for Linux and other Unix like operating
systems. It is intended to be an improved drop-in replacement for the
Enlightened Sound Daemon (ESOUND). It is my ultimate ambition to
get Polypaudio into Gnome as a replacement for ESOUND. In addition
to the features ESOUND provides polypaudio has:
* Extensible   plugin  architecture  (by  loading  dynamic  loadable
  modules with dlopen())
* Support for more than one sink/source
* Better low latency behaviour
* Embedabble into other software (the core is available as C library)
* Completely asynchronous C API
* Simple command line interface for reconfiguring the daemon while running
* Flexible, implicit sample type conversion and resampling
* "Zero-Copy" architecture
* Module autoloading
* Very accurate latency measurement for playback and recordin.
* May  be  used  to combine multiple sound cards to one (with sample
  rate adjustment)
* Client side latency interpolation

This is package contains polypaudio server.

%package -n lib%name
Summary: Polypaudio shared libraries
Group: System/Libraries

%description -n lib%name
Polypaudio is a sound server for Linux and other Unix like operating
systems. It is intended to be an improved drop-in replacement for the
Enlightened Sound Daemon (ESOUND).

This package contains the polypaudio shared libraries.

%package -n lib%name-devel
Summary: Development files for %name
Group: Development/C

%description -n lib%name-devel
Polypaudio is a sound server for Linux and other Unix like operating
systems. It is intended to be an improved drop-in replacement for the
Enlightened Sound Daemon (ESOUND).

This package contains development files for polypaudio.

%package -n lib%name-devel-doc
Summary: Development documentation for %name
Group: Development/C

%description -n lib%name-devel-doc
Polypaudio is a sound server for Linux and other Unix like operating
systems. It is intended to be an improved drop-in replacement for the
Enlightened Sound Daemon (ESOUND).

This package contains doxygen documentation for polypaudio.

%prep
%setup -q
%patch0 -p1

%build
%configure \
	--disable-static
%make_build
%__make doxygen

%install
%make_install DESTDIR=%buildroot install

%files
%doc doc/FAQ.html doc/README doc/README.html doc/cli.html doc/daemon.html
%doc doc/modules.html doc/style.css doc/todo
%dir %_sysconfdir/polypaudio/
%config(noreplace) %_sysconfdir/polypaudio/*
%attr(4711,root,root) %_bindir/polypaudio
%_bindir/esdcompat.sh
%_bindir/pacat
%_bindir/pacmd
%_bindir/pactl
%_bindir/paplay
%_bindir/parec
%_bindir/pax11publish
%_libdir/polypaudio-0.7/*.so
%exclude %_libdir/polypaudio-0.7/*.la

%files -n lib%name
%_libdir/lib*.so.*

%files -n lib%name-devel
%_libdir/lib*.so
%dir %_includedir/polyp/
%_includedir/polyp/*.h
%_pkgconfigdir/*

%files -n lib%name-devel-doc
%doc doxygen/html

%changelog
* Tue Nov 15 2005 Igor Zubkov <icesik@altlinux.ru> 0.7-alt1
- Initial build for Sisyphus

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

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

* Re: [devel] странность с зависимостями
  2005-11-26 20:52 [devel] странность с зависимостями Igor Zubkov
@ 2005-11-26 22:24 ` Igor Zubkov
  2005-11-27 15:42   ` [devel] " Michael Shigorin
  0 siblings, 1 reply; 3+ messages in thread
From: Igor Zubkov @ 2005-11-26 22:24 UTC (permalink / raw)
  To: ALT Devel discussion list

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

В сообщении от Суббота, 26-Ноя-2005 22:52 Igor Zubkov написал(a):
> Имеется спек из аттача.
>
> Странность такая:
> [icesik@nirvana icesik]$ rpm -q --requires polypaudio
<dropped />
> libx11prop.so
> libx11wrap.so
> [icesik@nirvana icesik]$

Что бы было лучше понятно...

[icesik@nirvana icesik]$ rpm -ql polypaudio | grep /usr/lib/ | grep libx11    
/usr/lib/polypaudio-0.7/libx11prop.so
/usr/lib/polypaudio-0.7/libx11wrap.so
[icesik@nirvana icesik]$ 

Т.е. зависимость на себя самого у пакета...

> Так вот, мне интересно, откуда наш rpm берёт libx11prop.so и компанию? Они
> все лежат в /usr/lib/polypaudio-0.7/. При сборке используется
> %add_findprov_lib_path %_libdir/polypaudio-0.7/
>
> Чего ему не хватает? Без %add_findprov_lib_path тоже самое.

-- 
http://www.livejournal.com/users/icesik/7614.html
http://www.livejournal.com/users/icesik/7393.html
http://www.livejournal.com/users/icesik/7024.html

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

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

* [devel] Re: странность с зависимостями
  2005-11-26 22:24 ` Igor Zubkov
@ 2005-11-27 15:42   ` Michael Shigorin
  0 siblings, 0 replies; 3+ messages in thread
From: Michael Shigorin @ 2005-11-27 15:42 UTC (permalink / raw)
  To: ALT Devel discussion list

On Sun, Nov 27, 2005 at 12:24:37AM +0200, Igor Zubkov wrote:
> Т.е. зависимость на себя самого у пакета...

search.altlinux.ru "self requires"

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


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

end of thread, other threads:[~2005-11-27 15:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-26 20:52 [devel] странность с зависимостями Igor Zubkov
2005-11-26 22:24 ` Igor Zubkov
2005-11-27 15:42   ` [devel] " Michael Shigorin

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git