Subversion Repositories crystalcursors

Compare Revisions

Ignore whitespace Rev 2 → Rev 3

/trunk/debian/control
0,0 → 1,25
Source: crystalcursors
Section: x11
Priority: optional
Maintainer: Debian QA Group <packages@qa.debian.org>
Build-Depends: debhelper (>= 7.1)
Build-Depends-Indep: imagemagick, x11-apps
Standards-Version: 3.8.4
Homepage: http://www.kde-look.org/content/show.php?content=6240
 
Package: crystalcursors
Architecture: all
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: X11 mouse theme with the crystal look&feel
This package comes with 20 different mouse themes:
* crystalblue, crystalblue_classic, crystalblue_nonanim
* crystalblueleft, crystalblueleft_classic, crystalblueleft_nonanim
* crystalgray, crystalgray_nonanim
* crystalgrayleft, crystalgrayleft_nonanim
* crystalgreen, crystalgreen_classic, crystalgreen_nonanim
* crystalgreenleft, crystalgreenleft_classic, crystalgreenleft_nonanim
* crystalwhite, crystalwhite_nonanim
* crystalwhiteleft, crystalwhiteleft_nonanim
.
Note: Please read /usr/share/doc/crystalcursors/README.Debian to learn how to
change the default cursor theme system-wide.
/trunk/debian/source/format
0,0 → 1,0
3.0 (quilt)
/trunk/debian/dirs
0,0 → 1,3
usr/share/icons
usr/share/icons/default
etc/X11/cursors
/trunk/debian/compat
0,0 → 1,0
7
/trunk/debian/postinst
0,0 → 1,48
#! /bin/sh
# postinst script for #PACKAGE#
#
# see: dh_installdeb(1)
 
set -e
 
# summary of how this script can be called:
# * <postinst> `configure' <most-recently-configured-version>
# * <old-postinst> `abort-upgrade' <new version>
# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
# <new-version>
# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
# <failed-install-package> <version> `removing'
# <conflicting-package> <version>
# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package
#
 
PRIORITY=50
TARGET=/usr/share/icons/default/index.theme
ICONDIR=/etc/X11/cursors
 
case "$1" in
configure)
for theme in `find $ICONDIR -regex '.*crystal\(blue\|gray\|green\|white\).*theme$'`; do
update-alternatives --install $TARGET x-cursor-theme $theme $PRIORITY
done
;;
 
abort-upgrade|abort-remove|abort-deconfigure)
 
;;
 
*)
echo "postinst called with unknown argument \`$1'" >&2
exit 1
;;
esac
 
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
 
#DEBHELPER#
 
exit 0
 
 
/trunk/debian/prerm
0,0 → 1,42
#! /bin/sh
# prerm script for #PACKAGE#
#
# see: dh_installdeb(1)
 
set -e
 
# summary of how this script can be called:
# * <prerm> `remove'
# * <old-prerm> `upgrade' <new-version>
# * <new-prerm> `failed-upgrade' <old-version>
# * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
# * <deconfigured's-prerm> `deconfigure' `in-favour'
# <package-being-installed> <version> `removing'
# <conflicting-package> <version>
# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package
 
ICONDIR=/etc/X11/cursors
 
case "$1" in
remove|upgrade|deconfigure)
for theme in `find $ICONDIR -regex '.*crystal\(blue\|gray\|green\|white\).*theme$'`; do
update-alternatives --remove x-cursor-theme $theme
done
;;
failed-upgrade)
;;
*)
echo "prerm called with unknown argument \`$1'" >&2
exit 1
;;
esac
 
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
 
#DEBHELPER#
 
exit 0
 
 
/trunk/debian/changelog
0,0 → 1,152
crystalcursors (1.1.1-12) unstable; urgency=medium
 
[ Jari Aalto ]
* QA upload
* debian/rules
- (install): remove deletion of empty directory
usr/share/icons/default that is required in postinst
(upgrade failure, Grave; Closes: #582517).
 
-- Jari Aalto <jari.aalto@cante.net> Tue, 25 May 2010 12:15:44 +0300
 
crystalcursors (1.1.1-11) unstable; urgency=low
 
[ Jari Aalto ]
* QA upload.
- Move to packaging format "3.0 (quilt)" due to patch.
* debian/compat
- Update to 7.
* debian/changelog
- Delete EOL whitespaces.
* debian/control
- (Build-Depends): update obsolete xbase-clients to x11-apps.
(important; Closes: #575613).
Update to debhelper 7.1. Remove obsolete dpatch.
- (Maintainer): set to QA Group.
- (Standards-Version): Update to 3.8.4.
- (crystalcursors::Section): Remove inherited field.
* debian/copyright
- Point to LGPL-2. Change obsolete FSF address to URL.
- Update layout.
* debian/patches
- Convert from dpatch to quilt
- Combine trivial patches 01 and 02 (Makefile).
* debian/rules
- Remove obsolete dpatch.
- (install): Update dh_clean to dh_prep. Remove empty directory
usr/share/icons/default
- (clean): Fix lintian debian-rules-ignores-make-clean-error.
* debian/source/format
- New file.
 
-- Jari Aalto <jari.aalto@cante.net> Sun, 09 May 2010 20:42:23 +0300
 
crystalcursors (1.1.1-10) unstable; urgency=low
 
* Added Homepage field
 
-- Bastian Venthur <venthur@debian.org> Wed, 26 Mar 2008 14:52:29 +0100
 
crystalcursors (1.1.1-9) unstable; urgency=low
 
* Applied ubuntu patch to fix FTBFS with dash (Closes: #459053)
* Bumped standards version
 
-- Bastian Venthur <venthur@debian.org> Sun, 20 Jan 2008 18:20:47 +0100
 
crystalcursors (1.1.1-8) unstable; urgency=low
 
* Updated maintainer field
 
-- Bastian Venthur <venthur@debian.org> Wed, 18 Oct 2006 19:31:55 +0200
 
crystalcursors (1.1.1-7) unstable; urgency=low
 
* Don't remove u/s/icons/default (again)
Closes: #363059, thanks Magnus Holmgren
 
* Corrected patch-rule, switched to easier dpatch.make and created a patch
against upstreams Makefile (fix_build_target)
Closes: #368468 (FTBFS: Forgot to touch patch-stamp),
thanks Magnus Holmgren
 
* Removed xlibs-data from Depends: we don't need it to install the package
 
* Minor Changes:
- Sanitized package description, thanks Martin Michlmayr
- Bumped Standards Version, thanks Martin Michlmayr
- Substituted sed-command with grep -v, thanks Christoph Haas
 
-- Bastian Venthur <mail@venthur.de> Mon, 22 May 2006 18:09:03 +0200
 
crystalcursors (1.1.1-6) unstable; urgency=low
 
* Provide /usr/share/icons/default
Closes: #363059 "Fails to install, missing dir to create alternatives.",
thanks to Sune Vuorela and Steve Langasek
 
* Restored wrappers for alternatives system
Closes: #365072 "Please restore wrappers for alternatives system.",
thanks again Aaron M. Ucko
 
* Adjusted Build-Depends and Build-Depends-Indep to make lintian happy
 
* Introduced dpatch to change upstreams Makefile to keep upstream's
sourcetree clean
 
-- Bastian Venthur <mail@venthur.de> Fri, 28 Apr 2006 10:21:06 +0200
 
crystalcursors (1.1.1-5) unstable; urgency=low
 
* Moved icons from old (/u/X11R6/l/X11/icons) to new (/u/s/icons)
Closes: #362504 "Wrong path for Xorg 7.0"
- removed lintian overrides
 
* Cleaned up update-alternatives script
 
-- Bastian Venthur <mail@venthur.de> Thu, 13 Apr 2006 08:11:24 +0200
 
crystalcursors (1.1.1-4) unstable; urgency=low
 
* Tightened dependency from x-window-system-core to xlibs-data.
- Closes: #356602 "unneccessarily depends on x-window-system-core"
 
-- Bastian Venthur <mail@venthur.de> Mon, 20 Mar 2006 16:21:22 +0100
 
crystalcursors (1.1.1-3) unstable; urgency=low
 
* Added dependency on x-window-system-core
- Closes: #351200 "fails to install"
 
-- Bastian Venthur <mail@venthur.de> Mon, 27 Feb 2006 16:55:56 +0100
 
crystalcursors (1.1.1-2) unstable; urgency=low
 
* Register crystalcursors as x-cursor-theme and make them thereby available
via update-alternatives
- Closes: #330626 "please register x-cursor-theme alternatives", many
thanks to Aaron Ucko!
 
* Added a README.debian to explain how to use update-alternatives
 
* Minor cleanup in rules file
 
-- Bastian Venthur <mail@venthur.de> Sun, 27 Nov 2005 17:03:13 +0100
 
crystalcursors (1.1.1-1) unstable; urgency=low
 
* New upstream release
- Fixes some hot spot related bugs in the left-handed version
- Closes: #328298 "Hot Point of Lefthanded Themes Wrong", thanks Markus Bauer
 
* Cleaned rules file
 
* Added override file to make lintian happy
 
-- Bastian Venthur <mail@venthur.de> Thu, 15 Sep 2005 21:10:44 +0200
 
crystalcursors (1.1-1) unstable; urgency=low
 
* Initial release (Closes: #322437)
 
-- Bastian Venthur <mail@venthur.de> Tue, 9 Aug 2005 18:33:27 +0200
/trunk/debian/patches/03-bashism.patch
0,0 → 1,26
From 425b68b3e3c049629903de8ab2163397b749c332 Mon Sep 17 00:00:00 2001
From: Jari Aalto <jari.aalto@cante.net>
Date: Sat, 8 May 2010 23:22:29 +0300
Subject: [PATCH] left-handed_templates/floptheme.sh: Use bash
Organization: Private
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
 
Signed-off-by: Jari Aalto <jari.aalto@cante.net>
---
left-handed_templates/floptheme.sh | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
 
diff --git a/left-handed_templates/floptheme.sh b/left-handed_templates/floptheme.sh
index b9bc51e..b2564d0 100755
--- a/left-handed_templates/floptheme.sh
+++ b/left-handed_templates/floptheme.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
cursorstoflop="left_ptr
copy
--
1.7.0
 
/trunk/debian/patches/01-correct-upstreams-makefile.patch
0,0 → 1,29
From 0997604f023d4eabc440c149f45e8eb9604aafd2 Mon Sep 17 00:00:00 2001
From: Jari Aalto <jari.aalto@cante.net>
Date: Sat, 8 May 2010 23:25:47 +0300
Subject: [PATCH] Makefile: Fix PREFIX, ajust all
Organization: Private
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
 
Signed-off-by: Jari Aalto <jari.aalto@cante.net>
---
Makefile | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
 
diff --git a/Makefile b/Makefile
index 7f35c5c..81590d6 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
-export PREFIX=$(HOME)/.icons/
+export PREFIX=$(DESTDIR)
-all:
+all: clean
mkdir blue_cursors
mkdir blue_cursors_nonanim
mkdir blue_cursors_classic
--
1.7.0
 
/trunk/debian/patches/series
0,0 → 1,2
01-correct-upstreams-makefile.patch
03-bashism.patch
/trunk/debian/copyright
0,0 → 1,30
This package was debianized by:
 
Bastian Venthur <mail@venthur.de>
on Tue, 9 Aug 2005 18:33:27 +0200.
 
It was downloaded from:
 
http://www.kde-look.org/content/show.php?content=6240
 
Copyright:
 
Copyright (C) 2005 Marco Martin <m4rt@libero.it>
 
License:
 
This package is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
 
This package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
 
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
 
On Debian systems, the complete text of the GNU Lesser General
Public License can be found in "/usr/share/common-licenses/LGPL-2".
/trunk/debian/docs
0,0 → 1,0
README
/trunk/debian/rules
0,0 → 1,115
#!/usr/bin/make -f
# -*- makefile -*-
 
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
 
# set some variables
ICONDIR=usr/share/icons
SHAREDIR=usr/share/crystalcursors
WRAPPERDIR=etc/X11/cursors
 
CFLAGS = -Wall -g
 
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS += -O0
else
CFLAGS += -O2
endif
 
configure: configure-stamp
configure-stamp:
dh_testdir
# Add here commands to configure the package.
 
touch configure-stamp
 
 
build: build-stamp
 
build-stamp: configure-stamp
dh_testdir
 
# Add here commands to compile the package.
$(MAKE)
#docbook-to-man debian/crystalcursors.sgml > crystalcursors.1
 
touch build-stamp
 
clean:
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
 
# Add here commands to clean up after the build process.
[ ! Makefile ] || $(MAKE) clean
 
dh_clean
 
install: build
dh_testdir
dh_testroot
dh_prep
dh_installdirs
 
# Add here commands to install the package into debian/crystalcursors.
$(MAKE) install DESTDIR=$(CURDIR)/debian/crystalcursors/$(ICONDIR)
find $(CURDIR)/debian/crystalcursors/$(ICONDIR) -type f -exec chmod 644 {} \;
find $(CURDIR)/debian/crystalcursors/$(ICONDIR) -type d -exec chmod 755 {} \;
 
# Don't overwrite system's default xcursor, just provide the directory
rm -r $(CURDIR)/debian/crystalcursors/$(ICONDIR)/default/*
 
# Find *.theme and copy 'em to wrapper-location (see #365072)
# We have to change the Inherits line in (only) in the wrapper *.themes:
# 1) find .themes
# 2) remove lines with "Inherits" and save as tmp
# 3) write new Inherits-line with name of the directory in /usr/share/icons
# -- I know this is tricky, but I have not yet found a more elegant way to make
# crystalcursors work with debian's update-alternative
OLDDIR=`pwd` ;\
cd $(CURDIR)/debian/crystalcursors/$(ICONDIR); \
for theme in crystal*; do \
grep -v Inherits $(CURDIR)/debian/crystalcursors/$(ICONDIR)/$${theme}/index.theme > tmp ; \
echo "Inherits = $${theme}" >> tmp ; \
install -m 644 tmp $(CURDIR)/debian/crystalcursors/$(WRAPPERDIR)/$${theme}.theme; \
rm tmp; \
done ; \
cd $${OLDDIR}
 
# Build architecture-independent files here.
binary-indep: build install
dh_testdir
dh_testroot
dh_installchangelogs CHANGELOG
dh_installdocs
# dh_installexamples
# dh_install
# dh_installmenu
# dh_installdebconf
# dh_installlogrotate
# dh_installemacsen
# dh_installpam
# dh_installmime
# dh_installinit
# dh_installcron
# dh_installinfo
# dh_installman
# dh_link
# dh_strip
dh_compress
dh_fixperms
# dh_perl
# dh_python
# dh_makeshlibs
dh_installdeb
dh_shlibdeps
dh_gencontrol
dh_md5sums
dh_builddeb
 
# Build architecture-dependent files here.
binary-arch: build install
 
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install configure
Property changes:
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: debian/README.Debian
===================================================================
--- debian/README.Debian (nonexistent)
+++ debian/README.Debian (revision 3)
@@ -0,0 +1,15 @@
+crystalcursors for Debian
+-------------------------
+
+* Installing this package will change your systemwide default cursor theme
+ (per user settings are not affected)!
+
+* howto switch between the available themes:
+ As root do:
+
+ update-alternatives --config x-cursor-theme
+
+ now you can pick one theme from the list which will be the new system-wide
+ default cursor theme.
+
+ -- Bastian Venthur <mail@venthur.de>, Mon, 28 Nov 2005 13:27:00 +0100
Index: debian
===================================================================
--- debian (nonexistent)
+++ debian (revision 3)
/debian
Property changes:
Added: mergeWithUpstream
## -0,0 +1 ##
+1
\ No newline at end of property