packages (DEVEL): gnome-shell/gnome-shell.spec - added (too) simple wrapper...

wiget wiget at pld-linux.org
Tue Mar 8 20:13:33 CET 2011


Author: wiget                        Date: Tue Mar  8 19:13:33 2011 GMT
Module: packages                      Tag: DEVEL
---- Log message:
- added (too) simple wrapper for setting LD_LIBRARY_PATH for libmozjs.so
- more verbose files

---- Files affected:
packages/gnome-shell:
   gnome-shell.spec (1.13.2.20 -> 1.13.2.21) 

---- Diffs:

================================================================
Index: packages/gnome-shell/gnome-shell.spec
diff -u packages/gnome-shell/gnome-shell.spec:1.13.2.20 packages/gnome-shell/gnome-shell.spec:1.13.2.21
--- packages/gnome-shell/gnome-shell.spec:1.13.2.20	Tue Mar  8 09:17:13 2011
+++ packages/gnome-shell/gnome-shell.spec	Tue Mar  8 20:13:28 2011
@@ -76,7 +76,16 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
-rm -f $RPM_BUILD_ROOT%{_libdir}/mutter/plugins/*.la
+mv $RPM_BUILD_ROOT%{_bindir}/gnome-shell{,.bin}
+cat > $RPM_BUILD_ROOT%{_bindir}/gnome-shell <<'EOF'
+#!/bin/sh
+LD_LIBRARY_PATH=%{_libdir}/xulrunner
+export LD_LIBRARY_PATH
+exec %{_bindir}/gnome-shell.bin "${@}"
+EOF
+chmod a+rx $RPM_BUILD_ROOT%{_bindir}/gnome-shell
+
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/gnome-shell/libgnome-shell.la
 
 %find_lang %{name}
 
@@ -98,10 +107,16 @@
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/gnome-shell
+%attr(755,root,root) %{_bindir}/gnome-shell.bin
 %attr(755,root,root) %{_bindir}/gnome-shell-extension-tool
 %attr(755,root,root) %{_libdir}/gnome-shell-calendar-server
 %{_sysconfdir}/gconf/schemas/gnome-shell.schemas
-%{_libdir}/gnome-shell
+%dir %{_libdir}/gnome-shell
+%attr(755,root,root) %{_libdir}/gnome-shell/libgnome-shell.so
+%{_libdir}/gnome-shell/Gdm-1.0.typelib
+%{_libdir}/gnome-shell/Gvc-1.0.typelib
+%{_libdir}/gnome-shell/Shell-0.1.typelib
+%{_libdir}/gnome-shell/St-1.0.typelib
 %{_datadir}/dbus-1/services/org.gnome.Shell.CalendarServer.service
 %{_datadir}/glib-2.0/schemas/org.gnome.shell.gschema.xml
 %{_datadir}/gnome-shell
@@ -114,6 +129,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.13.2.21  2011/03/08 19:13:28  wiget
+- added (too) simple wrapper for setting LD_LIBRARY_PATH for libmozjs.so
+- more verbose files
+
 Revision 1.13.2.20  2011/03/08 08:17:13  wiget
 - up to 2.91.91
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gnome-shell/gnome-shell.spec?r1=1.13.2.20&r2=1.13.2.21&f=u



More information about the pld-cvs-commit mailing list