You've already forked linux-packaging-mono
Imported Upstream version 6.4.0.186
Former-commit-id: 710edcfe8c8328382163d2ff94143b3f789a6309
This commit is contained in:
parent
d213358eb3
commit
4730215017
13
external/bockbuild/packages/gtk-quartz-engine.py
vendored
13
external/bockbuild/packages/gtk-quartz-engine.py
vendored
@@ -1,13 +0,0 @@
|
||||
class GtkQuartzEnginePackage (Package):
|
||||
|
||||
def __init__(self):
|
||||
Package.__init__(self, 'gtk-quartz-engine',
|
||||
sources=[
|
||||
'git://github.com/mono/gtk-quartz-engine.git'],
|
||||
override_properties={
|
||||
'configure': './autogen.sh --prefix=%{package_prefix}',
|
||||
'needs_lipo': True
|
||||
},
|
||||
revision='9555a08f0c9c98d02153c9d77b54a2dd83ce5d6f')
|
||||
|
||||
GtkQuartzEnginePackage()
|
13
external/bockbuild/packages/libtiff.py
vendored
13
external/bockbuild/packages/libtiff.py
vendored
@@ -7,7 +7,18 @@ class LibTiffPackage (Package):
|
||||
sources=[
|
||||
'http://download.osgeo.org/libtiff/tiff-%{version}.tar.gz',
|
||||
])
|
||||
self.sources.extend([
|
||||
'patches/tiff/patch-tiffconf.diff',
|
||||
'patches/tiff/patch-tif_config.diff'
|
||||
])
|
||||
|
||||
self.needs_lipo = True
|
||||
def build(self):
|
||||
if Package.profile.name == 'darwin':
|
||||
Package.configure(self)
|
||||
for p in range(1, len(self.local_sources)):
|
||||
self.sh('patch -p0 < "%{local_sources[' + str(p) + ']}"')
|
||||
Package.make(self)
|
||||
else:
|
||||
Package.build(self)
|
||||
|
||||
LibTiffPackage()
|
||||
|
81
external/bockbuild/packages/patches/tiff/patch-tif_config.diff
vendored
Normal file
81
external/bockbuild/packages/patches/tiff/patch-tif_config.diff
vendored
Normal file
@@ -0,0 +1,81 @@
|
||||
--- libtiff/tif_config.h.orig 2019-08-29 15:36:35.000000000 +0200
|
||||
+++ libtiff/tif_config.h 2019-08-29 15:08:43.000000000 +0200
|
||||
@@ -255,7 +255,11 @@
|
||||
#define SIZEOF_SIGNED_INT 4
|
||||
|
||||
/* The size of `signed long', as computed by sizeof. */
|
||||
+#ifdef __LP64__
|
||||
#define SIZEOF_SIGNED_LONG 8
|
||||
+#else
|
||||
+#define SIZEOF_SIGNED_LONG 4
|
||||
+#endif
|
||||
|
||||
/* The size of `signed long long', as computed by sizeof. */
|
||||
#define SIZEOF_SIGNED_LONG_LONG 8
|
||||
@@ -264,16 +268,28 @@
|
||||
#define SIZEOF_SIGNED_SHORT 2
|
||||
|
||||
/* The size of `size_t', as computed by sizeof. */
|
||||
+#ifdef __LP64__
|
||||
#define SIZEOF_SIZE_T 8
|
||||
+#else
|
||||
+#define SIZEOF_SIZE_T 4
|
||||
+#endif
|
||||
|
||||
/* The size of `unsigned char *', as computed by sizeof. */
|
||||
+#ifdef __LP64__
|
||||
#define SIZEOF_UNSIGNED_CHAR_P 8
|
||||
+#else
|
||||
+#define SIZEOF_UNSIGNED_CHAR_P 4
|
||||
+#endif
|
||||
|
||||
/* The size of `unsigned int', as computed by sizeof. */
|
||||
#define SIZEOF_UNSIGNED_INT 4
|
||||
|
||||
/* The size of `unsigned long', as computed by sizeof. */
|
||||
+#ifdef __LP64__
|
||||
#define SIZEOF_UNSIGNED_LONG 8
|
||||
+#else
|
||||
+#define SIZEOF_UNSIGNED_LONG 4
|
||||
+#endif
|
||||
|
||||
/* The size of `unsigned long long', as computed by sizeof. */
|
||||
#define SIZEOF_UNSIGNED_LONG_LONG 8
|
||||
@@ -307,10 +323,18 @@
|
||||
#define TIFF_INT32_T signed int
|
||||
|
||||
/* Signed 64-bit type formatter */
|
||||
+#ifdef __LP64__
|
||||
#define TIFF_INT64_FORMAT "%ld"
|
||||
+#else
|
||||
+#define TIFF_INT64_FORMAT "%lld"
|
||||
+#endif
|
||||
|
||||
/* Signed 64-bit type */
|
||||
+#ifdef __LP64__
|
||||
#define TIFF_INT64_T signed long
|
||||
+#else
|
||||
+#define TIFF_INT64_T signed long long
|
||||
+#endif
|
||||
|
||||
/* Signed 8-bit type */
|
||||
#define TIFF_INT8_T signed char
|
||||
@@ -343,10 +367,18 @@
|
||||
#define TIFF_UINT32_T unsigned int
|
||||
|
||||
/* Unsigned 64-bit type formatter */
|
||||
+#ifdef __LP64__
|
||||
#define TIFF_UINT64_FORMAT "%lu"
|
||||
+#else
|
||||
+#define TIFF_UINT64_FORMAT "%llu"
|
||||
+#endif
|
||||
|
||||
/* Unsigned 64-bit type */
|
||||
+#ifdef __LP64__
|
||||
#define TIFF_UINT64_T unsigned long
|
||||
+#else
|
||||
+#define TIFF_UINT64_T unsigned long long
|
||||
+#endif
|
||||
|
||||
/* Unsigned 8-bit type */
|
||||
#define TIFF_UINT8_T unsigned char
|
26
external/bockbuild/packages/patches/tiff/patch-tiffconf.diff
vendored
Normal file
26
external/bockbuild/packages/patches/tiff/patch-tiffconf.diff
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
--- libtiff/tiffconf.h.orig 2019-08-29 15:37:19.000000000 +0200
|
||||
+++ libtiff/tiffconf.h 2019-08-29 15:38:25.000000000 +0200
|
||||
@@ -15,7 +15,11 @@
|
||||
#define TIFF_INT32_T signed int
|
||||
|
||||
/* Signed 64-bit type */
|
||||
+#ifdef __LP64__
|
||||
#define TIFF_INT64_T signed long
|
||||
+#else
|
||||
+#define TIFF_INT64_T signed long long
|
||||
+#endif
|
||||
|
||||
/* Signed 8-bit type */
|
||||
#define TIFF_INT8_T signed char
|
||||
@@ -27,7 +31,11 @@
|
||||
#define TIFF_UINT32_T unsigned int
|
||||
|
||||
/* Unsigned 64-bit type */
|
||||
+#ifdef __LP64__
|
||||
#define TIFF_UINT64_T unsigned long
|
||||
+#else
|
||||
+#define TIFF_UINT64_T unsigned long long
|
||||
+#endif
|
||||
|
||||
/* Unsigned 8-bit type */
|
||||
#define TIFF_UINT8_T unsigned char
|
3
external/bockbuild/packages/pkg-config.py
vendored
3
external/bockbuild/packages/pkg-config.py
vendored
@@ -1,4 +1,5 @@
|
||||
package = FreeDesktopPackage('%{name}', 'pkg-config', '0.27',
|
||||
configure_flags=["--with-internal-glib"])
|
||||
|
||||
package.needs_lipo = True
|
||||
if package.profile.name == 'darwin':
|
||||
package.m64_only = True
|
||||
|
Reference in New Issue
Block a user