Merge lp:~team-xbmc/xbmc/debian-karmic into lp:xbmc

Proposed by daniel williamson
Status: Needs review
Proposed branch: lp:~team-xbmc/xbmc/debian-karmic
Merge into: lp:xbmc
Diff against target: 877 lines (+741/-0)
27 files modified
README.Debian (+6/-0)
changelog (+43/-0)
compat (+1/-0)
control (+180/-0)
copyright (+37/-0)
dirs (+4/-0)
docs (+6/-0)
menu (+2/-0)
patches/01_string_fixes_8.10.dpatch (+83/-0)
patches/10_change_web_cleaning.dpatch (+22/-0)
rules (+149/-0)
xbmc-common.install (+13/-0)
xbmc-eventclients-common.install (+2/-0)
xbmc-eventclients-dev.examples (+1/-0)
xbmc-eventclients-dev.install (+1/-0)
xbmc-eventclients-j2me.install (+1/-0)
xbmc-eventclients-ps3.install (+1/-0)
xbmc-eventclients-wiiremote.install (+1/-0)
xbmc-eventclients-xbmc-send.install (+1/-0)
xbmc-live.install (+6/-0)
xbmc-live.postinst (+139/-0)
xbmc-scripts-example.install (+1/-0)
xbmc-skin-confluence.install (+1/-0)
xbmc-skin-pm3-hd.install (+1/-0)
xbmc-standalone.install (+2/-0)
xbmc-web-iphone-tlrobinson.copyright (+36/-0)
xbmc-web-pm3.install (+1/-0)
To merge this branch: bzr merge lp:~team-xbmc/xbmc/debian-karmic
Reviewer Review Type Date Requested Status
VCS imports Pending
Review via email: mp+265894@code.launchpad.net
To post a comment you must log in.

Unmerged revisions

108. By Oumar Aziz OUATTARA

move to libvdpau-dev

107. By Oumar Aziz OUATTARA

merge with jaunty

106. By Oumar Aziz OUATTARA

fix rules file

105. By Oumar Aziz OUATTARA

merge with previous release

104. By Oumar Aziz OUATTARA

update xbmc-live files

103. By Oumar Aziz OUATTARA

change doc files

102. By Oumar Aziz OUATTARA

add libiso6990 dependency

101. By Oumar Aziz OUATTARA

add libtiff4

100. By Oumar Aziz OUATTARA

add libfaad

99. By Oumar Aziz OUATTARA

change libvdpau package to 185

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added file 'README.Debian'
2--- README.Debian 1970-01-01 00:00:00 +0000
3+++ README.Debian 2015-07-25 13:53:48 +0000
4@@ -0,0 +1,6 @@
5+xbmc for Debian
6+---------------
7+
8+<possible notes regarding this package - if none, delete this file>
9+
10+ -- Ouattara Oumar Aziz (alias wattazoum) <wattazoum@gmail.com> Thu, 27 Mar 2008 11:52:48 +0100
11
12=== added file 'changelog'
13--- changelog 1970-01-01 00:00:00 +0000
14+++ changelog 2015-07-25 13:53:48 +0000
15@@ -0,0 +1,43 @@
16+xbmc (2.1a2-hardy2) hardy; urgency=low
17+
18+ * XBMC Alpha 2
19+
20+ -- Ouattara Oumar Aziz (alias wattazoum) <wattazoum@gmail.com> Sat, 17 May 2008 19:40:06 +0200
21+
22+xbmc (2.1a1svn12983-hardy1) hardy; urgency=low
23+
24+ * hardy port of XBMC latest svn 12983
25+ * added eventclients packages
26+
27+ -- Ouattara Oumar Aziz (alias wattazoum) <wattazoum@gmail.com> Mon, 12 May 2008 10:50:46 +0200
28+
29+xbmc (2.1a1b2-gutsy1) gutsy; urgency=low
30+
31+ * add the debug symbol package
32+ * change the launcher icon to the one provided by djdafreund
33+ * create the log file by default and give it the universal rigths
34+ * Activate support for WII remote
35+
36+ -- Ouattara Oumar Aziz (alias wattazoum) <wattazoum@gmail.com> Mon, 31 Mar 2008 19:33:14 +0200
37+
38+xbmc (2.1a1b1-gutsy3) gutsy; urgency=low
39+
40+ * Release from revision 12195
41+ * MythTV support
42+ * Added a launcher for xbmc
43+
44+ -- Ouattara Oumar Aziz (alias wattazoum) <wattazoum@gmail.com> Sat, 29 Mar 2008 20:28:47 +0100
45+
46+xbmc (2.1a1-gutsy2) gutsy; urgency=low
47+
48+ * Release Made on Revision 12195
49+ * No Myth TV support
50+
51+ -- Ouattara Oumar Aziz (alias wattazoum) <wattazoum@gmail.com> Sat, 29 Mar 2008 01:49:20 +0100
52+
53+xbmc (0.1-1gutsy~ppa1) gutsy; urgency=low
54+
55+ * Initial release for GUTSY : first ppa package for XBMC
56+
57+ -- Ouattara Oumar Aziz (alias wattazoum) <wattazoum@gmail.com> Fri, 28 Mar 2008 21:17:01 +0100
58+
59
60=== added file 'compat'
61--- compat 1970-01-01 00:00:00 +0000
62+++ compat 2015-07-25 13:53:48 +0000
63@@ -0,0 +1,1 @@
64+5
65
66=== added file 'control'
67--- control 1970-01-01 00:00:00 +0000
68+++ control 2015-07-25 13:53:48 +0000
69@@ -0,0 +1,180 @@
70+Source: xbmc
71+Section: universe/misc
72+Priority: extra
73+Maintainer: Ouattara Oumar Aziz (alias wattazoum) <wattazoum@gmail.com>
74+Build-Depends: debhelper (>= 5), python-support, autotools-dev, libdbus-1-dev, libhal-dev, libhal-storage-dev,
75+ make, g++, gcc, libsdl1.2-dev, libsdl-image1.2-dev, libsdl-gfx1.2-dev, libsdl-mixer1.2-dev,
76+ libsdl-sound1.2-dev, libbz2-dev, libcdio-dev, libfribidi-dev, liblzo2-dev , libfreetype6-dev, unzip,
77+ libsqlite3-dev, libogg-dev, libsmbclient-dev, libasound2-dev, python2.4-dev, python2.4, python-sqlite, cmake,
78+ libglew1.5-dev,
79+ libcurl4-openssl-dev,
80+ gawk, x11proto-xinerama-dev, libxinerama-dev, libxrandr-dev, libxrender-dev,
81+ libmms-dev, pmount, libmad0-dev, libtre-dev, libvorbis-dev, libmysqlclient15-dev, libpcre3-dev, libbluetooth-dev,
82+ libfontconfig-dev, libcwiid1-dev, libboost-dev, libtool, zip, nasm, autoconf, libfaac-dev, automake, libjasper-dev,
83+ libxt-dev, libxtst-dev, libxmu-dev, gperf, libenca-dev, libjpeg62-dev, libpng12-dev, dpatch, libpulse-dev,
84+ nvidia-190-libvdpau-dev,
85+ libsamplerate0-dev,
86+ libxtst-dev,
87+ libfaad-dev,
88+ libtiff4-dev,
89+ libiso9660-dev,
90+ libass-dev
91+Standards-Version: 3.8.0
92+Homepage: http://xbmc.org/
93+
94+Package: xbmc
95+Architecture: i386 amd64
96+Depends: xbmc-common (= ${binary:Version}),
97+ xbmc-skin-confluence (= ${binary:Version}),
98+ xbmc-skin-pm3-hd (= ${binary:Version}),
99+ xbmc-web-pm3 (= ${binary:Version})
100+Suggests: xbmc-third-parties
101+Description: The Full XBMC meta package
102+ XBMC is a free and open source software media player
103+ and entertainment hub distributed under the GNU General Public Licence.
104+ .
105+ Currently XBMC can be used to play/view most common
106+ video/audio/picture formats such as MPEG-1/2/4, DivX, XviD, MP3, AAC,
107+ JPG, GIF plus many more less known formats
108+
109+Package: xbmc-live
110+Architecture: i386 amd64
111+Depends: xbmc-standalone (= ${binary:Version}), policykit, openssh-server, python-apt
112+Conflicts: kdm, gdm, xdm, wdm
113+Description: The XBMC live package.
114+ This is used to setup the XBMC Live environment.
115+
116+Package: xbmc-standalone
117+Architecture: i386 amd64
118+Depends: xbmc-common (= ${binary:Version}),
119+ xbmc-skin-pm3-hd (= ${binary:Version}),
120+ xbmc-web-pm3 (= ${binary:Version})
121+Suggests: xbmc-third-parties
122+Description: The XBMC Standalone package
123+ XBMC is a free and open source software media player
124+ and entertainment hub distributed under the GNU General Public Licence.
125+ .
126+ Currently XBMC can be used to play/view most common
127+ video/audio/picture formats such as MPEG-1/2/4, DivX, XviD, MP3, AAC,
128+ JPG, GIF plus many more less known formats
129+ .
130+ This package will install files that would permit to launch XBMC without having a Desktop Manager.
131+
132+Package: xbmc-common
133+Architecture: i386 amd64
134+Depends: pmount, libdbus-1-3, libhal1, libhal-storage1, libsdl1.2debian, libsdl-gfx1.2-4, libsdl-image1.2,
135+ libsdl-mixer1.2, libsdl-sound1.2, libfribidi0, libcdio7, liblzo2-2, libfreetype6, libbz2-1.0,
136+ libsqlite3-0, python2.4, python-sqlite, libglew1.5, gawk, libsmbclient, libasound2, libmms0, libcurl3,
137+ libxinerama1, x11-common, xserver-xorg-core, libxrandr2, libxrender1, libmad0, libtre4, libvorbis0a,
138+ libpcre3, libjasper1, libfontconfig1, hal, libenca0, libfaac0, libpulse0,
139+ libmysqlclient15off,
140+ libcurl4-openssl-dev,
141+ mesa-utils,
142+ libavahi-client3,
143+ libsamplerate0,
144+ xinit,
145+ x11-xserver-utils,
146+ libvorbisenc2,
147+ libxtst6,
148+ libfaad0,
149+ libtiff4,
150+ libiso9660-5,
151+ libass3
152+Suggests: xbmc-test-helper
153+Recommends: python-qt3
154+Description: XBMC common package
155+ This package contains all the datas needed to have a working XBMC
156+
157+Package: xbmc-common-dbg
158+Architecture: i386 amd64
159+Depends: xbmc-common (= ${binary:Version})
160+Description: XBMC Debug symbols
161+ This package contains debugging symbols for xbmc
162+
163+Package: xbmc-scripts-example
164+Architecture: i386 amd64
165+Depends: xbmc-common (= ${binary:Version})
166+Description: XBMC default scripts package
167+ Scripts shipped with XBMC for user conveniance
168+
169+Package: xbmc-skin-confluence
170+Architecture: i386 amd64
171+Depends: xbmc-common (= ${binary:Version})
172+Replaces: xbmc-skin-default
173+Conflicts: xbmc-skin-default
174+Description: XBMC Confluence skin package
175+ The XBMC Confluence Skin package.
176+
177+Package: xbmc-skin-pm3-hd
178+Architecture: i386 amd64
179+Depends: xbmc-common (= ${binary:Version})
180+Description: XBMC PM3 HD skin package
181+ The XBMC PM3 HD Skin package (aka Project Mahem III High Definition).
182+
183+Package: xbmc-web-pm3
184+Architecture: i386 amd64
185+Depends: xbmc-common (= ${binary:Version})
186+Description: XBMC Webserver Project Mahem III skin package
187+ The PM3 (aka Project Mahem III) Skin for the XBMC web server .
188+
189+Package: xbmc-web-pm
190+Architecture: i386 amd64
191+Depends: xbmc-common (= ${binary:Version})
192+Conflicts: xbmc-web-pm3
193+Description: XBMC Webserver Project Mahem skin package
194+ The PM (aka Project Mahem) Skin for the XBMC web server .
195+
196+Package: xbmc-web-eflexweb
197+Architecture: i386 amd64
198+Depends: xbmc-common (= ${binary:Version})
199+Conflicts: xbmc-web-pm3, xbmc-web-pm, xbmc-web-iphone-tlrobinson
200+Description: XBMC Webserver Eflex web skin package
201+ The XBMC Webserver Eflex web Skin for the XBMC web server .
202+
203+Package: xbmc-web-iphone-tlrobinson
204+Architecture: i386 amd64
205+Depends: xbmc-common (= ${binary:Version})
206+Description: XBMC Webserver Iphone skin package
207+ iPhone's web browser (based on WebKit) can display full interactive webpages,
208+ and Xbox Media Center (XBMC) contains a simple web server that can store web
209+ page and react to various commands like pause, play, volume control and many
210+ more. The remote is written entirely in JavaScript, HTML, and CSS, and makes
211+ use of iUI, a framework for iPhone-like interfaces on web apps, written by
212+ Joe Hewitt.
213+
214+Package: xbmc-eventclients-wiiremote
215+Architecture: i386 amd64
216+Depends: xbmc-eventclients-common (= ${binary:Version}), libcwiid1
217+Description: XBMC Event Client for WII Remote support
218+ The Wii Remote client package for XBMC.
219+
220+Package: xbmc-eventclients-common
221+Architecture: i386 amd64
222+Depends: libbluetooth3, python2.5
223+Description: XBMC Event Client Common package
224+ The common package for XBMC Event Client.
225+
226+Package: xbmc-eventclients-dev
227+Architecture: i386 amd64
228+Depends: xbmc-eventclients-common (= ${binary:Version})
229+Description: XBMC Event Client Dev package
230+ The Development package for XBMC Event Client.
231+
232+Package: xbmc-eventclients-j2me
233+Architecture: i386 amd64
234+Depends: xbmc-eventclients-common (= ${binary:Version}), python-bluez
235+Description: XBMC Event Client J2ME package
236+ The J2ME package for XBMC Event Client. This is meant to provide a server that communicate with a mobile tool supporting Java ME.
237+
238+Package: xbmc-eventclients-ps3
239+Architecture: i386 amd64
240+Depends: xbmc-eventclients-common (= ${binary:Version})
241+Description: XBMC Event Client PS3 package
242+ The PS3 package for XBMC Event Client.
243+
244+Package: xbmc-eventclients-xbmc-send
245+Architecture: i386 amd64
246+Depends: xbmc-eventclients-common (= ${binary:Version})
247+Description: XBMC-SEND Event Client package
248+ The XBMC-SEND package for XBMC Event Client.
249+
250
251=== added file 'copyright'
252--- copyright 1970-01-01 00:00:00 +0000
253+++ copyright 2015-07-25 13:53:48 +0000
254@@ -0,0 +1,37 @@
255+This package was debianized by Ouattara Oumar Aziz (alias wattazoum) <wattazoum@gmail.com> on
256+Thu, 27 Mar 2008 11:52:48 +0100.
257+
258+It was downloaded from https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/linuxport/XBMC/
259+
260+Upstream Author(s):
261+
262+ Team XBMC <team@xbmc.org>
263+
264+Copyright:
265+
266+ <Copyright (C) 2008 Team XBMC>
267+
268+License:
269+
270+ This package is free software; you can redistribute it and/or
271+ modify it under the terms of the GNU Lesser General Public
272+ License as published by the Free Software Foundation; either
273+ version 2 of the License, or (at your option) any later version.
274+
275+ This package is distributed in the hope that it will be useful,
276+ but WITHOUT ANY WARRANTY; without even the implied warranty of
277+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
278+ Lesser General Public License for more details.
279+
280+ You should have received a copy of the GNU Lesser General Public
281+ License along with this package; if not, write to the Free Software
282+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
283+
284+On Debian systems, the complete text of the GNU Lesser General
285+Public License can be found in `/usr/share/common-licenses/LGPL'.
286+
287+The Debian packaging is (C) 2008, Ouattara Oumar Aziz (alias wattazoum) <wattazoum@gmail.com> and
288+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
289+
290+# Please also look if there are files or directories which have a
291+# different copyright/license attached and list them here.
292
293=== added file 'dirs'
294--- dirs 1970-01-01 00:00:00 +0000
295+++ dirs 2015-07-25 13:53:48 +0000
296@@ -0,0 +1,4 @@
297+usr/bin
298+usr/share
299+usr/share/pixmaps
300+usr/share/applications
301
302=== added file 'docs'
303--- docs 1970-01-01 00:00:00 +0000
304+++ docs 2015-07-25 13:53:48 +0000
305@@ -0,0 +1,6 @@
306+copying.txt
307+keymapping.txt
308+README.linux
309+README.ubuntu
310+LICENSE.GPL
311+known_issues.txt
312
313=== added file 'menu'
314--- menu 1970-01-01 00:00:00 +0000
315+++ menu 2015-07-25 13:53:48 +0000
316@@ -0,0 +1,2 @@
317+?package(xbmc):needs="X11|wm" section="Applications/Video"\
318+ title="xbmc" command="/usr/bin/xbmc"
319
320=== added directory 'patches'
321=== added file 'patches/00list'
322=== added file 'patches/01_string_fixes_8.10.dpatch'
323--- patches/01_string_fixes_8.10.dpatch 1970-01-01 00:00:00 +0000
324+++ patches/01_string_fixes_8.10.dpatch 2015-07-25 13:53:48 +0000
325@@ -0,0 +1,83 @@
326+#! /bin/sh /usr/share/dpatch/dpatch-run
327+## 01_string_fixes_8.10.dpatch by Ouattara Oumar Aziz (alias wattazoum) <wattazoum@gmail.com>
328+##
329+## All lines beginning with `## DP:' are a description of the patch.
330+## DP: fixes some version strings in atlantis
331+
332+@DPATCH@
333+
334+Index: XBMC/xbmc/win32/XBMC_PC.rc
335+===================================================================
336+--- XBMC/xbmc/win32/XBMC_PC.rc (révision 16149)
337++++ XBMC/xbmc/win32/XBMC_PC.rc (copie de travail)
338+@@ -53,8 +53,8 @@
339+ //
340+
341+ VS_VERSION_INFO VERSIONINFO
342+- FILEVERSION 2,1,0,0
343+- PRODUCTVERSION 2,1,0,0
344++ FILEVERSION 0,8,1,0
345++ PRODUCTVERSION 0,8,1,0
346+ FILEFLAGSMASK 0x3fL
347+ #ifdef _DEBUG
348+ FILEFLAGS 0x1L
349+@@ -71,12 +71,12 @@
350+ BEGIN
351+ VALUE "CompanyName", "Team XBMC"
352+ VALUE "FileDescription", "XBMC "
353+- VALUE "FileVersion", "pre-2.1"
354++ VALUE "FileVersion", "8.10"
355+ VALUE "InternalName", "XBMC.exe"
356+ VALUE "LegalCopyright", "CopyRight (c) Team XBMC. All rights reserved."
357+ VALUE "OriginalFilename", "XBMC.exe"
358+ VALUE "ProductName", "XBMC for Windows"
359+- VALUE "ProductVersion", "pre-2.1"
360++ VALUE "ProductVersion", "8.10"
361+ END
362+ END
363+ BLOCK "VarFileInfo"
364+Index: XBMC/xbmc/FileSystem/cddb.cpp
365+===================================================================
366+--- XBMC/xbmc/FileSystem/cddb.cpp (révision 16149)
367++++ XBMC/xbmc/FileSystem/cddb.cpp (copie de travail)
368+@@ -1206,9 +1206,9 @@
369+
370+ //##########################################################
371+ // Send the Hello message
372+- if ( ! Send("cddb hello xbox xbox XboxMediaCenter pre-2.1"))
373++ if ( ! Send("cddb hello xbmc xbmc XBMC 8.10"))
374+ {
375+- CLog::Log(LOGERROR, "Xcddb::queryCDinfo Error sending \"%s\"", "cddb hello xbox xbox XboxMediaCenter pre-2.1");
376++ CLog::Log(LOGERROR, "Xcddb::queryCDinfo Error sending \"%s\"", "cddb hello xbmc xbmc XBMC 8.10");
377+ m_lastError = E_NETWORK_ERROR_SEND;
378+ return false;
379+ }
380+Index: XBMC/xbmc/FileSystem/FileCurl.cpp
381+===================================================================
382+--- XBMC/xbmc/FileSystem/FileCurl.cpp (révision 16149)
383++++ XBMC/xbmc/FileSystem/FileCurl.cpp (copie de travail)
384+@@ -389,7 +389,7 @@
385+ if (m_userAgent.length() > 0)
386+ g_curlInterface.easy_setopt(h, CURLOPT_USERAGENT, m_userAgent.c_str());
387+ else /* set some default agent as shoutcast doesn't return proper stuff otherwise */
388+- g_curlInterface.easy_setopt(h, CURLOPT_USERAGENT, "XBMC/pre-2.1 (compatible; MSIE 6.0; Windows NT 5.1; WinampMPEG/5.09)");
389++ g_curlInterface.easy_setopt(h, CURLOPT_USERAGENT, "XBMC/8.10 (compatible; MSIE 6.0; Windows NT 5.1; WinampMPEG/5.09)");
390+
391+ if (m_useOldHttpVersion)
392+ g_curlInterface.easy_setopt(h, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_0);
393+Index: XBMC/xbmc/utils/GUIInfoManager.h
394+===================================================================
395+--- XBMC/xbmc/utils/GUIInfoManager.h (révision 16149)
396++++ XBMC/xbmc/utils/GUIInfoManager.h (copie de travail)
397+@@ -393,9 +393,9 @@
398+ #define BUTTON_SCROLLER_HAS_ICON 30001
399+
400+ #ifdef SVN_REV
401+-#define VERSION_STRING "pre-8.10 SVN:"SVN_REV
402++#define VERSION_STRING "8.10 SVN:"SVN_REV
403+ #else
404+-#define VERSION_STRING "pre-8.10"
405++#define VERSION_STRING "8.10 - ATLANTIS"
406+ #endif
407+
408+ #define LISTITEM_START 35000
409
410=== added file 'patches/10_change_web_cleaning.dpatch'
411--- patches/10_change_web_cleaning.dpatch 1970-01-01 00:00:00 +0000
412+++ patches/10_change_web_cleaning.dpatch 2015-07-25 13:53:48 +0000
413@@ -0,0 +1,22 @@
414+#! /bin/sh /usr/share/dpatch/dpatch-run
415+## 10_change_web_cleaning.dpatch by <wattazoum@wattazoum-desktop>
416+##
417+## All lines beginning with `## DP:' are a description of the patch.
418+## DP: No description.
419+
420+@DPATCH@
421+diff -urNad xbmc-9.04.3+svn22528~/Makefile.in xbmc-9.04.3+svn22528/Makefile.in
422+--- xbmc-9.04.3+svn22528~/Makefile.in 2009-09-06 04:15:01.000000000 +0200
423++++ xbmc-9.04.3+svn22528/Makefile.in 2009-09-06 04:17:53.000000000 +0200
424+@@ -482,9 +482,10 @@
425+ @install -D tools/XBMCLive/setAlsaVolumes $(prefix)/bin
426+
427+ install-web:
428++ @echo "Install WEB in $(prefix) ..."
429+ @mkdir -p $(prefix)/share/xbmc/web
430+ @cp -r web/Project_Mayhem_III/* $(prefix)/share/xbmc/web
431+- @find $(prefix)/share/xbmc/web -regextype posix-extended -iregex ".*svn.*" -delete
432++ @find $(prefix)/share/xbmc/web -name ".svn" -exec rm -rf {} \;
433+
434+ uninstall:
435+ @echo "Removing XBMC..."
436
437=== added file 'rules'
438--- rules 1970-01-01 00:00:00 +0000
439+++ rules 2015-07-25 13:53:48 +0000
440@@ -0,0 +1,149 @@
441+#!/usr/bin/make -f
442+# -*- makefile -*-
443+# Sample debian/rules that uses debhelper.
444+#
445+# This file was originally written by Joey Hess and Craig Small.
446+# As a special exception, when this file is copied by dh-make into a
447+# dh-make output file, you may use that output file without restriction.
448+# This special exception was added by Craig Small in version 0.37 of dh-make.
449+#
450+# Modified to make a template file for a multi-binary package with separated
451+# build-arch and build-indep targets by Bill Allombert 2001
452+
453+# Uncomment this to turn on verbose mode.
454+#export DH_VERBOSE=1
455+
456+# This has to be exported to make some magic below work.
457+export DH_OPTIONS
458+
459+# These are used for cross-compiling and for saving the configure script
460+# from having to guess our platform (since we know it already)
461+DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
462+DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
463+#get the svnversion if the file exists
464+ifneq "$(shell cat debian/svnrevision)" ""
465+SVNVERSION ?= $(shell cat debian/svnrevision)
466+endif
467+
468+configure: patch bootstrap
469+ ./bootstrap
470+
471+config.status: configure
472+ dh_testdir
473+ # Add here commands to configure the package.
474+ifneq "$(wildcard /usr/share/misc/config.sub)" ""
475+ cp -f /usr/share/misc/config.sub config.sub
476+endif
477+ifneq "$(wildcard /usr/share/misc/config.guess)" ""
478+ cp -f /usr/share/misc/config.guess config.guess
479+endif
480+ cp tools/XBMCLive/xbmc-live debian/xbmc-live.init
481+ cp -f tools/XBMCLive/postrm debian/xbmc-live.postrm
482+ cp -f tools/XBMCLive/postinst debian/xbmc-live.postinst
483+ ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --enable-vdpau --enable-avahi SVN_REV="$(SVNVERSION)"
484+
485+#Architecture
486+build: build-arch
487+
488+build-arch: build-arch-stamp
489+build-arch-stamp: config.status
490+
491+ # Add here commands to compile the arch part of the package.
492+ $(MAKE)
493+ touch $@
494+
495+build-indep: build-indep-stamp
496+build-indep-stamp: config.status
497+
498+ # Add here commands to compile the indep part of the package.
499+ #$(MAKE) doc
500+ touch $@
501+
502+clean: clean-patched unpatch
503+ rm -f debian/xbmc-live.init
504+
505+clean-patched:
506+ dh_testdir
507+ dh_testroot
508+ rm -f build-arch-stamp build-indep-stamp
509+
510+ # Add here commands to clean up after the build process.
511+ #$(MAKE) distclean
512+ rm -f config.sub config.guess
513+
514+ dh_clean
515+
516+patch: patch-stamp
517+patch-stamp:
518+ dpatch apply-all
519+ dpatch cat-all >patch-stamp
520+
521+unpatch:
522+ dpatch deapply-all
523+ rm -rf patch-stamp debian/patched
524+
525+
526+install: install-indep install-arch
527+install-indep:
528+
529+install-arch:
530+ dh_testdir
531+ dh_testroot
532+ dh_clean -k -s
533+ dh_installdirs -s
534+
535+ # Add here commands to install the arch part of the package into
536+ # debian/tmp/usr/share/xbmc
537+ make install install-web install-livedatas prefix=$(CURDIR)/debian/tmp/usr/
538+ mkdir -p $(CURDIR)/debian/tmp/etc/init/
539+ cp $(CURDIR)/tools/XBMCLive/xbmc-live.conf $(CURDIR)/debian/tmp/etc/init/
540+ cp $(CURDIR)/tools/XBMCLive/xbmc-live-install.conf $(CURDIR)/debian/tmp/etc/init/
541+
542+ make eventclients prefix=$(CURDIR)/debian/tmp/usr/ installdir=/usr WII_EXTRA_OPTS=-DCWIID_OLD
543+ mkdir -p $(CURDIR)/debian/tmp/usr/share/applications $(CURDIR)/debian/tmp/usr/share/pixmaps
544+ cp -a $(CURDIR)/tools/Linux/xbmc.png $(CURDIR)/debian/tmp/usr/share/pixmaps/
545+ cp -a $(CURDIR)/tools/Linux/xbmc.desktop $(CURDIR)/debian/tmp/usr/share/applications/
546+
547+ dh_install -s --sourcedir=$(CURDIR)/debian/tmp
548+
549+ # XBMC WEB PM
550+ mkdir -p $(CURDIR)/debian/xbmc-web-pm/usr/share/xbmc/web
551+ cp -a $(CURDIR)/web/Project_Mayhem -d $(CURDIR)/debian/xbmc-web-pm/usr/share/xbmc/web
552+ # XBMC WEB PM 3
553+ mkdir -p $(CURDIR)/debian/xbmc-web-pm3/usr/share/xbmc/web
554+ cp -a $(CURDIR)/web/Project_Mayhem_III -d $(CURDIR)/debian/xbmc-web-pm/usr/share/xbmc/web
555+ # XBMC WEB Iphone
556+ mkdir -p $(CURDIR)/debian/xbmc-web-iphone-tlrobinson/usr/share/xbmc
557+ cp -a $(CURDIR)/web/xbmciphone -d $(CURDIR)/debian/xbmc-web-iphone-tlrobinson/usr/share/xbmc/web
558+ mkdir -p $(CURDIR)/debian/xbmc-web-iphone-tlrobinson/usr/share/doc/xbmc-web-iphone-tlrobinson/
559+ mv $(CURDIR)/debian/xbmc-web-iphone-tlrobinson/usr/share/xbmc/web/README $(CURDIR)/debian/xbmc-web-iphone-tlrobinson/usr/share/doc/xbmc-web-iphone-tlrobinson/
560+
561+# Must not depend on anything. This is to be called by
562+# binary-arch/binary-indep
563+# in another 'make' thread.
564+binary-common:
565+ dh_testdir
566+ dh_testroot
567+ dh_installchangelogs
568+ dh_installdocs
569+ dh_installexamples
570+ dh_installinit
571+ dh_pysupport
572+ dh_link
573+# dh_strip -X.so -X.a --dbg-package=xbmc-common-dbg
574+ dh_strip --dbg-package=xbmc-common-dbg
575+ dh_fixperms
576+ dh_installdeb
577+ dh_gencontrol
578+ dh_md5sums
579+ dh_builddeb
580+# Build architecture independant packages using the common target.
581+binary-indep: build-indep install-indep
582+ $(MAKE) -f debian/rules DH_OPTIONS=-i binary-common
583+
584+# Build architecture dependant packages using the common target.
585+binary-arch: build-arch install-arch
586+ $(MAKE) -f debian/rules DH_OPTIONS=-s binary-common
587+
588+binary: binary-arch binary-indep
589+.PHONY: build clean binary-indep binary-arch binary install install-indep install-arch
590
591=== added file 'xbmc-common.install'
592--- xbmc-common.install 1970-01-01 00:00:00 +0000
593+++ xbmc-common.install 2015-07-25 13:53:48 +0000
594@@ -0,0 +1,13 @@
595+usr/bin/xbmc
596+usr/share/xbmc/media
597+usr/share/xbmc/sounds
598+usr/share/xbmc/language
599+usr/share/xbmc/userdata
600+usr/share/xbmc/visualisations
601+usr/share/xbmc/screensavers
602+usr/share/xbmc/system
603+usr/share/xbmc/xbmc.bin
604+usr/share/xbmc/xbmc-xrandr
605+usr/share/pixmaps/xbmc.png
606+usr/share/applications
607+usr/share/xbmc/FEH.py
608
609=== added file 'xbmc-eventclients-common.install'
610--- xbmc-eventclients-common.install 1970-01-01 00:00:00 +0000
611+++ xbmc-eventclients-common.install 2015-07-25 13:53:48 +0000
612@@ -0,0 +1,2 @@
613+usr/lib/python2.5/site-packages/xbmc
614+usr/share/pixmaps/xbmc
615
616=== added file 'xbmc-eventclients-dev.examples'
617--- xbmc-eventclients-dev.examples 1970-01-01 00:00:00 +0000
618+++ xbmc-eventclients-dev.examples 2015-07-25 13:53:48 +0000
619@@ -0,0 +1,1 @@
620+tools/EventClients/examples
621
622=== added file 'xbmc-eventclients-dev.install'
623--- xbmc-eventclients-dev.install 1970-01-01 00:00:00 +0000
624+++ xbmc-eventclients-dev.install 2015-07-25 13:53:48 +0000
625@@ -0,0 +1,1 @@
626+usr/include/xbmc/xbmcclient.h
627
628=== added file 'xbmc-eventclients-j2me.install'
629--- xbmc-eventclients-j2me.install 1970-01-01 00:00:00 +0000
630+++ xbmc-eventclients-j2me.install 2015-07-25 13:53:48 +0000
631@@ -0,0 +1,1 @@
632+usr/bin/xbmc-j2meremote
633
634=== added file 'xbmc-eventclients-ps3.install'
635--- xbmc-eventclients-ps3.install 1970-01-01 00:00:00 +0000
636+++ xbmc-eventclients-ps3.install 2015-07-25 13:53:48 +0000
637@@ -0,0 +1,1 @@
638+usr/bin/xbmc-ps3remote
639
640=== added file 'xbmc-eventclients-wiiremote.install'
641--- xbmc-eventclients-wiiremote.install 1970-01-01 00:00:00 +0000
642+++ xbmc-eventclients-wiiremote.install 2015-07-25 13:53:48 +0000
643@@ -0,0 +1,1 @@
644+usr/bin/xbmc-wiiremote
645
646=== added file 'xbmc-eventclients-xbmc-send.install'
647--- xbmc-eventclients-xbmc-send.install 1970-01-01 00:00:00 +0000
648+++ xbmc-eventclients-xbmc-send.install 2015-07-25 13:53:48 +0000
649@@ -0,0 +1,1 @@
650+usr/bin/xbmc-send
651
652=== added file 'xbmc-live.install'
653--- xbmc-live.install 1970-01-01 00:00:00 +0000
654+++ xbmc-live.install 2015-07-25 13:53:48 +0000
655@@ -0,0 +1,6 @@
656+usr/bin/diskmounter
657+usr/bin/installXBMC
658+usr/bin/runXBMC
659+usr/bin/setAlsaVolumes
660+etc/init/xbmc-live-install.conf
661+etc/init/xbmc-live.conf
662
663=== added file 'xbmc-live.postinst'
664--- xbmc-live.postinst 1970-01-01 00:00:00 +0000
665+++ xbmc-live.postinst 2015-07-25 13:53:48 +0000
666@@ -0,0 +1,139 @@
667+#!/bin/sh
668+
669+set -e
670+
671+case "$1" in
672+ configure)
673+ sed -i.bak-xbmc-live s/allowed_users=console/allowed_users=anybody/ /etc/X11/Xwrapper.config
674+
675+ # Add the 'xbmc' user
676+ if ! getent passwd xbmc >/dev/null; then
677+ adduser \
678+ --gecos "XBMC Live User" \
679+ xbmc
680+ fi
681+ # Add 'xbmc' user to the appropriate groups
682+ # Below is a listing of groups and their purpose
683+ # adm - For reading system logs (minimal systems may have this user only)
684+ # sudo - allow optional passwordless sudo (with trivial intervention on /etc/sudoers)
685+ # cdrom - optical disc drive access
686+ # floppy - floppy drive access
687+ # audio - audio device access
688+ # video - video device access
689+ # plugdev - enable automatic notifications of new devices
690+ # netdev - managing network connections via NetworkManager
691+ # powerdev - to be able to hibernate/suspend
692+ # fuse - to be able to mount filesystems as normal user
693+ GROUPS="adm
694+ sudo
695+ cdrom
696+ floppy
697+ audio
698+ video
699+ plugdev
700+ netdev
701+ powerdev
702+ fuse"
703+
704+ # TODO: this probably isn't necessary anymore as PolicyKit is now being
705+ # used
706+ for GROUP in $GROUPS; do
707+ if getent group $GROUP >/dev/null && \
708+ ! getent group $GROUP | grep -q xbmc; then
709+ adduser xbmc $GROUP
710+ fi
711+ done
712+
713+ # Add xbmc to the sudoers file
714+ echo "#" >> /etc/sudoers
715+ echo "# XBMC-specific configuration" >> /etc/sudoers
716+ echo "#" >> /etc/sudoers
717+ echo "Cmnd_Alias SHUTDOWN_CMDS = /sbin/shutdown, /sbin/reboot, /sbin/halt" >> /etc/sudoers
718+ echo "Cmnd_Alias MOUNT_CMDS = /bin/mount, /bin/umount" >> /etc/sudoers
719+ echo "xbmc ALL=(ALL) ALL" >> /etc/sudoers
720+ echo "xbmc ALL=NOPASSWD: SHUTDOWN_CMDS, MOUNT_CMDS" >> /etc/sudoers
721+
722+ # Our set of PolicyKit actions
723+
724+ # This is a list of actions that the 'xbmc' user should be allowed to
725+ # do. If we missed one, or we have one that's not necessary, please
726+ # submit a bug report.
727+ POLKIT_ACTIONS="org.freedesktop.hal.dockstation.undock
728+ org.freedesktop.hal.wol.enabled
729+ org.freedesktop.hal.wol.enable
730+ org.freedesktop.hal.wol.supported
731+ org.freedesktop.hal.leds.brightness
732+ org.freedesktop.hal.device-access.audio-player
733+ org.freedesktop.hal.device-access.camera
734+ org.freedesktop.hal.device-access.cdrom
735+ org.freedesktop.hal.device-access.dvb
736+ org.freedesktop.hal.device-access.fingerprint-reader
737+ org.freedesktop.hal.device-access.floppy
738+ org.freedesktop.hal.device-access.ieee1394-avc
739+ org.freedesktop.hal.device-access.ieee1394-iidc
740+ org.freedesktop.hal.device-access.joystick
741+ org.freedesktop.hal.device-access.mouse
742+ org.freedesktop.hal.device-access.obex
743+ org.freedesktop.hal.device-access.pda
744+ org.freedesktop.hal.device-access.printer
745+ org.freedesktop.hal.device-access.scanner
746+ org.freedesktop.hal.device-access.sound
747+ org.freedesktop.hal.device-access.video
748+ org.freedesktop.hal.device-access.video4linux
749+ org.freedesktop.hal.lock
750+ org.freedesktop.hal.killswitch.bluetooth
751+ org.freedesktop.hal.killswitch.wlan
752+ org.freedesktop.hal.killswitch.wwan
753+ org.freedesktop.hal.storage.mount-removable
754+ org.freedesktop.hal.storage.eject
755+ org.freedesktop.hal.storage.crypto-setup-removable
756+ org.freedesktop.hal.power-management.shutdown
757+ org.freedesktop.hal.power-management.reboot
758+ org.freedesktop.hal.power-management.set-powersave
759+ org.freedesktop.hal.power-management.suspend
760+ org.freedesktop.hal.power-management.hibernate
761+ org.freedesktop.hal.power-management.cpufreq
762+ org.freedesktop.hal.power-management.lcd-panel
763+ org.freedesktop.hal.power-management.light-sensor
764+ org.freedesktop.hal.power-management.keyboard-backlight"
765+
766+ # Grant the 'xbmc' user each action from the list if not done already
767+ for ACTION in $POLKIT_ACTIONS; do
768+ if polkit-auth --user xbmc --show-obtainable | \
769+ grep -q $ACTION; then
770+ polkit-auth --user xbmc --grant $ACTION
771+ fi
772+ done
773+ ;;
774+
775+ abort-upgrade|abort-remove|abort-deconfigure)
776+ ;;
777+
778+ *)
779+ echo "postinst called with unknown argument \`$1'" >&2
780+ exit 1
781+ ;;
782+esac
783+
784+# Upstart scripts tested on karmic only and not backward compatible ATM
785+if [ "$(lsb_release -c | grep karmic)" ]; then
786+ if [ -x "/etc/init.d/xbmc-live" ]; then
787+ rm /etc/init.d/xbmc-live
788+ update-rc.d -f xbmc-live remove >/dev/null
789+ fi
790+
791+ ln -s /lib/init/upstart-job /etc/init.d/xbmc-live
792+else
793+ rm /etc/init/xbmc-live.conf
794+ rm /etc/init/xbmc-live-install.conf
795+
796+ if [ -x "/etc/init.d/xbmc-live" ]; then
797+ update-rc.d xbmc-live defaults >/dev/null
798+ if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
799+ invoke-rc.d xbmc-live start || exit $?
800+ else
801+ /etc/init.d/xbmc-live start || exit $?
802+ fi
803+ fi
804+fi
805+exit 0
806
807=== added file 'xbmc-scripts-example.install'
808--- xbmc-scripts-example.install 1970-01-01 00:00:00 +0000
809+++ xbmc-scripts-example.install 2015-07-25 13:53:48 +0000
810@@ -0,0 +1,1 @@
811+usr/share/xbmc/scripts
812
813=== added file 'xbmc-skin-confluence.install'
814--- xbmc-skin-confluence.install 1970-01-01 00:00:00 +0000
815+++ xbmc-skin-confluence.install 2015-07-25 13:53:48 +0000
816@@ -0,0 +1,1 @@
817+usr/share/xbmc/skin/Confluence
818
819=== added file 'xbmc-skin-pm3-hd.install'
820--- xbmc-skin-pm3-hd.install 1970-01-01 00:00:00 +0000
821+++ xbmc-skin-pm3-hd.install 2015-07-25 13:53:48 +0000
822@@ -0,0 +1,1 @@
823+usr/share/xbmc/skin/PM3.HD
824
825=== added file 'xbmc-standalone.install'
826--- xbmc-standalone.install 1970-01-01 00:00:00 +0000
827+++ xbmc-standalone.install 2015-07-25 13:53:48 +0000
828@@ -0,0 +1,2 @@
829+usr/bin/xbmc-standalone
830+usr/share/xsessions
831
832=== added file 'xbmc-web-iphone-tlrobinson.copyright'
833--- xbmc-web-iphone-tlrobinson.copyright 1970-01-01 00:00:00 +0000
834+++ xbmc-web-iphone-tlrobinson.copyright 2015-07-25 13:53:48 +0000
835@@ -0,0 +1,36 @@
836+This package was debianized by Ouattara Oumar Aziz (alias wattazoum) <wattazoum@gmail.com> on
837+Thu, 27 Mar 2008 11:52:48 +0100.
838+
839+It was downloaded from http://tlrobinson.net/projects/xbmciphone/
840+
841+Upstream Author(s):
842+
843+ Tom Robinson <contact@tlrobinson.net>
844+
845+Copyright:
846+
847+ Copyright (c) The Regents of the University of California.
848+ All rights reserved.
849+
850+License:
851+
852+ THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
853+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
854+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
855+ ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
856+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
857+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
858+ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
859+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
860+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
861+ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
862+ SUCH DAMAGE.
863+
864+On Debian systems, the complete text of the BSD
865+Public License can be found in `/usr/share/common-licenses/BSD'.
866+
867+The Debian packaging is (C) 2008, Ouattara Oumar Aziz (alias wattazoum) <wattazoum@gmail.com> and
868+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
869+
870+# Please also look if there are files or directories which have a
871+# different copyright/license attached and list them here.
872
873=== added file 'xbmc-web-pm3.install'
874--- xbmc-web-pm3.install 1970-01-01 00:00:00 +0000
875+++ xbmc-web-pm3.install 2015-07-25 13:53:48 +0000
876@@ -0,0 +1,1 @@
877+usr/share/xbmc/web

Subscribers

People subscribed via source and target branches