This is an automated email from the git hooks/post-receive script. malex-guest pushed a commit to branch master in repository pycorrfit.
commit 62d77002fc4cb5c8a6424004265d3b495b33f765 Author: Alexandre Mestiashvili <[email protected]> Date: Fri Dec 6 14:25:36 2013 +0100 d/pycorrfit.menu: menu file d/rules: build and install the icon during the build process d/control: build-dependency: imagemagick, librsvg2-bin we use convert to convert svg icon to xpm d/pycorrfit.dirs: usr/share/pixmaps --- debian/control | 2 ++ debian/pycorrfit.dirs | 1 + debian/pycorrfit.menu | 8 ++++++++ debian/rules | 11 +++++++++-- 4 files changed, 20 insertions(+), 2 deletions(-) diff --git a/debian/control b/debian/control index f3ce29d..009ad8b 100644 --- a/debian/control +++ b/debian/control @@ -10,6 +10,8 @@ Build-Depends: python-all (>= 2.6.6-3), debhelper (>= 7), texlive-latex-extra, texlive-science, latex-xcolor, + imagemagick, + librsvg2-bin, Standards-Version: 3.9.5 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=debian-med/pycorrfit.git Vcs-Git: git://anonscm.debian.org/debian-med/pycorrfit.git diff --git a/debian/pycorrfit.dirs b/debian/pycorrfit.dirs new file mode 100644 index 0000000..c1da623 --- /dev/null +++ b/debian/pycorrfit.dirs @@ -0,0 +1 @@ +usr/share/pixmaps diff --git a/debian/pycorrfit.menu b/debian/pycorrfit.menu new file mode 100644 index 0000000..6d0fc4e --- /dev/null +++ b/debian/pycorrfit.menu @@ -0,0 +1,8 @@ +?package(pycorrfit):\ + needs="x11" \ + section="Applications/Science/Data Analysis" \ + command="/usr/bin/pycorrfit" \ + icon="/usr/share/pixmaps/pycorrfit.xpm" \ + title="PyCorrFit" \ + longtitle="PyCorrFit FCS data analysis" + diff --git a/debian/rules b/debian/rules index e5ac09e..c6e0cf0 100755 --- a/debian/rules +++ b/debian/rules @@ -3,13 +3,20 @@ #export DH_VERBOSE=1 TEXDOC=PyCorrFit_doc.tex +DOCDIR=doc-src PDF=PyCorrFit_doc.pdf +pkg := $(shell dpkg-parsechangelog | sed -n 's/^Source: //p') %: dh $@ --with python2 --buildsystem=pybuild override_dh_auto_build: - cd doc-src && pdflatex $(TEXDOC) + cd $(DOCDIR) && pdflatex $(TEXDOC) + convert -background "rgba(255,255,255,0)" -geometry 32x32 \ + $(DOCDIR)/Images/PyCorrFit_icon.svg debian/pycorrfit.xpm dh_auto_build - +override_dh_install: + dh_install + mv debian/pycorrfit.xpm \ + debian/$(pkg)/usr/share/pixmaps -- Alioth's /git/debian-med/git-commit-notice on /srv/git.debian.org/git/debian-med/pycorrfit.git _______________________________________________ debian-med-commit mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit
