mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 13:33:32 -04:00
dev-util/psautohint: initial import
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
diff '--color=auto' -ru psautohint-2.3.0/setup.py /var/tmp/portage/dev-util/psautohint-2.3.0/work/psautohint-2.3.0/setup.py
|
||||
--- psautohint-2.3.0/setup.py 2021-06-18 02:49:14.569282664 +0200
|
||||
+++ /var/tmp/portage/dev-util/psautohint-2.3.0/work/psautohint-2.3.0/setup.py 2021-06-18 02:51:12.569250040 +0200
|
||||
@@ -192,7 +192,7 @@
|
||||
# If we were asked to build any C/C++ libraries, make sure that the
|
||||
# directory where we put them is in the library search path for
|
||||
# linking executables.
|
||||
- if self.distribution.has_c_libraries():
|
||||
+ if False:
|
||||
build_clib = self.get_finalized_command('build_clib')
|
||||
self.libraries.extend(build_clib.get_library_names() or [])
|
||||
self.library_dirs.append(build_clib.build_clib)
|
||||
@@ -432,15 +432,13 @@
|
||||
class CustomBuildExt(_build_ext):
|
||||
|
||||
def run(self):
|
||||
- if self.distribution.has_c_libraries():
|
||||
+ if False:
|
||||
self.run_command("build_clib")
|
||||
_build_ext.run(self)
|
||||
|
||||
|
||||
cmdclass = {
|
||||
- 'build_clib': CustomBuildClib,
|
||||
'build_ext': CustomBuildExt,
|
||||
- 'build_exe': build_exe,
|
||||
}
|
||||
|
||||
|
||||
@@ -572,9 +570,7 @@
|
||||
license='Apache License, Version 2.0',
|
||||
package_dir={'': 'python'},
|
||||
packages=['psautohint'],
|
||||
- libraries=libraries,
|
||||
ext_modules=ext_modules,
|
||||
- executables=executables,
|
||||
entry_points={
|
||||
'console_scripts': [
|
||||
"psautohint = psautohint.__main__:main",
|
||||
11
dev-util/psautohint/files/psautohint-2.3.0-no-werror.patch
Normal file
11
dev-util/psautohint/files/psautohint-2.3.0-no-werror.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
diff '--color=auto' -ru psautohint-2.3.0/libpsautohint/meson.build /var/tmp/portage/dev-util/psautohint-2.3.0/work/psautohint-2.3.0/libpsautohint/meson.build
|
||||
--- psautohint-2.3.0/libpsautohint/meson.build 2021-06-18 02:49:14.557282566 +0200
|
||||
+++ /var/tmp/portage/dev-util/psautohint-2.3.0/work/psautohint-2.3.0/libpsautohint/meson.build 2021-06-18 02:54:34.873912737 +0200
|
||||
@@ -21,7 +21,6 @@
|
||||
'-Wstringop-truncation',
|
||||
'-Wunreachable-code-break',
|
||||
'-Wunused-macros',
|
||||
- '-Werror',
|
||||
]
|
||||
|
||||
add_global_arguments(cc.get_supported_arguments(cflags), language : 'c')
|
||||
10
dev-util/psautohint/files/psautohint-bininpath.diff
Normal file
10
dev-util/psautohint/files/psautohint-bininpath.diff
Normal file
@@ -0,0 +1,10 @@
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -564,6 +564,7 @@ ext_modules = [
|
||||
sources=[
|
||||
"python/psautohint/_psautohint.c",
|
||||
],
|
||||
+ libraries = ['psautohint'],
|
||||
),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user