From 1f84c507a058f5baa01a632ce2478fa31854907d Mon Sep 17 00:00:00 2001 From: TingPing Date: Fri, 27 Sep 2013 21:56:13 -0400 Subject: Reorganize files and migrate images to gresource --- data/Makefile.am | 5 + data/hexchat.gresource.xml | 23 ++ data/icons/Makefile.am | 13 + data/icons/book.png | Bin 0 -> 841 bytes data/icons/hexchat-b.svg | 610 +++++++++++++++++++++++++++++ data/icons/hexchat-shadowless.svg | 745 +++++++++++++++++++++++++++++++++++ data/icons/hexchat.ico | Bin 0 -> 17542 bytes data/icons/hexchat.png | Bin 0 -> 3175 bytes data/icons/hexchat.svg | 746 ++++++++++++++++++++++++++++++++++++ data/icons/tray_fileoffer.png | Bin 0 -> 5077 bytes data/icons/tray_highlight.png | Bin 0 -> 4781 bytes data/icons/tray_message.png | Bin 0 -> 4678 bytes data/icons/tree_channel.png | Bin 0 -> 422 bytes data/icons/tree_dialog.png | Bin 0 -> 911 bytes data/icons/tree_server.png | Bin 0 -> 568 bytes data/icons/tree_util.png | Bin 0 -> 611 bytes data/icons/ulist_founder.png | Bin 0 -> 660 bytes data/icons/ulist_halfop.png | Bin 0 -> 668 bytes data/icons/ulist_netop.png | Bin 0 -> 593 bytes data/icons/ulist_op.png | Bin 0 -> 691 bytes data/icons/ulist_owner.png | Bin 0 -> 678 bytes data/icons/ulist_voice.png | Bin 0 -> 670 bytes data/man/Makefile.am | 1 + data/man/hexchat.1 | 55 +++ data/misc/Makefile.am | 23 ++ data/misc/hexchat.appdata.xml | 15 + data/misc/hexchat.desktop | 31 ++ data/misc/htm-mime.xml | 8 + data/misc/htm.desktop | 7 + data/pkgconfig/Makefile.am | 4 + data/pkgconfig/hexchat-plugin.pc.in | 9 + 31 files changed, 2295 insertions(+) create mode 100644 data/Makefile.am create mode 100644 data/hexchat.gresource.xml create mode 100644 data/icons/Makefile.am create mode 100644 data/icons/book.png create mode 100644 data/icons/hexchat-b.svg create mode 100644 data/icons/hexchat-shadowless.svg create mode 100644 data/icons/hexchat.ico create mode 100644 data/icons/hexchat.png create mode 100644 data/icons/hexchat.svg create mode 100644 data/icons/tray_fileoffer.png create mode 100644 data/icons/tray_highlight.png create mode 100644 data/icons/tray_message.png create mode 100644 data/icons/tree_channel.png create mode 100644 data/icons/tree_dialog.png create mode 100644 data/icons/tree_server.png create mode 100644 data/icons/tree_util.png create mode 100644 data/icons/ulist_founder.png create mode 100644 data/icons/ulist_halfop.png create mode 100644 data/icons/ulist_netop.png create mode 100644 data/icons/ulist_op.png create mode 100644 data/icons/ulist_owner.png create mode 100644 data/icons/ulist_voice.png create mode 100644 data/man/Makefile.am create mode 100644 data/man/hexchat.1 create mode 100644 data/misc/Makefile.am create mode 100644 data/misc/hexchat.appdata.xml create mode 100644 data/misc/hexchat.desktop create mode 100644 data/misc/htm-mime.xml create mode 100644 data/misc/htm.desktop create mode 100644 data/pkgconfig/Makefile.am create mode 100644 data/pkgconfig/hexchat-plugin.pc.in (limited to 'data') diff --git a/data/Makefile.am b/data/Makefile.am new file mode 100644 index 00000000..c1cf7932 --- /dev/null +++ b/data/Makefile.am @@ -0,0 +1,5 @@ +SUBDIRS = pkgconfig man + +if DO_GTK +SUBDIRS += icons misc +endif diff --git a/data/hexchat.gresource.xml b/data/hexchat.gresource.xml new file mode 100644 index 00000000..3e32f731 --- /dev/null +++ b/data/hexchat.gresource.xml @@ -0,0 +1,23 @@ + + + + icons/hexchat.png + icons/book.png + + icons/ulist_voice.png + icons/ulist_halfop.png + icons/ulist_op.png + icons/ulist_owner.png + icons/ulist_founder.png + icons/ulist_netop.png + + icons/tray_fileoffer.png + icons/tray_highlight.png + icons/tray_message.png + + icons/tree_channel.png + icons/tree_dialog.png + icons/tree_server.png + icons/tree_util.png + + diff --git a/data/icons/Makefile.am b/data/icons/Makefile.am new file mode 100644 index 00000000..06e52ad5 --- /dev/null +++ b/data/icons/Makefile.am @@ -0,0 +1,13 @@ +icon_DATA = hexchat.png +icondir = $(datadir)/icons/hicolor/48x48/apps + +hicolor_DATA = hexchat.svg +hicolordir = $(datadir)/icons/hicolor/scalable/apps + +UPDATE_ICON_CACHE = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor || : + +install-data-hook: + $(UPDATE_ICON_CACHE); + +uninstall-hook: + $(UPDATE_ICON_CACHE); diff --git a/data/icons/book.png b/data/icons/book.png new file mode 100644 index 00000000..1f1e4301 Binary files /dev/null and b/data/icons/book.png differ diff --git a/data/icons/hexchat-b.svg b/data/icons/hexchat-b.svg new file mode 100644 index 00000000..6f9a87dc --- /dev/null +++ b/data/icons/hexchat-b.svg @@ -0,0 +1,610 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + Guglielmi David + + + + + + Peter Zelezny + + + + + + + + + + + + + + + + + + + + diff --git a/data/icons/hexchat-shadowless.svg b/data/icons/hexchat-shadowless.svg new file mode 100644 index 00000000..8ab625fe --- /dev/null +++ b/data/icons/hexchat-shadowless.svg @@ -0,0 +1,745 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + Guglielmi David + + + + + + Peter Zelezny + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/icons/hexchat.ico b/data/icons/hexchat.ico new file mode 100644 index 00000000..694937df Binary files /dev/null and b/data/icons/hexchat.ico differ diff --git a/data/icons/hexchat.png b/data/icons/hexchat.png new file mode 100644 index 00000000..4d977c02 Binary files /dev/null and b/data/icons/hexchat.png differ diff --git a/data/icons/hexchat.svg b/data/icons/hexchat.svg new file mode 100644 index 00000000..c8737879 --- /dev/null +++ b/data/icons/hexchat.svg @@ -0,0 +1,746 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + Guglielmi David + + + + + + Peter Zelezny + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/icons/tray_fileoffer.png b/data/icons/tray_fileoffer.png new file mode 100644 index 00000000..f1afc029 Binary files /dev/null and b/data/icons/tray_fileoffer.png differ diff --git a/data/icons/tray_highlight.png b/data/icons/tray_highlight.png new file mode 100644 index 00000000..1a2f4910 Binary files /dev/null and b/data/icons/tray_highlight.png differ diff --git a/data/icons/tray_message.png b/data/icons/tray_message.png new file mode 100644 index 00000000..8beb9b56 Binary files /dev/null and b/data/icons/tray_message.png differ diff --git a/data/icons/tree_channel.png b/data/icons/tree_channel.png new file mode 100644 index 00000000..f6e83254 Binary files /dev/null and b/data/icons/tree_channel.png differ diff --git a/data/icons/tree_dialog.png b/data/icons/tree_dialog.png new file mode 100644 index 00000000..9d2d5008 Binary files /dev/null and b/data/icons/tree_dialog.png differ diff --git a/data/icons/tree_server.png b/data/icons/tree_server.png new file mode 100644 index 00000000..acddccc9 Binary files /dev/null and b/data/icons/tree_server.png differ diff --git a/data/icons/tree_util.png b/data/icons/tree_util.png new file mode 100644 index 00000000..9460dfc7 Binary files /dev/null and b/data/icons/tree_util.png differ diff --git a/data/icons/ulist_founder.png b/data/icons/ulist_founder.png new file mode 100644 index 00000000..0e30f8d0 Binary files /dev/null and b/data/icons/ulist_founder.png differ diff --git a/data/icons/ulist_halfop.png b/data/icons/ulist_halfop.png new file mode 100644 index 00000000..ac5a5162 Binary files /dev/null and b/data/icons/ulist_halfop.png differ diff --git a/data/icons/ulist_netop.png b/data/icons/ulist_netop.png new file mode 100644 index 00000000..aba96858 Binary files /dev/null and b/data/icons/ulist_netop.png differ diff --git a/data/icons/ulist_op.png b/data/icons/ulist_op.png new file mode 100644 index 00000000..ef3c04cf Binary files /dev/null and b/data/icons/ulist_op.png differ diff --git a/data/icons/ulist_owner.png b/data/icons/ulist_owner.png new file mode 100644 index 00000000..e0fe13a6 Binary files /dev/null and b/data/icons/ulist_owner.png differ diff --git a/data/icons/ulist_voice.png b/data/icons/ulist_voice.png new file mode 100644 index 00000000..dbc13ad8 Binary files /dev/null and b/data/icons/ulist_voice.png differ diff --git a/data/man/Makefile.am b/data/man/Makefile.am new file mode 100644 index 00000000..f833cfe1 --- /dev/null +++ b/data/man/Makefile.am @@ -0,0 +1 @@ +man_MANS = hexchat.1 diff --git a/data/man/hexchat.1 b/data/man/hexchat.1 new file mode 100644 index 00000000..4208238d --- /dev/null +++ b/data/man/hexchat.1 @@ -0,0 +1,55 @@ +.TH HEXCHAT "1" "April 2013" "HexChat 2.9.6" "User Commands" +.SH NAME +HexChat \- IRC Client +.SH DESCRIPTION +.SS "Usage:" +.IP +hexchat [OPTION...] URL +.SS "Help Options:" +.TP +\fB\-h\fR, \fB\-\-help\fR +Show help options +.TP +\fB\-\-help\-all\fR +Show all help options +.TP +\fB\-\-help\-gtk\fR +Show GTK+ Options +.SS "Application Options:" +.TP +\fB\-a\fR, \fB\-\-no\-auto\fR +Don't auto connect to servers +.TP +\fB\-d\fR, \fB\-\-cfgdir\fR=\fIPATH\fR +Use a different config directory +.TP +\fB\-n\fR, \fB\-\-no\-plugins\fR +Don't auto load any plugins +.TP +\fB\-p\fR, \fB\-\-plugindir\fR +Show plugin auto\-load directory +.TP +\fB\-u\fR, \fB\-\-configdir\fR +Show user config directory +.TP +\fB\-\-url\fR=\fIURL\fR +Open an irc://server:port/channel?key URL +.TP +\fB\-c\fR, \fB\-\-command\fR=\fICOMMAND\fR +Execute command: +.TP +\fB\-e\fR, \fB\-\-existing\fR +Open URL or execute command in an existing HexChat +.TP +\fB\-\-minimize\fR=\fIlevel\fR +Begin minimized. Level 0=Normal 1=Iconified 2=Tray +.TP +\fB\-v\fR, \fB\-\-version\fR +Show version information +.TP +\fB\-\-display\fR=\fIDISPLAY\fR +X display to use + +.SH AUTHOR +This manual page was written by Davide Puricelli for the Debian GNU/Linux system (but +may be used by others). 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 @@ + + + hexchat.desktop + CC0 + +

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.

+

HexChat supports features such as: DCC, SASL, proxies, spellcheck, alerts, logging, custom themes, and Python/Perl scripts.

+
+ http://hexchat.github.io + + http://i.imgur.com/XBbQKXf.png + + tingping_at_fedoraproject.org +
+ 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 @@ + + + + HexChat theme archives + + + + 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; diff --git a/data/pkgconfig/Makefile.am b/data/pkgconfig/Makefile.am new file mode 100644 index 00000000..7ee0ac95 --- /dev/null +++ b/data/pkgconfig/Makefile.am @@ -0,0 +1,4 @@ +pkgcfgdir = $(pkgconfigdir) +pkgcfg_DATA = hexchat-plugin.pc + +EXTRA_DIST = hexchat-plugin.pc.in diff --git a/data/pkgconfig/hexchat-plugin.pc.in b/data/pkgconfig/hexchat-plugin.pc.in new file mode 100644 index 00000000..23957236 --- /dev/null +++ b/data/pkgconfig/hexchat-plugin.pc.in @@ -0,0 +1,9 @@ +prefix=@prefix@ +exec_prefix=${prefix} +includedir=@includedir@ +hexchatlibdir=@hexchatlibdir@ + +Name: HexChat plugins +Description: Header and path for HexChat plugins +Version: @VERSION@ +Cflags: -I${includedir} -- cgit 1.4.1