summary refs log tree commit diff stats
path: root/data/misc
diff options
context:
space:
mode:
Diffstat (limited to 'data/misc')
-rw-r--r--data/misc/Makefile.am23
-rw-r--r--data/misc/hexchat.appdata.xml15
-rw-r--r--data/misc/hexchat.desktop31
-rw-r--r--data/misc/htm-mime.xml8
-rw-r--r--data/misc/htm.desktop7
5 files changed, 84 insertions, 0 deletions
diff --git a/data/misc/Makefile.am b/data/misc/Makefile.am
new file mode 100644
index 00000000..ef14c01e
--- /dev/null
+++ b/data/misc/Makefile.am
@@ -0,0 +1,23 @@
+util_DATA = hexchat.desktop
+utildir = $(datadir)/applications
+
+appdata_DATA = hexchat.appdata.xml
+appdatadir = $(datadir)/appdata
+
+
+if WITH_TM
+util_DATA += htm.desktop
+mime_DATA = htm-mime.xml
+mimedir = $(datadir)/mime/packages
+
+UPDATE_MIME_DATABASE = update-mime-database "$(datadir)/mime" || :
+UPDATE_DESKTOP_DATABASE = update-desktop-database -q "$(datadir)/applications" || :
+
+install-data-hook:
+	$(UPDATE_MIME_DATABASE);
+	$(UPDATE_DESKTOP_DATABASE);
+
+uninstall-hook:
+	$(UPDATE_MIME_DATABASE);
+	$(UPDATE_DESKTOP_DATABASE);
+endif
diff --git a/data/misc/hexchat.appdata.xml b/data/misc/hexchat.appdata.xml
new file mode 100644
index 00000000..cf43ac96
--- /dev/null
+++ b/data/misc/hexchat.appdata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<application>
+	<id type="desktop">hexchat.desktop</id>
+	<licence>CC0</licence>
+	<description>
+		<p>HexChat is an easy to use yet extensible IRC Client. It allows you to securely join multiple networks and talk to users privately or in channels using a customizable interface. You can even transfer files.</p>
+		<p>HexChat supports features such as: DCC, SASL, proxies, spellcheck, alerts, logging, custom themes, and Python/Perl scripts.</p>
+	</description>
+	<url type="homepage">http://hexchat.github.io</url>
+	<screenshots>
+		<screenshot type="default">http://i.imgur.com/XBbQKXf.png</screenshot>
+	</screenshots>
+	<updatecontact>tingping_at_fedoraproject.org</updatecontact>
+</application>
+
diff --git a/data/misc/hexchat.desktop b/data/misc/hexchat.desktop
new file mode 100644
index 00000000..f82465c7
--- /dev/null
+++ b/data/misc/hexchat.desktop
@@ -0,0 +1,31 @@
+[Desktop Entry]
+Name=HexChat
+Name[zh_TW]=網路清談
+GenericName=IRC Client
+GenericName[de]=IRC-Client
+GenericName[es]=Aplicación de IRC
+GenericName[fi]=IRC-sovellus
+GenericName[fr]=Client IRC
+GenericName[hu]=IRC-kliens
+GenericName[it]=Cliente IRC
+GenericName[lt]=IRC klientas
+GenericName[nb]=IRC-klient
+GenericName[pl]=Klient IRC
+GenericName[pt_BR]=Cliente de IRC
+GenericName[sl]=Odjemalec IRC
+GenericName[sv]=IRC-klient
+GenericName[ro]=Client de IRC
+GenericName[zh_TW]=HexChat 聊天程式
+Comment=Chat with other people using Internet Relay Chat
+Comment[fr]=Discutez avec tout le monde sur l'Internet Relay Chat
+Comment[de]=Sich über Internet Relay Chat mit andern Leuten unterhalten
+Comment[it]=Chiacchierare con la gente sull'Internet Relay Chat
+Comment[nb]=Snakk med mennesker på Internet Relay Chat
+Exec=hexchat %U
+Icon=hexchat
+Terminal=false
+Type=Application
+Categories=GTK;Network;IRCClient;
+StartupNotify=true
+X-GNOME-UsesNotifications=true
+MimeType=x-scheme-handler/irc;x-scheme-handler/ircs;
diff --git a/data/misc/htm-mime.xml b/data/misc/htm-mime.xml
new file mode 100644
index 00000000..f76b689b
--- /dev/null
+++ b/data/misc/htm-mime.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0"?>
+ <mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'>
+   <mime-type type="application/x-hct">  
+   <comment>HexChat theme archives</comment>
+   <icon name="hexchat" />
+   <glob pattern="*.hct" weight="100" />
+  </mime-type>
+ </mime-info>
diff --git a/data/misc/htm.desktop b/data/misc/htm.desktop
new file mode 100644
index 00000000..53cac289
--- /dev/null
+++ b/data/misc/htm.desktop
@@ -0,0 +1,7 @@
+[Desktop Entry]
+Name=HexChat Theme Manager
+Exec=thememan %f
+Icon=hexchat
+Terminal=false
+Type=Application
+MimeType=application/x-hct;