Bump to libsigc++ 2.10.7 41/268541/1 accepted/tizen_7.0_base accepted/tizen_7.0_base_hotfix accepted/tizen_8.0_base accepted/tizen_base accepted/tizen_base_dev sandbox/jinwang.an/libsigc++_2.10.7_20211224 tizen_7.0_base tizen_7.0_base_hotfix tizen_8.0_base tizen_base accepted/tizen/7.0/base/20221116.030019 accepted/tizen/7.0/base/hotfix/20221116.055428 accepted/tizen/8.0/base/20231005.044901 accepted/tizen/base/20220112.061949 accepted/tizen/base/20221115.103853 accepted/tizen/base/dev/20230602.080943 submit/tizen_base/20211224.072528 submit/tizen_base/20211230.014117 submit/tizen_base/20220105.015054 tizen_7.0_m2_release tizen_8.0_m2_release
authorJinWang An <jinwang.an@samsung.com>
Fri, 24 Dec 2021 07:11:19 +0000 (16:11 +0900)
committerJinWang An <jinwang.an@samsung.com>
Fri, 24 Dec 2021 07:12:03 +0000 (16:12 +0900)
Change-Id: I35d352685c8b9755c06f36621c6e6157249f4ed0
Signed-off-by: JinWang An <jinwang.an@samsung.com>
packaging/fix_autogen_to_build_in_tizen.patch [new file with mode: 0644]
packaging/libsigc++.manifest [new file with mode: 0644]
packaging/libsigc++.spec [new file with mode: 0644]

diff --git a/packaging/fix_autogen_to_build_in_tizen.patch b/packaging/fix_autogen_to_build_in_tizen.patch
new file mode 100644 (file)
index 0000000..c78851b
--- /dev/null
@@ -0,0 +1,9 @@
+diff --git a/autogen.sh b/autogen.sh
+index fadccc7..3ee9ef7 100755
+--- a/autogen.sh
++++ b/autogen.sh
+@@ -4,4 +4,3 @@ test -n "$srcdir" || srcdir=.
+ mm-common-prepare --copy --force "$srcdir"
+ autoreconf --force --install --verbose --warnings=all "$srcdir"
+-test -n "$NOCONFIGURE" || "$srcdir/configure" --enable-maintainer-mode "$@"
diff --git a/packaging/libsigc++.manifest b/packaging/libsigc++.manifest
new file mode 100644 (file)
index 0000000..017d22d
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+    <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/libsigc++.spec b/packaging/libsigc++.spec
new file mode 100644 (file)
index 0000000..3c736ba
--- /dev/null
@@ -0,0 +1,90 @@
+#
+# spec file for package libsigc++2
+#
+# Copyright (c) 2019 SUSE LINUX 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 https://bugs.opensuse.org/
+#
+
+
+Name:           libsigc++
+Version:        2.10.7
+Release:        0
+Summary:        Typesafe Signal Framework for C++
+License:        LGPL-2.1+
+Group:          Development/Libraries/C and C++
+URL:            https://github.com/libsigcplusplus/libsigcplusplus
+Source:         https://download.gnome.org/sources/libsigc++/2.10/%{name}-%{version}.tar.xz
+Source1001:     %{name}.manifest
+Source1002:     fix_autogen_to_build_in_tizen.patch
+BuildRequires:  m4
+BuildRequires:  pkgconfig
+BuildRequires:  mm-common
+BuildRequires:  xsltproc
+BuildRequires:  doxygen
+
+%description
+This library implements a full callback system for use in widget
+libraries, abstract interfaces, and general programming. It is the most
+complete library of its kind with the ability to connect an abstract
+callback to a class method, function, or function object. It contains
+adaptor classes for connection of dissimilar callbacks and has an ease
+of use unmatched by other C++ callback libraries.
+
+%package devel
+Summary:        Typesafe Signal Framework for C++
+Group:          Development/Libraries/C and C++
+Requires:       %{name} = %{version}
+
+%description devel
+This library implements a full callback system for use in widget
+libraries, abstract interfaces, and general programming. It is the most
+complete library of its kind with the ability to connect an abstract
+callback to a class method, function, or function object. It contains
+adaptor classes for connection of dissimilar callbacks and has an ease
+of use unmatched by other C++ callback libraries.
+
+%prep
+%setup -q -n %{name}-%{version}
+cp %{SOURCE1001} .
+%{__patch} -p1 < %{SOURCE1002}
+
+%build
+./autogen.sh
+%configure --enable-maintainer-mode --disable-static
+make %{?_smp_mflags}
+
+%install
+%make_install
+find %{buildroot} -type f -name "*.la" -delete -print
+
+%check
+export MALLOC_CHECK_=2 MALLOC_PERTURB_=$((${RANDOM:-256} % 256))
+make %{?_smp_mflags} check
+unset MALLOC_CHECK_ MALLOC_PERTURB_
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%license COPYING
+%manifest %{name}.manifest
+%doc AUTHORS ChangeLog NEWS README
+%{_libdir}/libsigc-2.0.so*
+
+%files devel
+%license COPYING
+%manifest %{name}.manifest
+%{_libdir}/libsigc-2.0.so
+%{_libdir}/pkgconfig/sigc++-2.0.pc
+%{_libdir}/sigc++-2.0/*
+%{_includedir}/sigc++-2.0/*