From 82e2fcb34f3a237e91bcac2b0069c6da8a43cee3 Mon Sep 17 00:00:00 2001 From: Esteban Carnevale Date: Wed, 30 Apr 2014 18:13:49 -0300 Subject: font-manager-0.5.7-4: add new package to [pcr] --- pcr/font-manager/2001-paths.patch | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 pcr/font-manager/2001-paths.patch (limited to 'pcr/font-manager/2001-paths.patch') diff --git a/pcr/font-manager/2001-paths.patch b/pcr/font-manager/2001-paths.patch new file mode 100644 index 000000000..2c15232fc --- /dev/null +++ b/pcr/font-manager/2001-paths.patch @@ -0,0 +1,25 @@ +Description: Fixes file location constants to more updated/organized variants. + ~/.fonts.conf -> ~/.config/fontconfig/fonts.conf + ~/.fonts/ -> ~/.local/share/fonts/ +Author: i_magnific0 (i_magnific0@yahoo.com) +Notes: patch not submitted +--- + src/constants.py.in | 4 ++-- + 1 file changed, 2 insertion(+), 2 deletions(-) + +--- font-manager.orig/src/constants.py.in ++++ font-manager/src/constants.py +@@ -75,11 +75,11 @@ + + HOME = os.getenv('HOME') + USER = os.getenv('USER') +-USER_FONT_DIR = join(HOME, '.fonts') ++USER_FONT_DIR = join(glib.get_user_data_dir(), 'fonts') + COMPAT_COLLECTIONS = join(CONFIG_DIR, 'fontgroups.xml') + USER_FONT_COLLECTIONS = join(DATA_DIR, 'Collections.xml') + USER_FONT_COLLECTIONS_BAK = join(DATA_DIR, 'Collections.xml.bak') +-USER_FONT_CONFIG = join(HOME, '.fonts.conf') ++USER_FONT_CONFIG = join(CONFIG_DIR, 'fontconfig/fonts.conf') + USER_FONT_CONFIG_DIR = join(APP_CONFIG_DIR, 'conf.d') + USER_FONT_CONFIG_DIRS = join(APP_CONFIG_DIR, 'directories.conf') + USER_FONT_CONFIG_RENDER = join(APP_CONFIG_DIR, 'local.conf') -- cgit v1.2.3-2-g168b