Compare commits

...
This repository has been archived on 2026-09-10. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.

9 commits

7 changed files with 239 additions and 63 deletions

View file

@ -1 +0,0 @@
xfce-utils-4.3.99.1.tar.bz2

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
xfce-utils-4.6.2.tar.bz2

View file

@ -1,21 +0,0 @@
# Makefile for source rpm: xfce-utils
# $Id$
NAME := xfce-utils
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attept a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

View file

@ -1 +1 @@
95448f642ee52cdb5ec20dc3c28dcc3b xfce-utils-4.3.99.1.tar.bz2
5d23407700d7e8c9751e17a5bc955109 xfce-utils-4.6.2.tar.bz2

View file

@ -0,0 +1,34 @@
diff -dur xfce-utils-4.4.2.orig/scripts/xflock4 xfce-utils-4.4.2/scripts/xflock4
--- xfce-utils-4.4.2.orig/scripts/xflock4 2007-11-17 20:31:32.000000000 +0100
+++ xfce-utils-4.4.2/scripts/xflock4 2008-08-02 04:15:55.000000000 +0200
@@ -19,10 +19,10 @@
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
-if test x"`which xscreensaver-command 2>/dev/null`" != x""; then
- xscreensaver-command -lock
-elif test x"`which gnome-screensaver-command 2>/dev/null`" != x""; then
+if ps ux | grep gnome-[s]creensaver > /dev/null 2>&1; then
gnome-screensaver-command --lock
+elif ps ux | grep x[s]creensaver > /dev/null 2>&1; then
+ xscreensaver-command -lock
else
xlock $*
fi
diff -dur xfce-utils-4.4.2.orig/scripts/xinitrc.in xfce-utils-4.4.2/scripts/xinitrc.in
--- xfce-utils-4.4.2.orig/scripts/xinitrc.in 2007-11-17 20:31:32.000000000 +0100
+++ xfce-utils-4.4.2/scripts/xinitrc.in 2008-08-02 04:10:12.000000000 +0200
@@ -55,10 +55,10 @@
# Launch xscreensaver (if available), but only as non-root user
if test $UID -gt 0 -a -z "$VNCSESSION"; then
- if test x"`which xscreensaver 2>/dev/null`" != x""; then
- xscreensaver -no-splash &
- elif test x"`which gnome-screensaver 2>/dev/null`" != x""; then
+ if test x"`which gnome-screensaver 2>/dev/null`" != x""; then
gnome-screensaver &
+ elif test x"`which xscreensaver 2>/dev/null`" != x""; then
+ xscreensaver -no-splash &
fi
fi

View file

@ -0,0 +1,44 @@
--- a/scripts/xfterm4 2007-11-25 17:45:31.000000000 +0000
+++ b/scripts/xfterm4 2007-11-25 17:45:41.000000000 +0000
@@ -1,24 +1,15 @@
#!/bin/sh
if [ "$1" = "-e" ]; then
- if [ -n "$2" ]; then
- shift
- ESTRING="$@"
- else
- shift
- fi
+ shift
fi
if [ -d "$*" ]; then
cd "$*"
-elif [ -x "$*" ]; then
- cd `dirname "$*"`
- ESTRING="`which pauseme`"
- MSTRING="$*"
-elif [ -f "$*" ]; then
+elif [ -f "$*" -a ! -x "$*" ]; then
ESTRING="`which less`"
MSTRING="$*"
-elif [ "`echo $* | grep "http:/"`" -o "`echo $* | grep "ftp:"`" ]; then
+elif [ "`echo $* | grep "http:/"`" -o "`echo $* | grep "ftp:"`" -a ! -x "$*" ]; then
# This requires lynx or links. If you don't have it, don't drop URLs.
if which lynx >/dev/null 2>&1; then
ESTRING="`which lynx`"
@@ -26,6 +17,13 @@
ESTRING="`which links`"
fi
MSTRING="$*"
+else
+ if which pauseme >/dev/null 2>&1; then
+ ESTRING="`which pauseme`"
+ MSTRING="$*"
+ else
+ ESTRING="$@"
+ fi
fi
if [ x"$ESTRING" = x"" ]; then

View file

@ -2,33 +2,46 @@
Summary: Utilities for the Xfce Desktop Environment
Name: xfce-utils
Version: 4.3.99.1
Release: 5%{?dist}
License: GPL
Version: 4.6.2
Release: 3%{?dist}
License: GPLv2+
URL: http://www.xfce.org/
Source0: http://www.xfce.org/archive/xfce-4.3.99.1/src/xfce-utils-4.3.99.1.tar.bz2
Source0: http://archive.xfce.org/src/xfce/xfce-utils/4.6/xfce-utils-%{version}.tar.bz2
Source1: xfce4.desktop
Patch1: xfce-utils-4.4.3-xfterm4-bug.patch
# modfied version of http://bugzilla.xfce.org/show_bug.cgi?id=3770
Patch2: xfce-utils-4.4.3-gnome-screensaver.patch
Group: User Interface/Desktops
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
Requires: xfce-mcs-manager
Requires: xfwm4
Requires: xfdesktop
Requires: xfce4-doc
Requires: /usr/bin/id
BuildRequires: libxfcegui4-devel >= %{version}
BuildRequires: libxfce4mcs-devel >= %{version}
BuildRequires: xfce-mcs-manager-devel
BuildRequires: imake
BuildRequires: libXt-devel
BuildRequires: gettext
BuildRequires: dbus-devel
BuildRequires: dbus-glib-devel
BuildRequires: perl(XML::Parser)
BuildRequires: intltool
%description
This package includes utilities for the Xfce Desktop Environment
This package includes utilities for the Xfce Desktop Environment.
%package -n xfce4-doc
Summary: Basic documentation for the Xfce Desktop Environment
Group: Documentation
#Requires: %{name} = %{version}-%{release}
%description -n xfce4-doc
This package includes common docs for the Xfce Desktop Environment.
%prep
%setup -q
%patch1 -p1 -b .buggy
%patch2 -p1 -b .gnome-screensaver
%build
%configure --enable-gdm
%configure --enable-gdm --disable-static
make %{?_smp_mflags}
@ -40,47 +53,153 @@ mkdir -p $RPM_BUILD_ROOT%{xsessiondir}
make install DESTDIR=$RPM_BUILD_ROOT
rm -f $RPM_BUILD_ROOT%{xsessiondir}/xfce.desktop
install -m 755 %{SOURCE1} $RPM_BUILD_ROOT%{xsessiondir}/
rm -f $RPM_BUILD_ROOT/%{_libdir}/xfce4/mcs-plugins/*.a
rm -f $RPM_BUILD_ROOT/%{_libdir}/xfce4/mcs-plugins/*.la
install -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{xsessiondir}/
%find_lang %{name}
rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/X11
# we need the doc package to own these
mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/xfce4/doc/{es,fr,id,it,ja,pt_BR,tr}/images
%clean
rm -rf $RPM_BUILD_ROOT
%post
touch --no-create %{_datadir}/icons/hicolor
if [ -x %{_bindir}/gtk-update-icon-cache ] ; then
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi
%postun
touch --no-create %{_datadir}/icons/hicolor
if [ -x %{_bindir}/gtk-update-icon-cache ] ; then
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi
%files -f %{name}.lang
%defattr(-,root,root,-)
%doc README TODO ChangeLog NEWS COPYING AUTHORS
%attr(0755,root,root) %{_sysconfdir}/xdg/xfce4
%{_bindir}/*
%{_datadir}/apps/switchdesk/*
%{_datadir}/xfce4/AUTHORS
%{_datadir}/xfce4/BSD
%{_datadir}/xfce4/COPYING
%{_datadir}/xfce4/GPL
%{_datadir}/xfce4/INFO
%{_datadir}/xfce4/INFO.ca
%{_datadir}/xfce4/INFO.es
%{_datadir}/xfce4/INFO.fi
%{_datadir}/xfce4/INFO.fr
%{_datadir}/xfce4/INFO.it
%{_datadir}/xfce4/INFO.ja
%{_datadir}/xfce4/INFO.ru
%{_datadir}/xfce4/INFO.uk
%{_datadir}/xfce4/INFO.vi
%{_datadir}/xfce4/LGPL
%{_datadir}/xfce4/doc/*/images/*
%{_datadir}/xfce4/doc/*/*.html
%{_datadir}/xfce4/doc/xfce-mouse.png
%{_datadir}/xfce4/doc/xfce.css
%{_datadir}/icons/*/*/*
%doc README ChangeLog NEWS COPYING AUTHORS
%attr(0755,root,root)
%config(noreplace) %{_sysconfdir}/xdg/xfce4/xinitrc
%config(noreplace) %{_sysconfdir}/xdg/xfce4/Xft.xrdb
%config(noreplace) %{_sysconfdir}/xdg/autostart/xfconf-migration-4.6.desktop
%dir %{_libexecdir}/xfce4/xfconf-migration
%{_libexecdir}/xfce4/xfconf-migration/xfconf-migration-4.6.pl
%{_bindir}/startxfce4
%{_bindir}/xfbrowser4
%{_bindir}/xfce4-about
%{_bindir}/xflock4
%{_bindir}/xfmountdev4
%{_bindir}/xfrun4
%{_bindir}/xfterm4
%{_datadir}/icons/hicolor/*/apps/*
%{xsessiondir}/*
%{_datadir}/dbus-1/services/org.xfce.RunDialog.service
%files -n xfce4-doc
%defattr(-,root,root,-)
%doc COPYING
%{_bindir}/xfhelp4
%dir %{_datadir}/xfce4
%doc %{_datadir}/xfce4/AUTHORS
%doc %{_datadir}/xfce4/BSD
%doc %{_datadir}/xfce4/COPYING
%doc %{_datadir}/xfce4/GPL
%doc %{_datadir}/xfce4/INFO
%doc %lang(de) %{_datadir}/xfce4/INFO.de
%doc %lang(ca) %{_datadir}/xfce4/INFO.ca
%doc %lang(es) %{_datadir}/xfce4/INFO.es
%doc %lang(fi) %{_datadir}/xfce4/INFO.fi
%doc %lang(fr) %{_datadir}/xfce4/INFO.fr
%doc %lang(it) %{_datadir}/xfce4/INFO.it
%doc %lang(ja) %{_datadir}/xfce4/INFO.ja
%doc %lang(ru) %{_datadir}/xfce4/INFO.ru
%doc %lang(en_GB) %{_datadir}/xfce4/INFO.uk
%doc %lang(vi) %{_datadir}/xfce4/INFO.vi
%doc %{_datadir}/xfce4/LGPL
%dir %{_datadir}/xfce4/doc
%dir %{_datadir}/xfce4/doc/*
%dir %{_datadir}/xfce4/doc/*/images
%doc %{_datadir}/xfce4/doc/*/images/*
%doc %{_datadir}/xfce4/doc/*/*.html
%doc %{_datadir}/xfce4/doc/xfce-mouse.png
%doc %{_datadir}/xfce4/doc/xfce.css
%doc %{_datadir}/xfce4/doc/xfce-chunk.css
%changelog
* Sun Jul 25 2010 Kevin Fenzi <kevin@tummy.com> - 4.6.2-3
- Remove noarch from docs subpackage for EL-5
* Wed Jul 07 2010 Kevin Fenzi <kevin@tummy.com> - 4.6.2-2
- Add Copying file to docs in doc subpackage.
* Fri May 21 2010 Kevin Fenzi <kevin@tummy.com> - 4.6.2-1
- Update to 4.6.2
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.6.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Sun Apr 19 2009 Kevin Fenzi <kevin@tummy.com> - 4.6.1-1
- Update to 4.6.1
* Mon Mar 02 2009 Christoph Wickert <cwickert@fedoraproject.org> - 4.6.0-2
- Fix directory ownership problems
- Make separate xfce4-doc package
* Thu Feb 26 2009 Kevin Fenzi <kevin@tummy.com> - 4.6.0-1
- Update to 4.6.0
- Remove unneeded BuildRequires
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.5.99.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Mon Jan 26 2009 Kevin Fenzi <kevin@tummy.com> - 4.5.99.1-1
- Update to 4.5.99.1
* Tue Jan 13 2009 Kevin Fenzi <kevin@tummy.com> - 4.5.93-1
- Update to 4.5.93
* Sat Dec 27 2008 Kevin Fenzi <kevin@tummy.com> - 4.5.92-1
- Update to 4.5.92
* Mon Oct 27 2008 Christoph Wickert <cwickert@fedoraproject.org> - 4.4.3-1
- Update to 4.4.3
- Prefer gnome-screensaver over xscreensaver if installed
- Make xflock4 check for running screensaver instead of installed ones
- Rework pulseaudio patch
- Configure with --disable-static
- Run gtk-update-icon-cache in %%post and %%postun
* Sun Feb 10 2008 Kevin Fenzi <kevin@tummy.com> - 4.4.2-4
- Rebuild for gcc43
* Mon Jan 14 2008 Kevin Fenzi <kevin@tummy.com> - 4.4.2-3
- Patch correct file
* Wed Jan 02 2008 Kevin Fenzi <kevin@tummy.com> - 4.4.2-2
- Add patch to start pulseaudio if installed
* Sun Nov 18 2007 Kevin Fenzi <kevin@tummy.com> - 4.4.2-1
- Update to 4.4.2
* Mon Aug 27 2007 Kevin Fenzi <kevin@tummy.com> - 4.4.1-3
- Update License tag
* Mon Jul 30 2007 Kevin Fenzi <kevin@tummy.com> - 4.4.1-2
- Add dbus BuildRequires. Thanks to Andy Shevchenko (fixes #250067)
* Wed Apr 11 2007 Kevin Fenzi <kevin@tummy.com> - 4.4.1-1
- Update to 4.4.1
* Tue Apr 3 2007 Kevin Fenzi <kevin@tummy.com> - 4.4.0-2
- Do not own %%{_sysconfdir}/xdg/xfce4
- Do not ship the switchdesk config
* Sun Jan 21 2007 Kevin Fenzi <kevin@tummy.com> - 4.4.0-1
- Update to 4.4.0
* Fri Nov 10 2006 Kevin Fenzi <kevin@tummy.com> - 4.3.99.2-1
- Update to 4.3.99.2
* Thu Oct 5 2006 Kevin Fenzi <kevin@tummy.com> - 4.3.99.1-5
- Fix defattr