From 0cc79c34f5e9be7eced52b0565e8e79acfa5f4e6 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 3 Aug 2011 14:44:58 -0500 Subject: Add initial Debian Lenny/Squeeze packaging as well as symlink Lucid to Maverick --- .../applications/fusion-icon/debian/changelog | 76 +++++ .../lenny/applications/fusion-icon/debian/compat | 1 + .../lenny/applications/fusion-icon/debian/control | 21 ++ .../applications/fusion-icon/debian/copyright | 31 ++ .../applications/fusion-icon/debian/fusion-icon.1 | 38 +++ .../fusion-icon/debian/fusion-icon.xpm | 359 +++++++++++++++++++++ .../lenny/applications/fusion-icon/debian/install | 1 + debian/lenny/applications/fusion-icon/debian/links | 1 + .../lenny/applications/fusion-icon/debian/manpages | 1 + debian/lenny/applications/fusion-icon/debian/menu | 2 + .../fusion-icon/debian/patches/.gitignore | 0 .../lenny/applications/fusion-icon/debian/pycompat | 1 + .../fusion-icon/debian/python-distutils-custom.mk | 259 +++++++++++++++ debian/lenny/applications/fusion-icon/debian/rules | 18 ++ 14 files changed, 809 insertions(+) create mode 100644 debian/lenny/applications/fusion-icon/debian/changelog create mode 100644 debian/lenny/applications/fusion-icon/debian/compat create mode 100644 debian/lenny/applications/fusion-icon/debian/control create mode 100644 debian/lenny/applications/fusion-icon/debian/copyright create mode 100644 debian/lenny/applications/fusion-icon/debian/fusion-icon.1 create mode 100644 debian/lenny/applications/fusion-icon/debian/fusion-icon.xpm create mode 100644 debian/lenny/applications/fusion-icon/debian/install create mode 100644 debian/lenny/applications/fusion-icon/debian/links create mode 100644 debian/lenny/applications/fusion-icon/debian/manpages create mode 100644 debian/lenny/applications/fusion-icon/debian/menu create mode 100644 debian/lenny/applications/fusion-icon/debian/patches/.gitignore create mode 100644 debian/lenny/applications/fusion-icon/debian/pycompat create mode 100644 debian/lenny/applications/fusion-icon/debian/python-distutils-custom.mk create mode 100755 debian/lenny/applications/fusion-icon/debian/rules (limited to 'debian/lenny/applications/fusion-icon') diff --git a/debian/lenny/applications/fusion-icon/debian/changelog b/debian/lenny/applications/fusion-icon/debian/changelog new file mode 100644 index 000000000..81c02e258 --- /dev/null +++ b/debian/lenny/applications/fusion-icon/debian/changelog @@ -0,0 +1,76 @@ +fusion-icon-trinity (0.0.0+git20071028-0ubuntu1) jaunty; urgency=low + + * Added -trinity suffix + + -- Timothy Pearson Sun, 16 Apr 2009 19:57:00 -0600 + +fusion-icon (0.0.0+git20071028-2ubuntu2) hardy; urgency=low + + * Rebuild package so that it uses the python-central's new directories, + to avoid an installation error (LP: #207831). + + -- Siegfried-Angel Gevatter Pujals (RainCT) Fri, 28 Mar 2008 00:22:47 +0100 + +fusion-icon (0.0.0+git20071028-2ubuntu1) hardy; urgency=low + + * Manual sync to workaround .orig.tar.gz mismatch (LP: #204799). + + -- Siegfried-Angel Gevatter Pujals (RainCT) Fri, 21 Mar 2008 20:55:03 +0100 + +fusion-icon (0.0.0+git20071028-2) unstable; urgency=medium + + * debian/control: + - Bump python-central build dependency's minimum version to 0.6.0. + - Remove "${shlibs:Depends}" from Depends. + * debian/rules: + - Do not try to remove usr/lib, as python-central doesn't create it + anymore now (Closes: #472010). + - Remove unnecessary explicit dh_pycentral call. + + -- Siegfried-Angel Gevatter Pujals (RainCT) Fri, 21 Mar 2008 19:57:39 +0100 + +fusion-icon (0.0.0+git20071028-1) unstable; urgency=low + + * Initial upload to Debian (Closes: #461769). + * debian/rules: + - Change priority from "extra" to "optional". + - Change the Maintainer to myself and add the python-apps team + as Uploader. + - Add SVN information. + * debian/copyright: + - Some formatting changes. + + -- Siegfried-Angel Gevatter Pujals (RainCT) Sun, 20 Jan 2008 21:34:55 +0100 + +fusion-icon (0.0.0+git20071028-0ubuntu2) hardy; urgency=low + + * patches/remove_shabangs.patch: + - Remove Python shabangs + * patches/update-desktop-file.patch: + - Update .desktop file to match the current FD.o standards + - Add Catalan and Spanish translations + - Launch with the "--no-start" option, so that it doesn't reload + Compiz when it's run from the menu + * patches/glx_vendor_crash.patch: + - Always define the self.glx_vendor variable, to avoid and + AttributeError (LP: #175504) + * Add a .xpm version of the icon (debian/fusion-icon.xpm) and a + menu file (debian/menu, debian/install) + * Symlink the .png icon to /usr/share/pixmaps, so that it's + displayed in the menu and the tray (debian/links) + * Add a manpage (debian/fusion-icon.1, debian/manpages) + * debian/control: + - Bump standards version to 3.7.3 + - Bump cdbs' and debhelper's minium versions. + - Move python-central and intltool to Build-Depends-Indep + - Add python-compizconfig dependency (LP: #174507) + - Add python-qt4 as alternative dependency to python-gtk2 + - Change short description + + -- Siegfried-Angel Gevatter Pujals (RainCT) Tue, 11 Dec 2007 20:49:24 +0100 + +fusion-icon (0.0.0+git20071028-0ubuntu1) hardy; urgency=low + + * Initial upload. + + -- Michael Vogt Sun, 28 Oct 2007 11:28:19 -0400 diff --git a/debian/lenny/applications/fusion-icon/debian/compat b/debian/lenny/applications/fusion-icon/debian/compat new file mode 100644 index 000000000..7ed6ff82d --- /dev/null +++ b/debian/lenny/applications/fusion-icon/debian/compat @@ -0,0 +1 @@ +5 diff --git a/debian/lenny/applications/fusion-icon/debian/control b/debian/lenny/applications/fusion-icon/debian/control new file mode 100644 index 000000000..07c8a3d28 --- /dev/null +++ b/debian/lenny/applications/fusion-icon/debian/control @@ -0,0 +1,21 @@ +Source: fusion-icon-trinity +Section: x11 +Priority: optional +Maintainer: Timothy Pearson +Uploaders: Python Applications Packaging Team +XS-Python-Version: all +Build-Depends: cdbs (>= 0.4.49), debhelper (>= 5.0.37.1), pkg-config, python-all-dev +Build-Depends-Indep: python-central (>= 0.6.0), intltool +Standards-Version: 3.8.4 + +Package: fusion-icon-trinity +Architecture: all +XB-Python-Version: ${python:Versions} +Depends: ${misc:Depends}, ${python:Depends}, python-gtk2 | python-qt4, python-compizconfig-trinity, compiz-trinity +Description: tray icon to launch and manage Compiz Fusion [Trinity] + The OpenCompositing Project brings 3D desktop visual effects that + improve the usability and eye candy of the X Window System and provide + increased productivity. + . + This package contains a tray icon that can launch Compiz and its + decorators. diff --git a/debian/lenny/applications/fusion-icon/debian/copyright b/debian/lenny/applications/fusion-icon/debian/copyright new file mode 100644 index 000000000..ae1ce34fa --- /dev/null +++ b/debian/lenny/applications/fusion-icon/debian/copyright @@ -0,0 +1,31 @@ +This package was debianized by Michael Vogt +Wed, 28 Oct 2007 15:59:31 +0200. + +It was downloaded from git://anongit.compiz-fusion.org/users/crdlb/fusion-icon + +Upstream Author: + + Christopher Williams + +Copyright: + + Copyright (C) 2007 Christopher Williams + +License: + + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL-2'. + +The Debian packaging is (C) 2007 Michael Vogt , +(C) 2008 Siegfried-Angel Gevatter Pujals , and it +is licensed under the GPL (see above). diff --git a/debian/lenny/applications/fusion-icon/debian/fusion-icon.1 b/debian/lenny/applications/fusion-icon/debian/fusion-icon.1 new file mode 100644 index 000000000..1b15860e1 --- /dev/null +++ b/debian/lenny/applications/fusion-icon/debian/fusion-icon.1 @@ -0,0 +1,38 @@ +.TH FUSION\-ICON "1" "11 December 2007" +.SH NAME +fusion\-icon \- tray icon to launch and manage Compiz Fusion +.SH SYNOPSIS +.B fusion\-icon\fR [\fBOPTIONS\fR] +.SH DESCRIPTION +.PP +This man page documents briefly the \fBfusion\-icon\fR command. +\fBfusion\-icon\fR is a tray icon for easy window manager and window +decorator switching, and it is being developed as part of the Open +Compositing project. +.SH OPTIONS +.TP +.B \-\-version +Show \fBfusion\-icon\fR's version number and exit. +.TP +\fB\-s\fR , \fB\-\-sleep\fR= +Sleep for \fIseconds\fR seconds before launching \fBfusion\-icon\fR. +.TP +\fB\-i\fR , \fB\-\-interface\fR= +Try a certain interface first. +.TP +\fB\-u\fR, \fB\-\-no\-interface\fR +Do not use any interface. +.TP +\fB\-f\fR, \fB\-\-force\-compiz\fR +Start compiz regardless of environment or configuration. +.TP +\fB\-n\fR, \fB\-\-no\-start\fR +Run, but do not start a window manager. + +.SH SEE ALSO +.BR compiz (1) +.PP + +.SH COPYRIGHT +This manual page was written by Siegfried\-Angel Gevatter Pujals . +It is released under the GNU General Public License, version 2 or later. diff --git a/debian/lenny/applications/fusion-icon/debian/fusion-icon.xpm b/debian/lenny/applications/fusion-icon/debian/fusion-icon.xpm new file mode 100644 index 000000000..fe0843739 --- /dev/null +++ b/debian/lenny/applications/fusion-icon/debian/fusion-icon.xpm @@ -0,0 +1,359 @@ +/* XPM */ +static char * fusion_icon_xpm[] = { +"32 32 324 2", +" c None", +". c #C8E3FA", +"+ c #D4E9FB", +"@ c #FDFEFF", +"# c #F0F5FB", +"$ c #C6E2FA", +"% c #CDE5FB", +"& c #CBE6FB", +"* c #C5E6FC", +"= c #BEE7FB", +"- c #B6E6FB", +"; c #AAE3FB", +"> c #9DDFFA", +", c #93DCF9", +"' c #E3F3FA", +") c #E0EFF7", +"! c #90BFE4", +"~ c #77A8DF", +"{ c #C3E0FA", +"] c #C9E4FB", +"^ c #C5E4FB", +"/ c #C1E6FC", +"( c #BAE6FB", +"_ c #B3E5FB", +": c #A7E2FB", +"< c #9ADEFA", +"[ c #8DDBF9", +"} c #8CDBFB", +"| c #A9D4E8", +"1 c #0681C1", +"2 c #017FBE", +"3 c #429ECF", +"4 c #82B7E0", +"5 c #6EA3DC", +"6 c #B9DCF9", +"7 c #ACE1FA", +"8 c #A1DEF9", +"9 c #93DAF7", +"0 c #87D6F7", +"a c #87D7F8", +"b c #9FCEE3", +"c c #007DBD", +"d c #007CBC", +"e c #3C99CC", +"f c #639FD9", +"g c #B8DFF9", +"h c #82D4F6", +"i c #80D2F3", +"j c #98CAE1", +"k c #007CBB", +"l c #007BBB", +"m c #007BBA", +"n c #5B9ED6", +"o c #B7DDF9", +"p c #7ECFF3", +"q c #7EBBD6", +"r c #89B8CC", +"s c #7CCCEF", +"t c #7DCFF3", +"u c #91C5DE", +"v c #007BB9", +"w c #007AB9", +"x c #5B9ED5", +"y c #B6DEF7", +"z c #77CBF0", +"A c #79B9D4", +"B c #ECF4FB", +"C c #AEC6D2", +"D c #77C1E0", +"E c #8AC1DB", +"F c #007AB8", +"G c #0079B7", +"H c #5B9DD5", +"I c #B5DDF7", +"J c #71C8EE", +"K c #74B6D3", +"L c #EEF6FD", +"M c #EFF7FE", +"N c #D7E3EB", +"O c #7CB6D2", +"P c #71C7ED", +"Q c #70C7EE", +"R c #83BDD8", +"S c #0079B6", +"T c #0078B6", +"U c #5B9DD4", +"V c #B4DCF8", +"W c #6BC3EC", +"X c #6FB2D1", +"Y c #99BDCE", +"Z c #6DBEE5", +"` c #6BC2EC", +" . c #7BB8D6", +".. c #0078B5", +"+. c #0077B4", +"@. c #B4DBF7", +"#. c #65BFE9", +"$. c #6CAFD0", +"%. c #C7D8E2", +"&. c #6EB3D4", +"*. c #64BEE9", +"=. c #75B4D4", +"-. c #0076B3", +";. c #0076B2", +">. c #B3DAF6", +",. c #5FBAE6", +"'. c #67ACCE", +"). c #E7EFF6", +"!. c #84B1C9", +"~. c #60B9E4", +"{. c #5EB9E6", +"]. c #6EAFD0", +"^. c #0075B2", +"/. c #0075B1", +"(. c #5B9CD3", +"_. c #B3DAF5", +":. c #59B6E3", +"<. c #62A8CB", +"[. c #B2C8D5", +"}. c #60AFD5", +"|. c #58B5E3", +"1. c #68ABCE", +"2. c #0074B0", +"3. c #0074AF", +"4. c #B1DAF5", +"5. c #52B1E0", +"6. c #5CA6C9", +"7. c #CDE6F5", +"8. c #8CC5E1", +"9. c #85C1E1", +"0. c #81BFDF", +"a. c #7DBEDE", +"b. c #71B7D9", +"c. c #51B1E0", +"d. c #50B1E0", +"e. c #4FB0E0", +"f. c #4DAFDF", +"g. c #4AAEDF", +"h. c #5EA5CA", +"i. c #0073AF", +"j. c #0073AE", +"k. c #5B9CD2", +"l. c #B0D9F4", +"m. c #4CACDE", +"n. c #59A2C8", +"o. c #B5DCF1", +"p. c #BCD7E6", +"q. c #EAF4FB", +"r. c #5CABD5", +"s. c #45A9DD", +"t. c #43A8DD", +"u. c #41A7DC", +"v. c #3FA6DC", +"w. c #3DA5DC", +"x. c #3CA5DB", +"y. c #3AA4DB", +"z. c #529EC5", +"A. c #0072AD", +"B. c #0072AC", +"C. c #5B9BD2", +"D. c #B0D7F4", +"E. c #3DA4DA", +"F. c #4D99C3", +"G. c #DEF0FB", +"H. c #43A3D7", +"I. c #67A6C7", +"J. c #BAD7E7", +"K. c #35A0D7", +"L. c #34A0D8", +"M. c #4C99C2", +"N. c #0071AC", +"O. c #0071AB", +"P. c #589AD1", +"Q. c #AFD6F4", +"R. c #2F9CD5", +"S. c #4595C0", +"T. c #ECF4FC", +"U. c #64B0D9", +"V. c #3A9ED4", +"W. c #CFDEE7", +"X. c #EBF4FC", +"Y. c #68AACE", +"Z. c #4495BF", +"`. c #0071AA", +" + c #0070AA", +".+ c #0070A9", +"++ c #5497CF", +"@+ c #ACD6F3", +"#+ c #2997D2", +"$+ c #4091BE", +"%+ c #9BC9E7", +"&+ c #73A5C3", +"*+ c #E1EFFC", +"=+ c #D6E9F8", +"-+ c #3497CD", +";+ c #3E8FBB", +">+ c #006FA9", +",+ c #006FA8", +"'+ c #4F95CE", +")+ c #A6D2F2", +"!+ c #2393CF", +"~+ c #318FC2", +"{+ c #2994CE", +"]+ c #3491C4", +"^+ c #CFE1F2", +"/+ c #D6EAFC", +"(+ c #92C3E1", +"_+ c #378BB8", +":+ c #006EA7", +"<+ c #006EA6", +"[+ c #4B91CD", +"}+ c #A2CFF1", +"|+ c #1F8ECD", +"1+ c #1E8ECD", +"2+ c #7DA8C4", +"3+ c #CBE4FB", +"4+ c #4699C9", +"5+ c #3087B5", +"6+ c #006DA6", +"7+ c #006DA5", +"8+ c #468ECB", +"9+ c #9ECDF1", +"0+ c #2691CD", +"a+ c #2590CD", +"b+ c #2490CD", +"c+ c #2390CC", +"d+ c #218FCC", +"e+ c #1F8ECC", +"f+ c #3A88B6", +"g+ c #BEDCF7", +"h+ c #C0DEFA", +"i+ c #ACD3F3", +"j+ c #1D8AC8", +"k+ c #198ACA", +"l+ c #188ACA", +"m+ c #2A82B3", +"n+ c #016EA5", +"o+ c #0570A7", +"p+ c #0972A8", +"q+ c #4990CC", +"r+ c #99C8EF", +"s+ c #3798CF", +"t+ c #3598CF", +"u+ c #3497CF", +"v+ c #3397CF", +"w+ c #3296CE", +"x+ c #3093CC", +"y+ c #8DB1CF", +"z+ c #B5D9F9", +"A+ c #B4D8F9", +"B+ c #6BAFDA", +"C+ c #2891CC", +"D+ c #2690CC", +"E+ c #248FCB", +"F+ c #218DCA", +"G+ c #1E8CCA", +"H+ c #1B8AC9", +"I+ c #2880B2", +"J+ c #0C74A9", +"K+ c #1076AB", +"L+ c #1378AC", +"M+ c #177AAD", +"N+ c #4E92CE", +"O+ c #8DB5D9", +"P+ c #9ECBF3", +"Q+ c #94C7F1", +"R+ c #85C0EA", +"S+ c #72B3DF", +"T+ c #61A7D4", +"U+ c #539FCD", +"V+ c #479BCD", +"W+ c #3F9ACF", +"X+ c #5394BD", +"Y+ c #AAD3F8", +"Z+ c #A9D3F8", +"`+ c #A8D1F8", +" @ c #4197CB", +".@ c #3B99CF", +"+@ c #3A98CF", +"@@ c #3897CE", +"#@ c #3696CE", +"$@ c #398AB9", +"%@ c #187BAD", +"&@ c #1B7CAF", +"*@ c #1E7EB0", +"=@ c #2C85B7", +"-@ c #4E93CB", +";@ c #6096D1", +">@ c #45596A", +",@ c #5A7389", +"'@ c #6D8CA6", +")@ c #7EA0C0", +"!@ c #8FB7DB", +"~@ c #9ECAF2", +"{@ c #97C9F3", +"]@ c #A0CEF7", +"^@ c #87C1EC", +"/@ c #469DCF", +"(@ c #49A0D2", +"_@ c #489FD1", +":@ c #469ED1", +"<@ c #4590BC", +"[@ c #2884B3", +"}@ c #378ABD", +"|@ c #5999CF", +"1@ c #689AD1", +"2@ c #486B90", +"3@ c #45596B", +"4@ c #59738B", +"5@ c #6C8AA5", +"6@ c #7DA1C1", +"7@ c #8FB9DC", +"8@ c #98C9F2", +"9@ c #8CC3EE", +"0@ c #7DB9E6", +"a@ c #6DAFDA", +"b@ c #65A6CE", +"c@ c #639FD4", +"d@ c #6B9CD0", +"e@ c #47688C", +"f@ c #475C6E", +"g@ c #5B758C", +"h@ c #7391AC", +"i@ c #446385", +" ", +" ", +" ", +" ", +" . + @ # ", +" $ % & * = - ; > , ' ) ! ~ ", +" { ] ^ / ( _ : < [ } } } } } } } | 1 2 3 4 5 ", +" 6 7 8 9 0 a a a a a a a a a a a a a a b c c c d e f ", +" g h i h h h h h h h h h h h h h h h h j d k k l m n ", +" o p q r s p p p p p p t t t t t t t t u m m v w w x ", +" y z A B C D z z z z z z z z z z z z z E w F F G G H ", +" I J K L M N O P J J J J J J Q Q Q Q Q R G G S T T U ", +" V W X L M M B Y Z W W W W W W ` ` ` ` .T ....+.+.U ", +" @.#.$.L M M M M %.&.#.#.#.#.#.#.#.#.*.=.+.+.-.-.;.U ", +" >.,.'.L M M M M M ).!.~.,.,.,.,.,.,.{.].-.;.^././.(. ", +" _.:.<.L M M M M M M L [.}.|.|.|.|.|.|.1././.2.2.3.(. ", +" 4.5.6.L M M M 7.8.9.0.a.b.c.c.d.e.f.g.h.3.3.i.j.j.k. ", +" l.m.n.L M o.p.q.r.s.t.u.v.w.x.y.y.y.y.z.j.j.A.A.B.C. ", +" D.E.F.L G.H.I.L J.K.L.L.L.L.L.L.L.L.L.M.B.B.N.O.O.P. ", +" Q.R.S.T.U.R.V.W.X.Y.R.R.R.R.R.R.R.R.R.Z.O.`. + +.+++ ", +" @+#+$+%+#+#+#+&+*+=+-+#+#+#+#+#+#+#+#+;+.+>+,+,+,+'+ ", +" )+!+~+{+!+!+!+]+^+/+(+!+!+!+!+!+!+!+!+_+,+:+:+:+<+[+ ", +" }+|+|+|+1+1+1+|+2+3+3+4+1+1+1+1+1+1+1+5+<+6+7+7+7+8+ ", +" 9+0+0+a+b+c+d+e+f+g+h+i+j+k+k+k+k+l+l+m+7+7+n+o+p+q+ ", +" r+s+t+u+v+v+w+w+x+y+z+A+B+C+D+E+F+G+H+I+p+J+K+L+M+N+ ", +" O+P+Q+R+S+T+U+V+W+X+Y+Z+`+ @.@.@+@@@#@$@%@&@*@=@-@;@ ", +" >@,@'@)@!@~@{@]@]@]@^@/@(@_@_@:@<@[@}@|@1@2@ ", +" 3@4@5@6@7@8@9@0@a@b@c@d@e@ ", +" f@g@h@i@ ", +" ", +" ", +" "}; diff --git a/debian/lenny/applications/fusion-icon/debian/install b/debian/lenny/applications/fusion-icon/debian/install new file mode 100644 index 000000000..7d4e26567 --- /dev/null +++ b/debian/lenny/applications/fusion-icon/debian/install @@ -0,0 +1 @@ +debian/fusion-icon.xpm usr/share/pixmaps diff --git a/debian/lenny/applications/fusion-icon/debian/links b/debian/lenny/applications/fusion-icon/debian/links new file mode 100644 index 000000000..51627e83a --- /dev/null +++ b/debian/lenny/applications/fusion-icon/debian/links @@ -0,0 +1 @@ +opt/trinity/share/icons/hicolor/48x48/apps/fusion-icon.png opt/trinity/share/pixmaps/fusion-icon.png diff --git a/debian/lenny/applications/fusion-icon/debian/manpages b/debian/lenny/applications/fusion-icon/debian/manpages new file mode 100644 index 000000000..3ba122a39 --- /dev/null +++ b/debian/lenny/applications/fusion-icon/debian/manpages @@ -0,0 +1 @@ +debian/fusion-icon.1 diff --git a/debian/lenny/applications/fusion-icon/debian/menu b/debian/lenny/applications/fusion-icon/debian/menu new file mode 100644 index 000000000..e85a21dbf --- /dev/null +++ b/debian/lenny/applications/fusion-icon/debian/menu @@ -0,0 +1,2 @@ +?package(fusion-icon-trinity): needs="X11" section="Applications/System/Administration" title="Compiz Fusion Icon [Trinity]" \ + command="/opt/trinity/bin/fusion-icon" icon="/opt/trinity/share/pixmaps/fusion-icon.xpm" diff --git a/debian/lenny/applications/fusion-icon/debian/patches/.gitignore b/debian/lenny/applications/fusion-icon/debian/patches/.gitignore new file mode 100644 index 000000000..e69de29bb diff --git a/debian/lenny/applications/fusion-icon/debian/pycompat b/debian/lenny/applications/fusion-icon/debian/pycompat new file mode 100644 index 000000000..0cfbf0888 --- /dev/null +++ b/debian/lenny/applications/fusion-icon/debian/pycompat @@ -0,0 +1 @@ +2 diff --git a/debian/lenny/applications/fusion-icon/debian/python-distutils-custom.mk b/debian/lenny/applications/fusion-icon/debian/python-distutils-custom.mk new file mode 100644 index 000000000..00f1a3b1b --- /dev/null +++ b/debian/lenny/applications/fusion-icon/debian/python-distutils-custom.mk @@ -0,0 +1,259 @@ +# -*- mode: makefile; coding: utf-8 -*- +# Copyright © 2003 Colin Walters +# Copyright © 2006 Marc Dequènes (Duck) +# +# Description: manage Python public modules build +# This class is designed to work with Python packages using the +# 'distutils' build system and comply to the new policy established +# during summer 2006. Use of the debhelper class to make use of the +# new dh_python is strongly advised. (This is still left as optional +# in line with CDBS' flexible behavior.) +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2, or (at +# your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA +# 02111-1307 USA. +# + +# This class provides rules for old and new Python policy. Leaving +# DEB_PYTHON_SYSTEM unset selects the old behavior. The pysupport and +# pycentral methods are available to comply with new policy. Don't forget +# to update your 'debian/control'. (Build-Depends are correctly generated +# if you are using the auto control generation feature.) + +# Once all old-style packages are removed before etch, some of the old +# can be refactored or removed. + + +_cdbs_scripts_path ?= /usr/lib/cdbs +_cdbs_rules_path ?= /usr/share/cdbs/1/rules +_cdbs_class_path ?= /usr/share/cdbs/1/class + +ifndef _cdbs_class_python_distutils +_cdbs_class_python_distutils = 1 + +include $(_cdbs_rules_path)/buildcore.mk$(_cdbs_makefile_suffix) +include $(_cdbs_class_path)/langcore.mk$(_cdbs_makefile_suffix) + + +# check python system +cdbs_use_xs_field := $(shell grep -q "^XS-Python-Version:" debian/control && echo yes) +cdbs_selected_pycompat := $(shell if [ -e debian/pycompat ]; then cat debian/pycompat; fi) +cdbs_pycompat = $(cdbs_selected_pycompat) +ifeq (pysupport, $(DEB_PYTHON_SYSTEM)) + cdbs_python_support_path = usr/share/python-support/$(DEB_PYTHON_MODULE_PACKAGE) + ifeq (, $(cdbs_selected_pycompat)) + cdbs_pycompat = 2 + endif # use pycompat + # warning pysupport compatibility mode + ifneq (, $(cdbs_use_xs_field)) + $(warning WARNING: Use of XS-Python-Version and XB-Python-Version fields in debian/control is deprecated with pysupport method; use debian/pyversions if you need to specify specific versions.) + endif # use XS field (compat) +else + ifeq (pycentral, $(DEB_PYTHON_SYSTEM)) + ifeq (, $(cdbs_selected_pycompat)) + cdbs_pycompat = 2 + endif # use pycompat + else + ifneq (, $(DEB_PYTHON_SYSTEM)) + $(error unsupported Python system: $(DEB_PYTHON_SYSTEM) (select either pysupport or pycentral)) + else + ifneq (, $(cdbs_use_xs_field)) + $(error package uses the new Python policy; DEB_PYTHON_SYSTEM must be set to "pysupport" or "pycentral") + endif + ifneq (, $(cdbs_selected_pycompat)) + ifeq (yes, $(shell expr $(cdbs_selected_pycompat) \> 1 >/dev/null && echo yes)) + $(error package uses the new Python policy; DEB_PYTHON_SYSTEM must be set to "pysupport" or "pycentral") + endif + endif # use pycompat + endif # unknown method + endif # pycentral +endif # pysupport + + +ifndef DEB_PYTHON_SYSTEM +DEB_PYTHON_COMPILE_VERSION = +DEB_PYTHON_VERSIONS = 2.1 2.2 2.3 2.4 2.5 +else +# default package is the first one declared in 'debian/control' +# (override if necessary) +DEB_PYTHON_MODULE_PACKAGE = $(firstword $(filter-out %-doc %-dev %-common, $(DEB_PACKAGES))) +DEB_PYTHON_PRIVATE_MODULES_DIRS = +endif + +# common variables +DEB_PYTHON_SETUP_CMD = setup.py +DEB_PYTHON_CLEAN_ARGS = -a +DEB_PYTHON_BUILD_ARGS = --build-base="$(CURDIR)/$(DEB_BUILDDIR)/build" +DEB_PYTHON_INSTALL_ARGS_ALL = --no-compile -O0 + + +ifndef DEB_PYTHON_SYSTEM +########################### old policy method ########################### + +$(warning =======================================================) +$(warning Your package does not conform to the new Python policy.) +$(warning Please consider updating. Here is some documentation:) +$(warning http://wiki.debian.org/DebianPython/NewPolicy) +$(warning http://wiki.debian.org/DebianPythonFAQ) +$(warning =======================================================) + +# make: *** No rule to make target `voodoo'. Stop. +DEB_PYTHON_REAL_LIB_PACKAGES = $(strip $(filter $(patsubst %,python%%,$(DEB_PYTHON_VERSIONS)),$(filter-out $(DEB_PYTHON_PACKAGES_EXCLUDE),$(DEB_ALL_PACKAGES)))) +# If no versioned python library packages found, grab all simpler ones +ifeq (,$(DEB_PYTHON_REAL_LIB_PACKAGES)) +DEB_PYTHON_SIMPLE_PACKAGES = $(strip $(filter python-%,$(filter-out $(DEB_PYTHON_PACKAGES_EXCLUDE),$(DEB_ALL_PACKAGES)))) +endif + +cdbs_python_ver = $(filter-out -%,$(subst -, -,$(patsubst python%,%,$(cdbs_curpkg)))) + +common-build-arch common-build-indep:: common-build-impl +common-build-impl:: + cd $(DEB_SRCDIR) && python$(DEB_PYTHON_COMPILE_VERSION) $(DEB_PYTHON_SETUP_CMD) build $(DEB_PYTHON_BUILD_ARGS) + + +# See if this package doesn't appear to need to be compiled by multiple +# Python versions. +ifeq (,$(DEB_PYTHON_REAL_LIB_PACKAGES)) +common-install-arch common-install-indep:: common-install-impl +common-install-impl:: + cd $(DEB_SRCDIR) && python$(DEB_PYTHON_COMPILE_VERSION) $(DEB_PYTHON_SETUP_CMD) install --root=$(DEB_DESTDIR) $(DEB_PYTHON_INSTALL_ARGS_ALL) $(DEB_PYTHON_INSTALL_ARGS_$(cdbs_curpkg)) +else +$(patsubst %,install/%,$(DEB_PYTHON_REAL_LIB_PACKAGES)) :: install/% : + cd $(DEB_SRCDIR) && python$(cdbs_python_ver) $(DEB_PYTHON_SETUP_CMD) install --root=$(CURDIR)/debian/$(cdbs_curpkg) $(DEB_PYTHON_INSTALL_ARGS_ALL) $(DEB_PYTHON_INSTALL_ARGS_$(cdbs_curpkg)) +endif + +$(patsubst %,install/%,$(DEB_PYTHON_SIMPLE_PACKAGES)) :: install/% : + cd $(DEB_SRCDIR) && python $(DEB_PYTHON_SETUP_CMD) install --root=$(CURDIR)/debian/$(cdbs_curpkg) $(DEB_PYTHON_INSTALL_ARGS_ALL) $(DEB_PYTHON_INSTALL_ARGS_$(cdbs_curpkg)) + +# This class can optionally utilize debhelper's "dh_python" command. Just +# be sure you include debhelper.mk before including this file. +ifdef _cdbs_rules_debhelper + +DEB_DH_PYTHON_ARGS = $(addprefix -V ,$(DEB_PYTHON_COMPILE_VERSION)) $(DEB_DH_PYTHON_ARGS_ALL) $(DEB_DH_PYTHON_ARGS_$(cdbs_curpkg)) + +$(patsubst %,binary-install/%,$(DEB_PACKAGES)) :: binary-install/%: + dh_python -p$(cdbs_curpkg) $(DEB_DH_PYTHON_ARGS) +endif + + +# Ignore errors from this rule. In a tarball build, the file may not +# exist. +ifeq (,$(DEB_PYTHON_REAL_LIB_PACKAGES)) +clean:: + -python$(DEB_PYTHON_COMPILE_VERSION) $(DEB_PYTHON_SETUP_CMD) clean $(DEB_PYTHON_CLEAN_ARGS) +else +clean:: $(patsubst %,python-cleanbuilddir/%,$(DEB_PYTHON_REAL_LIB_PACKAGES)) + +$(patsubst %,python-cleanbuilddir/%,$(DEB_PYTHON_REAL_LIB_PACKAGES)) :: python-cleanbuilddir/% : + -python$(cdbs_python_ver) $(DEB_PYTHON_SETUP_CMD) clean $(DEB_PYTHON_CLEAN_ARGS) +endif + +else +########################## new policy methods ########################### + +# Calculate cdbs_python_build_versions +cdbs_python_module_arch := $(strip $(shell perl -e '$$/=""; $$_=(grep {/^Package: $(DEB_PYTHON_MODULE_PACKAGE)$$/m;} (<>))[0]; /^Architecture: (.*)$$/m && print $$1' debian/control)) +cdbs_python_current_version := $(shell pyversions -vd) +ifeq (all, $(cdbs_python_module_arch)) + # check if current is in build versions + ifneq ($(cdbs_python_current_version), $(filter $(cdbs_python_current_version), $(shell pyversions -vr))) + cdbs_python_compile_version := $(firstword $(strip $(sort $(shell pyversions -vr)))) + cdbs_python_build_versions := $(cdbs_python_compile_version) + else + cdbs_python_build_versions := $(cdbs_python_current_version) + endif +else +cdbs_python_build_versions := $(shell pyversions -vr) +endif # archall + +# check if build is possible +ifeq (, $(cdbs_python_build_versions)) +ifeq (pysupport, $(DEB_PYTHON_SYSTEM)) +$(error invalid setting in debian/pyversions) +else +$(error invalid setting for XS-Python-Version) +endif # system selected +endif # build versions empty + + +# Declare Build-Deps for packages using this file +CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), debhelper (>= 5.0.37.2), cdbs (>= 0.4.43) +ifeq (all, $(cdbs_python_module_arch)) + ifneq (, $(cdbs_python_compile_version)) + CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), python$(cdbs_python_compile_version)-dev, python (>= 2.3.5-11) + else + CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), python-dev (>= 2.3.5-11) + endif +else +CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), python-all-dev (>= 2.3.5-11) +endif +ifeq (pysupport, $(DEB_PYTHON_SYSTEM)) +CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), python-support (>= 0.3.2) +else +CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), python-central (>= 0.6) +endif + + +cdbs_python_current_binary := $(shell pyversions -d) +cdbs_python_binary = $(if $(call cdbs_streq,$(cdbs_python_current_binary),$(1)),python,$(1)) + +# build stage +common-build-arch common-build-indep:: $(addprefix python-build-stamp-, $(cdbs_python_build_versions)) +python-build-stamp-%: +ifeq (all, $(cdbs_python_module_arch)) + cd $(DEB_SRCDIR) && $(call cdbs_python_binary,python$(cdbs_python_compile_version)) $(DEB_PYTHON_SETUP_CMD) build $(DEB_PYTHON_BUILD_ARGS) +else + cd $(DEB_SRCDIR) && $(call cdbs_python_binary,python$*) $(DEB_PYTHON_SETUP_CMD) build $(DEB_PYTHON_BUILD_ARGS) +endif # archall detection + touch $@ + + +# install stage +ifeq (all, $(cdbs_python_module_arch)) +common-install-arch common-install-indep:: python-install-py +python-install-py: + cd $(DEB_SRCDIR) && $(call cdbs_python_binary,python$(cdbs_python_compile_version)) $(DEB_PYTHON_SETUP_CMD) install --root=$(DEB_DESTDIR) $(DEB_PYTHON_INSTALL_ARGS_ALL) +else +common-install-arch common-install-indep:: $(addprefix python-install-, $(cdbs_python_build_versions)) +python-install-%: + cd $(DEB_SRCDIR) && $(call cdbs_python_binary,python$*) $(DEB_PYTHON_SETUP_CMD) install --root=$(DEB_DESTDIR) $(DEB_PYTHON_INSTALL_ARGS_ALL) +endif # archall detection + + +# clean stage +clean:: $(addprefix python-clean-, $(cdbs_python_build_versions)) +python-clean-%: +ifeq (all, $(cdbs_python_module_arch)) + -cd $(DEB_SRCDIR) && $(call cdbs_python_binary,python$(cdbs_python_compile_version)) $(DEB_PYTHON_SETUP_CMD) clean $(DEB_PYTHON_CLEAN_ARGS) +else + -cd $(DEB_SRCDIR) && $(call cdbs_python_binary,python$*) $(DEB_PYTHON_SETUP_CMD) clean $(DEB_PYTHON_CLEAN_ARGS) +endif # archall detection + +clean:: +ifeq (, $(cdbs_selected_pycompat)) + echo "$(cdbs_pycompat)" >debian/pycompat +endif # use pycompat + rm -f python-build-stamp-* + +endif + + +########################## all policy methods ########################### + +# Calling setup.py clean may create .pyc files, so we need a final cleanup +# pass here. +clean:: + find . -name '*.pyc' -exec rm '{}' ';' + +endif diff --git a/debian/lenny/applications/fusion-icon/debian/rules b/debian/lenny/applications/fusion-icon/debian/rules new file mode 100755 index 000000000..5d3ed1e14 --- /dev/null +++ b/debian/lenny/applications/fusion-icon/debian/rules @@ -0,0 +1,18 @@ +#!/usr/bin/make -f + +DEB_PYTHON_SYSTEM=pycentral + +include /usr/share/cdbs/1/rules/debhelper.mk +# include /usr/share/cdbs/1/class/python-distutils.mk +include debian/python-distutils-custom.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk + +binary-install/fusion-icon-trinity:: + mkdir -p debian/fusion-icon-trinity/usr/local/lib + cp -Rp debian/fusion-icon-trinity/usr/local/* debian/fusion-icon-trinity/usr/ + rm -rf debian/fusion-icon-trinity/usr/local + mkdir -p debian/fusion-icon-trinity/opt/trinity + cp -Rp debian/fusion-icon-trinity/usr/* debian/fusion-icon-trinity/opt/trinity/ + rm -rf debian/fusion-icon-trinity/usr + dh_pycentral -pfusion-icon-trinity + dh_icons -- cgit v1.2.1