1 |
sping 10/01/29 15:47:54 |
2 |
|
3 |
Added: drqueue-0.64.3-sconstruct.patch |
4 |
drqueue-0.64.3-etc-confd-drqmd |
5 |
drqueue-0.64.3-etc-initd-drqsd |
6 |
drqueue-0.64.3-compile-flags.patch |
7 |
drqueue-0.64.3-etc-initd-drqmd |
8 |
drqueue-0.64.3-etc-envd-02drqueue |
9 |
drqueue-0.64.3-etc-confd-drqsd |
10 |
Log: |
11 |
media-gfx/drqueue: New package (fixes bug #69553) |
12 |
(Portage version: 2.2_rc61/cvs/Linux i686) |
13 |
|
14 |
Revision Changes Path |
15 |
1.1 media-gfx/drqueue/files/drqueue-0.64.3-sconstruct.patch |
16 |
|
17 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/drqueue/files/drqueue-0.64.3-sconstruct.patch?rev=1.1&view=markup |
18 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/drqueue/files/drqueue-0.64.3-sconstruct.patch?rev=1.1&content-type=text/plain |
19 |
|
20 |
Index: drqueue-0.64.3-sconstruct.patch |
21 |
=================================================================== |
22 |
--- drqueue-0.64.3/SConstruct 2007-07-22 07:34:40.000000000 +0100 |
23 |
+++ drqueue-0.64.3/SConstruct.patched 2007-08-15 18:59:54.000000000 +0100 |
24 |
@@ -108,7 +108,7 @@ env_lib.Append (CPPDEFINES = Split ('-DC |
25 |
|
26 |
print "Platform is: ",sys.platform |
27 |
if sys.platform == "linux2": |
28 |
- env_lib.Append (CPPDEFINES = Split ('-D__LINUX')) |
29 |
+ env_lib.Append (CPPDEFINES = Split ('-D__LINUX'),CFLAGS = Split ('-fPIC')) |
30 |
elif sys.platform == "darwin": |
31 |
env_lib.Append (CPPDEFINES = Split ('-D__OSX')) |
32 |
if env_lib.get('universal_binary'): |
33 |
|
34 |
|
35 |
|
36 |
1.1 media-gfx/drqueue/files/drqueue-0.64.3-etc-confd-drqmd |
37 |
|
38 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/drqueue/files/drqueue-0.64.3-etc-confd-drqmd?rev=1.1&view=markup |
39 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/drqueue/files/drqueue-0.64.3-etc-confd-drqmd?rev=1.1&content-type=text/plain |
40 |
|
41 |
Index: drqueue-0.64.3-etc-confd-drqmd |
42 |
=================================================================== |
43 |
# /etc/conf.d/drqmd config file for /etc/init.d/drqmd |
44 |
|
45 |
# enter your master hostname here |
46 |
DRQUEUE_MASTER="127.0.0.1" |
47 |
|
48 |
# this is the drqueue root dir, do not change below here unless you know what you're doing |
49 |
DRQUEUE_ROOT="/var/lib/drqueue" |
50 |
DRQUEUE_LOGS="/var/log/drqueue" |
51 |
|
52 |
# set the environmental variables for drqueue |
53 |
ENV="env DRQUEUE_ROOT=${DRQUEUE_ROOT} DRQUEUE_MASTER=${DRQUEUE_MASTER} DRQUEUE_LOGS=${DRQUEUE_LOGS}" |
54 |
|
55 |
# this is the drqueue master executable |
56 |
DRQUEUEMASTER_EXEC="/usr/bin/master" |
57 |
|
58 |
# this is where drqueue master will store its pid file |
59 |
DRQUEUEMASTER_PIDFILE="/var/run/drqueue/drqmd.pid" |
60 |
|
61 |
|
62 |
|
63 |
|
64 |
|
65 |
|
66 |
1.1 media-gfx/drqueue/files/drqueue-0.64.3-etc-initd-drqsd |
67 |
|
68 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/drqueue/files/drqueue-0.64.3-etc-initd-drqsd?rev=1.1&view=markup |
69 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/drqueue/files/drqueue-0.64.3-etc-initd-drqsd?rev=1.1&content-type=text/plain |
70 |
|
71 |
Index: drqueue-0.64.3-etc-initd-drqsd |
72 |
=================================================================== |
73 |
#!/sbin/runscript |
74 |
|
75 |
depend() { |
76 |
need net |
77 |
} |
78 |
|
79 |
start() { |
80 |
[ -e "${DRQUEUESLAVE_PIDFILE}" ] && rm -f ${DRQUEUESLAVE_PIDFILE} &>/dev/null |
81 |
|
82 |
ebegin "Starting drqsd" |
83 |
chown drqueue `dirname ${DRQUEUESLAVE_PIDFILE}` &>/dev/null |
84 |
${ENV} /sbin/start-stop-daemon -b --start --quiet --startas /usr/bin/slave \ |
85 |
--pidfile ${DRQUEUESLAVE_PIDFILE} --make-pidfile |
86 |
|
87 |
eend $? |
88 |
} |
89 |
|
90 |
stop() { |
91 |
ebegin "Stopping drqsd" |
92 |
pkill -u root,drqueue slave |
93 |
start-stop-daemon --stop --quiet --pidfile "${DRQUEUESLAVE_PIDFILE}" |
94 |
rm -f "${DRQUEUESLAVE_PIDFILE}" |
95 |
eend $? |
96 |
} |
97 |
|
98 |
|
99 |
|
100 |
|
101 |
1.1 media-gfx/drqueue/files/drqueue-0.64.3-compile-flags.patch |
102 |
|
103 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/drqueue/files/drqueue-0.64.3-compile-flags.patch?rev=1.1&view=markup |
104 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/drqueue/files/drqueue-0.64.3-compile-flags.patch?rev=1.1&content-type=text/plain |
105 |
|
106 |
Index: drqueue-0.64.3-compile-flags.patch |
107 |
=================================================================== |
108 |
--- SConstruct_BACKUP 2009-12-31 22:53:23.000000000 +0100 |
109 |
+++ SConstruct 2009-12-31 22:57:48.000000000 +0100 |
110 |
@@ -102,9 +102,10 @@ |
111 |
env_lib.Append (CPPPATH=['.','libdrqueue']) |
112 |
env_lib.Append (CPPDEFINES = Split ('-DCOMM_REPORT -D_GNU_SOURCE ' \ |
113 |
+ '-D_NO_COMPUTER_POOL_SEMAPHORES -D_NO_COMPUTER_SEMAPHORES'), |
114 |
- CPPFLAGS = Split ('-g -O0'), |
115 |
+ CFLAGS = Split(os.environ.get('CFLAGS', '')), |
116 |
CXXFLAGS = ['-D__CPLUSPLUS',Split(env_lib.subst('$CCFLAGS')), |
117 |
- Split(env_lib.subst('$CPPDEFINES'))]) |
118 |
+ Split(env_lib.subst('$CPPDEFINES')), |
119 |
+ Split(os.environ.get('CXXFLAGS', ''))]) |
120 |
|
121 |
print "Platform is: ",sys.platform |
122 |
if sys.platform == "linux2": |
123 |
|
124 |
|
125 |
|
126 |
1.1 media-gfx/drqueue/files/drqueue-0.64.3-etc-initd-drqmd |
127 |
|
128 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/drqueue/files/drqueue-0.64.3-etc-initd-drqmd?rev=1.1&view=markup |
129 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/drqueue/files/drqueue-0.64.3-etc-initd-drqmd?rev=1.1&content-type=text/plain |
130 |
|
131 |
Index: drqueue-0.64.3-etc-initd-drqmd |
132 |
=================================================================== |
133 |
#!/sbin/runscript |
134 |
|
135 |
depend() { |
136 |
need net |
137 |
} |
138 |
|
139 |
start() { |
140 |
[ -e "${DRQUEUEMASTER_PIDFILE}" ] && rm -f ${DRQUEUEMASTER_PIDFILE} &>/dev/null |
141 |
ebegin "Starting drqmd" |
142 |
|
143 |
chown drqueue `dirname ${DRQUEUEMASTER_PIDFILE}` &>/dev/null |
144 |
${ENV} /sbin/start-stop-daemon -b --start --quiet --startas /usr/bin/master \ |
145 |
--pidfile ${DRQUEUEMASTER_PIDFILE} --make-pidfile |
146 |
|
147 |
eend $? |
148 |
} |
149 |
|
150 |
stop() { |
151 |
ebegin "Stopping drqmd" |
152 |
pkill -u root,drqueue master |
153 |
start-stop-daemon --stop --quiet --pidfile "${DRQUEUEMASTER_PIDFILE}" |
154 |
rm -f "${DRQUEUEMASTER_PIDFILE}" |
155 |
eend $? |
156 |
} |
157 |
|
158 |
|
159 |
|
160 |
|
161 |
|
162 |
1.1 media-gfx/drqueue/files/drqueue-0.64.3-etc-envd-02drqueue |
163 |
|
164 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/drqueue/files/drqueue-0.64.3-etc-envd-02drqueue?rev=1.1&view=markup |
165 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/drqueue/files/drqueue-0.64.3-etc-envd-02drqueue?rev=1.1&content-type=text/plain |
166 |
|
167 |
Index: drqueue-0.64.3-etc-envd-02drqueue |
168 |
=================================================================== |
169 |
# environment variable for DrQueue |
170 |
DRQUEUE_MASTER="127.0.0.1" |
171 |
DRQUEUE_ROOT="/var/lib/drqueue" |
172 |
DRQUEUE_LOGS="/var/log/drqueue" |
173 |
|
174 |
|
175 |
|
176 |
|
177 |
1.1 media-gfx/drqueue/files/drqueue-0.64.3-etc-confd-drqsd |
178 |
|
179 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/drqueue/files/drqueue-0.64.3-etc-confd-drqsd?rev=1.1&view=markup |
180 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/drqueue/files/drqueue-0.64.3-etc-confd-drqsd?rev=1.1&content-type=text/plain |
181 |
|
182 |
Index: drqueue-0.64.3-etc-confd-drqsd |
183 |
=================================================================== |
184 |
# /etc/conf.d/drqsd config file for /etc/init.d/drqsd |
185 |
|
186 |
# enter your master hostname here |
187 |
DRQUEUE_MASTER="127.0.0.1" |
188 |
|
189 |
# this is the drqueue root dir, do not change below here unless you know what you're doing |
190 |
DRQUEUE_ROOT="/var/lib/drqueue" |
191 |
DRQUEUE_LOGS="/var/log/drqueue" |
192 |
|
193 |
# list of pools the slave is belonging to ("blender:mentalray:bla123") |
194 |
DRQUEUE_POOL="" |
195 |
|
196 |
# set the environmental variables for drqueue |
197 |
ENV="env DRQUEUE_ROOT=${DRQUEUE_ROOT} DRQUEUE_MASTER=${DRQUEUE_MASTER} DRQUEUE_LOGS=${DRQUEUE_LOGS} DRQUEUE_POOL=${DRQUEUE_POOL}" |
198 |
|
199 |
# this is the drqueue slave executable |
200 |
DRQUEUESLAVE_EXEC="/usr/bin/slave" |
201 |
|
202 |
# this is where drqueue slave will store its pid file |
203 |
DRQUEUESLAVE_PIDFILE="/var/run/drqueue/drqsd.pid" |