Small fixes for font-util package (#12148)
* font-util: Remove duplicated dependencies. * font-util: Fix path handling for font resources. The "join_path" call made no sense but still managed to work somehow most of the times.
This commit is contained in:
		 Rémi Lacroix
					Rémi Lacroix
				
			
				
					committed by
					
						 Greg Becker
						Greg Becker
					
				
			
			
				
	
			
			
			 Greg Becker
						Greg Becker
					
				
			
						parent
						
							0babdab8f0
						
					
				
				
					commit
					9caba3e072
				
			| @@ -23,9 +23,6 @@ class FontUtil(AutotoolsPackage): | |||||||
|     depends_on('mkfontscale', type='build') |     depends_on('mkfontscale', type='build') | ||||||
|     depends_on('mkfontdir', type='build') |     depends_on('mkfontdir', type='build') | ||||||
|  |  | ||||||
|     depends_on('autoconf', type='build') |  | ||||||
|     depends_on('automake', type='build') |  | ||||||
|  |  | ||||||
|     font_baseurl = 'https://www.x.org/archive/individual/font/' |     font_baseurl = 'https://www.x.org/archive/individual/font/' | ||||||
|     fonts = [] |     fonts = [] | ||||||
|     # name, version, md5 |     # name, version, md5 | ||||||
| @@ -104,7 +101,7 @@ def font_install(self): | |||||||
|  |  | ||||||
|         for font in fonts: |         for font in fonts: | ||||||
|             fontroot = find(font, '*', recursive=False) |             fontroot = find(font, '*', recursive=False) | ||||||
|             with working_dir(join_path(font, fontroot[0])): |             with working_dir(fontroot[0]): | ||||||
|                 autoreconf(*autoconf_args) |                 autoreconf(*autoconf_args) | ||||||
|                 configure = Executable("./configure") |                 configure = Executable("./configure") | ||||||
|                 configure('--prefix={0}'.format(self.prefix)) |                 configure('--prefix={0}'.format(self.prefix)) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user