Compare commits

...
Sign in to create a new pull request.

4 commits

Author SHA1 Message Date
Bill Nottingham
49638485f3 Retire xsri. 2011-07-25 17:03:36 -04:00
Dennis Gilmore
c334d0b482 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 2011-02-08 01:00:48 -06:00
Fedora Release Engineering
d49cfcb73e dist-git conversion 2010-07-29 18:31:22 +00:00
Bill Nottingham
e27deac910 Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-25 22:41:07 +00:00
6 changed files with 1 additions and 288 deletions

View file

View file

@ -1,21 +0,0 @@
# Makefile for source rpm: xsri
# $Id: Makefile,v 1.1 2004/09/09 15:03:18 cvsdist Exp $
NAME := xsri
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),)
# attempt 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)

1
dead.package Normal file
View file

@ -0,0 +1 @@
This package was retired on 2011-07-25 due to it being unable to build this package for multiple releases (FTBFS).

View file

@ -1 +0,0 @@
9df4e05038d6dc5798ef9cb7c138e936 xsri-2.1.0.tar.gz

136
xsri.1
View file

@ -1,136 +0,0 @@
.\" Process this file with
.\" groff -man -Tascii xsri.1
.\"
.TH XSRI 1 "2004-01-25" "xsri 2.1.0"
.SH NAME
xsri \- set the root window background in X
.SH SYNOPSIS
\fBxsri\fR [\fIOPTION\fR]...
.SH DESCRIPTION
Allows the display of text, patterns, and images in the root window, so users can customize the XDM-style login screen and/or the normal X background.
The image displayed by \fBxsri\fR is composed of three layers:
.IP 1)
A background color or gradient
.IP 2)
An optional tiled image
.IP 3)
An optional \(lqemblem\(rq image
.SH OPTIONS
.SS Mode Selection Options
.TP
\fB--set
Set the background, by the standard method used for setting a users background (_XROOTPMAP_ID, ESETROOT_PMAP_I point to the pixmap ID, pixmap ID is owned by a persistant X connection which must be killed with XKillClient). This is the default mode.
.TP
\fB--run
Maintains the background while running, but does not set it. This mode may take less memory than SET, since \fBxsri\fR can use multiple windows to display the image, and will work better on Pseudo-color displays. On exit, the background will be in an undefined state.
.TP
\fB--test
The image is displayed in a window which is half the width and height of the screen.
.SS Background Color and Gradient Options
.TP
\fB--color\fR=\fICOLOR1
Set the background color.
.TP
\fB--color2\fR=\fICOLOR2
If set, the background will be a gradient.
.TP
\fB--hgradient
Draw a horizontal gradient from \fICOLOR1\fR at the left to \fICOLOR2\fR at the right. (Default if \fB--color2\fR is given.)
.TP
\fB--vgradient
Draw a vertical gradient from \fICOLOR1\fR at the top to \fICOLOR2\fR at the bottom. (Default if \fB--color2\fR is given.)
.SS Tiled Image Options
.TP
\fB--tile\fR=\fIIMAGE
The \fIimage\fR to tile.
.TP
\fB--tile-alpha\fR={\fI0-255\fR}
The alpha value of the tile (255 == fully opaque, default)
.SS Emblem Options
.TP
\fB--emblem\fR=\fIIMAGE
Set the emblem image to \fIIMAGE\fR.
.TP
\fB--emblem-alpha\fR={\fI0-255\fR}
Set the alpha value of the emblem. The default is 255 ( == fully opaque).
.TP
\fB--emboss
Emboss the emblem on the background.
.TP
\fB--geometry\fR=[\fIWIDTH\fRx\fIHEIGHT\fR][+\fIX\fR+\fIY\fR]
Set the location or size of the emblem. Either the width and height or the location may be omitted.
.TP
\fB--center-x
Center the emblem in the X direction.
.TP
\fB--center-y
Center the emblem in the Y direction.
.TP
\fB--scale-width\fR[=\fIPERCENT\fR]
Scale the emblem horizontally to a fraction of the width of the screen. 100% is the default.
.TP
\fB--scale-height\fR[=\fIPERCENT\fR]
Scale the emblem vertically to a fraction of the height of the screen. 100% is the default.
.TP
\fB--avoid\fR=\fIWIDTH\fRx\fIHEIGHT\fR[+\fIX\fR+\fIY\fR]
Shrink the width and/or height of the emblem as necessary to avoid the given rectangle. If \fIX\fR and \fIY\fR are not specified, the rectangle is centered. (Implies \fB--keep-aspect\fR.)
.TP
\fB--keep-aspect
The width or height of the emblem will be shrunk as needed to maintain the aspect ratio.
.SH PLACEMENT AND SCALING
The placement and scaling item algorithm, specified exactly:
Set w and h to width and height of the image.
If \fB--geometry\fR=\fIW\fRx\fIH\fR was specifed, set w to \fIW\fR, h to \fIH\fR. If \fB--scale-width\fR=\fIPERCENT\fR was specified, set w to (\fIPERCENT\fR/100) * screen_width. If \fB--scale-height\fR=\fIPERCENT\fR was specified, set h to (\fIPERCENT\fR/100) * screen_height.
Define the horizontal gravity point to be at center if \fI--center-x\fR was specified; otherwise, at right if \fB--geometry\fR=-\fIX\fR was specified; otherwise at left.
Define the vertical gravity point to be at center if \fI--center-y\fR was specified; otherwise, at bottom if \fB--geometry\fR=-\fIY\fR was specified; otherwise at top.
If \fB--center-x\fR, was specified, set x to center the image on the screen; otherwise, if the position was specified via geometry, use that; otherwise set x = 0.
If \fB--center-y\fR, was specified, set y to center the image on the screen; otherwise, if the position was specified via geometry, use that; otherwise set y = 0.
If \fB--keep-aspect\fR or \fB--avoid\fR was specified, then if the aspect ratio is narrower than that of the image, shrink the height to make the aspect ratio match; if the aspect ratio is wider than that of the image, shrink the height to make the apsect ratio match, keeping the gravity point at the same location.
If \fB--avoid\fR was specified, shrink the image, keeping the aspect ratio the same and the gravity point in the same place to avoid the given rectangle. If this isn't possible, do not display the emblem.
.SH AUTHOR
Owen Taylor <otaylor@redhat.com>
.SH COPYRIGHT
Copyright \(co 2001, Red Hat, Inc.
xsri is distributed under the terms of the GNU General Public License.
See the included file \(lqCOPYING\(rq.
.SH SEE ALSO
\fBEsetroot\fR(1), \fBxsetroot\fR(1)

130
xsri.spec
View file

@ -1,130 +0,0 @@
Summary: X Set Root Image
Name: xsri
Version: 2.1.0
Release: 17%{?dist}
Epoch: 1
License: GPL+
Group: System Environment/Base
Source0: %{name}-%{version}.tar.gz
Source1: xsri.1
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gtk2-devel >= 1.3.13
BuildRequires: popt-devel
%description
X Set Root Image - displays images on the root window.
%prep
%setup
%build
%configure
make
%install
export CFLAGS=$RPM_OPT_FLAGS
make DESTDIR=$RPM_BUILD_ROOT install
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
install -m 0644 %{SOURCE1} $RPM_BUILD_ROOT%{_mandir}/man1/
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root)
%doc COPYING ChangeLog README NEWS
%{_bindir}/xsri
%{_mandir}/man1/xsri.1*
%changelog
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.1.0-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.1.0-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Mon Aug 11 2008 Jason L Tibbitts III <tibbs@math.uh.edu> - 2.1.0-15
- Fix license tag.
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1:2.1.0-14
- Autorebuild for GCC 4.3
* Mon Oct 22 2007 Adam Jackson <ajax@redhat.com> 1:2.1.0-13
- BuildRequires: popt-devel
* Tue Aug 21 2007 Adam Jackson <ajax@redhat.com> - 1:2.1.0-12
- Rebuild for build id
* Sat Apr 21 2007 Matthias Clasen <mclasen@redhat.com> 1:2.10.0-11
- Don't install INSTALL
* Fri Jul 21 2006 Mike A. Harris <mharris@redhat.com> 1:2.1.0-10.fc6
- Added manpage for xsri (#13197)
- Use {dist} tag in release field.
- Add missing docs to doc tag.
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> 1:2.1.0-9.2.2
- rebuild
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> 1:2.1.0-9.2.1
- bump again for double-long bug on ppc(64)
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> 1:2.1.0-9.2
- rebuilt for new gcc4.1 snapshot and glibc changes
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
- rebuilt
* Thu Mar 3 2005 Mike A. Harris <mharris@redhat.com> 1:2.1.0-9
- I seem to have just unknowingly won the xsri package in a game of package
roulette. I pledge my allegiance to make it the best eye-candy app on the
desktop for 2005.
- Rebuilt with gcc 4 for FC4
- Make rpm install section export RPM_OPT_FLAGS in CFLAGS
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
- rebuilt
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
- rebuilt
* Wed Dec 11 2002 Tim Powers <timp@redhat.com> 1:2.1.0-4
- rebuild on all arches
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
- automated rebuild
* Thu May 23 2002 Tim Powers <timp@redhat.com>
- automated rebuild
* Mon Feb 11 2002 Owen Taylor <otaylor@redhat.com>
- Version 2.1.0
* Wed Aug 15 2001 Owen Taylor <otaylor@redhat.com>
- Version 2.0.3
* Fri Aug 03 2001 Owen Taylor <otaylor@redhat.com>
- Version 2.0.2
* Sun Jul 08 2001 Owen Taylor <otaylor@redhat.com>
- Version 2.0.1
* Sun Jul 08 2001 Owen Taylor <otaylor@redhat.com>
- Epoch is 1
* Sun Jul 08 2001 Owen Taylor <otaylor@redhat.com>
- Version 2.0.0
* Sun Jul 8 2001 Owen Taylor <otaylor@redhat.com>
- Completely new version
* Tue Apr 6 1999 The Rasterman <raster@redhat.com>
- made rpm