On Sep 8, 2008, at 1:54 AM, Alfred Peng wrote:
>
> --- firefox/toolkit/mozapps/installer/packager.mk.ori 2007-12-26
> 16:21:34.738674000 +0800
> +++ firefox/toolkit/mozapps/installer/packager.mk 2007-12-26
> 15:57:42.839901000 +0800
> @@ -211,6 +211,16 @@
> endif # !CROSS_COMPILE
>
> NO_PKG_FILES += \
> + libnspr4.so \
> + libplc4.so \
> + libplds4.so \
> + libnss3.so \
> + libsmime3.so \
> + libsoftokn3.chk \
> + libsoftokn3.so \
> + libssl3.so \
> + libnssckbi.so \
> + cpu/sparcv8plus/libnspr_flt4.so \
> core \
> bsdecho \
> gtscc \
I think your list is not complete. libfreebl* is missed.
>
> Index: core/SUNWsongbird.spec
> ===================================================================
> --- core/SUNWsongbird.spec (revision 317)
> +++ core/SUNWsongbird.spec (working copy)
[snip]
>
> +# Don't deliver nss, nspr libraries on OpenSolaris
> +rm -rf $RPM_BUILD_ROOT%{_libdir}/songbird-%version/xulrunner/
> libfreebl3*
> +rm -rf $RPM_BUILD_ROOT%{_libdir}/songbird-%version/xulrunner/libnss*
> +rm -rf $RPM_BUILD_ROOT%{_libdir}/songbird-%version/xulrunner/libnspr*
> +rm -rf $RPM_BUILD_ROOT%{_libdir}/songbird-%version/xulrunner/libpl*
> +rm -rf $RPM_BUILD_ROOT%{_libdir}/songbird-%version/xulrunner/libs*
> +
On SPARC, it doesn't have libfreebl3* but libfreebl_32*.
If you're using Firefox nss, nspr, why you need to build them for
Xulrunner/Songbird?
I don't think build and delete is a good thing.
Also you don't have "+%if %without_moz_nss_nspr" here.
Ginn
--------
Ginn Chen
Software Engineer, Browser Team
Sun Microsystems, Inc.
Phone: x82869 / +86-10-62673869
Fax: +86-10-62780969