* various: installation fixes
svn: r3196
This commit is contained in:
@@ -6,7 +6,10 @@ pkgdata_DATA = gedcom.xml \
|
||||
papersize.xml \
|
||||
tips.xml \
|
||||
gnome-mime-application-x-gramps.png \
|
||||
gramps.svg
|
||||
gramps.applications \
|
||||
gramps.svg \
|
||||
gramps.keys \
|
||||
gramps.mime
|
||||
|
||||
EXTRA_DIST = $(pkgdata_DATA)
|
||||
|
||||
@@ -14,15 +17,22 @@ install-data-local:
|
||||
$(INSTALL) -d $(DESTDIR)$(prefix)/share/pixmaps
|
||||
$(INSTALL_DATA) gramps.png $(DESTDIR)$(prefix)/share/pixmaps
|
||||
$(INSTALL) -d $(DESTDIR)$(prefix)/share/gnome/apps/Applications
|
||||
$(INSTALL_DATA) gramps.desktop $(DESTDIR)$(prefix)/share/gnome/apps/Applications
|
||||
$(INSTALL_DATA) gramps.desktop $(DESTDIR)$(prefix)/share/applications
|
||||
$(INSTALL) -d $(DESTDIR)$(prefix)/share/icons/gnome/48x48/mimetypes/
|
||||
$(INSTALL_DATA) gnome-mime-application-x-gramps.png $(DESTDIR)$(prefix)/share/icons/gnome/48x48/mimetypes/
|
||||
$(INSTALL) -d $(DESTDIR)$(prefix)/share/application-registry
|
||||
$(INSTALL_DATA) gramps.applications $(DESTDIR)$(prefix)/share/application-registry
|
||||
$(INSTALL) -d $(DESTDIR)$(prefix)/share/mime/packages
|
||||
$(INSTALL_DATA) gramps.xml $(DESTDIR)$(prefix)/share/mime/packages
|
||||
update-mime-database $(DESTDIR)$(prefix)/share/mime
|
||||
$(INSTALL) -d $(DESTDIR)$(prefix)/share/mime-info
|
||||
$(INSTALL_DATA) gramps.keys gramps.mime $(DESTDIR)$(prefix)/share/mime-info
|
||||
|
||||
uninstall-local:
|
||||
-rm $(DESTDIR)$(prefix)/share/pixmaps/gramps.png
|
||||
-rm $(DESTDIR)$(prefix)/share/gnome/apps/Applications/gramps.desktop
|
||||
-rm $(DESTDIR)$(prefix)/share/icons/gnome/48x48/mimetypes/gnome-mime-application-x-gramps.png
|
||||
-rm $(DESTDIR)$(prefix)/share/mime-info/gramps.keys
|
||||
-rm $(DESTDIR)$(prefix)/share/mime-info/gramps.mime
|
||||
-rm $(DESTDIR)$(prefix)/share/mime/packages/gramps.xml
|
||||
|
||||
|
@@ -141,6 +141,7 @@ pkgdata_DATA = gedcom.xml \
|
||||
papersize.xml \
|
||||
tips.xml \
|
||||
gnome-mime-application-x-gramps.png \
|
||||
gramps.applications\
|
||||
gramps.svg
|
||||
|
||||
EXTRA_DIST = $(pkgdata_DATA)
|
||||
@@ -453,9 +454,11 @@ install-data-local:
|
||||
$(INSTALL) -d $(DESTDIR)$(prefix)/share/pixmaps
|
||||
$(INSTALL_DATA) gramps.png $(DESTDIR)$(prefix)/share/pixmaps
|
||||
$(INSTALL) -d $(DESTDIR)$(prefix)/share/gnome/apps/Applications
|
||||
$(INSTALL_DATA) gramps.desktop $(DESTDIR)$(prefix)/share/gnome/apps/Applications
|
||||
$(INSTALL_DATA) gramps.desktop $(DESTDIR)$(prefix)/share/applications
|
||||
$(INSTALL) -d $(DESTDIR)$(prefix)/share/icons/gnome/48x48/mimetypes/
|
||||
$(INSTALL_DATA) gnome-mime-application-x-gramps.png $(DESTDIR)$(prefix)/share/icons/gnome/48x48/mimetypes/
|
||||
$(INSTALL) -d $(DESTDIR)$(prefix)/share/application-registry
|
||||
$(INSTALL_DATA) gramps.applications $(DESTDIR)$(prefix)/share/application-registry
|
||||
$(INSTALL) -d $(DESTDIR)$(prefix)/share/mime/packages
|
||||
$(INSTALL_DATA) gramps.xml $(DESTDIR)$(prefix)/share/mime/packages
|
||||
update-mime-database $(DESTDIR)$(prefix)/share/mime
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.7 KiB |
7
gramps2/src/data/gramps.applications
Normal file
7
gramps2/src/data/gramps.applications
Normal file
@@ -0,0 +1,7 @@
|
||||
gramps
|
||||
command=gramps
|
||||
name=GRAMPS
|
||||
can_open_multiple_files=false
|
||||
expects_uris=false
|
||||
requires_terminal=false
|
||||
mime_types=application/x-gramps,application/x-gedcom
|
10
gramps2/src/data/gramps.keys
Normal file
10
gramps2/src/data/gramps.keys
Normal file
@@ -0,0 +1,10 @@
|
||||
application/x-gramps:
|
||||
description=GRAMPS database
|
||||
default_action_type=appliction
|
||||
short_list_application_ids=gramps
|
||||
short_list_application_ids_for_novice_user_level=gramps
|
||||
short_list_application_ids_for_intermediate_user_level=gramps
|
||||
short_list_application_ids_for_advanced_user_level=gramps
|
||||
category=Documents/Genealogy
|
||||
icon-filename=/usr/share/gramps/gramps.png
|
||||
open=gramps %f
|
3
gramps2/src/data/gramps.mime
Normal file
3
gramps2/src/data/gramps.mime
Normal file
@@ -0,0 +1,3 @@
|
||||
application/x-gramps
|
||||
ext: grdb
|
||||
|
Reference in New Issue
Block a user