Commit 7118c1d8 authored by Seth Nickell's avatar Seth Nickell Committed by Seth Nickell

Install a .desktop file for the GUI mode.

2003-09-27  Seth Nickell  <seth@gnome.org>

	* Makefile:
	* jhbuild.desktop:

	Install a .desktop file for the GUI mode.

	* gtk_buildscript.py:

	Require GConf.
parent 9eddf9ae
2003-09-27 Seth Nickell <seth@gnome.org>
* Makefile:
* jhbuild.desktop:
Install a .desktop file for the GUI mode.
* gtk_buildscript.py:
Require GConf.
2003-09-26 Marco Pesenti Gritti <marco@gnome.org>
* gtk_buildscript.py:
......
......@@ -2,6 +2,7 @@ CC = gcc
CFLAGS = -Wall -O2
bindir=$(HOME)/bin
desktopdir=$(HOME)/.gnome2/vfolders/applications
all: install-check
@echo 'Run "make install" to install.'
......@@ -18,6 +19,12 @@ install: install-check
@echo '#!/bin/sh' > $(bindir)/jhbuild
@echo 'python '`pwd`'/jhbuild.py "$$@"' >> $(bindir)/jhbuild
@chmod a+x $(bindir)/jhbuild
@echo "Creating $(desktopdir)/jhbuild.desktop"
@mkdir -p $(desktopdir)
@cp jhbuild.desktop $(desktopdir)
@echo "Exec=$(bindir)/jhbuild gui" >> $(desktopdir)/jhbuild.desktop
@[ -f $(HOME)/.jhbuildrc ]||echo "Don't forget to create ~/.jhbuildrc"
install -m755 install-check $(bindir)/install-check
......@@ -25,7 +32,7 @@ dist:
ln -sf . jhbuild
tar czf jhbuild.tar.gz jhbuild/Makefile jhbuild/COPYING \
jhbuild/README jhbuild/ChangeLog jhbuild/*.py jhbuild/*.c \
jhbuild/*.patch jhbuild/*.jhbuildrc
jhbuild/*.patch jhbuild/*.jhbuildrc jhbuild/jhbuild.glade jhbuild/jhbuild.desktop
rm -f jhbuild
.PHONY: all update install
......@@ -25,12 +25,10 @@ import gobject
import gtk
import gtk.glade
have_gconf = False
try:
import gconf
have_gconf = True
except:
pass
#FIXME: would be nice if we ran w/o GConf, do a try...except block around
# the import and then set have_gconf to false
import gconf
have_gconf = True
import module
......
[Desktop Entry]
Encoding=UTF-8
Name=Build GNOME Modules
Icon=gnome-devel.png
Terminal=false
Type=Application
Categories=GNOME;Development;Application;
StartupNotify=true
X-Desktop-File-Install-Version=0.3
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment