debian: update packaging

pull/1/head
Michael Stapelberg 2010-07-16 18:22:33 +02:00
parent 0d4f113094
commit ac29391048
5 changed files with 50 additions and 46 deletions

4
README
View File

@ -10,8 +10,8 @@ Many little improvements have been made to i3lock over time:
(run "i3lock && echo mem > /sys/power/state" to get a locked screen (run "i3lock && echo mem > /sys/power/state" to get a locked screen
after waking up your computer from suspend to RAM) after waking up your computer from suspend to RAM)
- You can either a background color or a PNG image which will be displayed - You can specify either a background color or a PNG image which will be
while your screen is locked. displayed while your screen is locked.
- You can specify whether i3lock should bell upon a wrong password. - You can specify whether i3lock should bell upon a wrong password.

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
i3lock (2.0-0) unstable; urgency=low
* Complete rewrite of i3lock. Now using xcb instead of Xlib.
-- Michael Stapelberg <michael@stapelberg.de> Fri, 16 Jul 2010 18:08:09 +0200
i3lock (1.1-1) unstable; urgency=low i3lock (1.1-1) unstable; urgency=low
* Implement background pictures (-i) and colors (-c) * Implement background pictures (-i) and colors (-c)

23
debian/control vendored
View File

@ -3,7 +3,7 @@ Section: utils
Priority: extra Priority: extra
Maintainer: Michael Stapelberg <michael@stapelberg.de> Maintainer: Michael Stapelberg <michael@stapelberg.de>
DM-Upload-Allowed: yes DM-Upload-Allowed: yes
Build-Depends: debhelper (>= 5), libx11-dev, libpam0g-dev, libxext-dev, libxpm-dev Build-Depends: debhelper (>= 5), libx11-dev, libpam0g-dev, libcairo2-dev, libxcb1-dev, libxcb-dpms0-dev, libxcb-keysyms1-dev
Standards-Version: 3.8.2 Standards-Version: 3.8.2
Homepage: http://i3.zekjur.net/i3lock/ Homepage: http://i3.zekjur.net/i3lock/
@ -12,11 +12,16 @@ Architecture: any
Priority: extra Priority: extra
Section: x11 Section: x11
Depends: ${shlibs:Depends}, ${misc:Depends} Depends: ${shlibs:Depends}, ${misc:Depends}
Description: a slightly improved version of slock Description: improved screen locker
i3lock improves slock by making it fork() and therefore combinable with i3lock is a simple screen locker like slock. After starting it, you will
commands to suspend your computer. Additionally, instead of turning off see a white screen (you can configure the color/an image). You can return
your screen via DPMS and/or displaying a black screen, i3lock displays a to your screen by entering your passwords.
white screen so you can see if your computer failed to resume from suspend .
or if your screen is just locked. Also, when entering a wrong password, i3lock forks so you can combine it with an alias to suspend to RAM.
i3lock does not call XBell(). This is important because i3lock/slock think .
you've entered a password when resuming from suspend, at least sometimes. You can specify either a background color or a PNG image which will be
displayed while your screen is locked.
.
You can specify whether i3lock should bell upon a wrong password.
.
i3lock uses PAM and therefore is compatible with LDAP etc.

41
debian/copyright vendored
View File

@ -1,25 +1,30 @@
This Debian package is based on a tarball downloaded from This Debian package is based on a tarball downloaded from
http://i3.zekjur.net http://i3.zekjur.net
MIT/X Consortium License Copyright © 2010, Michael Stapelberg
All rights reserved.
© 2006-2008 Anselm R Garbe <garbeam at gmail dot com> Redistribution and use in source and binary forms, with or without
© 2009 Michael Stapelberg <michael+i3lock at stapelberg dot de> modification, are permitted provided that the following conditions are met:
Permission is hereby granted, free of charge, to any person obtaining a * Redistributions of source code must retain the above copyright
copy of this software and associated documentation files (the "Software"), notice, this list of conditions and the following disclaimer.
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in * Redistributions in binary form must reproduce the above copyright
all copies or substantial portions of the Software. notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * Neither the name of Michael Stapelberg nor the
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, names of contributors may be used to endorse or promote products
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL derived from this software without specific prior written permission.
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING THIS SOFTWARE IS PROVIDED BY Michael Stapelberg ''AS IS'' AND ANY
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
DEALINGS IN THE SOFTWARE. WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL Michael Stapelberg BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

22
debian/rules vendored
View File

@ -29,15 +29,17 @@ clean:
# Add here commands to clean up after the build process. # Add here commands to clean up after the build process.
[ ! -f Makefile ] || $(MAKE) clean [ ! -f Makefile ] || $(MAKE) clean
dh_clean dh_prep
install: build install: build
dh_testdir dh_testdir
dh_testroot dh_testroot
dh_clean -k dh_prep
dh_installdirs dh_installdirs
$(MAKE) DESTDIR=$(CURDIR)/debian/i3lock/ install $(MAKE) DESTDIR=$(CURDIR)/debian/i3lock/ install
mkdir -p $(CURDIR)/debian/i3lock/usr/share/man/man1
cp i3lock.1 $(CURDIR)/debian/i3lock/usr/share/man/man1
# Build architecture-independent files here. # Build architecture-independent files here.
@ -50,25 +52,11 @@ binary-arch: build install
dh_testroot dh_testroot
dh_installchangelogs dh_installchangelogs
dh_installdocs dh_installdocs
dh_installexamples
# dh_install
# dh_installmenu
dh_installdebconf
# dh_installlogrotate
# dh_installemacsen
# dh_installpam
# dh_installmime
# dh_python
dh_installinit
# dh_installcron
# dh_installinfo
dh_installman dh_installman
dh_link dh_link
# dh_strip dh_strip
dh_compress dh_compress
dh_fixperms dh_fixperms
# dh_perl
# dh_makeshlibs
dh_installdeb dh_installdeb
dh_shlibdeps dh_shlibdeps
dh_gencontrol dh_gencontrol