x264-devel has minor problem (Re: vlc-1.1.5 ask for x264-devel, ffmpeg updated, and spawn.h

Makoto Fujiwara <[email protected]>
Newsgroups gmane.os.netbsd.devel.pkgsrc.wip.general
Message-ID <yfmei8m2o18.wl%[email protected]>
I found minor problem on wip/x264-devel I have imported.
The shared library name is neither correctly named nor linked.

After x264-devel-20100201 installed:
(Bad)
| u4@makoto 22:28:38/110109(..wip/x264-devel)% ls -l /usr/pkg/lib/libx264*                                     
| -rw-r--r--  1 root  wheel  521644 Jan  9 12:52 /usr/pkg/lib/libx264.a
| -rw-r--r--  1 root  wheel     991 Jan  9 12:52 /usr/pkg/lib/libx264.la
| lrwxr-xr-x  1 root  wheel      16 Jan  9 12:52 /usr/pkg/lib/libx264.so -> libx264.so.0.0.0
| lrwxr-xr-x  1 root  wheel      16 Jan  9 12:52 /usr/pkg/lib/libx264.so.0 -> libx264.so.0.0.0
| -rwxr-xr-x  1 root  wheel  466414 Jan  9 12:52 /usr/pkg/lib/libx264.so.0.0.0

(Should be)
| u4@makoto 22:28:38/110109(..wip/x264-devel)% ls -l /usr/pkg/lib/libx264*                                     
| -rw-r--r--  1 root  wheel  521644 Jan  9 12:52 /usr/pkg/lib/libx264.a
| -rw-r--r--  1 root  wheel     991 Jan  9 12:52 /usr/pkg/lib/libx264.la
| lrwxr-xr-x  1 root  wheel      16 Jan  9 12:52 /usr/pkg/lib/libx264.so -> libx264.so.84
| -rwxr-xr-x  1 root  wheel  466414 Jan  9 12:52 /usr/pkg/lib/libx264.so.84

(or something like above)

Even with (Bad) combination, ffmpeg and vlc be built/work OK. But if upgrading
x264-devel to another revision, inconsistency will arise. And may get 
  ERROR: libx264 not found

Currently the statement 
  SONAME=libx264.so.84
in file 'config.mak' may not be correctly referenced.
I will try to fix this problem. (Or anyone can..)

Thanks for reading,
---
Makoto Fujiwara

------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.