Compare commits
No commits in common. "rawhide" and "f41" have entirely different histories.
6 changed files with 176 additions and 1 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
/webkit2-sharp-a59fd76.tar.gz
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
webkit2gtk3 is gone
|
|
||||||
1
sources
Normal file
1
sources
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
SHA512 (webkit2-sharp-a59fd76.tar.gz) = aa78f44e89aff176ae142d3c1bb7d8828846f282b908c904afc7107428e3c7f0451f30bfccd3a689011edfc851a335d81c5df914e36becbaad7bda10face681b
|
||||||
11
webkit2-sharp-a59fd76-fix_libdir.patch
Normal file
11
webkit2-sharp-a59fd76-fix_libdir.patch
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
diff -up webkit2-sharp-a59fd76dd730432c76b12ee6347ea66567107ab9/webkit2-sharp-4.0.pc.in.fix_libdir webkit2-sharp-a59fd76dd730432c76b12ee6347ea66567107ab9/webkit2-sharp-4.0.pc.in
|
||||||
|
--- webkit2-sharp-a59fd76dd730432c76b12ee6347ea66567107ab9/webkit2-sharp-4.0.pc.in.fix_libdir 2017-02-19 13:11:26.000000000 +0100
|
||||||
|
+++ webkit2-sharp-a59fd76dd730432c76b12ee6347ea66567107ab9/webkit2-sharp-4.0.pc.in 2017-09-24 14:56:56.764174429 +0200
|
||||||
|
@@ -1,6 +1,6 @@
|
||||||
|
prefix=@prefix@
|
||||||
|
exec_prefix=${prefix}
|
||||||
|
-libdir=@libdir@
|
||||||
|
+libdir=${prefix}/lib
|
||||||
|
|
||||||
|
Name: @ASSEMBLY_TITLE@
|
||||||
|
Description: @ASSEMBLY_DESCRIPTION@
|
||||||
11
webkit2-sharp-a59fd76-fix_parentinstance.patch
Normal file
11
webkit2-sharp-a59fd76-fix_parentinstance.patch
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
--- a/sources/Makefile.am 2023-08-12 21:24:16.266564059 +0200
|
||||||
|
+++ b/sources/Makefile.am 2023-08-12 21:25:33.461760068 +0200
|
||||||
|
@@ -52,6 +52,7 @@
|
||||||
|
--glue-includes=webkit2/webkit2.h, --gapidir=$(gapidir) \
|
||||||
|
--assembly-name=$(ASSEMBLY_NAME) && \
|
||||||
|
find $(srcdir)/generated/ -type f -name "*.cs" > $(GEN_SOURCES)
|
||||||
|
+ sed -i "s/WebKitWebViewBase, parentInstance/WebKitWebViewBase, parent/g" $(GLUEDIR)/generated.c
|
||||||
|
|
||||||
|
$(SRC_FILES_XML): $(GEN_SOURCES) $(CUSTOM_SOURCES)
|
||||||
|
echo "<SourceFiles>" > $(SRC_FILES_XML)
|
||||||
|
|
||||||
152
webkit2-sharp.spec
Normal file
152
webkit2-sharp.spec
Normal file
|
|
@ -0,0 +1,152 @@
|
||||||
|
%global commit a59fd76dd730432c76b12ee6347ea66567107ab9
|
||||||
|
%global snapshotdate 20170219
|
||||||
|
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||||
|
|
||||||
|
Name: webkit2-sharp
|
||||||
|
Version: 0
|
||||||
|
Release: 0.22%{?snapshotdate:.%{snapshotdate}git%{shortcommit}}%{?dist}
|
||||||
|
Summary: C# bindings for WebKit 2 with GTK+ 3
|
||||||
|
|
||||||
|
License: MIT
|
||||||
|
URL: https://github.com/hbons/%{name}
|
||||||
|
%{?shortcommit:
|
||||||
|
Source0: %url/archive/%{commit}/%{name}-%{shortcommit}.tar.gz}
|
||||||
|
%{!?shortcommit:
|
||||||
|
Source0: %url/archive/%{commit}/%{name}-%{version}.tar.gz}
|
||||||
|
|
||||||
|
Patch0: %{name}-a59fd76-fix_libdir.patch
|
||||||
|
Patch1: %{name}-a59fd76-fix_parentinstance.patch
|
||||||
|
|
||||||
|
Requires: webkit2gtk3
|
||||||
|
BuildRequires: make
|
||||||
|
BuildRequires: pkgconfig(webkit2gtk-4.0)
|
||||||
|
BuildRequires: pkgconfig(mono)
|
||||||
|
BuildRequires: pkgconfig(gtk-sharp-3.0)
|
||||||
|
BuildRequires: pkgconfig(gapi-3.0)
|
||||||
|
BuildRequires: pkgconfig(monodoc)
|
||||||
|
BuildRequires: libxslt
|
||||||
|
BuildRequires: dos2unix
|
||||||
|
BuildRequires: autoconf
|
||||||
|
BuildRequires: automake
|
||||||
|
BuildRequires: intltool
|
||||||
|
BuildRequires: libtool
|
||||||
|
BuildRequires: gettext
|
||||||
|
|
||||||
|
ExclusiveArch: %mono_arches
|
||||||
|
|
||||||
|
#https://fedoraproject.org/wiki/Packaging:Mono#Empty_debuginfo
|
||||||
|
%global debug_package %{nil}
|
||||||
|
|
||||||
|
%description
|
||||||
|
C# bindings for WebKit 2 with GTK+ 3
|
||||||
|
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Development files for WebKit2-sharp
|
||||||
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
Requires: pkgconfig
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
Development files for WebKit2-sharp
|
||||||
|
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%{?shortcommit:
|
||||||
|
%autosetup -n %{name}-%{commit} -p1}
|
||||||
|
%{!?shortcommit:
|
||||||
|
%autosetup -n %{name}-%{version} -p1}
|
||||||
|
|
||||||
|
%build
|
||||||
|
./autogen.sh
|
||||||
|
%configure --disable-static
|
||||||
|
sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
|
||||||
|
sed -i 's/\r$//' COPYING
|
||||||
|
# No parallel make, race condition with monodoc
|
||||||
|
make
|
||||||
|
|
||||||
|
|
||||||
|
%install
|
||||||
|
%make_install
|
||||||
|
|
||||||
|
find %{buildroot} -name '*.la' -delete
|
||||||
|
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license COPYING
|
||||||
|
%doc README.md
|
||||||
|
%{_prefix}/lib/mono/
|
||||||
|
%{_datadir}/gapi-3.0/webkit2-sharp-api.xml
|
||||||
|
%{_libdir}/libwebkit2sharpglue-2.10.9.so
|
||||||
|
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%{_libdir}/pkgconfig/webkit2-sharp-4.0.pc
|
||||||
|
%{_prefix}/lib/monodoc/sources/webkit2-sharp*
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.22.20170219gita59fd76
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.21.20170219gita59fd76
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Dec 04 2023 Timotheus Pokorra <timotheus.pokorra@solidcharity.com> - 0.0.20.20170219gita59fd76
|
||||||
|
- fix previous patch on suggestion in #2252635
|
||||||
|
|
||||||
|
* Mon Aug 14 2023 Timotheus Pokorra <timotheus.pokorra@solidcharity.com> - 0.0.19.20170219gita59fd76
|
||||||
|
- fix FTBFS: apply patch to generated file replacing parentinstance with parent
|
||||||
|
|
||||||
|
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.18.20170219gita59fd76
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.17.20170219gita59fd76
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.16.20170219gita59fd76
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.15.20170219gita59fd76
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.14.20170219gita59fd76
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.13.20170219gita59fd76
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.12.20170219gita59fd76
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.11.20170219gita59fd76
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.10.20170219gita59fd76
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.9.20170219gita59fd76
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.8.20170219gita59fd76
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jun 28 2018 Robert-André Mauchin <zebob.m@gmail.com> - 0-0.7.20170219gita59fd76
|
||||||
|
- Remove ldconfig
|
||||||
|
|
||||||
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.6.20170219gita59fd76
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sun Jan 14 2018 Robert-André Mauchin <zebob.m@gmail.com> - 0-0.5.20170219gita59fd76
|
||||||
|
- Disable parallel make
|
||||||
|
|
||||||
|
* Fri Jan 12 2018 Tomas Popela <tpopela@redhat.com> - 0-0.4.20170219gita59fd76
|
||||||
|
- Adapt to the webkitgtk4 rename
|
||||||
|
|
||||||
|
* Mon Sep 25 2017 Robert-André Mauchin <zebob.m@gmail.com> - 0-0.3.20170219gita59fd76
|
||||||
|
- Disable static libraries
|
||||||
|
|
||||||
|
* Sun Sep 24 2017 Luya Tshimbalanga <luya@fedoraproject.org> - 0-0.2.20170219gita59fd76
|
||||||
|
- Improve spec file
|
||||||
|
|
||||||
|
* Sun Sep 24 2017 Robert-André Mauchin <zebob.m@gmail.com> - 0-0.1.20170219gita59fd76
|
||||||
|
- Initial package
|
||||||
Loading…
Add table
Add a link
Reference in a new issue