Hello community,
here is the log from the commit of package libinfinity for openSUSE:Factory
checked in at Tue May 26 00:45:19 CEST 2009.
--------
New Changes file:
--- /dev/null 2009-04-14 11:58:14.000000000 +0200
+++ /mounts/work_src_done/STABLE/libinfinity/libinfinity.changes 2009-05-07 14:31:07.000000000 +0200
@@ -0,0 +1,64 @@
+-------------------------------------------------------------------
+Thu May 7 14:28:24 CEST 2009 - vuntz@novell.com
+
+- Review packages.
+- Remove unneeded BuildRequires: gcc-c++, libsigc++2-devel,
+ pkg-config, gmp-devel, cairo-devel, libxml++-devel,
+ libuuid-devel.
+- Remove AutoReqProv: it's default now.
+- Update the Requires of the devel package.
+- Merge doc package with devel package.
+- Build with -fno-strict-aliasing: there's a warning requiring it.
+- Do not keep the versioned binary.
+- Do not ship the icons: they don't appear to be needed.
+
+-------------------------------------------------------------------
+Thu Apr 30 12:29:03 CET 2009 - opensuse@sukimashita.com
+
+- Update to 0.3.0:
+ * infinoted: Added the --certificate-chain command line option.
+ * Support rejecting a subscription on the client side, for example
+ when the client does not support the communication method.
+ * Made libinfinity parallel-installable with future versions.
+
+-------------------------------------------------------------------
+Sat Jan 10 12:00:00 CET 2009 - opensuse@sukimashita.com
+
+- Update to 0.2.0:
+ * infinoted records sessions to ~/.infinoted-records
+ * Added proper modification tracking, and an autosave feature for
+ infinoted.
+ * Implemented InfStandaloneIo on Windows, making infinoted run on
+ Windows
+ * Refactored connection manager, introducing InfCommunication API for
+ high-level network handling. This breaks protocol compatibility with
+ libinfinity 0.1.x.
+- Since 0.1.2:
+ * Fixed required dependencies in pkg-config files
+ * Improved error message when the remote host does not send XMPP
+ * Fixed a crash when compiling with -O2 or above
+ * Fixed a few memory leaks
+ * Fixed build with cairo 1.4 (#393)
+
+-------------------------------------------------------------------
+Thu Dec 04 12:00:00 CET 2008 - opensuse@sukimashita.com
+
+- Update to git version 20081204
+ * Implemented auto-saver feature for infinoted
+ * Install conf file to /etc/xdg to correctly recognize global configuration
+
+-------------------------------------------------------------------
+Sun Nov 09 12:00:00 CET 2008 - opensuse@sukimashita.com
+
+- Update to 0.1.1:
+ * Made libinfinity properly relocatable on Windows
+ * Fixed the documentation build when avahi is disabled
+ * Fixed a segfault when showing the file list
+ * Fixed pasting a lot amount of text
+ * Fixed connection to server with much history
+
+-------------------------------------------------------------------
+Thu Oct 23 12:00:00 CET 2008 - opensuse@sukimashita.com
+
+- Initial package created
+
calling whatdependson for head-i586
New:
----
infinoted-add-conf-subdir.patch
infinoted.conf
infinoted.init
infinoted.sysconfig
libinfinity-0.3.0.tar.bz2
libinfinity.changes
libinfinity.spec
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libinfinity.spec ++++++
#
# spec file for package libinfinity (Version 0.3.0)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: libinfinity
BuildRequires: fdupes
BuildRequires: gettext-devel
BuildRequires: glib2-devel
BuildRequires: gnutls-devel
BuildRequires: gtk-doc
BuildRequires: gtk2-devel
BuildRequires: libavahi-devel
BuildRequires: libgsasl-devel
BuildRequires: libxml2-devel
License: LGPL v2.1 or later
Group: Development/Libraries/GNOME
Version: 0.3.0
Release: 2
%define _version 0.3
Summary: Implementation of the Infinote collaborative editing protocol
Source0: %{name}-%{version}.tar.bz2
Source1: infinoted.init
Source2: infinoted.sysconfig
Source3: infinoted.conf
Patch0: infinoted-add-conf-subdir.patch
Url: http://gobby.0x539.de/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: %{name}-lang = %{version}
%description
libinfinity is an implementation of the Infinote protocol written in
GObject-based C. Infinote is a protocol for collaborative editing
multiple documents and is portable to both Windows and Unix-like
platforms.
Authors:
--------
Armin Burgmeier
%package -n libinfinity-1_0-0
License: LGPL v2.1 or later
Summary: Implementation of the Infinote collaborative editing protocol
Group: Development/Libraries/GNOME
%description -n libinfinity-1_0-0
libinfinity is an implementation of the Infinote protocol written in
GObject-based C. Infinote is a protocol for collaborative editing
multiple documents and is portable to both Windows and Unix-like
platforms.
Authors:
--------
Armin Burgmeier
%package devel
License: LGPL v2.1 or later
Summary: Implementation of the Infinote collaborative editing protocol
Group: Development/Libraries/GNOME
Requires: libinfinity-1_0-0 = %{version}
Requires: glib2-devel
Requires: gtk2-devel
Requires: libgnutls-devel
Requires: libgsasl-devel
Requires: libxml2-devel
%description devel
libinfinity is an implementation of the Infinote protocol written in
GObject-based C. Infinote is a protocol for collaborative editing
multiple documents and is portable to both Windows and Unix-like
platforms.
Authors:
--------
Armin Burgmeier
%package -n infinoted
License: LGPL v2.1 or later
Summary: Server for Collaborative Document Edition
Group: Development/Libraries/GNOME
Requires: libinfinity-1_0-0 = %{version}
%description -n infinoted
Infinoted is a server for collaborative edition of documents via the
Infinote protocol. It is typically used with Gobby as a client.
Authors:
--------
Armin Burgmeier
%lang_package
%prep
%setup -q
%patch -p1
%build
# -fno-strict-aliasing added 2009-05-07. Need for 0.3.0 -- vuntz
CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
%configure --disable-static --with-pic
make %{?jobs:-j%jobs}
%install
%makeinstall
%find_lang %{name}-%{_version}
find %{buildroot} -type f -name "*.la" -exec %{__rm} -fv {} +
# Create init.d files
install -D -m 0755 %{S:1} %{buildroot}%{_sysconfdir}/init.d/infinoted
install -d -m 0755 %{buildroot}%{_sbindir}
ln -s %{_sysconfdir}/init.d/infinoted %{buildroot}%{_sbindir}/rcinfinoted
# Create sysconfig data
install -D -m 0644 %{S:2} %{buildroot}/var/adm/fillup-templates/sysconfig.infinoted
install -d -m 0755 %{buildroot}/srv/infinoted
# Create infinoted default configuration
install -d -m 0755 %{buildroot}%{_sysconfdir}/xdg/infinoted
install -D -m 0644 %{S:3} %{buildroot}%{_sysconfdir}/xdg/infinoted/infinoted.conf
# Note: the infinoted binary is versioned, and we could use update-alternatives
# to provide it also non-versioned. However, the init.d, sysconfig and xdg
# config files are not versioned, and it will actually be bad for the user to
# have them versioned (potential loss of configuration, for example). So let's
# just unversion the binary.
mv %{buildroot}%{_bindir}/infinoted-%{_version} %{buildroot}%{_bindir}/infinoted
%fdupes $RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%post -n libinfinity-1_0-0 -p /sbin/ldconfig
%post -n infinoted
%{fillup_only -n infinoted}
%preun -n infinoted
%stop_on_removal infinoted
%postun -n libinfinity-1_0-0 -p /sbin/ldconfig
%postun -n infinoted
%restart_on_update infinoted
%insserv_cleanup
%files -n libinfinity-1_0-0
%defattr (-, root, root)
%doc AUTHORS COPYING ChangeLog NEWS README TODO
%{_libdir}/libinf*.so.*
# Only needed for the test applications, it seems
%exclude %{_datadir}/icons/hicolor/*/apps/infinote.*
%files devel
%defattr (-, root, root)
%{_includedir}/libinf*
%{_libdir}/libinf*.so
%{_libdir}/pkgconfig/libinf*.pc
%{_datadir}/gtk-doc/html/*
%files -n infinoted
%defattr (-, root, root)
%{_bindir}/infinoted
%{_libdir}/infinoted-%{_version}
# default configuration
%dir %{_sysconfdir}/xdg/infinoted
%config(noreplace) %{_sysconfdir}/xdg/infinoted/infinoted.conf
# init.d files
%{_sysconfdir}/init.d/infinoted
%{_sbindir}/rcinfinoted
# sysconfig data
%{_localstatedir}/adm/fillup-templates/sysconfig.infinoted
%dir /srv/infinoted
%files lang -f %{name}-%{_version}.lang
%changelog
* Thu May 07 2009 vuntz@novell.com
- Review packages.
- Remove unneeded BuildRequires: gcc-c++, libsigc++2-devel,
pkg-config, gmp-devel, cairo-devel, libxml++-devel,
libuuid-devel.
- Remove AutoReqProv: it's default now.
- Update the Requires of the devel package.
- Merge doc package with devel package.
- Build with -fno-strict-aliasing: there's a warning requiring it.
- Do not keep the versioned binary.
- Do not ship the icons: they don't appear to be needed.
* Thu Apr 30 2009 opensuse@sukimashita.com
- Update to 0.3.0:
* infinoted: Added the --certificate-chain command line option.
* Support rejecting a subscription on the client side, for example
when the client does not support the communication method.
* Made libinfinity parallel-installable with future versions.
* Sat Jan 10 2009 opensuse@sukimashita.com
- Update to 0.2.0:
* infinoted records sessions to ~/.infinoted-records
* Added proper modification tracking, and an autosave feature for
infinoted.
* Implemented InfStandaloneIo on Windows, making infinoted run on
Windows
* Refactored connection manager, introducing InfCommunication API for
high-level network handling. This breaks protocol compatibility with
libinfinity 0.1.x.
- Since 0.1.2:
* Fixed required dependencies in pkg-config files
* Improved error message when the remote host does not send XMPP
* Fixed a crash when compiling with -O2 or above
* Fixed a few memory leaks
* Fixed build with cairo 1.4 (#393)
* Thu Dec 04 2008 opensuse@sukimashita.com
- Update to git version 20081204
* Implemented auto-saver feature for infinoted
* Install conf file to /etc/xdg to correctly recognize global configuration
* Sun Nov 09 2008 opensuse@sukimashita.com
- Update to 0.1.1:
* Made libinfinity properly relocatable on Windows
* Fixed the documentation build when avahi is disabled
* Fixed a segfault when showing the file list
* Fixed pasting a lot amount of text
* Fixed connection to server with much history
* Thu Oct 23 2008 opensuse@sukimashita.com
- Initial package created
++++++ infinoted-add-conf-subdir.patch ++++++
--- libinfinity-git20081204.orig/infinoted/infinoted-startup.c 2008-12-04 15:30:47.000000000 +0100
+++ libinfinity-git20081204/infinoted/infinoted-startup.c 2008-12-04 18:12:58.000000000 +0100
@@ -309,7 +309,7 @@
for(i = 0; i < n_system_config_dirs; ++ i)
{
config_files[n_system_config_dirs - i - 1] =
- g_build_filename(system_config_dirs[i], "infinoted.conf", NULL);
+ g_build_filename(system_config_dirs[i], "infinoted", "infinoted.conf", NULL);
}
startup->options = infinoted_options_new(config_files, argc, argv, error);
++++++ infinoted.conf ++++++
[infinoted]
security-policy=require-tls
certificate-file=/etc/xdg/infinoted/cert.pem
key-file=/etc/xdg/infinoted/key.pem
++++++ infinoted.init ++++++
#! /bin/sh
### BEGIN INIT INFO
# Provides: infinoted
# Required-Start: $syslog $remote_fs
# Should-Start: $time ypbind sendmail
# Required-Stop: $syslog $remote_fs
# Should-Stop: $time ypbind sendmail
# Default-Start: 3 5
# Default-Stop: 0 1 2 6
# Description: Collaborative server implementation
# Short-Description: Infinote Daemon
### END INIT INFO
# Note on runlevels:
# 0 - halt/poweroff 6 - reboot
# 1 - single user 2 - multiuser without network exported
# 3 - multiuser w/ network (text mode) 5 - multiuser w/ network and X11 (xdm)
#
# Note on script names:
# http://www.linuxbase.org/spec/refspecs/LSB_1.2.0/gLSB/scrptnames.html
# A registry has been set up to manage the init script namespace.
# http://www.lanana.org/
# Please use the names already registered or register one or use a
# vendor prefix.
# Check for missing binaries (stale symlinks should not happen)
INFINOTED_BIN=/usr/bin/infinoted
test -x $INFINOTED_BIN || exit 5
# Check for existence of needed config file and read it
INFINOTED_CONFIG=/etc/sysconfig/infinoted
test -r $INFINOTED_CONFIG || exit 6
. $INFINOTED_CONFIG
# Source LSB init functions
# providing start_daemon, killproc, pidofproc,
# log_success_msg, log_failure_msg and log_warning_msg.
# This is currently not used by UnitedLinux based distributions and
# not needed for init scripts for UnitedLinux only. If it is used,
# the functions from rc.status should not be sourced or used.
#. /lib/lsb/init-functions
# Shell functions sourced from /etc/rc.status:
# rc_check check and set local and overall rc status
# rc_status check and set local and overall rc status
# rc_status -v be verbose in local rc status and clear it afterwards
# rc_status -v -r ditto and clear both the local and overall rc status
# rc_status -s display "skipped" and exit with status 3
# rc_status -u display "unused" and exit with status 3
# rc_failed set local and overall rc status to failed
# rc_failed <num> set local and overall rc status to <num>
# rc_reset clear both the local and overall rc status
# rc_exit exit appropriate to overall rc status
# rc_active checks whether a service is activated by symlinks
# rc_splash arg sets the boot splash screen to arg (if active)
. /etc/rc.status
# Reset status of this service
rc_reset
# Return values acc. to LSB for all commands but status:
# 0 - success
# 1 - generic or unspecified error
# 2 - invalid or excess argument(s)
# 3 - unimplemented feature (e.g. "reload")
# 4 - user had insufficient privileges
# 5 - program is not installed
# 6 - program is not configured
# 7 - program is not running
# 8--199 - reserved (8--99 LSB, 100--149 distrib, 150--199 appl)
#
# Note that starting an already running service, stopping
# or restarting a not-running service as well as the restart
# with force-reload (in case signaling is not supported) are
# considered a success.
case "$1" in
start)
echo -n "Starting infinote daemon "
## Start daemon with startproc(8). If this fails
## the return value is set appropriately by startproc.
startproc -q -e $INFINOTED_BIN $INFINOTED_OPTIONS
# Remember status and be verbose
rc_status -v
;;
stop)
echo -n "Shutting down infinote daemon "
## Stop daemon with killproc(8) and if this fails
## killproc sets the return value according to LSB.
killproc -TERM $INFINOTED_BIN
# Remember status and be verbose
rc_status -v
;;
try-restart)
## Do a restart only if the service was active before.
## Note: try-restart is not (yet) part of LSB (as of 1.2)
$0 status >/dev/null && $0 restart
# Remember status and be quiet
rc_status
;;
restart)
## Stop the service and regardless of whether it was
## running or not, start it again.
$0 stop
$0 start
# Remember status and be quiet
rc_status
;;
force-reload)
echo -n "Reload infinote daemon "
$0 stop && $0 start
#rc_status
;;
status)
echo -n "Checking for infinoted daemon "
## Check status with checkproc(8), if process is running
## checkproc will return with exit status 0.
# Return value is slightly different for the status command:
# 0 - service up and running
# 1 - service dead, but /var/run/ pid file exists
# 2 - service dead, but /var/lock/ lock file exists
# 3 - service not running (unused)
# 4 - service status unknown :-(
# 5--199 reserved (5--99 LSB, 100--149 distro, 150--199 appl.)
# NOTE: checkproc returns LSB compliant status values.
checkproc $INFINOTED_BIN
# NOTE: rc_status knows that we called this init script with
# "status" option and adapts its messages accordingly.
rc_status -v
;;
*)
echo "Usage: $0 {start|stop|status|try-restart|restart|force-reload}"
exit 1
;;
esac
rc_exit
++++++ infinoted.sysconfig ++++++
## Path: Network/Infinoted
## Description: Basic configuration for infinoted
## Type: string
## Default ""
#
INFINOTED_OPTIONS="-r /srv/infinoted --autosave-interval=600"
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org