From f584c36b1ef64ce81102c1033632cbb5a10ffb33 Mon Sep 17 00:00:00 2001 From: Jim Evins Date: Sun, 19 Oct 2003 05:00:58 +0000 Subject: [PATCH] Applied patch #826108: Installs files to register glabels and glabels filetypes/mimetypes with gnome. This addresses bug #822852. Supplied by Emmanuel Pacaud . This patch adds the files: pixmaps/glabels.png data/glabels.mime data/glabels.applications data/glabels.keys.in git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@324 f5e0f49d-192f-0410-a22d-a8d8700d0965 --- glabels2/data/Makefile.am | 27 +++++++++++++++++++++++---- glabels2/data/glabels.applications | 9 +++++++++ glabels2/data/glabels.desktop.in | 2 +- glabels2/data/glabels.keys.in | 9 +++++++++ glabels2/data/glabels.mime | 2 ++ glabels2/pixmaps/Makefile.am | 7 ++++++- glabels2/pixmaps/glabels.png | Bin 0 -> 3205 bytes 7 files changed, 50 insertions(+), 6 deletions(-) create mode 100644 glabels2/data/glabels.applications create mode 100644 glabels2/data/glabels.keys.in create mode 100644 glabels2/data/glabels.mime create mode 100644 glabels2/pixmaps/glabels.png diff --git a/glabels2/data/Makefile.am b/glabels2/data/Makefile.am index a4b1a403..22133d58 100644 --- a/glabels2/data/Makefile.am +++ b/glabels2/data/Makefile.am @@ -1,10 +1,24 @@ ## Process this file with automake to produce Makefile.in -desktopdir = $(datadir)/applications -desktop_in_files = glabels.desktop.in -desktop_DATA = $(desktop_in_files:.desktop.in=.desktop) @INTLTOOL_DESKTOP_RULE@ +DESKTOP_IN_FILES = glabels.desktop.in +DESKTOP_FILES =$(DESKTOP_IN_FILES:.desktop.in=.desktop) + +desktopdir = $(datadir)/applications +desktop_DATA = $(DESKTOP_FILES) + +@INTLTOOL_KEYS_RULE@ + +KEYS_IN_FILES=glabels.keys.in +KEYS_FILES = $(KEYS_IN_FILES:.keys.in=.keys) + +mimedir = $(datadir)/mime-info +mime_DATA = $(KEYS_FILES) glabels.mime + +appdir = $(datadir)/application-registry +app_DATA = glabels.applications + runtime_files = \ glabels-2.0.dtd \ paper-sizes.xml \ @@ -15,7 +29,10 @@ runtime_files = \ misc-iso-templates.xml EXTRA_DIST = \ - $(desktop_DATA) \ + $(DESKTOP_IN_FILES) \ + $(KEYS_IN_FILES) \ + $(mime_DATA) \ + $(app_DATA) \ $(runtime_files) configdir=$(datadir)/glabels @@ -27,3 +44,5 @@ install-data-local: fi \ done +CLEANFILES = $(KEY_FILES) $(DESKTOP_FILES) + diff --git a/glabels2/data/glabels.applications b/glabels2/data/glabels.applications new file mode 100644 index 00000000..1391018e --- /dev/null +++ b/glabels2/data/glabels.applications @@ -0,0 +1,9 @@ +glabels + command=glabels + name=gLabels + can_open_multiple_files=true + expects_uris=false + requires_terminal=false + mime_types=application/x-glabels + uses_gnomevfs=false + diff --git a/glabels2/data/glabels.desktop.in b/glabels2/data/glabels.desktop.in index 64bce222..dadebe95 100644 --- a/glabels2/data/glabels.desktop.in +++ b/glabels2/data/glabels.desktop.in @@ -7,5 +7,5 @@ Exec=glabels Icon=glabels/glabels-icon.png Terminal=0 Type=Application -Categories=Application;X-Red-Hat-BaseApplication;Office;X-Red-Hat-Base; +Categories=GNOME;Application;Office StartupNotify=true diff --git a/glabels2/data/glabels.keys.in b/glabels2/data/glabels.keys.in new file mode 100644 index 00000000..82d143af --- /dev/null +++ b/glabels2/data/glabels.keys.in @@ -0,0 +1,9 @@ +application/x-glabels: + open=glabels %f + description=gLabels Project File + icon_filename=glabels.png + default_action_type=application + category=Documents + short_list_application_ids_for_novice_user_level=glabels + short_list_application_ids_for_intermediate_user_level=glabels + short_list_application_ids_for_advanced_user_level=glabels diff --git a/glabels2/data/glabels.mime b/glabels2/data/glabels.mime new file mode 100644 index 00000000..ab2f8cd3 --- /dev/null +++ b/glabels2/data/glabels.mime @@ -0,0 +1,2 @@ +application/x-glabels + ext: glabels diff --git a/glabels2/pixmaps/Makefile.am b/glabels2/pixmaps/Makefile.am index 6f322fd8..dff7dc6b 100644 --- a/glabels2/pixmaps/Makefile.am +++ b/glabels2/pixmaps/Makefile.am @@ -7,4 +7,9 @@ glabels_pixmaps_DATA = \ glabels-logo.png \ glabels-about-logo.png -EXTRA_DIST = $(glabels_pixmaps_DATA) +glabels_mime_icondir = $(datadir)/pixmaps + +glabels_mime_icon_DATA = glabels.png + +EXTRA_DIST = $(glabels_pixmaps_DATA) \ + $(glabels_mime_icon_DATA) diff --git a/glabels2/pixmaps/glabels.png b/glabels2/pixmaps/glabels.png new file mode 100644 index 0000000000000000000000000000000000000000..376a2de3239c44d14b5e7f2b7368d6e81e44c91d GIT binary patch literal 3205 zcmV;040`j4P)d+eEe_K*9R zxt_r`+E#*}^wa3~yZ3kQd4JEjcL25nayQKB)2BC1ojUb>U^$QsjA9r=>g(&}ZWunF zPbw=brL?rv6zZRValpty1u#cNMaAEgAx+cnX!iH_i_hni=H_NOb?THU#N5Gz7{T9R zhzKHb$L9ip09UVG#o=&}o14q0pMDBZ0b~Lx(S%S83q&P&>((tA8yko9a79s=Fku4Y z#*K?$zOk_pkH<4CI&pDv%$hX|fR>gPDk>@{EG)$D_df*G0c}8FNEh;Yz2bB_MGFQ+ z(=-VVVg6t+C{CwSyk4&agFy)d0ul%WFMc_C>mv+S#x5iK0co2=4KKS5{Qe7rJ=z^K|w(suo$=n^w}(M`t)h$&Yc?(kbq6&`T6+(96fr} zSg*7gHU$n>ibzPr{rmP?`;QeB0kCiXK4bkDBEsg)oALR4h-ik2VB*9HJo3m2jDQ{w zbOC{(@~icmpPz4A1FT%RGJ?TqSx6*grS(PYEh|`i>x)3q&*bIhF@F4byk0LpUpHRw zEv{X=2Ef~IzipCC0pfu!n*hLzNRKJcI~46*=Nbv^@{<5 zi_Izkm!5mh67(N_@t+`Y>AB|-V_myxBU$h4MNt%1tXM%?TN@1xSBQz3OM81er%okt z^5jW?*zov`$U>T?iP!6u>gsCg@9&qszCP*m`^7)RJb(VYcsw5I?d>&Yk9a&DId|@y z^z`(EO`kFKwXeq~zOcQDiVC@U^{RAtcT0D7x12a}LPSIk9z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