Improvements Eclipse Installation
by sami wagiaalla
Hi,
The way we currently install Eclipse plugins in Fedora is incorrect and
somewhat fragile.
RPM places all the plugin artifacts in the proper directories. However
that does not update the eclipse metadata. This means that until the
next time eclipse starts it is unaware of the newly installed plugins.
Because the user would normally run Eclipse not as root Eclipse does not
have permission to write to the meta data files located in the
installation directory. It therefore creates a parallel version in the
user's home directory ~/.eclipse. This creates a fragile installation
and leads to a whole host of problems.
To improve this I have written apatch which runs the Eclipse reconciler
during rpm installation. The Eclipse reconciler is an Eclipse
application which goes through and checks the installation directories
and updates the eclipse metadata with any newly installed plugins.
To add support for this in your eclipse package you have to add the
following line to your rpm spec file:
%_eclipse_pkg [package name]
Here is an example from the eclipse-rse spec file for the
eclipse-rse-sdk rpm:
%package sdk
[...]
%_eclipse_pkg sdk
The above macro expands to the following:
%post sdk
touch /var/run/eclipse/run-reconciler
%postun sdk
touch /var/run/eclipse/run-reconciler
if [ $1 == 0 ]; then
eclipse-reconciler.sh
fi
%posttrans sdk
eclipse-reconciler.sh
I apologize if you have experienced instability in Eclipse installations
on rawhide, it is probably due to these changes. Please let me know if
you have any comments questions or suggestions.
I will be filing a request to update the Eclipse packaging guidelines.
If you are interested in the details of the work, here is a summary in
the form of a patch: http://fpaste.org/pPEC/
Cheers,
Sami
12 years, 2 months
gsmartcontrol, gparted problems with userhelper and X credentials?
by Eric Smith
Recently my package for gsmartcontrol was approved, and it is now in
Fedora 16.
I was using Fedora 14 on my desktop system when I did the packaging
work. I did test it on a Fedora 16 system before submission. Since
then I've done a fresh install of Fedora 16 on my desktop. Now if I try
to launch gsmartcontrol from the Gnome Shell, I get the prompt from
userhelper for my password, but it fails to run. From the command line,
the same thing happens, but at least it shows the error message
"Gtk-WARNING **: cannot open display: :0".
Doesn't userhelper pass the X credentials? I'm sure this was working
for me on Fedora 14, and I don't remember configuring anything special.
I thought I'd see how gparted deals with the same issue, and find that
on my system gparted gives exactly the same behavior.
Is there something else I need to put into the gsmartcontrol spec to
make this work properly in F16?
Thanks!
Eric
12 years, 2 months
cisco vpn because of ipsec over tcp
by Lucas
Dear All
Have anyone here tried to compile cisco vpn for Fedora 16 - 32 or 64 bit?
I need it sometimes and it should support ipsec over tcp, unfortunately nothing in unix can provide it.
Thanks for suggestions.
12 years, 3 months
Re: cisco vpn because of ipsec over tcp
by Lucas
I am talking about ipsec over TCP.
Everything can do ipsec over UDP, but none over TCP. But on my job for the security reason UDP is
blocked, cisco vpn can do ipsec over tcp.
That is why I asked.
12 years, 3 months
libzrtpcpp build faild: missing openssl/ec.h
by alekcejk@googlemail.com
Hi,
I tried to build libzrtpcpp-2.0.0 (see http://ftp.gnu.org/gnu/ccrtp/ ).
But it is impossible to build it in Fedora because
openssl/ec.h is disabled in openssl which is build with no-ec option.
libzrtpcpp/crypto/openssl/ZrtpDH.cpp:46:24: fatal error: openssl/ec.h: No such file or directory
Is it possible to build openssl with enabled openssl/ec.h?
If this is impossible is there any workaround for building libzrtpcpp-2.0.0?
--
Alexey Kurov <nucleo(a)fedoraproject.org>
12 years, 3 months
broken dependencies for fawkes-plugin-player
by Francesco D'Aluisio
fawkes-plugin-player.x86_64 require libgeos-3.3.0.so (64bit) but
geos.x86_64 package provides libgeos-3.3.1.so
-
[fdaluisio@tauron ~]$ sudo yum install fawkes-plugin-player
[sudo] password for fdaluisio:
Loaded plugins: langpacks, presto, refresh-packagekit
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package fawkes-plugin-player.x86_64 0:0.4.2-6.fc16 will be installed
--> Processing Dependency: libfawkesblackboard.so.0.4.2()(64bit) for
package: fawkes-plugin-player-0.4.2-6.fc16.x86_64
--> Processing Dependency: libfawkescore.so.0.4.2()(64bit) for
package: fawkes-plugin-player-0.4.2-6.fc16.x86_64
--> Processing Dependency: libLaser360Interface.so.0.4.2()(64bit) for
package: fawkes-plugin-player-0.4.2-6.fc16.x86_64
--> Processing Dependency: libfawkesnetcomm.so.0.4.2()(64bit) for
package: fawkes-plugin-player-0.4.2-6.fc16.x86_64
--> Processing Dependency: libgeos_c.so.1()(64bit) for package:
fawkes-plugin-player-0.4.2-6.fc16.x86_64
--> Processing Dependency: libfawkesinterface.so.0.4.2()(64bit) for
package: fawkes-plugin-player-0.4.2-6.fc16.x86_64
--> Processing Dependency: libboost_signals-mt.so.1.47.0()(64bit) for
package: fawkes-plugin-player-0.4.2-6.fc16.x86_64
--> Processing Dependency: libfawkesutils.so.0.4.2()(64bit) for
package: fawkes-plugin-player-0.4.2-6.fc16.x86_64
--> Processing Dependency: libplayerc++.so.3.0()(64bit) for package:
fawkes-plugin-player-0.4.2-6.fc16.x86_64
--> Processing Dependency: libMotorInterface.so.0.4.2()(64bit) for
package: fawkes-plugin-player-0.4.2-6.fc16.x86_64
--> Processing Dependency: libplayerwkb.so.3.0()(64bit) for package:
fawkes-plugin-player-0.4.2-6.fc16.x86_64
--> Processing Dependency: libfawkesaspects.so.0.4.2()(64bit) for
package: fawkes-plugin-player-0.4.2-6.fc16.x86_64
--> Processing Dependency: libplayerc.so.3.0()(64bit) for package:
fawkes-plugin-player-0.4.2-6.fc16.x86_64
--> Processing Dependency: libplayerinterface.so.3.0()(64bit) for
package: fawkes-plugin-player-0.4.2-6.fc16.x86_64
--> Processing Dependency: libgeos-3.3.0.so()(64bit) for package:
fawkes-plugin-player-0.4.2-6.fc16.x86_64
--> Processing Dependency: libplayercommon.so.3.0()(64bit) for
package: fawkes-plugin-player-0.4.2-6.fc16.x86_64
--> Processing Dependency:
libObjectPositionInterface.so.0.4.2()(64bit) for package:
fawkes-plugin-player-0.4.2-6.fc16.x86_64
--> Processing Dependency: libboost_thread-mt.so.1.47.0()(64bit) for
package: fawkes-plugin-player-0.4.2-6.fc16.x86_64
--> Running transaction check
---> Package boost-signals.x86_64 0:1.47.0-4.fc16 will be installed
---> Package boost-thread.x86_64 0:1.47.0-4.fc16 will be installed
---> Package fawkes-core.x86_64 0:0.4.2-6.fc16 will be installed
---> Package fawkes-plugin-player.x86_64 0:0.4.2-6.fc16 will be installed
--> Processing Dependency: libgeos-3.3.0.so()(64bit) for package:
fawkes-plugin-player-0.4.2-6.fc16.x86_64
---> Package geos.x86_64 0:3.3.1-1.fc16 will be installed
---> Package player.x86_64 0:3.0.2-14.fc16 will be installed
--> Processing Dependency: libpqxx-3.2.so()(64bit) for package:
player-3.0.2-14.fc16.x86_64
--> Processing Dependency: libhokuyo_aist.so.1.0.0()(64bit) for
package: player-3.0.2-14.fc16.x86_64
--> Processing Dependency: libphidget21.so.0()(64bit) for package:
player-3.0.2-14.fc16.x86_64
--> Processing Dependency: libgslcblas.so.0()(64bit) for package:
player-3.0.2-14.fc16.x86_64
--> Processing Dependency: libGbxGarminAcfr.so.1.0.0()(64bit) for
package: player-3.0.2-14.fc16.x86_64
--> Processing Dependency: libflexiport.so.1.0.0()(64bit) for package:
player-3.0.2-14.fc16.x86_64
--> Processing Dependency: libGbxSerialAcfr.so.1.0.0()(64bit) for
package: player-3.0.2-14.fc16.x86_64
--> Processing Dependency: libGbxSickAcfr.so.1.0.0()(64bit) for
package: player-3.0.2-14.fc16.x86_64
--> Processing Dependency: libGbxSerialDeviceAcfr.so.1.0.0()(64bit)
for package: player-3.0.2-14.fc16.x86_64
--> Processing Dependency: libstatgrab.so.6()(64bit) for package:
player-3.0.2-14.fc16.x86_64
--> Processing Dependency: libGbxUtilAcfr.so.1.0.0()(64bit) for
package: player-3.0.2-14.fc16.x86_64
--> Processing Dependency: libGbxIceUtilAcfr.so.1.0.0()(64bit) for
package: player-3.0.2-14.fc16.x86_64
--> Processing Dependency: libgsl.so.0()(64bit) for package:
player-3.0.2-14.fc16.x86_64
--> Running transaction check
---> Package fawkes-plugin-player.x86_64 0:0.4.2-6.fc16 will be installed
--> Processing Dependency: libgeos-3.3.0.so()(64bit) for package:
fawkes-plugin-player-0.4.2-6.fc16.x86_64
---> Package gearbox.x86_64 0:9.11-8.fc15 will be installed
--> Processing Dependency: ice for package: gearbox-9.11-8.fc15.x86_64
--> Processing Dependency: libIceUtil.so.34()(64bit) for package:
gearbox-9.11-8.fc15.x86_64
---> Package gsl.x86_64 0:1.15-3.fc16 will be installed
--> Processing Dependency: libatlas.so.3()(64bit) for package:
gsl-1.15-3.fc16.x86_64
--> Processing Dependency: libcblas.so.3()(64bit) for package:
gsl-1.15-3.fc16.x86_64
---> Package libphidget.x86_64 0:2.1.8.20110615-1.fc16 will be installed
--> Processing Dependency: avahi-compat-libdns_sd for package:
libphidget-2.1.8.20110615-1.fc16.x86_64
---> Package libpqxx.x86_64 1:3.2-0.1.fc16 will be installed
--> Processing Dependency: libpq.so.5()(64bit) for package:
1:libpqxx-3.2-0.1.fc16.x86_64
---> Package libstatgrab.x86_64 0:0.17-1.fc16 will be installed
--> Running transaction check
---> Package atlas.x86_64 0:3.8.4-1.fc16 will be installed
--> Processing Dependency: libgfortran.so.3(GFORTRAN_1.4)(64bit) for
package: atlas-3.8.4-1.fc16.x86_64
--> Processing Dependency: libgfortran.so.3(GFORTRAN_1.0)(64bit) for
package: atlas-3.8.4-1.fc16.x86_64
--> Processing Dependency: libgfortran.so.3()(64bit) for package:
atlas-3.8.4-1.fc16.x86_64
---> Package avahi-compat-libdns_sd.x86_64 0:0.6.30-4.fc16 will be installed
---> Package fawkes-plugin-player.x86_64 0:0.4.2-6.fc16 will be installed
--> Processing Dependency: libgeos-3.3.0.so()(64bit) for package:
fawkes-plugin-player-0.4.2-6.fc16.x86_64
---> Package ice.x86_64 0:3.4.2-3.fc16 will be installed
--> Processing Dependency: libdb_cxx-4.8.so()(64bit) for package:
ice-3.4.2-3.fc16.x86_64
---> Package postgresql-libs.x86_64 0:9.1.2-1.fc16 will be installed
--> Running transaction check
---> Package db4-cxx.x86_64 0:4.8.30-3.fc15 will be installed
---> Package fawkes-plugin-player.x86_64 0:0.4.2-6.fc16 will be installed
--> Processing Dependency: libgeos-3.3.0.so()(64bit) for package:
fawkes-plugin-player-0.4.2-6.fc16.x86_64
---> Package libgfortran.x86_64 0:4.6.2-1.fc16 will be installed
--> Finished Dependency Resolution
Error: Package: fawkes-plugin-player-0.4.2-6.fc16.x86_64 (fedora)
Requires: libgeos-3.3.0.so()(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Thanks!
12 years, 3 months