You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openoffice.apache.org by Michal Hriň <hr...@apache.org> on 2014/08/25 11:28:28 UTC
Broken desktop-integration in 4.1.1
Hi,
I'm trying release 4.1.1 on my system Ubuntu with KDE 4.13.3 and
desktop-integration is broken.
Symlinks to soffice works but, when I tried to run program by clicking
to icon in menu nothing happens or I got a "Warning" which says
"Program will be executed: openoffice4 %U" by clicking on "Run" button
nothings happens.
Notice / question:
Have I create issue? (in bugzilla is only 4.1 and 4.2.0-dev version)
As I'm playing with building of program, and I want to refresh my
programming, can someone point me to some reading about
desktop-integration and to the source where is the code of it ?
Why builds are provided without KDE integration ? When I tried to build
program --with-kde I didn't know which libraries build script expected.
Can someone point me which libraries and of what version are expected
for successful build with kde-integration?
Regards,
Michal Hriň
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org
Re: Broken desktop-integration in 4.1.1
Posted by Ariel Constenla-Haile <ar...@apache.org>.
On Mon, Aug 25, 2014 at 11:28:28AM +0200, Michal Hriň wrote:
> As I'm playing with building of program, and I want to refresh my
> programming, can someone point me to some reading about desktop-integration
> and to the source where is the code of it ?
The code is in sysui/desktop
http://svn.apache.org/viewvc/openoffice/trunk/main/sysui/desktop/
Note that the build system uses directly rpmbuild/dpkg-deb instead of
epm, which is used in instsetoo_native to generate the packages (this
means, in sysui the source includes RPM spec and Debian control files,
while in instsetoo_native these are generated at build time).
See for example
http://svn.apache.org/viewvc/openoffice/trunk/main/sysui/desktop/debian/
http://svn.apache.org/viewvc/openoffice/trunk/main/sysui/desktop/redhat/
> Why builds are provided without KDE integration ?
Because the code is unmaintained (and completely broken).
> When I tried to build program --with-kde
this one is for KDE 3, use --enable-kde4
> I didn't know which libraries
> build script expected. Can someone point me which libraries and of
> what version are expected for successful build with kde-integration?
Almost three years ago, configure could detect the needed libraries
(http://svn.apache.org/viewvc?view=revision&revision=1179069), it seems
it is still working, I've just tested and got:
The variable ENABLE_KDE4 is set to: TRUE
The variable KDE4_CFLAGS is set to: -DQT_SHARED -I/usr/include/QtCore -DQT_SHARED -I/usr/include/QtGui -I/usr/include/QtCore -I/usr/include/kde4 -DQT_CLEAN_NAMESPACE -DQT_THREAD_SUPPORT
The variable KDE4_LIBS is set to: -L/usr/lib64/kde4/devel -L/usr/lib64 -lkdeui -lkdecore -lQtCore -lQtGui
You need the development packages for those libraries; use your package
manager to see what provides those libraries; in Fedora, for example
yum whatprovides */libQtCore.so */libQtGui.so */libkdeui.so */libkdecore.so
shows that the packages are kdelibs-devel and qt-devel (in Debian, they
may be libqt4-dev and kdelibs4-dev).
Note that some distros come with Qt5 and KDE Frameworks, I guess that
configure cannot detect them.
Also note that in order to build successfully, you'll need to apply
kde4_fpicker.patch, and in order to start the application you need to
apply kde4_dbus_appname.patch.
If you succeed in building and running OpenOffice with KDE4 enabled,
you'll understand what "completely broken" means ;)
Regards
--
Ariel Constenla-Haile
La Plata, Argentina
Re: Broken desktop-integration in 4.1.1
Posted by Kay Schenk <ka...@gmail.com>.
On 08/25/2014 09:00 AM, Michal Hriň wrote:
>
>
> Dňa 25.08.2014 o 17:09 Kay Schenk napísal(a):
>> On Mon, Aug 25, 2014 at 2:28 AM, Michal Hriň <hr...@apache.org> wrote:
>>
>>> Hi,
>>>
>>> I'm trying release 4.1.1 on my system Ubuntu with KDE 4.13.3 and
>>> desktop-integration is broken.
>>>
>>> Symlinks to soffice works but, when I tried to run program by
>>> clicking to
>>> icon in menu nothing happens or I got a "Warning" which says
>>>
>>> "Program will be executed: openoffice4 %U" by clicking on "Run" button
>>> nothings happens.
>>>
>>
>> Which desktop-integration did you install?
>>
>> The freedesktop integration works for me with KDE 4.10 on opensuse 12.3.
>>
>>
>
> In release archive for Debian, there was only one .deb package for
> desktop intgeration, "dpkg" calls it "openoffice-debian-menus".
OK, I'm using rpm so there are several choices. Interesting. Sorry for
the confusion.
>
>
>>> Notice / question:
>>>
>>> Have I create issue? (in bugzilla is only 4.1 and 4.2.0-dev version)
>>>
>>> As I'm playing with building of program, and I want to refresh my
>>> programming, can someone point me to some reading about
>>> desktop-integration
>>> and to the source where is the code of it ?
>>>
>>> Why builds are provided without KDE integration ? When I tried to build
>>> program --with-kde I didn't know which libraries build script expected.
>>> Can someone point me which libraries and of what version are expected
>>> for
>>> successful build with kde-integration?
>>>
>>
>> In configure.in in the source tree, you will find 2 parameters dealing
>> withe kde --
>> --enable-kde
>> --enable-kde4
>>
>> I haven't followed the complete configuration to determine where kde4 is
>> used.
>>
>> Also in configure.in, you will get to a section with starting comments
>>
>> "Check whether the Qt and KDE libraries are available."
>>
>> for more information on libraries needed.
>>
>> Since both Gnome and KDE now follow the freedesktop specification, that
>> desktop integration seems to work well for most users.
>>
>>
>>> Regards,
>>> Michal Hriň
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
>>> For additional commands, e-mail: dev-help@openoffice.apache.org
>>>
>>>
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
> For additional commands, e-mail: dev-help@openoffice.apache.org
>
--
-------------------------------------------------------------------------
MzK
"For evil to flourish, it only requires good men to do nothing."
-- Simon Wiesenthal
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org
Re: Broken desktop-integration in 4.1.1
Posted by Michal Hriň <hr...@apache.org>.
Dňa 25.08.2014 o 17:09 Kay Schenk napísal(a):
> On Mon, Aug 25, 2014 at 2:28 AM, Michal Hriň <hr...@apache.org> wrote:
>
>> Hi,
>>
>> I'm trying release 4.1.1 on my system Ubuntu with KDE 4.13.3 and
>> desktop-integration is broken.
>>
>> Symlinks to soffice works but, when I tried to run program by clicking to
>> icon in menu nothing happens or I got a "Warning" which says
>>
>> "Program will be executed: openoffice4 %U" by clicking on "Run" button
>> nothings happens.
>>
>
> Which desktop-integration did you install?
>
> The freedesktop integration works for me with KDE 4.10 on opensuse 12.3.
>
>
In release archive for Debian, there was only one .deb package for
desktop intgeration, "dpkg" calls it "openoffice-debian-menus".
>> Notice / question:
>>
>> Have I create issue? (in bugzilla is only 4.1 and 4.2.0-dev version)
>>
>> As I'm playing with building of program, and I want to refresh my
>> programming, can someone point me to some reading about desktop-integration
>> and to the source where is the code of it ?
>>
>> Why builds are provided without KDE integration ? When I tried to build
>> program --with-kde I didn't know which libraries build script expected.
>> Can someone point me which libraries and of what version are expected for
>> successful build with kde-integration?
>>
>
> In configure.in in the source tree, you will find 2 parameters dealing
> withe kde --
> --enable-kde
> --enable-kde4
>
> I haven't followed the complete configuration to determine where kde4 is
> used.
>
> Also in configure.in, you will get to a section with starting comments
>
> "Check whether the Qt and KDE libraries are available."
>
> for more information on libraries needed.
>
> Since both Gnome and KDE now follow the freedesktop specification, that
> desktop integration seems to work well for most users.
>
>
>> Regards,
>> Michal Hriň
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
>> For additional commands, e-mail: dev-help@openoffice.apache.org
>>
>>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org
Re: Broken desktop-integration in 4.1.1
Posted by Kay Schenk <ka...@gmail.com>.
On Mon, Aug 25, 2014 at 2:28 AM, Michal Hriň <hr...@apache.org> wrote:
> Hi,
>
> I'm trying release 4.1.1 on my system Ubuntu with KDE 4.13.3 and
> desktop-integration is broken.
>
> Symlinks to soffice works but, when I tried to run program by clicking to
> icon in menu nothing happens or I got a "Warning" which says
>
> "Program will be executed: openoffice4 %U" by clicking on "Run" button
> nothings happens.
>
Which desktop-integration did you install?
The freedesktop integration works for me with KDE 4.10 on opensuse 12.3.
> Notice / question:
>
> Have I create issue? (in bugzilla is only 4.1 and 4.2.0-dev version)
>
> As I'm playing with building of program, and I want to refresh my
> programming, can someone point me to some reading about desktop-integration
> and to the source where is the code of it ?
>
> Why builds are provided without KDE integration ? When I tried to build
> program --with-kde I didn't know which libraries build script expected.
> Can someone point me which libraries and of what version are expected for
> successful build with kde-integration?
>
In configure.in in the source tree, you will find 2 parameters dealing
withe kde --
--enable-kde
--enable-kde4
I haven't followed the complete configuration to determine where kde4 is
used.
Also in configure.in, you will get to a section with starting comments
"Check whether the Qt and KDE libraries are available."
for more information on libraries needed.
Since both Gnome and KDE now follow the freedesktop specification, that
desktop integration seems to work well for most users.
> Regards,
> Michal Hriň
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
> For additional commands, e-mail: dev-help@openoffice.apache.org
>
>
--
-------------------------------------------------------------------------------------------------
MzK
"For evil to flourish, it only requires good men to do nothing."
-- Simon Wiesenthal