On Mon, Oct 08, 2007 at 05:27:43PM -0400, Andrew Overholt wrote: > Hi, > > * Patrice Dumas <pertusus@xxxxxxx> [2007-10-08 17:14]: > > /usr/lib/eclipse/swt-gtk-3.3.jar > > > > Why not in /usr/share/java/swt.jar? > > It's in %{_libdir} 'cause it's got arch-specific stuff in it. Care to > submit a patch for eclipse.spec to add the version-less symlink? I couldn't test completly because after hours of build, it stops with an error that seems to be unrelated: Binary file /var/tmp/eclipse-3.3.0-26.fc8-root-dumas/usr/lib/eclipse/configuration/org.eclipse.osgi/.bundledata.1 matches Binary file /var/tmp/eclipse-3.3.0-26.fc8-root-dumas/usr/lib/eclipse/configuration/org.eclipse.osgi/.lazy.1 matches Found '/var/tmp/eclipse-3.3.0-26.fc8-root-dumas' in installed files; aborting I attach what I came to. Any idea about which version of fedora and RHEL/EPEL will get this or similar patch? -- Pat
? .build-3.3.0-26.fc8.log ? eclipse-3.3.0 ? eclipse-3.3.0-26.fc8.src.rpm ? eclipse.spec-unversioned_ln.diff Index: eclipse.spec =================================================================== RCS file: /cvs/pkgs/rpms/eclipse/devel/eclipse.spec,v retrieving revision 1.493 diff -u -3 -p -r1.493 eclipse.spec --- eclipse.spec 6 Oct 2007 17:30:28 -0000 1.493 +++ eclipse.spec 10 Oct 2007 22:11:52 -0000 @@ -165,6 +165,8 @@ Requires: libgcj >= 4.0.2 Requires(post): java-gcj-compat >= 1.0.64 Requires(postun): java-gcj-compat >= 1.0.64 %endif +# %{_libdir}/java directory owned by jpackage-utils +Requires: jpackage-utils Requires: gtk2 Requires: firefox Conflicts: mozilla @@ -736,6 +738,7 @@ install -d -m 755 $RPM_BUILD_ROOT%{_data install -d -m 755 $RPM_BUILD_ROOT%{_libdir}/%{name} install -d -m 755 $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins install -d -m 755 $RPM_BUILD_ROOT%{_libdir}/%{name}/features +install -d -m 755 $RPM_BUILD_ROOT%{_libdir}/java # Explode the resulting SDK tarball tar -C $RPM_BUILD_ROOT%{_datadir} -zxf result/linux-gtk-%{eclipse_arch}-sdk.tar.gz @@ -888,6 +891,8 @@ SWTJARVERSION=$(grep v$SWT_VERSION plugi pushd $RPM_BUILD_ROOT%{_libdir}/%{name} ln -s %{_libdir}/%{name}/plugins/org.eclipse.swt.gtk.linux.%{eclipse_arch}_$SWTJARVERSION.jar swt-gtk-%{eclipse_majmin}.%{eclipse_micro}.jar ln -s swt-gtk-%{eclipse_majmin}.%{eclipse_micro}.jar swt-gtk-%{eclipse_majmin}.jar +ln -s swt-gtk-%{eclipse_majmin}.%{eclipse_micro}.jar swt.jar +ln -s ../%{name}/swt-gtk-%{eclipse_majmin}.%{eclipse_micro}.jar ../java/swt.jar popd # Install the eclipse-ecj.jar symlink for java-1.4.2-gcj-compat's "javac" @@ -1248,6 +1253,8 @@ fi %{_datadir}/%{name}/plugins/org.eclipse.swt_* %{_libdir}/%{name}/plugins/org.eclipse.swt.gtk.linux.%{eclipse_arch}_* %{_libdir}/%{name}/swt-gtk*.jar +%{_libdir}/%{name}/swt.jar +%{_libdir}/java/swt.jar %if %{gcj_support} %dir %{_libdir}/gcj/%{name} %{_libdir}/gcj/%{name}/org.eclipse.swt.gtk.linux.%{eclipse_arch}_*
-- fedora-devel-java-list mailing list fedora-devel-java-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-devel-java-list