avatar
gvm has added 88eff9e289
Updated to release 0.4.29, updated file lists and made sure devel doc...

...s are generated

... ... --- a/.abf.yml
... ... +++ b/.abf.yml
... ... @@ -1,2 +1,2 @@
1 1
sources:
2
  orc-0.4.28.tar.xz: 8444720a197a15a3da05292ce86a33df7226e3c9
2
  orc-0.4.29.tar.xz: d97286566f22fa7890b93fdd3d5b64b255f75a30
view file @ 88eff9e289
... ... index 9f408785f9ec0c92084d9d4f88eb9c70a65dea33..728185720e8edd44a18e98767af37b9e109a26d2 100644
... ... --- a/0001-Use-a-subdirectory-for-temporary-files.patch
... ... +++ b/orc-0.4.29-use-subdir-for-tempfiles.patch
... ... @@ -1,22 +1,9 @@
1
From 048ecb97881ad2763c34458eb705fedf09dcc5ff Mon Sep 17 00:00:00 2001
2
From: Fabian Deutsch <fabian.deutsch@gmx.de>
3
Date: Tue, 4 Oct 2011 13:28:38 +0200
4
Subject: [PATCH 1/2] Use a subdirectory for temporary files.
5
6
This allows the a better integration with selinux, as the rule can use the path name and doesn't need globbing.
7
8
Signed-off-by: Fabian Deutsch <fabian.deutsch@gmx.de>
9
---
10
 orc/orccodemem.c |   19 ++++++++++++++++++-
11
 1 files changed, 18 insertions(+), 1 deletions(-)
12
13
diff --git a/orc/orccodemem.c b/orc/orccodemem.c
14
index f470be5..295a880 100644
15
--- a/orc/orccodemem.c
16
+++ b/orc/orccodemem.c
17
@@ -193,12 +193,28 @@ orc_code_chunk_free (OrcCodeChunk *chunk)
1
diff -rupN orc-0.4.29.old/orc/orccodemem.c orc-0.4.29/orc/orccodemem.c
2
--- orc-0.4.29.old/orc/orccodemem.c	2018-04-28 13:37:25.000000000 +0200
3
+++ orc-0.4.29/orc/orccodemem.c	2019-05-23 17:40:51.034506670 +0200
4
@@ -194,12 +194,28 @@ orc_code_chunk_free (OrcCodeChunk *chunk
18 5
 #ifdef HAVE_CODEMEM_MMAP
19
 int
6
 static int
20 7
 orc_code_region_allocate_codemem_dual_map (OrcCodeRegion *region,
21 8
-    const char *dir, int force_unlink)
22 9
+    const char *basedir, int force_unlink)
... ... @@ -44,7 +31,7 @@ index f470be5..295a880 100644
31 31
 
32 32
   filename = malloc (strlen ("/orcexec..") +
33 33
       strlen (dir) + 6 + 1);
34
@@ -211,6 +227,7 @@ orc_code_region_allocate_codemem_dual_map (OrcCodeRegion *region,
34
@@ -215,6 +231,7 @@ orc_code_region_allocate_codemem_dual_ma
35 35
   if (force_unlink || !_orc_compiler_flag_debug) {
36 36
     unlink (filename);
37 37
   }
... ... @@ -52,6 +39,3 @@ index f470be5..295a880 100644
39 39
   free (filename);
40 40
 
41 41
   n = ftruncate (fd, SIZE);
... ... ---
42
1.7.7.6
43
... ... --- a/orc.spec
... ... +++ b/orc.spec
... ... @@ -1,30 +1,31 @@
1
%define api 0.4
2
%define major 0
3
%define libname %mklibname %{name} %{api} %{major}
4
%define libtest %mklibname %{name}-test %{api} %{major}
5
%define devname %mklibname %{name} -d
1
%define	api 0.4
2
%define	major 0
3
%define	libname %mklibname %{name} %{api} %{major}
4
%define	libtest %mklibname %{name}-test %{api} %{major}
5
%define	devname %mklibname %{name} -d
6 6
7 7
Summary:	The Oil Runtime Compiler
8 8
Name:		orc
9
Version:	0.4.28
10
Release:	3
9
Version:	0.4.29
10
Release:	1
11 11
License:	BSD
12 12
Group:		Development/Tools
13 13
Url:		http://code.entropywave.com/projects/orc/
14 14
Source0:	http://gstreamer.freedesktop.org/src/orc/%{name}-%{version}.tar.xz
15
Patch0:		0001-Use-a-subdirectory-for-temporary-files.patch
15
Patch0:		orc-0.4.29-use-subdir-for-tempfiles.patch
16
# TODO: Consider a switch to meson build system
17
BuildRequires:	gtk-doc >= 1.12
16 18
17 19
%description
18
Orc is a library and set of tools for compiling and executing very
19
simple programs that operate on arrays of data. The "language" is a
20
generic assembly language that represents many of the features
21
available in SIMD architectures, including saturated addition and
22
subtraction, and many arithmetic operations.
20
Orc is a library and set of tools for compiling and executing very simple
21
programs that operate on arrays of data. The "language" is a generic assembly
22
language that represents many of the features available in SIMD architectures,
23
including saturated addition and subtraction, and many arithmetic operations.
23 24
24 25
%files
25
%doc README TODO
26
%doc README RELEASE TODO
26 27
%{_bindir}/orcc
27
%{_bindir}/orc-bugreport
28
%{_bindir}/%{name}-bugreport
28 29
29 30
#----------------------------------------------------------------------------
30 31
... ... @@ -36,6 +37,7 @@ Group: System/Libraries
37 37
This package contains a shared library for %{name}.
38 38
39 39
%files -n %{libname}
40
%doc COPYING
40 41
%{_libdir}/liborc-%{api}.so.%{major}*
41 42
42 43
#----------------------------------------------------------------------------
... ... @@ -49,6 +51,7 @@ Conflicts: %{_lib}orc0.4_0 < 0.4.17-3
51 51
This package contains a shared library for %{name}.
52 52
53 53
%files -n %{libtest}
54
%doc COPYING
54 55
%{_libdir}/liborc-test-%{api}.so.%{major}*
55 56
56 57
#----------------------------------------------------------------------------
... ... @@ -65,11 +68,13 @@ Provides: %{name}-devel = %{EVRD}
68 68
This package includes the development files for %{name}.
69 69
70 70
%files -n %{devname}
71
%doc COPYING
71 72
%{_includedir}/%{name}-%{api}/
72 73
%{_libdir}/liborc*-%{api}.so
73
%{_libdir}/pkgconfig/orc-%{api}.pc
74
%{_datadir}/gtk-doc/html/orc
75
%{_datadir}/aclocal/orc.m4
74
%{_libdir}/pkgconfig/%{name}-%{api}.pc
75
%{_libdir}/pkgconfig/%{name}-test-%{api}.pc
76
%{_datadir}/gtk-doc/html/%{name}
77
%{_datadir}/aclocal/%{name}.m4
76 78
77 79
#----------------------------------------------------------------------------
78 80
... ... @@ -77,11 +82,14 @@ This package includes the development files for %{name}.
82 82
%setup -q
83 83
%patch0 -p1
84 84
85
85 86
%build
86 87
%configure2_5x \
87
	--disable-static
88
	--disable-static \
89
	--enable-gtk-doc
88 90
%make
89 91
92
90 93
%install
91 94
%makeinstall_std
92 95

Comments