Subversion Repositories crystalcursors

Compare Revisions

Ignore whitespace Rev 14 → Rev 3

/trunk/debian/extra_symlinks
File deleted
/trunk/debian/control
1,10 → 1,10
Source: crystalcursors
Section: x11
Priority: optional
Maintainer: Magnus Holmgren <holmgren@debian.org>
Maintainer: Debian QA Group <packages@qa.debian.org>
Build-Depends: debhelper (>= 7.1)
Build-Depends-Indep: imagemagick, x11-apps
Standards-Version: 3.9.1
Standards-Version: 3.8.4
Homepage: http://www.kde-look.org/content/show.php?content=6240
 
Package: crystalcursors
11,15 → 11,15
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.
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
.
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.
/trunk/debian/postinst
1,5 → 1,5
#! /bin/sh
# postinst script for crystalcursors
# postinst script for #PACKAGE#
#
# see: dh_installdeb(1)
 
17,24 → 17,21
# the debian-policy package
#
 
PRIORITY1=50
PRIORITY2=49
PRIORITY=50
TARGET=/usr/share/icons/default/index.theme
ICONDIR=/etc/X11/cursors
DEFAULT=crystalblue.theme
 
case "$1" in
configure|abort-remove|abort-deconfigure|abort-upgrade)
configure)
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
;;
 
abort-upgrade|abort-remove|abort-deconfigure)
 
;;
 
*)
echo "postinst called with unknown argument \`$1'" >&2
exit 1
47,3 → 44,5
#DEBHELPER#
 
exit 0
 
 
/trunk/debian/prerm
19,12 → 19,12
ICONDIR=/etc/X11/cursors
 
case "$1" in
remove|deconfigure)
remove|upgrade|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)
failed-upgrade)
;;
*)
echo "prerm called with unknown argument \`$1'" >&2
/trunk/debian/changelog
1,26 → 1,3
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 <holmgren@debian.org> Sun, 22 Aug 2010 01:15:06 +0200
 
crystalcursors (1.1.1-12) unstable; urgency=medium
 
[ Jari Aalto ]
/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
1,0 → 0,0
01-correct-upstreams-makefile.patch
03-bashism.patch
/trunk/debian/docs
1,2 → 1,0
README
CREDITS
/trunk/debian/rules
9,13 → 9,30
SHAREDIR=usr/share/crystalcursors
WRAPPERDIR=etc/X11/cursors
 
build: build-indep
CFLAGS = -Wall -g
 
build-indep: build-stamp
build-stamp:
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
 
24,11 → 41,12
dh_testroot
rm -f build-stamp configure-stamp
 
$(MAKE) clean
# Add here commands to clean up after the build process.
[ ! Makefile ] || $(MAKE) clean
 
dh_clean
 
install: build-indep
install: build
dh_testdir
dh_testroot
dh_prep
35,7 → 53,7
dh_installdirs
 
# Add here commands to install the package into debian/crystalcursors.
$(MAKE) install PREFIX=$(CURDIR)/debian/crystalcursors/$(ICONDIR)
$(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 {} \;
 
49,8 → 67,7
# 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
 
OLDDIR=`pwd` ;\
cd $(CURDIR)/debian/crystalcursors/$(ICONDIR); \
for theme in crystal*; do \
grep -v Inherits $(CURDIR)/debian/crystalcursors/$(ICONDIR)/$${theme}/index.theme > tmp ; \
57,19 → 74,34
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
done ; \
cd $${OLDDIR}
 
binary-indep: build-indep install
# 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
76,8 → 108,8
dh_md5sums
dh_builddeb
 
binary-arch:
# No arch-dependent packages
# Build architecture-dependent files here.
binary-arch: build install
 
binary: binary-indep
.PHONY: build-indep build clean binary-indep binary-arch binary install configure
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install configure