Merge branch 'moveData' into 'master'
Move data files to module See merge request !132
|
@ -3,7 +3,7 @@
|
||||||
CONF_ARGS=""
|
CONF_ARGS=""
|
||||||
|
|
||||||
echo "[encoding: UTF-8]" > po/POTFILES.in \
|
echo "[encoding: UTF-8]" > po/POTFILES.in \
|
||||||
&& for p in `ls data/gui/*.ui`; do echo "[type: gettext/glade]$p" >> \
|
&& for p in `ls gajim/data/gui/*.ui`; do echo "[type: gettext/glade]$p" >> \
|
||||||
po/POTFILES.in; done \
|
po/POTFILES.in; done \
|
||||||
&& ls -1 data/org.gajim.Gajim.appdata.xml.in data/org.gajim.Gajim.desktop.in.in data/gajim-remote.desktop.in.in \
|
&& ls -1 data/org.gajim.Gajim.appdata.xml.in data/org.gajim.Gajim.desktop.in.in data/gajim-remote.desktop.in.in \
|
||||||
gajim/*.py gajim/common/*.py gajim/command_system/*.py gajim/command_system/implementation/*.py gajim/common/zeroconf/*.py gajim/plugins/*.py | grep -v ipython_view.py >> \
|
gajim/*.py gajim/common/*.py gajim/command_system/*.py gajim/command_system/implementation/*.py gajim/common/zeroconf/*.py gajim/plugins/*.py | grep -v ipython_view.py >> \
|
||||||
|
|
11
configure.ac
|
@ -54,12 +54,13 @@ AC_SUBST(PACKAGE)
|
||||||
AC_CONFIG_FILES([
|
AC_CONFIG_FILES([
|
||||||
Makefile
|
Makefile
|
||||||
data/Makefile
|
data/Makefile
|
||||||
data/gui/Makefile
|
gajim/data/Makefile
|
||||||
data/emoticons/Makefile
|
gajim/data/gui/Makefile
|
||||||
|
gajim/data/emoticons/Makefile
|
||||||
data/pixmaps/Makefile
|
data/pixmaps/Makefile
|
||||||
data/iconsets/Makefile
|
gajim/data/iconsets/Makefile
|
||||||
data/moods/Makefile
|
gajim/data/moods/Makefile
|
||||||
data/activities/Makefile
|
gajim/data/activities/Makefile
|
||||||
icons/Makefile
|
icons/Makefile
|
||||||
data/org.gajim.Gajim.appdata.xml
|
data/org.gajim.Gajim.appdata.xml
|
||||||
data/org.gajim.Gajim.desktop.in
|
data/org.gajim.Gajim.desktop.in
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
SUBDIRS = gui emoticons pixmaps iconsets moods activities
|
SUBDIRS = pixmaps
|
||||||
@INTLTOOL_DESKTOP_RULE@
|
@INTLTOOL_DESKTOP_RULE@
|
||||||
|
|
||||||
appstreamdir = $(datadir)/metainfo/
|
appstreamdir = $(datadir)/metainfo/
|
||||||
|
@ -13,25 +13,12 @@ desktop_DATA = $(desktop_in_files:.desktop.in.in=.desktop)
|
||||||
installdefsdir = $(gajim_srcdir)/common
|
installdefsdir = $(gajim_srcdir)/common
|
||||||
installdefs_DATA = defs.py
|
installdefs_DATA = defs.py
|
||||||
|
|
||||||
soundsdir = $(pkgdatadir)/data/sounds
|
|
||||||
sounds_DATA = $(srcdir)/sounds/*.wav
|
|
||||||
|
|
||||||
styledir = $(pkgdatadir)/data/style
|
|
||||||
style_DATA = $(srcdir)/style/*.css
|
|
||||||
|
|
||||||
otherdir = $(pkgdatadir)/data/other
|
|
||||||
other_DATA = other/servers.xml other/dh4096.pem
|
|
||||||
# other/cacert.pem is used only on Windows. On Unix platforms
|
|
||||||
# use CA certificates installed in /etc/ssl/certs
|
|
||||||
|
|
||||||
man_MANS = gajim.1 gajim-remote.1 gajim-history-manager.1
|
man_MANS = gajim.1 gajim-remote.1 gajim-history-manager.1
|
||||||
|
|
||||||
|
|
||||||
EXTRA_DIST = $(appstream_in_files) \
|
EXTRA_DIST = $(appstream_in_files) \
|
||||||
$(desktop_in_files) \
|
$(desktop_in_files) \
|
||||||
$(sounds_DATA) \
|
|
||||||
$(style_DATA) \
|
|
||||||
$(other_DATA) \
|
|
||||||
$(man_MANS) \
|
$(man_MANS) \
|
||||||
defs.py.in
|
defs.py.in
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
SUBDIRS = data
|
||||||
|
|
||||||
INCLUDES = \
|
INCLUDES = \
|
||||||
$(PYTHON_INCLUDES)
|
$(PYTHON_INCLUDES)
|
||||||
export MACOSX_DEPLOYMENT_TARGET=10.4
|
export MACOSX_DEPLOYMENT_TARGET=10.4
|
||||||
|
|
|
@ -98,9 +98,11 @@ class ConfigPaths:
|
||||||
base = expand('~/.local/share')
|
base = expand('~/.local/share')
|
||||||
self.data_root = os.path.join(base, 'gajim')
|
self.data_root = os.path.join(base, 'gajim')
|
||||||
|
|
||||||
basedir = os.environ.get('GAJIM_BASEDIR', defs.basedir)
|
import pkg_resources
|
||||||
|
basedir = pkg_resources.resource_filename("gajim", ".")
|
||||||
self.add('DATA', None, os.path.join(basedir, 'data'))
|
self.add('DATA', None, os.path.join(basedir, 'data'))
|
||||||
self.add('GUI', None, os.path.join(basedir, 'data', 'gui'))
|
self.add('GUI', None, os.path.join(basedir, 'data', 'gui'))
|
||||||
|
basedir = os.environ.get('GAJIM_BASEDIR', defs.basedir)
|
||||||
self.add('ICONS', None, os.path.join(basedir, 'icons'))
|
self.add('ICONS', None, os.path.join(basedir, 'icons'))
|
||||||
self.add('HOME', None, os.path.expanduser('~'))
|
self.add('HOME', None, os.path.expanduser('~'))
|
||||||
self.add('PLUGINS_BASE', None, os.path.join(basedir, 'plugins'))
|
self.add('PLUGINS_BASE', None, os.path.join(basedir, 'plugins'))
|
||||||
|
|
|
@ -0,0 +1,19 @@
|
||||||
|
SUBDIRS = gui emoticons iconsets moods activities
|
||||||
|
@INTLTOOL_DESKTOP_RULE@
|
||||||
|
|
||||||
|
soundsdir = $(gajim_srcdir)/data/sounds
|
||||||
|
sounds_DATA = $(srcdir)/sounds/*.wav
|
||||||
|
|
||||||
|
styledir = $(gajim_srcdir)/data/style
|
||||||
|
style_DATA = $(srcdir)/style/*.css
|
||||||
|
|
||||||
|
otherdir = $(gajim_srcdir)/data/other
|
||||||
|
other_DATA = other/servers.xml other/dh4096.pem
|
||||||
|
# other/cacert.pem is used only on Windows. On Unix platforms
|
||||||
|
# use CA certificates installed in /etc/ssl/certs
|
||||||
|
|
||||||
|
EXTRA_DIST = $(sounds_DATA) \
|
||||||
|
$(style_DATA) \
|
||||||
|
$(other_DATA)
|
||||||
|
|
||||||
|
MAINTAINERCLEANFILES = Makefile.in
|
|
@ -1,4 +1,4 @@
|
||||||
activitiesdir = $(pkgdatadir)/data/activities
|
activitiesdir = $(gajim_srcdir)/data/activities
|
||||||
nobase_dist_activities_DATA = $(srcdir)/*/*/*
|
nobase_dist_activities_DATA = $(srcdir)/*/*/*
|
||||||
|
|
||||||
MAINTAINERCLEANFILES = Makefile.in
|
MAINTAINERCLEANFILES = Makefile.in
|
Before Width: | Height: | Size: 909 B After Width: | Height: | Size: 909 B |
Before Width: | Height: | Size: 854 B After Width: | Height: | Size: 854 B |
Before Width: | Height: | Size: 842 B After Width: | Height: | Size: 842 B |
Before Width: | Height: | Size: 1005 B After Width: | Height: | Size: 1005 B |
Before Width: | Height: | Size: 957 B After Width: | Height: | Size: 957 B |
Before Width: | Height: | Size: 916 B After Width: | Height: | Size: 916 B |
Before Width: | Height: | Size: 808 B After Width: | Height: | Size: 808 B |
Before Width: | Height: | Size: 749 B After Width: | Height: | Size: 749 B |
Before Width: | Height: | Size: 980 B After Width: | Height: | Size: 980 B |
Before Width: | Height: | Size: 891 B After Width: | Height: | Size: 891 B |
Before Width: | Height: | Size: 706 B After Width: | Height: | Size: 706 B |
Before Width: | Height: | Size: 906 B After Width: | Height: | Size: 906 B |
Before Width: | Height: | Size: 918 B After Width: | Height: | Size: 918 B |
Before Width: | Height: | Size: 712 B After Width: | Height: | Size: 712 B |
Before Width: | Height: | Size: 868 B After Width: | Height: | Size: 868 B |
Before Width: | Height: | Size: 906 B After Width: | Height: | Size: 906 B |
Before Width: | Height: | Size: 844 B After Width: | Height: | Size: 844 B |
Before Width: | Height: | Size: 969 B After Width: | Height: | Size: 969 B |
Before Width: | Height: | Size: 1016 B After Width: | Height: | Size: 1016 B |
Before Width: | Height: | Size: 912 B After Width: | Height: | Size: 912 B |
Before Width: | Height: | Size: 901 B After Width: | Height: | Size: 901 B |
Before Width: | Height: | Size: 957 B After Width: | Height: | Size: 957 B |
Before Width: | Height: | Size: 723 B After Width: | Height: | Size: 723 B |
Before Width: | Height: | Size: 625 B After Width: | Height: | Size: 625 B |
Before Width: | Height: | Size: 894 B After Width: | Height: | Size: 894 B |
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 854 B After Width: | Height: | Size: 854 B |
Before Width: | Height: | Size: 900 B After Width: | Height: | Size: 900 B |
Before Width: | Height: | Size: 846 B After Width: | Height: | Size: 846 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 665 B After Width: | Height: | Size: 665 B |
Before Width: | Height: | Size: 1013 B After Width: | Height: | Size: 1013 B |
Before Width: | Height: | Size: 759 B After Width: | Height: | Size: 759 B |
Before Width: | Height: | Size: 689 B After Width: | Height: | Size: 689 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 793 B After Width: | Height: | Size: 793 B |
Before Width: | Height: | Size: 1012 B After Width: | Height: | Size: 1012 B |
Before Width: | Height: | Size: 981 B After Width: | Height: | Size: 981 B |
Before Width: | Height: | Size: 589 B After Width: | Height: | Size: 589 B |
Before Width: | Height: | Size: 907 B After Width: | Height: | Size: 907 B |
Before Width: | Height: | Size: 752 B After Width: | Height: | Size: 752 B |
Before Width: | Height: | Size: 917 B After Width: | Height: | Size: 917 B |
Before Width: | Height: | Size: 882 B After Width: | Height: | Size: 882 B |
Before Width: | Height: | Size: 703 B After Width: | Height: | Size: 703 B |
Before Width: | Height: | Size: 997 B After Width: | Height: | Size: 997 B |
Before Width: | Height: | Size: 967 B After Width: | Height: | Size: 967 B |
Before Width: | Height: | Size: 839 B After Width: | Height: | Size: 839 B |
Before Width: | Height: | Size: 719 B After Width: | Height: | Size: 719 B |
Before Width: | Height: | Size: 866 B After Width: | Height: | Size: 866 B |
Before Width: | Height: | Size: 793 B After Width: | Height: | Size: 793 B |
Before Width: | Height: | Size: 990 B After Width: | Height: | Size: 990 B |
Before Width: | Height: | Size: 913 B After Width: | Height: | Size: 913 B |
Before Width: | Height: | Size: 921 B After Width: | Height: | Size: 921 B |
Before Width: | Height: | Size: 964 B After Width: | Height: | Size: 964 B |
Before Width: | Height: | Size: 621 B After Width: | Height: | Size: 621 B |
Before Width: | Height: | Size: 956 B After Width: | Height: | Size: 956 B |
Before Width: | Height: | Size: 958 B After Width: | Height: | Size: 958 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 955 B After Width: | Height: | Size: 955 B |
Before Width: | Height: | Size: 836 B After Width: | Height: | Size: 836 B |
Before Width: | Height: | Size: 792 B After Width: | Height: | Size: 792 B |
Before Width: | Height: | Size: 651 B After Width: | Height: | Size: 651 B |
Before Width: | Height: | Size: 865 B After Width: | Height: | Size: 865 B |
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 868 B After Width: | Height: | Size: 868 B |
Before Width: | Height: | Size: 982 B After Width: | Height: | Size: 982 B |
Before Width: | Height: | Size: 960 B After Width: | Height: | Size: 960 B |
Before Width: | Height: | Size: 696 B After Width: | Height: | Size: 696 B |
Before Width: | Height: | Size: 897 B After Width: | Height: | Size: 897 B |
Before Width: | Height: | Size: 773 B After Width: | Height: | Size: 773 B |
Before Width: | Height: | Size: 825 B After Width: | Height: | Size: 825 B |
Before Width: | Height: | Size: 962 B After Width: | Height: | Size: 962 B |
Before Width: | Height: | Size: 797 B After Width: | Height: | Size: 797 B |
Before Width: | Height: | Size: 345 B After Width: | Height: | Size: 345 B |
Before Width: | Height: | Size: 815 B After Width: | Height: | Size: 815 B |
Before Width: | Height: | Size: 757 B After Width: | Height: | Size: 757 B |
Before Width: | Height: | Size: 1005 B After Width: | Height: | Size: 1005 B |
Before Width: | Height: | Size: 726 B After Width: | Height: | Size: 726 B |
Before Width: | Height: | Size: 926 B After Width: | Height: | Size: 926 B |
|
@ -1,4 +1,4 @@
|
||||||
emoticonsdir = $(pkgdatadir)/data/emoticons
|
emoticonsdir = $(gajim_srcdir)/data/emoticons
|
||||||
nobase_dist_emoticons_DATA = \
|
nobase_dist_emoticons_DATA = \
|
||||||
$(srcdir)/*/*.png \
|
$(srcdir)/*/*.png \
|
||||||
$(srcdir)/*/LICENSE \
|
$(srcdir)/*/LICENSE \
|
Before Width: | Height: | Size: 1.2 MiB After Width: | Height: | Size: 1.2 MiB |
Before Width: | Height: | Size: 370 B After Width: | Height: | Size: 370 B |
Before Width: | Height: | Size: 642 B After Width: | Height: | Size: 642 B |
Before Width: | Height: | Size: 384 B After Width: | Height: | Size: 384 B |
Before Width: | Height: | Size: 693 B After Width: | Height: | Size: 693 B |
Before Width: | Height: | Size: 358 B After Width: | Height: | Size: 358 B |
Before Width: | Height: | Size: 656 B After Width: | Height: | Size: 656 B |
Before Width: | Height: | Size: 232 B After Width: | Height: | Size: 232 B |
Before Width: | Height: | Size: 407 B After Width: | Height: | Size: 407 B |