openoffice.org-voikko broken in F7 and F8, please review some changes
by Ville-Pekka Vainio
Hi all,
I noticed my package openoffice.org-voikko being broken in F7 and F8 after it
had already been pushed to the stable updates, so now there's a broken
package in these releases and I'd like to fix it ASAP. In the future, I'll
definitely try to be more thorough with testing my packages.
There are two problems with this package:
1) It tries to install an .oxt extension unzipped (an .oxt file is basically a
library and some XML files in a zip). However, apparently unzipped extensions
only work in Rawhide, so in F7 and F8 I need to install the .oxt file as
such.
Is it ok to install the .oxt file into %{_libdir}/%{name}
(/usr/lib/openoffice.org-voikko) even though it's not actually a library as
such, but there is a library inside the file? Any better locations?
2) /usr/lib/openoffice.org/program/unopkg creates files into the user's home
directory when it's being used. This creates problems if the package is
installed with sudo and the user invoking sudo is currently running OO.o, the
extension won't be installed into OO.o even though the files get copied onto
the filesystem.
And even if the user is not running OO.o while installing the package with
sudo, unopkg apparently creates root owned files in the user's home
directory. There's a following workaround in the Debian package:
TMP_HOME="$(mktemp -t -d $PACKAGE_NAME.XXXXXX)" || exit 1
export HOME="$TMP_HOME"
<run unopkg here>
rm -rf "$TMP_HOME"
Running the rm -rf is a bit ugly, but what do you think, is it ok or too
risky? I've tested it on my own systems, it appears to not cause any
problems. If I don't do this, installing openoffice.org-voikko with sudo may
cause problems to the user. I'd like to get an 'ok' from at least one other
packager before doing this, though.
Here's the spec file so you can see the whole situation, it still echoes the
dir it's about to remove, just for safety reasons while testing:
Name: openoffice.org-voikko
Version: 2.1
Release: 2%{?dist}
Summary: Finnish spellchecker and hyphenator extension for
OpenOffice.org
Group: Applications/Productivity
License: GPLv2+
URL: http://voikko.sourceforge.net/
Source0:
http://downloads.sourceforge.net/voikko/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: openoffice.org-sdk >= 2.0.4 libvoikko-devel >= 1.5
Requires(pre): openoffice.org-core
Requires(post): openoffice.org-core
Requires(preun): openoffice.org-core
Requires(postun): openoffice.org-core
Requires: openoffice.org-core >= 2.0.4 libvoikko >= 1.5
%define oo2_sdk %{_libdir}/openoffice.org/sdk
%define oo2 %{_libdir}/openoffice.org
%define unopkg %{oo2}/program/unopkg
%define voikkodir %{_libdir}/%{name}
%define voikkoext %{_libdir}/%{name}/voikko.oxt
# Can't make debug package as long as we need to install the .oxt file
%define debug_package %{nil}
%description
This package contains a Finnish spell-checking and hyphenation component for
OpenOffice.org. The actual spell-checking and hyphenation functionality is
provided by the Voikko library.
%prep
%setup -q
%build
. %{oo2_sdk}/setsdkenv_unix.sh
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
cd build
voikkoPackage=$(pwd)/voikko.oxt;
# OOo extension
install -d -m 755 $RPM_BUILD_ROOT%{voikkodir}
install -p -m 644 "$voikkoPackage" $RPM_BUILD_ROOT%{voikkodir}
# The TMP_HOME trick is taken from the Debian scripts by Teemu Likonen:
# Registering program 'unopkg' writes things to $HOME/.openoffice* directory
# (even with the '--shared' option). We must set $HOME to some temporary
# directory so that these (root owned) files don't get written to the regular
# user's HOME in case he/she runs this with sudo.
%pre
if [ $1 -gt 1 ]; then
# Upgrade => deregister old extension
TMP_HOME="$(mktemp -t -d $PACKAGE_NAME.XXXXXX)" || exit 1
export HOME="$TMP_HOME"
echo pre home $HOME
%{unopkg} remove --shared
org.puimula.ooovoikko -env:JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBILITY=1 || :
rm -rf "$TMP_HOME"
fi
%post
# register extension
TMP_HOME="$(mktemp -t -d $PACKAGE_NAME.XXXXXX)" || exit 1
export HOME="$TMP_HOME"
echo post home $HOME
%{unopkg}
add --shared %{voikkoext} -env:JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBILITY=1 || :
rm -rf "$TMP_HOME"
%preun
if [ $1 -eq 0 ]; then
# not upgrading => deregister
TMP_HOME="$(mktemp -t -d $PACKAGE_NAME.XXXXXX)" || exit 1
export HOME="$TMP_HOME"
echo preun home $HOME
%{unopkg} remove --shared
org.puimula.ooovoikko -env:JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBILITY=1 || :
rm -rf "$TMP_HOME"
fi
%postun
# clear disk cache
TMP_HOME="$(mktemp -t -d $PACKAGE_NAME.XXXXXX)" || exit 1
export HOME="$TMP_HOME"
echo postun home $HOME
%{unopkg} list --shared -env:JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBILITY=1
> /dev/null 2>&1 || :
rm -rf "$TMP_HOME"
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%{voikkodir}
%doc ChangeLog COPYING README
%changelog
<snip>
--
Ville-Pekka Vainio
16 years, 3 months
Orphaning aget
by Rahul Sundaram
Hi
I am orphaning aget now. Aget is a download accelerator similar to wget
but it sometimes crashes, requires a patch merely to compile and
upstream has been dead for a while and does not respond to mails. I have
been delaying it since I have been using it regularly but alternatives
like aria2 are probably better. The final nail in the coffin is failure
in rebuilding it against the new GCC 4.3 in PPC64. For anyone who cares,
http://koji.fedoraproject.org/koji/taskinfo?taskID=405807
Rahul
16 years, 3 months
Heads-Up! (ots 0.5.0, API/ABI Changes)
by Peter Gordon
Hi, all.
I just pushed ots 0.5.0-1 through Koji for Devel and it should hit
tomorrow's Rawhide push.
This new version bumps the library soname (libots-1.so.0.4.2 -->
libots-1.so.0.5.0), so anything that uses it will need to be rebuilt.
Also, please note that there are some changes within its public API. In
addition to some new functions which have been added since 0.4.2, the
following functions have changed their parameter from (const char*) to
(unsigned const char*); and a type-cast should probably be sufficient
fix for any errors caused therefrom:
* ots_append_word
* ots_add_wordstat
* ots_load_xml_dictionary
* ots_stem_strip
* ots_stem_format
According to repoquery, the only package in Fedora which depends on ots
is AbiWord. I've submitted bug 432147 which contains a fix as noted to
build against the new ots.
Please don't hesitate to poke me incessantly with any
questions/comments/concerns/etc.
--
Peter Gordon (codergeek42)
GnuPG Public Key ID: 0xFFC19479 / Fingerprint:
DD68 A414 56BD 6368 D957 9666 4268 CB7A FFC1 9479
16 years, 3 months
Taking ownership of rkhunter
by Devrim GÜNDÜZ
Hi,
I'd like to maintain rkhunter for Fedora and EPEL. It is currently
orphaned, and there is no activity for this package since Fedora 6.
Should I work on spec & patches, and submit it for building; or do we
need a review process for this package?
Regards,
--
Devrim GÜNDÜZ , RHCE
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
Managed Services, Shared and Dedicated Hosting
Co-Authors: plPHP, ODBCng - http://www.commandprompt.com/
16 years, 3 months
rawhide report: 20080208 changes
by Build System
Updated Packages:
(none)
Broken deps for i386
----------------------------------------------------------
1:anjuta-2.2.0-4.fc9.i386 requires libgbf-widgets-1.so.0
1:anjuta-2.2.0-4.fc9.i386 requires libgbf-1.so.0
bmpx-0.40.13-7.fc9.i386 requires libsoup-2.2.so.8
buoh-0.8.2-2.fc7.i386 requires libsoup-2.2.so.8
claws-mail-plugins-3.2.0-1.fc9.i386 requires claws-mail-plugins-clamav
compiz-kde-0.6.2-6.fc9.i386 requires libkdecorations.so.1
drivel-2.1.1-0.3.20071130svn.fc9.i386 requires libsoup-2.2.so.8
epiphany-extensions-2.20.1-3.fc9.i386 requires libgtkembedmoz.so
epiphany-extensions-2.20.1-3.fc9.i386 requires gecko-libs = 0:1.8.1.10
evolution-brutus-1.1.28.7-2.fc8.i386 requires libcamel-1.2.so.10
fmt-ptrn-java-1.3.13-1.fc9.i386 requires libgcj.so.8rh
ghdl-0.25-0.89svn.6.fc8.i386 requires libgnat-4.1.so
gnome-web-photo-0.3-8.fc9.i386 requires libgkgfx.so
gnome-web-photo-0.3-8.fc9.i386 requires libxpcom_core.so
gnome-web-photo-0.3-8.fc9.i386 requires libgtkembedmoz.so
gnome-web-photo-0.3-8.fc9.i386 requires gecko-libs = 0:1.8.1.10
kazehakase-0.5.0-1.fc9.2.i386 requires gecko-libs = 0:1.8.1.10
libFoundation-1.1.3-10.fc6.i386 requires libobjc.so.1
libsyncml-0.4.5-1.fc9.i386 requires libsoup-2.2.so.8
muine-0.8.8-6.fc9.i386 requires mono(muine-plugin) = 0:1.0.0.0
seahorse-2.21.4-3.fc9.i386 requires libsoup-2.2.so.8
twinkle-1.1-4.fc9.i386 requires libccgnu2-1.5.so.0
twinkle-1.1-4.fc9.i386 requires libccext2-1.5.so.0
twinkle-1.1-4.fc9.i386 requires libccrtp1-1.5.so.1
Broken deps for x86_64
----------------------------------------------------------
1:anjuta-2.2.0-4.fc9.i386 requires libgbf-widgets-1.so.0
1:anjuta-2.2.0-4.fc9.i386 requires libgbf-1.so.0
1:anjuta-2.2.0-4.fc9.x86_64 requires libgbf-1.so.0()(64bit)
1:anjuta-2.2.0-4.fc9.x86_64 requires libgbf-widgets-1.so.0()(64bit)
bmpx-0.40.13-7.fc9.x86_64 requires libsoup-2.2.so.8()(64bit)
buoh-0.8.2-2.fc7.x86_64 requires libsoup-2.2.so.8()(64bit)
claws-mail-plugins-3.2.0-1.fc9.x86_64 requires claws-mail-plugins-clamav
compiz-kde-0.6.2-6.fc9.x86_64 requires libkdecorations.so.1()(64bit)
drivel-2.1.1-0.3.20071130svn.fc9.x86_64 requires libsoup-2.2.so.8()(64bit)
epiphany-extensions-2.20.1-3.fc9.x86_64 requires libgtkembedmoz.so()(64bit)
epiphany-extensions-2.20.1-3.fc9.x86_64 requires gecko-libs = 0:1.8.1.10
evolution-brutus-1.1.28.7-2.fc8.i386 requires libcamel-1.2.so.10
evolution-brutus-1.1.28.7-2.fc8.x86_64 requires libcamel-1.2.so.10()(64bit)
fmt-ptrn-java-1.3.13-1.fc9.i386 requires libgcj.so.8rh
fmt-ptrn-java-1.3.13-1.fc9.x86_64 requires libgcj.so.8rh()(64bit)
ghdl-0.25-0.89svn.6.fc8.x86_64 requires libgnat-4.1.so()(64bit)
gnome-web-photo-0.3-8.fc9.x86_64 requires libgkgfx.so()(64bit)
gnome-web-photo-0.3-8.fc9.x86_64 requires libgtkembedmoz.so()(64bit)
gnome-web-photo-0.3-8.fc9.x86_64 requires gecko-libs = 0:1.8.1.10
gnome-web-photo-0.3-8.fc9.x86_64 requires libxpcom_core.so()(64bit)
kazehakase-0.5.0-1.fc9.2.x86_64 requires gecko-libs = 0:1.8.1.10
libFoundation-1.1.3-10.fc6.i386 requires libobjc.so.1
libFoundation-1.1.3-10.fc6.x86_64 requires libobjc.so.1()(64bit)
libsyncml-0.4.5-1.fc9.i386 requires libsoup-2.2.so.8
libsyncml-0.4.5-1.fc9.x86_64 requires libsoup-2.2.so.8()(64bit)
muine-0.8.8-6.fc9.x86_64 requires mono(muine-plugin) = 0:1.0.0.0
seahorse-2.21.4-3.fc9.i386 requires libsoup-2.2.so.8
seahorse-2.21.4-3.fc9.x86_64 requires libsoup-2.2.so.8()(64bit)
twinkle-1.1-4.fc9.x86_64 requires libccgnu2-1.5.so.0()(64bit)
twinkle-1.1-4.fc9.x86_64 requires libccrtp1-1.5.so.1()(64bit)
twinkle-1.1-4.fc9.x86_64 requires libccext2-1.5.so.0()(64bit)
Broken deps for ppc
----------------------------------------------------------
1:anjuta-2.2.0-4.fc9.ppc requires libgbf-widgets-1.so.0
1:anjuta-2.2.0-4.fc9.ppc requires libgbf-1.so.0
bmpx-0.40.13-7.fc9.ppc requires libsoup-2.2.so.8
buoh-0.8.2-2.fc7.ppc requires libsoup-2.2.so.8
claws-mail-plugins-3.2.0-1.fc9.ppc requires claws-mail-plugins-clamav
compiz-kde-0.6.2-6.fc9.ppc requires libkdecorations.so.1
drivel-2.1.1-0.3.20071130svn.fc9.ppc requires libsoup-2.2.so.8
epiphany-extensions-2.20.1-3.fc9.ppc requires libgtkembedmoz.so
epiphany-extensions-2.20.1-3.fc9.ppc requires gecko-libs = 0:1.8.1.10
evolution-brutus-1.1.28.7-2.fc8.ppc requires libcamel-1.2.so.10
evolution-brutus-1.1.28.7-2.fc8.ppc64 requires libcamel-1.2.so.10()(64bit)
fmt-ptrn-java-1.3.13-1.fc9.ppc requires libgcj.so.8rh
fmt-ptrn-java-1.3.13-1.fc9.ppc64 requires libgcj.so.8rh()(64bit)
ghdl-0.25-0.89svn.6.fc8.ppc requires libgnat-4.1.so
gnome-web-photo-0.3-8.fc9.ppc requires libgkgfx.so
gnome-web-photo-0.3-8.fc9.ppc requires libxpcom_core.so
gnome-web-photo-0.3-8.fc9.ppc requires libgtkembedmoz.so
gnome-web-photo-0.3-8.fc9.ppc requires gecko-libs = 0:1.8.1.10
kazehakase-0.5.0-1.fc9.2.ppc requires gecko-libs = 0:1.8.1.10
libFoundation-1.1.3-10.fc6.ppc requires libobjc.so.1
libFoundation-1.1.3-10.fc6.ppc64 requires libobjc.so.1()(64bit)
libsyncml-0.4.5-1.fc9.ppc requires libsoup-2.2.so.8
libsyncml-0.4.5-1.fc9.ppc64 requires libsoup-2.2.so.8()(64bit)
monodevelop-0.17-4.fc9.ppc requires boo
muine-0.8.8-6.fc9.ppc requires mono(muine-plugin) = 0:1.0.0.0
seahorse-2.21.4-3.fc9.ppc requires libsoup-2.2.so.8
seahorse-2.21.4-3.fc9.ppc64 requires libsoup-2.2.so.8()(64bit)
twinkle-1.1-4.fc9.ppc requires libccgnu2-1.5.so.0
twinkle-1.1-4.fc9.ppc requires libccext2-1.5.so.0
twinkle-1.1-4.fc9.ppc requires libccrtp1-1.5.so.1
16 years, 3 months
[Invitasjon] (Ikke noe emne) @ fr. 8. feb. 8et - 9et ()
by Trond Danielsen
fedora-devel-list(a)redhat.com, du er invitert til
Tittel: (Ikke noe emne)
Tid: fr. 8. feb. 8et - 9et (Oslo)
Kalender:
Beskrivelse: On 2/8/08, Hans de Goede wrote:
> Hi All,
>
> Starting a new thread for the autodownload discussion which has
forked of the
> google-earth thread.
>
> [...]
>
> I must say that any complaints about autodownloader before codecbuddy gets
> removed, to me, are nothing short of hypocritical, and therefor will
not be
> taken very seriously by me.
>
> Regards,
>
> Hans
In the world of software nothing is only black and white; most of the
stuff we ship will fall into a gray area one way or another. Let me
mention a few.
1. Online-desktop: The world of free software has "fought" proprietary
software for many years, only to partner up with the WWW behemoth that
Google is. The purpose of the online-desktop is to integrate online
services like flickr and Google with the rest of the system. Despite
their public APIs online services are proprietary software just like
Microsoft Office. Should we ban any application that makes it easy to
access such services?
2. Firmware: Oh how I love that my network card works perfectly
immediately after a fresh install, but there is no doubt that it
contradicts the spirit of free sw.
3. Codec buddy: Already mentioned and discussed. But would we allow a
similar solution if Nvidia decided to create a Video Buddy?
Conclusion: I think there are many issues that are far more
controversial than the autodownloader scripts. The effort made by Hans
has made Fedora a great gamers platform, and I do not think many
end-users would understand the rational for removing them if this is
what is the result from this discussion.
Regards,
--
Trond Danielsen
Du kan se denne hendelsen på http://www.google.com/calendar/event?action=VIEW&eid=cTVib2draDE4dW8yM2ox...
Du mottar denne e-posten på kontoen fedora-devel-list(a)redhat.com fordi
du er oppført som deltaker for denne hendelsen.
Hvis du ikke vil fortsette å motta varsler for denne hendelsen,
avslår du den. Du kan også registrere deg for en Google
Kalender-konto på http://www.google.com/calendar/, og kontrollere
varselinnstillingene for hele kalenderen.
16 years, 3 months
Fedora Education Spin
by Sebastian Dziallas
Hi everybody,
I have a first release of the Fedora Education Live CD available. The
kickstart file is here:
https://fedoraproject.org/wiki/SebastianDziallas/Education
Now, there is a working version of the script implemented, which
downloads further software from the internet (just like Les suggested).
By the way: Thank you all for your suggestions!
If you have any further ideas, how improve this, please let me know.
Sebastian
16 years, 3 months