Initial commit
Benjamin Renard

Benjamin Renard commited on 2012-11-19 13:25:49
Showing 8 changed files, with 164 additions and 0 deletions.

... ...
@@ -0,0 +1,2 @@
1
+build-stamp
2
+configure-stamp
... ...
@@ -0,0 +1,7 @@
1
+files
2
+xvfb-daemon
3
+xvfb-daemon.debhelper.log
4
+xvfb-daemon.postinst.debhelper
5
+xvfb-daemon.postrm.debhelper
6
+xvfb-daemon.prerm.debhelper
7
+xvfb-daemon.substvars
... ...
@@ -0,0 +1,7 @@
1
+xvfb-daemon (0.1-1) unstable; urgency=low
2
+
3
+  * Initial Debian release
4
+
5
+ -- Benjamin Renard <brenard@easter-eggs.com>  Mon, 19 Nov 2012 10:54:54 +0100
6
+
7
+
... ...
@@ -0,0 +1 @@
1
+7
... ...
@@ -0,0 +1,14 @@
1
+Source: xvfb-daemon
2
+Section: x11
3
+Priority: extra
4
+Maintainer: Benjamin Renard <brenard@easter-eggs.com>
5
+Homepage: http://www.justkez.com/phantomjs-on-debian-6-squeeze/
6
+Vcs-Browser: http://git.zionetrix.net/?p=xvfb-daemon
7
+Vcs-Git: http://git.zionetrix.net/git/xvfb-daemon
8
+
9
+Package: xvfb-daemon
10
+Architecture: all
11
+Depends: xvfb
12
+Description: Virtual Framebuffer 'fake' X server init script
13
+ This package contains Virtual Framebuffer 'fake' X server init script
14
+ from website http://www.justkez.com/phantomjs-on-debian-6-squeeze/
... ...
@@ -0,0 +1,26 @@
1
+This package was debianized by Benjamin Renard <brenard@easter-eggs.com> on
2
+Fri, 27 Jan 2012 00:18:48 +0100
3
+
4
+It was downloaded from github of projet :
5
+
6
+  https://gist.github.com/2028715
7
+
8
+Upstream Author:
9
+
10
+    Kez (https://gist.github.com/kez)
11
+
12
+Copyright:
13
+
14
+    Init script is copyright (C) Kez
15
+
16
+    This software is issued from GNU GENERAL PUBLIC LICENSE Version 2
17
+
18
+License:
19
+
20
+    You can use it under GNU GENERAL PUBLIC LICENSE Version 2 policy
21
+
22
+    For more information on GNU GENERAL PUBLIC LICENSE Version 2 policy,
23
+    please refer to COPYING.
24
+
25
+The Debian packaging is (C) 2012, Benjamin Renard <brenard@easter-eggs.com> and
26
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
... ...
@@ -0,0 +1,73 @@
1
+#!/usr/bin/make -f
2
+# -*- makefile -*-
3
+
4
+# Uncomment this to turn on verbose mode.
5
+#export DH_VERBOSE=1
6
+
7
+
8
+
9
+
10
+
11
+configure: configure-stamp
12
+configure-stamp:
13
+
14
+	touch $@
15
+
16
+
17
+build: build-stamp
18
+
19
+build-stamp: configure-stamp
20
+
21
+	touch $@
22
+
23
+clean:
24
+	dh_testdir
25
+	dh_testroot
26
+	rm -f build-stamp configure-stamp
27
+
28
+	dh_clean
29
+
30
+install: build
31
+	dh_testdir
32
+	dh_testroot
33
+	dh_prep
34
+	dh_installdirs
35
+
36
+
37
+# Build architecture-independent files here.
38
+binary-indep: build install
39
+# We have nothing to do by default.
40
+
41
+# Build architecture-dependent files here.
42
+binary-arch: build install
43
+	dh_testdir
44
+	dh_testroot
45
+#	dh_installdocs
46
+#	dh_installexamples
47
+#	dh_install
48
+#	dh_installmenu
49
+#	dh_installdebconf
50
+#	dh_installlogrotate
51
+#	dh_installemacsen
52
+#	dh_installpam
53
+#	dh_installmime
54
+#	dh_python
55
+	dh_installinit
56
+#	dh_installcron
57
+#	dh_installinfo
58
+#	dh_installman
59
+	dh_link
60
+	dh_strip
61
+	dh_compress
62
+	dh_fixperms
63
+#	dh_perl
64
+	dh_makeshlibs
65
+	dh_installdeb
66
+	dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info
67
+	dh_gencontrol
68
+	dh_md5sums
69
+	dh_builddeb
70
+
71
+binary: binary-indep binary-arch
72
+.PHONY: build clean binary-indep binary-arch binary install configure
73
+
... ...
@@ -0,0 +1,34 @@
1
+### BEGIN INIT INFO
2
+# Provides: Xvfb
3
+# Required-Start: $local_fs $remote_fs
4
+# Required-Stop: $local_fs $remote_fs
5
+# Default-Start: 2 3 4 5
6
+# Default-Stop: 0 1 6
7
+### END INIT INFO
8
+
9
+# Source : http://www.justkez.com/phantomjs-on-debian-6-squeeze/
10
+
11
+XVFB=/usr/bin/Xvfb
12
+XVFBARGS=":0 -screen 0 1024x768x24 -fbdir /var/run -ac"
13
+PIDFILE=/var/run/xvfb.pid
14
+case "$1" in
15
+  start)
16
+    echo -n "Starting virtual X frame buffer: Xvfb"
17
+    start-stop-daemon --start --quiet --pidfile $PIDFILE --make-pidfile --background --exec $XVFB -- $XVFBARGS
18
+    echo "."
19
+    ;;
20
+  stop)
21
+    echo -n "Stopping virtual X frame buffer: Xvfb"
22
+    start-stop-daemon --stop --quiet --pidfile $PIDFILE
23
+    echo "."
24
+    ;;
25
+  restart)
26
+    $0 stop
27
+    $0 start
28
+    ;;
29
+  *)
30
+        echo "Usage: /etc/init.d/xvfb {start|stop|restart}"
31
+        exit 1
32
+esac
33
+
34
+exit 0
0 35