summaryrefslogtreecommitdiff
path: root/gtk-recordmydesktop
diff options
context:
space:
mode:
Diffstat (limited to 'gtk-recordmydesktop')
-rw-r--r--gtk-recordmydesktop/configure.ac3
-rw-r--r--gtk-recordmydesktop/src/Makefile.am2
-rw-r--r--[-rwxr-xr-x]gtk-recordmydesktop/src/gtk-recordMyDesktop.in (renamed from gtk-recordmydesktop/src/gtk-recordMyDesktop)7
3 files changed, 10 insertions, 2 deletions
diff --git a/gtk-recordmydesktop/configure.ac b/gtk-recordmydesktop/configure.ac
index a715c6b..74b9cec 100644
--- a/gtk-recordmydesktop/configure.ac
+++ b/gtk-recordmydesktop/configure.ac
@@ -1,5 +1,5 @@
AC_PREREQ(2.59)
-AC_INIT(src/gtk-recordMyDesktop)
+AC_INIT(src/rmdSimple.py)
AM_INIT_AUTOMAKE(gtk-recordmydesktop, 0.3.5-cvs)
@@ -74,6 +74,7 @@ export PYTHONPATH=$PYGST_DIR:$PYTHONPATH
AC_CONFIG_FILES([Makefile
src/Makefile
src/rmdConfig.py
+ src/gtk-recordMyDesktop
po/Makefile.in
m4/Makefile])
AC_OUTPUT
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.in
index 6982e53..6d5b6ab 100755..100644
--- a/gtk-recordmydesktop/src/gtk-recordMyDesktop
+++ b/gtk-recordmydesktop/src/gtk-recordMyDesktop.in
@@ -27,6 +27,13 @@
#* 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<version>/site-packages
+PYTHONDIR='@PYTHONDIR@'
+sys.path.append(PYTHONDIR)
from recordMyDesktop import rmdSimple
def main():
© All Rights Reserved