From dc2c099c04c7c6d066167e5dd7dd53fee439aca4 Mon Sep 17 00:00:00 2001 From: iovar Date: Wed, 2 May 2007 12:50:30 +0000 Subject: src/gtk-recordMyDesktop now generated from src/gtk-recordMyDesktop.in,during configuration, to fix issues with arbitary installation locations git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@330 f606c939-3180-4ac9-a4b8-4b8779d57d0a --- gtk-recordmydesktop/src/Makefile.am | 2 +- gtk-recordmydesktop/src/gtk-recordMyDesktop | 43 ---------------------- gtk-recordmydesktop/src/gtk-recordMyDesktop.in | 50 ++++++++++++++++++++++++++ 3 files changed, 51 insertions(+), 44 deletions(-) delete mode 100755 gtk-recordmydesktop/src/gtk-recordMyDesktop create mode 100644 gtk-recordmydesktop/src/gtk-recordMyDesktop.in (limited to 'gtk-recordmydesktop/src') diff --git a/gtk-recordmydesktop/src/Makefile.am b/gtk-recordmydesktop/src/Makefile.am index 0cb4980..1ddf07a 100644 --- a/gtk-recordmydesktop/src/Makefile.am +++ b/gtk-recordmydesktop/src/Makefile.am @@ -23,7 +23,7 @@ desktop_DATA =gtk-recordmydesktop.desktop pixmapdir = $(datadir)/pixmaps pixmap_DATA = gtk-recordmydesktop.png -EXTRA_DIST=gtk-recordMyDesktop gtk-recordmydesktop.desktop gtk-recordmydesktop.png gtk-recordmydesktop.svg +EXTRA_DIST=gtk-recordMyDesktop.in gtk-recordmydesktop.desktop gtk-recordmydesktop.png gtk-recordmydesktop.svg clean-local: rm -rf *.pyc *.pyo diff --git a/gtk-recordmydesktop/src/gtk-recordMyDesktop b/gtk-recordmydesktop/src/gtk-recordMyDesktop deleted file mode 100755 index 6982e53..0000000 --- a/gtk-recordmydesktop/src/gtk-recordMyDesktop +++ /dev/null @@ -1,43 +0,0 @@ -#!/usr/bin/python - - -#/********************************************************************************* -#* gtk-recordMyDesktop * -#********************************************************************************** -#* * -#* Copyright (C) 2006 John Varouhakis * -#* * -#* * -#* 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 of the License, 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * -#* * -#* * -#* * -#* For further information contact me at johnvarouhakis@gmail.com * -#**********************************************************************************/ - -from recordMyDesktop import rmdSimple - -def main(): - tr=rmdSimple.simpleWidget() - - -main() - - - - - - - diff --git a/gtk-recordmydesktop/src/gtk-recordMyDesktop.in b/gtk-recordmydesktop/src/gtk-recordMyDesktop.in new file mode 100644 index 0000000..6d5b6ab --- /dev/null +++ b/gtk-recordmydesktop/src/gtk-recordMyDesktop.in @@ -0,0 +1,50 @@ +#!/usr/bin/python + + +#/********************************************************************************* +#* gtk-recordMyDesktop * +#********************************************************************************** +#* * +#* Copyright (C) 2006 John Varouhakis * +#* * +#* * +#* 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 of the License, 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * +#* * +#* * +#* * +#* For further information contact me at johnvarouhakis@gmail.com * +#**********************************************************************************/ + +import sys + +#this is the installation direcotry, +#which is determined during configuration +#default /usr/local/lib/python/site-packages +PYTHONDIR='@PYTHONDIR@' +sys.path.append(PYTHONDIR) +from recordMyDesktop import rmdSimple + +def main(): + tr=rmdSimple.simpleWidget() + + +main() + + + + + + + -- cgit v1.2.3