First of all, the ChangeLog:
2007-04-05 Laszlo (Laca) Peter <laca at sun.com>
* SUNWgnome-meeting.spec: use separate spec files for opal, pwlib and
ekiga. Include SSE2 optimised variant on x86 systems.
* base-specs/ekiga.spec: move libsdl, pwlib and opal to their own
separate spec files
* base-specs/opal.spec: (new) opal - open phone abstraction library;
split from ekiga.spec
* base-specs/pwlib.spec: (new) pwlib base spec split from ekiga.spec
* patches/ekiga-01-pwlib-cxxflags.diff: rename to
pwlib-01-cxxflags.diff
* patches/ekiga-02-pwlib-name.diff: rename to pwlib-02-libname.diff
* patches/ekiga-03-pwlib-plugindir.diff: rename to
pwlib-03-plugindir.diff
* patches/ekiga-04-opal-name.diff: rename to opal-01-libname.diff
* patches/ekiga-06-menu-entry.diff: rename to ekiga-01-menu-entry.diff
* patches/ekiga-07-autogen.diff: rename to ekiga-02-autogen.diff
* patches/ekiga-10-pwlib-bz356696.diff: rename to
pwlib-04-private-operator.diff
* patches/ekiga-11-opal-jitter.diff: rename to opal-03-jitter.dif
* patches/ekiga-12-conststr.diff: rename to
ekiga-05-conststr.diff
* patches/ekiga-17-opal-rtp.diff: DELETE, unused.
* patches/ekiga-18-sunray-port-conflict.diff: rename to
ekiga-03-sunray-port-conflict.diff
* patches/ekiga-19-freeze-accessibility.diff: DELETE, unused.
* patches/ekiga-20-opal-break.diff: DELETE, unused
* patches/ekiga-21-ekiga-performance-tuning.diff: rename to
ekiga-04-performance-tuning.diff
* patches/ekiga-22-pwlib-performance-tuning.diff: rename to
pwlib-05-medialib.diff
* patches/ekiga-23-opal-illege-payloadtype.diff: rename to
opal-02-illegal-payloadtype.diff
Note that most of the above is the renaming of the patches so
that they follow the patch naming conventions and fixing some
typos in the file names. Also found 3 patches that were not
referenced in any of the spec files, see the ones marked DELETE
above.
The diffs are large and unreadable so I'm attaching the new
versions of the following spec files:
- SUNWgnome-meeting.spec
- ekiga.spec
- opal.spec
- pwlib.spec
Note that SUNWgnome-meeting now also uses the hard linked isaexec
trick for selecting the SSE2 variant if possible, so pkgbuild 1.2.0+
(JDS CBE 1.6.0 or later) is required for building it.
Laca
-------------- next part --------------
#
# spec file for package SUNWgnome-meeting
#
# includes module(s): pwlib, opal, ekiga
#
# Copyright 2007 Sun Microsystems, Inc.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Owner: davelam
#
# DO NOT REMOVE NEXT LINE
# PACKAGE NOT ARC REVIEWED BY SUN JDS TEAM
#
%include Solaris.inc
%if %arch_sse2
%include x86_sse2.inc
%define ekiga_libdir %{_prefix}/lib/ekiga/%sse2_arch
%use pwlib_sse2 = pwlib.spec
%use opal_sse2 = opal.spec
%define pwlib_opt
--with-pwlib-dir=%{_builddir}/SUNWgnome-meeting-%{default_pkg_version}/%sse2_arch/pwlib-%{pwlib.version}
%define opal_opt
--with-opal-dir=%{_builddir}/SUNWgnome-meeting-%{default_pkg_version}/%sse2_arch/opal-%{opal.version}
%use ekiga_sse2 = ekiga.spec
%endif
%include base.inc
%define ekiga_libdir %{_libdir}/ekiga
%use pwlib = pwlib.spec
%use opal = opal.spec
%define pwlib_opt
--with-pwlib-dir=%{_builddir}/SUNWgnome-meeting-%{default_pkg_version}/%base_arch/pwlib-%{pwlib.version}
%define opal_opt
--with-opal-dir=%{_builddir}/SUNWgnome-meeting-%{default_pkg_version}/%base_arch/opal-%{opal.version}
%use ekiga = ekiga.spec
Name: SUNWgnome-meeting
Summary: GNOME video conference application
Version: %{default_pkg_version}
SUNW_BaseDir: %{_basedir}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%include default-depend.inc
Requires: SUNWlibC
Requires: SUNWlxml
Requires: SUNWxwrtl
Requires: SUNWxwplt
Requires: SUNWlibms
Requires: SUNWlibmsr
Requires: SUNWgnome-base-libs
Requires: SUNWgnome-libs
Requires: SUNWgnome-component
Requires: SUNWgnutls
Requires: SUNWgnome-config
Requires: SUNWgnome-meeting-root
Requires: SUNWpostrun
Requires: SUNWevolution-data-server
Requires: SUNWgnome-audio
Requires: SUNWgnome-doc-utils
#Requires: SUNWdbus
BuildRequires: SUNWgnome-base-libs-devel
BuildRequires: SUNWgnome-config-devel
BuildRequires: SUNWgnome-doc-utils-devel
#BuildRequires: SUNWdbus-devel
BuildRequires: SUNWlxml-python
Requires: SUNWlibsdl
BuildRequires: SUNWlibsdl-devel
%package root
Summary: %{summary} - / filesystem
SUNW_BaseDir: /
%include default-depend.inc
Requires: SUNWpostrun-root
Requires: SUNWgnome-config
%if %build_l10n
%package l10n
Summary: %{summary} - l10n files
SUNW_BaseDir: %{_basedir}
%include default-depend.inc
Requires: %{name}
%endif
%prep
rm -rf %name-%version
mkdir %name-%version
%if %arch_sse2
mkdir %name-%version/%sse2_arch
%pwlib_sse2.prep -d %name-%version/%sse2_arch
%opal_sse2.prep -d %name-%version/%sse2_arch
%ekiga_sse2.prep -d %name-%version/%sse2_arch
%endif
mkdir %name-%version/%base_arch
%pwlib.prep -d %name-%version/%base_arch
%opal.prep -d %name-%version/%base_arch
%ekiga.prep -d %name-%version/%base_arch
%build
# to fix performace CR#6401342 on sparc
%ifarch sparc
export EXTRA_CXXFLAGS="-features=tmplife -xO5 -xlinkopt -xF=lcldata,gbldata
-Qoption postopt -dataredundancy=on,-tune:optimizer:data-alignment=4
-xbuiltin=%%all"%else
export EXTRA_CXXFLAGS="-features=tmplife -xbuiltin=%%all"
%endif
%if %arch_sse2
%pwlib_sse2.build -d %name-%version/%sse2_arch
export PWLIBDIR=`pwd`/%name-%version/%sse2_arch/pwlib-%{pwlib.version}
export EXTRA_LDFLAGS="-L$PWLIBDIR/lib"
%opal_sse2.build -d %name-%version/%sse2_arch
%ekiga_sse2.build -d %name-%version/%sse2_arch
%endif
export PWLIBDIR=`pwd`/%name-%version/%base_arch/pwlib-%{pwlib.version}
%pwlib.build -d %name-%version/%base_arch
%opal.build -d %name-%version/%base_arch
%ekiga.build -d %name-%version/%base_arch
%install
rm -rf $RPM_BUILD_ROOT
%if %arch_sse2
%pwlib_sse2.install -d %name-%version/%sse2_arch
%opal_sse2.install -d %name-%version/%sse2_arch
%ekiga_sse2.install -d %name-%version/%sse2_arch
rm -r $RPM_BUILD_ROOT%{_libdir}/%sse2_arch/bonobo
rmdir $RPM_BUILD_ROOT%{_libdir}/%sse2_arch
%endif
%pwlib.install -d %name-%version/%base_arch
%opal.install -d %name-%version/%base_arch
%ekiga.install -d %name-%version/%base_arch
%if %can_isaexec
mkdir $RPM_BUILD_ROOT%{_bindir}/%{base_isa}
mv $RPM_BUILD_ROOT%{_bindir}/ekiga $RPM_BUILD_ROOT%{_bindir}/%{base_isa}
cd $RPM_BUILD_ROOT%{_bindir}
ln -s ../lib/isaexec ekiga
%endif
%if %build_l10n
%else
# REMOVE l10n FILES
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale
rm -rf $RPM_BUILD_ROOT%{_datadir}/gnome/help/%{ekiga.name}/[a-z]*
rm -rf $RPM_BUILD_ROOT%{_datadir}/omf/%{ekiga.name}/%{ekiga.name}-[a-z]*.omf
%endif
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c
"%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date
+%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
%clean
rm -rf $RPM_BUILD_ROOT
%post
( echo 'test -x /usr/bin/update-desktop-database || exit 0';
echo '/usr/bin/update-desktop-database'
) | $BASEDIR/lib/postrun -b -u -c JDS_wait
( echo 'test -x /usr/bin/scrollkeeper-update || exit 0';
echo '/usr/bin/scrollkeeper-update'
) | $BASEDIR/lib/postrun -b -u -c JDS
%postun
test -x $BASEDIR/lib/postrun || exit 0
( echo 'test -x /usr/bin/update-desktop-database || exit 0';
echo '/usr/bin/update-desktop-database'
) | $BASEDIR/lib/postrun -b -u -c JDS
( echo 'test -x /usr/bin/scrollkeeper-update || exit 0';
echo '/usr/bin/scrollkeeper-update'
) | $BASEDIR/lib/postrun -b -u -c JDS
%post root
( echo 'test -x /usr/bin/gconftool-2 || {';
echo ' echo "ERROR: gconftool-2 not found"';
echo ' exit 0';
echo '}';
echo 'umask 0022';
echo 'GCONF_CONFIG_SOURCE=xml:merged:/etc/gconf/gconf.xml.defaults';
echo 'export GCONF_CONFIG_SOURCE';
echo '/usr/bin/gconftool-2 --makefile-install-rule
%{_sysconfdir}/gconf/schemas/*.schemas'
) | $BASEDIR/var/lib/postrun/postrun -u -c JDS_wait
%preun root
test -x $BASEDIR/var/lib/postrun/postrun || exit 0
( echo 'test -x $PKG_INSTALL_ROOT/usr/bin/gconftool-2 || {';
echo ' echo "WARNING: gconftool-2 not found; not uninstalling gconf
schemas"';
echo ' exit 0';
echo '}';
echo 'umask 0022';
echo 'GCONF_CONFIG_SOURCE=xml:merged:$BASEDIR/etc/gconf/gconf.xml.defaults';
echo 'GCONF_BACKEND_DIR=$PKG_INSTALL_ROOT/usr/lib/GConf/2';
echo 'LD_LIBRARY_PATH=$PKG_INSTALL_ROOT/usr/lib';
echo 'export GCONF_CONFIG_SOURCE GCONF_BACKEND_DIR LD_LIBRARY_PATH';
echo 'SDIR=$BASEDIR%{_sysconfdir}/gconf/schemas';
echo 'schemas="$SDIR/ekiga.schemas"';
echo '$PKG_INSTALL_ROOT/usr/bin/gconftool-2 --makefile-uninstall-rule
$schemas'
) | $BASEDIR/var/lib/postrun/postrun -i -c JDS -a
%files
%defattr (-, root, bin)
%dir %attr (0755, root, bin) %{_bindir}
%hard %{_bindir}/*
%dir %attr (0755, root, bin) %{_libdir}
%{_libdir}/%{ekiga.name}
%{_libdir}/bonobo
%dir %attr (0755, root, sys) %{_datadir}
%dir %attr (0755, root, other) %{_datadir}/applications
%{_datadir}/applications/*
%dir %attr (0755, root, other) %{_datadir}/pixmaps
%{_datadir}/pixmaps/*
%{_datadir}/sounds
%dir %attr (0755, root, other) %{_datadir}/gnome
%{_datadir}/gnome/help/%{ekiga.name}/C
%{_datadir}/omf/%{ekiga.name}/%{ekiga.name}-C.omf
%dir %attr(0755, root, bin) %{_mandir}
%dir %attr(0755, root, bin) %{_mandir}/*
%{_mandir}/*/*
%files root
%defattr (-, root, sys)
%dir %attr(0755, root, sys) %{_sysconfdir}
%{_sysconfdir}/gconf/schemas/ekiga.schemas
%if %build_l10n
%files l10n
%defattr (-, root, bin)
%dir %attr (0755, root, sys) %{_datadir}
%dir %attr (0755, root, other) %{_datadir}/gnome
%attr (-, root, other) %{_datadir}/locale
%{_datadir}/gnome/help/%{ekiga.name}/[a-z]*
%{_datadir}/omf/%{ekiga.name}/*-[a-z]*.omf
%endif
%changelog
* Thu Apr 5 2007 - laca at sun.com
- explode ekiga.spec into individual spec files for each component and
add SSE2 optimized versions
* Tue Mar 13 2007 - elaine.xiong at sun.com
- cancel part of last checking to make sure each env var change is solid and
worthful.
* Sun Mar 11 2007 - elaine.xiong at sun.com
- add some optimization options to get more optimized binary
* Mon Nov 20 2006 - dave.lin at sun.com
- add patch comment
* Thu Otc 26 2006 - dave.lin at sun.com
- Move patch ekiga-06-opal-jitter.diff, ekiga-07-conststr.diff from
spec-files/Solaris/patches to spec-files/patches, rename the patch
to solve the patch number conflict there(the new name are
ekiga-11-opal-jitter.diff, ekiga-12-conststr.diff)
* Thu Sep 07 2006 - damien.carbery at sun.com
- Remove upstream patch, ekiga-08-pwlib-audiodev.diff.
* Mon Aug 28 2006 - dave.lin at sun.com
- add patch ekiga-08-pwlib-audiodev.diff to fix the bug CR#6462870
* Fri Jul 14 2006 - laca at sun.com
- update %post/%postun/etc scripts to support diskless client setup,
part of 6448317
* Mon Jul 10 2006 - dave.lin at sun.com
- change to use Ekiga 2.0.2 release
- add patch ekiga-08-pwlib-audiodev.diff to get Ekiga worked on SunRay
* Thu Jun 29 2006 - laca at sun.com
- update postrun scripts
* Fri Jun 16 2006 - dave.lin at sun.com
- fix the libraries missed problem
* Sun Jun 11 2006 - laca at sun.com
- change group from other to bin/sys
* Mon Jun 01 2006 - dave.lin at sun.com
- add BuildRequires SUNWlxml-python
- comment out Build/Requires SUNWdbus,SUNWdbus-devel since dbus's removed from
the build temporarily.
* Sat Jun 3 2006 - laca at sun.com
- use post/preun scripts to install schemas into the merged gconf files
* Fri Jun 02 2006 - damien.carbery at sun.com
- Add Build/Requires SUNWgnome-doc-utils/-devel otherwise build fails.
* Fri May 26 2006 - dave.lin at sun.com
- add "-features=tmplife" in CXXFLAGS to fix hang problem
* Mon May 15 2006 - dave.lin at sun.com
- add patch ekiga-05-pwlib-jitter.diff, ekiga-06-opal-jitter.diff
to fix CR#6416969, add patch ekiga-07-conststr.diff to
fix bug CR#6401342 on i386, and to fix this bug on sparc, add options in
CFLAGS, CXXFLAGS
* Fri Apr 14 2006 - dave.lin at sun.com
- delete SUNW_Category tag to use the general one
- change all reference of "gnomemeeting" to "ekiga"
* Fri Mar 31 2006 - dave.lin at sun.com
- initial version created
-------------- next part --------------
#
# spec file for package ekiga
#
# Copyright 2007 Sun Microsystems, Inc.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Owner: davelam
#
%include l10n.inc
Name: ekiga
License: GPL
Group: X11/GNOME/Applications
Version: 2.0.7
Release: 1
Vendor: Sun Microsystems, Inc.
Distribution: Java Desktop System
Summary: A GNOME based H.323/SIP video conferencing application
Source:
http://ftp.gnome.org/pub/GNOME/sources/ekiga/2.0/ekiga-%{version}.tar.bz2
Source2: %{name}-po-sun-%{po_sun_version}.tar.bz2
# owner:gman date:2006-06-02 type:branding
# change the menu entry according to the UI spec
Patch1: ekiga-01-menu-entry.diff
# owner:davelam date:2006-07-10 type:branding
# add autogen.sh to use autogen
Patch2: ekiga-02-autogen.diff
# owner:hawklu date:2006-11-27 type:bug bugster:6492117
Patch3: ekiga-03-sunray-port-conflict.diff
# owner:elainexiong date:2007-03-11 type:bug
# please upstream this!
Patch4: ekiga-04-performance-tuning.diff
# owner:hawklu date:2006-05-15 type:bug
# bugster:6401342
# this patch just can fix the bug on x86,
# need to change CFLAGS, CXXFLAGS settings
# to fix the bug on sparc
Patch5: ekiga-05-conststr.diff
URL: http://www.ekiga.org
BuildRoot: %{_tmppath}/%{name}-root
Docdir: %{_docdir}/%{name}
Autoreqprov: on
# The following version definitions probably are out of date, need update
%define GConf_version 2.4.0.1
%define gtk2_version 2.3.1
%define openldap2_devel_version 2.1.4
%define intltool_version 0.27
%define libgnomeui_version 2.4.0.1
%define des_version 4.04
%define heimdal_version 0.4
%define cyrus_sasl_version 1.5.27
%define openssl_version 0.9.6
%define flex_version 2.5.4
%define slang_version 1.4.5
%define pam_version 0.76
%define db_version 4.0.14
%define gdbm_version 1.8.0
%define howl_version 1.0.0
Requires: pwlib >= %{pwlib_version}
Requires: opal >= %{opal_version}
Requires: GConf >= %{GConf_version}
Requires: libgnomeui >= %{libgnomeui_version}
Requires: howl >= %{howl_version}
Requires: evolution-data-server
BuildRequires: gtk2-devel >= %{gtk2_version}
BuildRequires: GConf-devel >= %{GConf_version}
BuildRequires: openh323-devel >= %{openh323_version}
BuildRequires: pwlib-devel >= %{pwlib_version}
BuildRequires: intltool >= %{intltool_version}
BuildRequires: libgnomeui-devel >= %{libgnomeui_version}
BuildRequires: des >= %{des_version}
BuildRequires: heimdal-devel >= %{heimdal_version}
BuildRequires: cyrus-sasl-devel >= %{cyrus_sasl_version}
BuildRequires: openssl-devel >= %{openssl_version}
BuildRequires: openldap2-devel >= %{openldap2_devel_version}
BuildRequires: flex >= %{flex_version}
BuildRequires: slang-devel >= %{slang_version}
BuildRequires: pam-devel >= %{pam_version}
BuildRequires: db-devel >= %{db_version}
BuildRequires: gdbm-devel >= %{gdbm_version}
BuildRequires: howl-devel >= %{howl_version}
BuildRequires: evolution-data-server-devel
Prereq: GConf
%description
Ekiga is a free Voice over IP phone allowing you to do free calls over
the Internet. Ekiga is the first Open Source application to support
both H.323 and SIP, as well as audio and video. Ekiga was formerly known
as GnomeMeeting.
%prep
%setup -q -n %{name}-%{version}
%if %build_l10n
bzcat %SOURCE2 | tar xf -
cd po-sun; make; cd ..
%endif
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%ifarch i386
%patch5 -p1
%endif
%build
%ifos linux
if [ -x /usr/bin/getconf ]; then
CPUS=`getconf _NPROCESSORS_ONLN`
fi
%else
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
%endif
if test "x$CPUS" = "x" -o $CPUS = 0; then
CPUS=1
fi
export CFLAGS="%optflags"
export CXXFLAGS="%cxx_optflags"
export LDFLAGS="%_ldflags"
%{?ekiga_libdir:export LDFLAGS="$LDFLAGS -L%{ekiga_libdir} -R%{ekiga_libdir}"}
chmod +x autogen.sh
./autogen.sh --prefix=%{_prefix} \
--libdir=%{?ekiga_libdir}%{?!ekiga_libdir:%{_libdir}} \
--bindir=%{_bindir} \
--datadir=%{_datadir} \
--includedir=%{_includedir} \
--mandir=%{_mandir} \
--sysconfdir=%{_sysconfdir} \
%{?pwlib_opt} %{?opal_opt} \
--disable-avahi \
--disable-scrollkeeper
make LIBS=-lX11
%install
GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
make install DESTDIR=$RPM_BUILD_ROOT
rm -f $RPM_BUILD_ROOT%{_bindir}/*config*
rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/lib*a
rm -rf $RPM_BUILD_ROOT%{_includedir}
mkdir -p $RPM_BUILD_ROOT%{_libdir}
mv $RPM_BUILD_ROOT%{ekiga_libdir}/bonobo $RPM_BUILD_ROOT%{_libdir}
%clean
rm -rf $RPM_BUILD_ROOT
%post
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
SCHEMAS="ekiga.schemas"
for S in $SCHEMAS; do
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S
>/dev/null
done
%files
%defattr(-,root,root)
%doc FAQ AUTHORS NEWS
%dir %{_datadir}/ekiga/xdap
%dir %{_datadir}/sounds/ekiga
#%{_datadir}/man/man1/ekiga.1.gz
%{_bindir}/ekiga*
%{_datadir}/locale/*/LC_MESSAGES/ekiga.mo
%{_datadir}/applications/ekiga.desktop
%{_datadir}/sounds/ekiga/*
%{_datadir}/pixmaps/ekiga*
%{_libdir}/bonobo/servers/ekiga.server
%{_datadir}/ekiga/xdap/*
%{_sysconfdir}/gconf/schemas/ekiga.schemas
%{_datadir}/gnome/*
%{_datadir}/omf/*
%{_mandir}/man1/*
%changelog
* Thu Apr 5 2007 - laca at sun.com
- move libsdl, pwlib and opal to their own separate spec files
* Fri Mar 23 2007 - elaine.xiong at sun.com
- Add patch ekiga-23-opal-illege-payloadtype.diff to fix bugster6537448
already upstream. Refer to
http://openh323.cvs.sourceforge.net/openh323/opal/src/h323/h323.cxx?r1=2.143&r2=2.144
* Mon Mar 20 2007 - damien.carbery at sun.com
- Point at ftp.gnome.org for ekiga bz2 tarball. ekiga.org only has gz tarball.
* Mon Mar 12 2007 - damien.carbery at sun.com
- Bump to 2.0.7; bump pwlib to 1.10.5 & bump opal to 2.2.6. Remove upstream
patch, 21-pwlib-v4l2-enable, renumber remainder.
* Sun Mar 11 2007 - elaine.xiong at sun.com
- Add patch ekiga-22-ekiga-performance-tuning.diff
ekiga-23-pwlib-performance-tuning.diff
Both of them for ekiga performance tuning with video support.
Will upstream them or part of them to community if tuning is done.
* Wed Feb 14 2007 - elaine.xiong at sun.com
- Add patch ekiga-21-pwlib-enable-v4l2.diff to fix bugzilla407820
Meantime enable V4L2 plugin in ekiga.spec
* Wed Feb 14 2007 - damien.carbery at sun.com
- Bump to 2.0.5; bump pwlib to 1.10.4 & bump opal to 2.2.5.
* Tue Feb 13 2007 - takao.fujiwara at sun.com
- Add l10n tarball.
* Mon Jan 29 2007 - elaine.xiong at sun.com
- Cancel parallel job option for ekiga(including sdl, pwlib, opal) build.
To temporily solve the potential problems caused by parallel.
Will be fixed ASAP.
* Sat Jan 27 2007 - elaine.xiong at sun.com
- Bump ekiga to 2.0.4 shrink patches and spec file for build failure
* Wed Jan 24 2007 - damien.carbery at sun.com
- Bump pwlib to 1.10.3, opal to 2.2.4. Remove upstream patches,
08-pwlib-disconnect, 09-pwlib-unset-port, 13-opal-bz356696,
15-opal-invalidarrayindex, 16-pwlib-video. Add patch 20-opal-break to fix
build error (sourceforge: 1643652).
* Mon Jan 22 2007 - damien.carbery at sun.com
- Bump to 2.0.4.
* Thu Jan 04 2007 - elaine.xiong at sun.com
- Add patch ekiga-19-freeze-accessibility.diff. Workes around bugzilla 329454.
* Thu Dec 28 2006 - dave.lin at sun.com
- change the patch type to branding for some patches in patch comments
* Wed Nov 29 2006 - damien.carbery at sun.com
- Fix typo in name of patch 18: s/18-opal-sunray/18-sunray/
* Mon Nov 27 2006 - brian.lu at sun.com
- Add patch ekiga-18-sunray-port-conflict.diff. Fixes bugzilla 367516.
* Mon Nov 20 2006 - davelin at sun.com
- Add patch comment
* Thu Nov 02 2006 - davelin at sun.com
- Bump version to 2.0.3
- Sync patches those have been upstreamed in ekiga community trunk
- ekiga-10-pwlib-bz356696.diff, ekiga-13-opal-bz356696.diff(better fix
for bugzilla356696)
- ekiga-15-opal-invalidarrayindex.diff(bugzilla367482)
- ekiga-16-pwlib-video.diff(bugzilla367516)
- ekiga-17-opal-rtp.diff(CR#6483823, CR#6483831, which caused revert to
2.0.2 in b52b)
* Wed Oct 25 2006 - davelin at sun.com
- Roll back to the previous version 2.0.2 since following critical bug
was found in 2.0.3 CR#6483823(and another P2 bug CR#6483831)
* Tue Oct 17 2006 - dave.lin at sun.com
- Bump version to 2.0.3
- Add patch ekiga-pwlib-09-unset-port.diff to fix bug CR#6476679
- Add patch ekiga-10-pwlib-bz356696.diff to fix bug gnome bugzilla #356696
* Mon Oct 09 2006 - dave.lin at sun.com
- Add patch ekiga-08-pwlib-disconnect-crash.diff to fix bug CR#6470530
* Fri Sep 15 2006 - dermot.mccluskey at sun.com
- Fixed erroneous comments in %defines
* Wed Sep 06 2006 - damien.carbery at sun.com
- Bump pwlib to 1.10.2, opal to 2.2.3.
* Mon Sep 04 2006 - damien.carbery at sun.com
- Bump to 2.0.3.
* Mon Sep 04 2006 - damien.carbery at sun.com
- Bump libsdl to 1.2.11.
* Tue Aug 08 2006 - damien.carbery at sun.com
- Change 'cd dir*' to use '%{version}'.
* Mon Jul 10 2006 - dave.lin at sun.com
- change to use Ekiga 2.0.2 release
* Fri Jun 16 2006 - dave.lin at sun.com
- add GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 to make sure not
install the directory based %gconf.xml files based on the
instruction in gconf.txt
* Wed Jun 07 2006 - damien.carbery at sun.com
- chdir into ekiga dir before applying ekiga patches.
* Fri Jun 02 2006 - glynn.foster at sun.com
- Add patch for change the menu entry according to the UI spec.
* Mon May 15 2006 - dave.lin at sun.com
- Add patch ekiga-08-multi-decla.diff to fix multiple declaration
error.
* Fri Apr 14 2006 - <dave.lin at sun.com>
- Initial release for ekiga
-------------- next part --------------
#
# spec file for package opal
#
# Copyright 2007 Sun Microsystems, Inc.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Owner: davelam
#
Name: opal
License: MPL
Group: System/Libraries
Version: 2.2.6
Release: 1
Distribution: Java Desktop System
Vendor: Sun Microsystems, Inc.
Summary: OPAL - Open Phone Abstraction Library
Source:
http://www.ekiga.org/admin/downloads/latest/sources/sources/opal-%{version}.tar.gz
# owner:davelam date:2006-04-14 type:branding
# change library naming rule to fit unix style
Patch1: opal-01-libname.diff
# owner:elainexiong date:2007-03-23 type:bugster:6537448
Patch2: opal-02-illegal-payloadtype.diff
# owner:hawklu date:2006-05-15 type:bug
# bugster:6416969
Patch3: opal-03-jitter.diff
URL: http://www.ekiga.org
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Docdir: %{_defaultdocdir}/%{name}
Autoreqprov: on
Requires: speex
Requires: pwlib
%description
OPAL is an Open Source class library for the development of
applications that use SIP / H.323 protocols for multimedia
communications over packet based networks.
%package devel
Summary: Headers for developing programs that will use opal
Group: Development/Libraries
Requires: %{name}
%description devel
This package contains the headers that programmers will need to develop
applications which will use opal.
%prep
%setup -q -n %{name}-%{version}
%patch1 -p1
%patch2 -p1
%patch3 -p1
%build
%ifos linux
if [ -x /usr/bin/getconf ]; then
CPUS=`getconf _NPROCESSORS_ONLN`
fi
%else
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
%endif
if test "x$CPUS" = "x" -o $CPUS = 0; then
CPUS=1
fi
export CFLAGS="%optflags"
export LDFLAGS="%_ldflags"
%{?ekiga_libdir:export LDFLAGS="$LDFLAGS -L%{ekiga_libdir} -R%{ekiga_libdir}"}
./configure \
--prefix=%{_prefix} \
--libdir=%{?ekiga_libdir}%{?!ekiga_libdir:%{_libdir}} \
--bindir=%{_bindir} \
--sysconfdir=%{_sysconfdir} \
--mandir=%{_mandir}
make -j $CPUS
%install
make install DESTDIR=$RPM_BUILD_ROOT
rm -r $RPM_BUILD_ROOT%{_datadir}/opal
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr (-, root, root)
%{ekiga_libdir}/*.so.*
%files devel
%defattr(-, root, root)
%{ekiga_libdir}/*.so
%changelog
* Thu Apr 5 2007 - laca at sun.com
- Create
-------------- next part --------------
#
# spec file for package pwlib
#
# Copyright 2007 Sun Microsystems, Inc.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Owner: davelam
#
Name: pwlib
License: MPL
Group: System/Libraries
Version: 1.10.5
Release: 1
Distribution: Java Desktop System
Vendor: Sun Microsystems, Inc.
Summary: PWLib Class Library
Source:
http://www.ekiga.org/admin/downloads/latest/sources/sources/pwlib-%{version}.tar.gz
# owner:davelam date:2006-04-14 type:branding
# use cxxflags to fix build problem
Patch1: pwlib-01-cxxflags.diff
# owner:davelam date:2006-04-14 type:branding
# change library naming rule to fit unix style
Patch2: pwlib-02-libname.diff
# owner:davelam date:2006-04-14 type:branding
# change pwlib plugin install dir
Patch3: pwlib-03-plugindir.diff
# owner:hawklu date:2006-10-17 type:bug bugzilla:356696
Patch4: pwlib-04-private-operator.diff
# owner:elainexiong date:2007-03-11 type:feature
# please upstream this!
Patch5: pwlib-05-medialib.diff
URL: http://www.ekiga.org
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Docdir: %{_defaultdocdir}/%{name}
Autoreqprov: on
%description
PWLib is a moderately large class library that was created many years
ago as a method to produce applications that run on both Microsoft
Windows and the X Window System.
%package devel
Summary: Headers for developing programs that will use pwlib
Group: Development/Libraries
Requires: %{name}
%description devel
This package contains the headers that programmers will need to develop
applications which will use pwlib.
%prep
%setup -q -n %{name}-%{version}
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
# symlink the make dir to bin so that ptlib-config is found by ekiga
ln -s make bin
%build
%ifos linux
if [ -x /usr/bin/getconf ]; then
CPUS=`getconf _NPROCESSORS_ONLN`
fi
%else
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
%endif
if test "x$CPUS" = "x" -o $CPUS = 0; then
CPUS=1
fi
cd plugins
autoconf
cd ..
autoconf
# unix.mak adds this to a STDCCFLAGS, which is also used for C++ builds
export RPM_OPT_FLAGS=""
export CFLAGS="%optflags"
export CXXFLAGS="%cxx_optflags"
export LDFLAGS="%_ldflags"
./configure \
--prefix=%{_prefix} \
--libdir=%{?ekiga_libdir}%{?!ekiga_libdir:%{_libdir}} \
--bindir=%{_bindir} \
--sysconfdir=%{_sysconfdir} \
--mandir=%{_mandir} \
--enable-plugins \
--enable-resolver \
--enable-opal \
--enable-sunaudio \
--enable-v4l2
make -j $CPUS
%install
make install DESTDIR=$RPM_BUILD_ROOT
# need the -f to remove write protected file
rm -rf $RPM_BUILD_ROOT%{_datadir}/pwlib
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr (-, root, root)
%{ekiga_libdir}/*.so.*
%files devel
%defattr(-, root, root)
%{ekiga_libdir}/*.so
%changelog
* Thu Apr 5 2007 - laca at sun.com
- Create