debian/0000755000000000000000000000000011434057076007175 5ustar debian/dirs0000644000000000000000000000007011427574245010062 0ustar usr/share/icons usr/share/icons/default etc/X11/cursors debian/docs0000644000000000000000000000001711431625317010042 0ustar README CREDITS debian/control0000644000000000000000000000173011434057033010572 0ustar Source: crystalcursors Section: x11 Priority: optional Maintainer: Magnus Holmgren Build-Depends: debhelper (>= 7.1) Build-Depends-Indep: imagemagick, x11-apps Standards-Version: 3.9.1 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 contains "Crystal" style mouse cursor themes in four colours (blue, green, white, and grey) as well as green and blue "classic", wherein certain cursors (e.g. the "hand" cursor) are white instead of coloured. . For Each of the above colours there are both right and left handed versions as well as animated and non-animated ones (except for the "classic" themes, which are all animated), for a total of 20 combinations. . Note: Please read /usr/share/doc/crystalcursors/README.Debian to learn how to change the default cursor theme system-wide. debian/prerm0000644000000000000000000000206511431616731010244 0ustar #! /bin/sh # prerm script for #PACKAGE# # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * `remove' # * `upgrade' # * `failed-upgrade' # * `remove' `in-favour' # * `deconfigure' `in-favour' # `removing' # # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package ICONDIR=/etc/X11/cursors case "$1" in remove|deconfigure) for theme in `find $ICONDIR -regex '.*crystal\(blue\|gray\|green\|white\).*theme$'`; do update-alternatives --remove x-cursor-theme $theme done ;; upgrade|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 debian/rules0000755000000000000000000000432511433762772010266 0ustar #!/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 build: build-indep build-indep: build-stamp build-stamp: dh_testdir $(MAKE) touch build-stamp clean: dh_testdir dh_testroot rm -f build-stamp configure-stamp $(MAKE) clean dh_clean install: build-indep dh_testdir dh_testroot dh_prep dh_installdirs # Add here commands to install the package into debian/crystalcursors. $(MAKE) install PREFIX=$(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 # In addition, add new symlinks that Qt 4 looks for 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; \ while read target link; do \ if [ -e $$theme/cursors/$$target ]; then ln -sf $$target $$theme/cursors/$$link; fi; \ done < $(CURDIR)/debian/extra_symlinks;\ done binary-indep: build-indep install dh_testdir dh_testroot dh_installchangelogs CHANGELOG dh_installdocs # dh_install dh_compress dh_fixperms dh_installdeb dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb binary-arch: # No arch-dependent packages binary: binary-indep .PHONY: build-indep build clean binary-indep binary-arch binary install configure debian/changelog0000644000000000000000000001354311434057033011046 0ustar crystalcursors (1.1.1-13) unstable; urgency=low * New maintainer (Closes: #529434). * Do not remove alternatives on upgrade. * Delete unused and unnecessary stuff from debian/rules. * Add build-indep target. * Drop 01-correct-upstreams-makefile.patch: - Pass PREFIX instead of DESTDIR from debian/rules - The "all" target should not have "clean" as a prerequisite; the problem in bug #368468 was just that patch-stamp wasn't created and we don't need that with source format 3.0. * Add CREDITS to debian/docs. * Add additional symlinks that Qt look for, as well as the missing ul_angle and ur_angle (Closes: #430827, #499344; works around: #548804). * Improve package description. * Give a suitable theme higher priority than the rest like; crystalblue (the blue, right-handed, animated theme) is what the upstream author intends as the default (Closes: #500881). * Bump Standards-Version to 3.9.1. -- Magnus Holmgren Sun, 22 Aug 2010 01:15:06 +0200 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 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 Sun, 09 May 2010 20:42:23 +0300 crystalcursors (1.1.1-10) unstable; urgency=low * Added Homepage field -- Bastian Venthur 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 Sun, 20 Jan 2008 18:20:47 +0100 crystalcursors (1.1.1-8) unstable; urgency=low * Updated maintainer field -- Bastian Venthur 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 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 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 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 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 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 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 Thu, 15 Sep 2005 21:10:44 +0200 crystalcursors (1.1-1) unstable; urgency=low * Initial release (Closes: #322437) -- Bastian Venthur Tue, 9 Aug 2005 18:33:27 +0200 debian/postinst0000644000000000000000000000245111434056630011000 0ustar #! /bin/sh # postinst script for crystalcursors # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * `configure' # * `abort-upgrade' # * `abort-remove' `in-favour' # # * `abort-deconfigure' `in-favour' # `removing' # # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package # PRIORITY1=50 PRIORITY2=49 TARGET=/usr/share/icons/default/index.theme ICONDIR=/etc/X11/cursors DEFAULT=crystalblue.theme case "$1" in configure|abort-remove|abort-deconfigure|abort-upgrade) for theme in `find $ICONDIR -regex '.*crystal\(blue\|gray\|green\|white\).*theme$'`; do if [ "$theme" = "$ICONDIR/$DEFAULT" ]; then PRIORITY=$PRIORITY1 else PRIORITY=$PRIORITY2 fi update-alternatives --install $TARGET x-cursor-theme $theme $PRIORITY done ;; *) 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 debian/compat0000644000000000000000000000000211427574245010377 0ustar 7 debian/README.Debian0000644000000000000000000000071011427574245011240 0ustar 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 , Mon, 28 Nov 2005 13:27:00 +0100 debian/source/0000755000000000000000000000000011434057076010475 5ustar debian/source/format0000644000000000000000000000001411427574245011707 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000011434057076010624 5ustar debian/patches/03-bashism.patch0000644000000000000000000000134211427574245013517 0ustar From 425b68b3e3c049629903de8ab2163397b749c332 Mon Sep 17 00:00:00 2001 From: Jari Aalto 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 --- 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 debian/patches/series0000644000000000000000000000002111431624701012022 0ustar 03-bashism.patch debian/copyright0000644000000000000000000000205511427574245011136 0ustar This package was debianized by: Bastian Venthur 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 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 . On Debian systems, the complete text of the GNU Lesser General Public License can be found in "/usr/share/common-licenses/LGPL-2". debian/extra_symlinks0000644000000000000000000000051411433762772012201 0ustar center_ptr up_arrow watch wait xterm ibeam fleur size_all hand pointing_hand v_double_arrow size_ver h_double_arrow size_hor fd_double_arrow size_bdiag bd_double_arrow size_fdiag question_arrow whats_this sb_h_double_arrow split_h sb_v_double_arrow split_v crossed_circle forbidden fd_double_arrow ur_angle bd_double_arrow ul_angle