This commit is contained in:
commit
a0293b9d69
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
78
return-fix.patch
Normal file
78
return-fix.patch
Normal file
@ -0,0 +1,78 @@
|
||||
diff -Naur vala-0.3.3/vala/valagenieparser.c vala-0.3.3-mp/vala/valagenieparser.c
|
||||
--- vala-0.3.3/vala/valagenieparser.c 2008-06-03 22:22:26.000000000 +0200
|
||||
+++ vala-0.3.3-mp/vala/valagenieparser.c 2008-09-12 07:33:04.025057000 +0200
|
||||
@@ -464,6 +464,7 @@
|
||||
g_propagate_error (error, inner_error);
|
||||
return FALSE;
|
||||
}
|
||||
+ return FALSE;
|
||||
}
|
||||
|
||||
|
||||
@@ -486,6 +487,7 @@
|
||||
g_propagate_error (error, inner_error);
|
||||
return FALSE;
|
||||
}
|
||||
+ return FALSE;
|
||||
}
|
||||
|
||||
|
||||
@@ -673,6 +675,7 @@
|
||||
g_propagate_error (error, inner_error);
|
||||
return NULL;
|
||||
}
|
||||
+ return NULL;
|
||||
}
|
||||
|
||||
|
||||
@@ -1880,6 +1883,7 @@
|
||||
}
|
||||
}
|
||||
(member == NULL ? NULL : (member = (g_object_unref (member), NULL)));
|
||||
+ return NULL;
|
||||
}
|
||||
|
||||
|
||||
@@ -5019,6 +5023,7 @@
|
||||
return NULL;
|
||||
}
|
||||
(attrs == NULL ? NULL : (attrs = (g_object_unref (attrs), NULL)));
|
||||
+ return NULL;
|
||||
}
|
||||
|
||||
|
||||
diff -Naur vala-0.3.3/vala/valaparser.c vala-0.3.3-mp/vala/valaparser.c
|
||||
--- vala-0.3.3/vala/valaparser.c 2008-06-03 22:22:28.000000000 +0200
|
||||
+++ vala-0.3.3-mp/vala/valaparser.c 2008-09-12 07:44:47.890487000 +0200
|
||||
@@ -419,6 +419,7 @@
|
||||
g_propagate_error (error, inner_error);
|
||||
return FALSE;
|
||||
}
|
||||
+ return FALSE;
|
||||
}
|
||||
|
||||
|
||||
@@ -618,6 +619,7 @@
|
||||
g_propagate_error (error, inner_error);
|
||||
return NULL;
|
||||
}
|
||||
+ return NULL;
|
||||
}
|
||||
|
||||
|
||||
@@ -1594,6 +1596,7 @@
|
||||
}
|
||||
}
|
||||
(member == NULL ? NULL : (member = (g_object_unref (member), NULL)));
|
||||
+ return NULL;
|
||||
}
|
||||
|
||||
|
||||
@@ -4549,6 +4552,7 @@
|
||||
return NULL;
|
||||
}
|
||||
(attrs == NULL ? NULL : (attrs = (g_object_unref (attrs), NULL)));
|
||||
+ return NULL;
|
||||
}
|
||||
|
||||
|
3
vala-0.3.3.tar.bz2
Normal file
3
vala-0.3.3.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:261ffedeac9c2aec1e094c4ab61c9f4b1f90ea0fef1b5e1492677d8c43d6aab5
|
||||
size 1310105
|
10
vala.changes
Normal file
10
vala.changes
Normal file
@ -0,0 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 12 08:07:29 CEST 2008 - mauro@suse.de
|
||||
|
||||
- Added return-fix.patch to fix the error " Program returns random
|
||||
data in a function".
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 25 21:35:33 CEST 2008 - mauro@suse.de
|
||||
|
||||
- initial SUSE package
|
115
vala.spec
Normal file
115
vala.spec
Normal file
@ -0,0 +1,115 @@
|
||||
#
|
||||
# spec file for package vala (Version 0.3.3)
|
||||
#
|
||||
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
|
||||
Name: vala
|
||||
Version: 0.3.3
|
||||
Release: 2
|
||||
Summary: Vala is a new programming language for GNOME
|
||||
Group: Development/Languages/Other
|
||||
License: LGPL v2.1 or later
|
||||
Url: http://live.gnome.org/Vala
|
||||
Source0: http://www.paldo.org/vala/vala-%{version}.tar.bz2
|
||||
Patch0: return-fix.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: bison flex glib2-devel
|
||||
#Requires:
|
||||
%if 0%{?suse_version} < 1030
|
||||
%define _prefix /opt/gnome
|
||||
%endif
|
||||
|
||||
%description
|
||||
Vala is a new programming language that aims to bring modern
|
||||
programming language features to GNOME developers without imposing any
|
||||
additional runtime requirements and without using a different ABI
|
||||
compared to applications and libraries written in C.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Jürg Billeter <j@bitron.ch>
|
||||
Raffaele Sandrini <raffaele@sandrini.ch>
|
||||
|
||||
%package devel
|
||||
License: LGPL v2.0 only
|
||||
Summary: Vala is a new programming language for GNOME
|
||||
Group: Development/Languages/Other
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: pkgconfig
|
||||
|
||||
%description devel
|
||||
Vala is a new programming language that aims to bring modern
|
||||
programming language features to GNOME developers without imposing any
|
||||
additional runtime requirements and without using a different ABI
|
||||
compared to applications and libraries written in C.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Jürg Billeter <j@bitron.ch>
|
||||
Raffaele Sandrini <raffaele@sandrini.ch>
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch -p1
|
||||
|
||||
%build
|
||||
%configure --enable-vapigen
|
||||
# Don't use rpath!
|
||||
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
||||
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
||||
make %{?jobs:-j%jobs}
|
||||
|
||||
%install
|
||||
#rm -rf $RPM_BUILD_ROOT
|
||||
%makeinstall
|
||||
rm $RPM_BUILD_ROOT%{_libdir}/libvala.la
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS ChangeLog COPYING INSTALL NEWS README
|
||||
%{_bindir}/valac
|
||||
%{_bindir}/vala-gen-introspect
|
||||
%{_bindir}/vapicheck
|
||||
%{_datadir}/vala
|
||||
%{_libdir}/libvala.so.*
|
||||
%{_mandir}/*/*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%{_includedir}/vala-1.0
|
||||
%{_bindir}/*gen
|
||||
%{_libdir}/libvala.so
|
||||
%{_libdir}/vala
|
||||
%{_libdir}/pkgconfig/vala-1.0.pc
|
||||
|
||||
%changelog
|
||||
* Fri Sep 12 2008 mauro@suse.de
|
||||
- Added return-fix.patch to fix the error " Program returns random
|
||||
data in a function".
|
||||
* Fri Jul 25 2008 mauro@suse.de
|
||||
- initial SUSE package
|
Loading…
Reference in New Issue
Block a user