rebuilt with mono 6.12.0.122-2mamba to fix automatic deps [release 2.12.45-2mamba;Wed Nov 24 2021]
This commit is contained in:
parent
04c14cfdb4
commit
c5bff60b3c
@ -4,7 +4,6 @@ Gtk#, a GUI Toolkit, is a set of .NET bindings for the gtk+ (http://www.gtk.org/
|
|||||||
This library allows you to build fully native graphical Gnome application using Mono.
|
This library allows you to build fully native graphical Gnome application using Mono.
|
||||||
GTK# is an event-driven system like any other modern windowing library.
|
GTK# is an event-driven system like any other modern windowing library.
|
||||||
Every widget in an application has handler methods that get called when particular events happen.
|
Every widget in an application has handler methods that get called when particular events happen.
|
||||||
|
|
||||||
Applications built using Gtk# will run on many platforms including Linux, Windows and MacOS X.
|
Applications built using Gtk# will run on many platforms including Linux, Windows and MacOS X.
|
||||||
Gtk is the native toolkit for the Linux desktop running GNOME, so applications will look and function best on here.
|
Gtk is the native toolkit for the Linux desktop running GNOME, so applications will look and function best on here.
|
||||||
|
|
||||||
|
30
gtk-sharp2-2.12.45-gtkrange.patch
Normal file
30
gtk-sharp2-2.12.45-gtkrange.patch
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
diff --git a/sample/test/TestRange.cs b/sample/test/TestRange.cs
|
||||||
|
index 82fb811..29a8ee7 100644
|
||||||
|
--- a/sample/test/TestRange.cs
|
||||||
|
+++ b/sample/test/TestRange.cs
|
||||||
|
@@ -32,14 +32,14 @@ namespace WidgetViewer {
|
||||||
|
|
||||||
|
HScale hscale = new HScale (adjustment);
|
||||||
|
hscale.SetSizeRequest (150, -1);
|
||||||
|
- ((Range) hscale).UpdatePolicy = UpdateType.Delayed;
|
||||||
|
+ ((Gtk.Range) hscale).UpdatePolicy = UpdateType.Delayed;
|
||||||
|
|
||||||
|
hscale.Digits = 1;
|
||||||
|
hscale.DrawValue = true;
|
||||||
|
box2.PackStart (hscale, true, true, 0);
|
||||||
|
|
||||||
|
HScrollbar hscrollbar = new HScrollbar (adjustment);
|
||||||
|
- ((Range) hscrollbar).UpdatePolicy = UpdateType.Continuous;
|
||||||
|
+ ((Gtk.Range) hscrollbar).UpdatePolicy = UpdateType.Continuous;
|
||||||
|
box2.PackStart (hscrollbar, true, true, 0);
|
||||||
|
|
||||||
|
hscale = new HScale (adjustment);
|
||||||
|
@@ -59,7 +59,7 @@ namespace WidgetViewer {
|
||||||
|
vscale.SetSizeRequest (-1, 200);
|
||||||
|
vscale.Digits = 2;
|
||||||
|
vscale.DrawValue = true;
|
||||||
|
- ((Range) vscale).Inverted = true;
|
||||||
|
+ ((Gtk.Range) vscale).Inverted = true;
|
||||||
|
hbox.PackStart (vscale, true, true, 0);
|
||||||
|
|
||||||
|
vscale = new VScale (adjustment);
|
@ -1,67 +1,46 @@
|
|||||||
%define majversion %(echo %version | cut -d. -f 1-2)
|
%define majversion %(echo %version | cut -d. -f 1-2)
|
||||||
|
|
||||||
Name: gtk-sharp2
|
Name: gtk-sharp2
|
||||||
Version: 2.12.10
|
Version: 2.12.45
|
||||||
Release: 5mamba
|
Release: 2mamba
|
||||||
Summary: A set of .NET bindings for the GTK+ toolkit and assorted GNOME libraries
|
Summary: A set of .NET bindings for the GTK+ toolkit and assorted GNOME libraries
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: http://www.mono-project.com/GtkSharp
|
URL: https://www.mono-project.com/docs/gui/gtksharp/
|
||||||
Source: http://ftp.gnome.org/pub/GNOME/sources/gtk-sharp/%{majversion}/gtk-sharp-%{version}.tar.bz2
|
Source: https://download.mono-project.com/sources/gtk-sharp212/gtk-sharp-%{version}.tar.gz
|
||||||
Patch1: gtk-sharp-2.12.2-libdir.patch
|
Patch1: gtk-sharp-2.12.2-libdir.patch
|
||||||
Patch2: gtk-sharp-2.10.1-fix_doc.patch
|
Patch2: gtk-sharp-2.10.1-fix_doc.patch
|
||||||
Patch3: gtk-sharp-2.12.8-DateTimeToTime_t.patch
|
Patch3: gtk-sharp-2.12.8-DateTimeToTime_t.patch
|
||||||
Patch4: gtk-sharp-2.12.10-glib-2.34.patch
|
Patch4: gtk-sharp-2.12.10-glib-2.34.patch
|
||||||
Patch5: gtk-sharp-2.12.10-pkg-config-x86_64.patch
|
Patch5: gtk-sharp-2.12.10-pkg-config-x86_64.patch
|
||||||
|
Patch6: gtk-sharp2-2.12.45-gtkrange.patch
|
||||||
License: LGPL
|
License: LGPL
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
BuildRequires: libatk-devel
|
BuildRequires: libatk-devel
|
||||||
BuildRequires: libbzip2-devel
|
|
||||||
BuildRequires: libcairo-devel
|
BuildRequires: libcairo-devel
|
||||||
BuildRequires: libelf-devel
|
|
||||||
BuildRequires: libexpat-devel
|
|
||||||
BuildRequires: libffi-devel
|
|
||||||
BuildRequires: libfontconfig-devel
|
BuildRequires: libfontconfig-devel
|
||||||
BuildRequires: libfreetype-devel
|
BuildRequires: libfreetype-devel
|
||||||
BuildRequires: libgdk-pixbuf-devel
|
BuildRequires: libgdk-pixbuf-devel
|
||||||
BuildRequires: libglade-devel
|
BuildRequires: libglade-devel
|
||||||
BuildRequires: libGL-devel
|
|
||||||
BuildRequires: libglib-devel
|
BuildRequires: libglib-devel
|
||||||
BuildRequires: libgraphite2-devel
|
|
||||||
BuildRequires: libgtk2-devel
|
BuildRequires: libgtk2-devel
|
||||||
BuildRequires: libharfbuzz-devel
|
BuildRequires: libharfbuzz-devel
|
||||||
BuildRequires: libicu-devel
|
|
||||||
BuildRequires: liblzma-devel
|
|
||||||
BuildRequires: libpango-devel
|
BuildRequires: libpango-devel
|
||||||
BuildRequires: libpixman-devel
|
|
||||||
BuildRequires: libpng15-devel
|
|
||||||
BuildRequires: libpthread-stubs-devel
|
|
||||||
BuildRequires: libselinux-devel
|
|
||||||
BuildRequires: libstdc++6-devel
|
|
||||||
BuildRequires: libX11-devel
|
|
||||||
BuildRequires: libXau-devel
|
|
||||||
BuildRequires: libxcb-devel
|
|
||||||
BuildRequires: libXdmcp-devel
|
|
||||||
BuildRequires: libxml2-devel
|
BuildRequires: libxml2-devel
|
||||||
BuildRequires: libXrender-devel
|
|
||||||
BuildRequires: libz-devel
|
|
||||||
BuildRequires: mono-core
|
|
||||||
BuildRequires: perl-XML-LibXML
|
|
||||||
BuildRequires: udev-devel
|
|
||||||
## AUTOBUILDREQ-END
|
|
||||||
BuildRequires: mono-devel
|
BuildRequires: mono-devel
|
||||||
|
BuildRequires: perl-XML-LibXML
|
||||||
|
## AUTOBUILDREQ-END
|
||||||
|
BuildRequires: mono-devel >= 6.12.0.122-2mamba
|
||||||
Requires: mono-core
|
Requires: mono-core
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Gtk#, a GUI Toolkit, is a set of .NET bindings for the gtk+ (http://www.gtk.org/) toolkit and assorted GNOME (http://www.gnome.org/) libraries.
|
Gtk#, a GUI Toolkit, is a set of .NET bindings for the gtk+ (http://www.gtk.org/) toolkit and assorted GNOME (http://www.gnome.org/) libraries.
|
||||||
This library allows you to build fully native graphical Gnome application using Mono.
|
This library allows you to build fully native graphical Gnome application using Mono.
|
||||||
GTK# is an event-driven system like any other modern windowing library.
|
GTK# is an event-driven system like any other modern windowing library.
|
||||||
Every widget in an application has handler methods that get called when particular events happen.
|
Every widget in an application has handler methods that get called when particular events happen.
|
||||||
|
|
||||||
Applications built using Gtk# will run on many platforms including Linux, Windows and MacOS X.
|
Applications built using Gtk# will run on many platforms including Linux, Windows and MacOS X.
|
||||||
Gtk is the native toolkit for the Linux desktop running GNOME, so applications will look and function best on here.
|
Gtk is the native toolkit for the Linux desktop running GNOME, so applications will look and function best on here.
|
||||||
|
|
||||||
@ -76,11 +55,9 @@ Gtk#, a GUI Toolkit, is a set of .NET bindings for the gtk+ (http://www.gtk.org/
|
|||||||
This library allows you to build fully native graphical Gnome application using Mono.
|
This library allows you to build fully native graphical Gnome application using Mono.
|
||||||
GTK# is an event-driven system like any other modern windowing library.
|
GTK# is an event-driven system like any other modern windowing library.
|
||||||
Every widget in an application has handler methods that get called when particular events happen.
|
Every widget in an application has handler methods that get called when particular events happen.
|
||||||
|
|
||||||
Applications built using Gtk# will run on many platforms including Linux, Windows and MacOS X.
|
Applications built using Gtk# will run on many platforms including Linux, Windows and MacOS X.
|
||||||
Gtk is the native toolkit for the Linux desktop running GNOME, so applications will look and function best on here.
|
Gtk is the native toolkit for the Linux desktop running GNOME, so applications will look and function best on here.
|
||||||
|
This package contains static libraries and header files needed for development.
|
||||||
This package contains static libraries and header files need for development.
|
|
||||||
|
|
||||||
%package doc
|
%package doc
|
||||||
Summary: Documentation for %{name}
|
Summary: Documentation for %{name}
|
||||||
@ -92,24 +69,21 @@ Gtk-sharp, a GUI Toolkit, is a set of .NET bindings for the gtk+ (http://www.gtk
|
|||||||
This library allows you to build fully native graphical Gnome application using Mono.
|
This library allows you to build fully native graphical Gnome application using Mono.
|
||||||
GTK-sharp is an event-driven system like any other modern windowing library.
|
GTK-sharp is an event-driven system like any other modern windowing library.
|
||||||
Every widget in an application has handler methods that get called when particular events happen.
|
Every widget in an application has handler methods that get called when particular events happen.
|
||||||
|
|
||||||
Applications built using Gtk-sharp will run on many platforms including Linux, Windows and MacOS X.
|
Applications built using Gtk-sharp will run on many platforms including Linux, Windows and MacOS X.
|
||||||
Gtk is the native toolkit for the Linux desktop running GNOME, so applications will look and function best on here.
|
Gtk is the native toolkit for the Linux desktop running GNOME, so applications will look and function best on here.
|
||||||
|
|
||||||
This package contains the documentation for development.
|
This package contains the documentation for development.
|
||||||
|
|
||||||
|
%debug_package
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n gtk-sharp-%{version}
|
%setup -q -n gtk-sharp-%{version}
|
||||||
%patch1 -p1
|
%patch6 -p1
|
||||||
#%patch2 -p1
|
|
||||||
%patch3 -p1
|
sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," config.sub
|
||||||
%patch5 -p1
|
|
||||||
cd glib
|
|
||||||
%patch4 -p0
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
#autoreconf -fi
|
|
||||||
%configure
|
%configure
|
||||||
|
|
||||||
%make -j1
|
%make -j1
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -117,12 +91,12 @@ cd glib
|
|||||||
%makeinstall \
|
%makeinstall \
|
||||||
GACUTIL_FLAGS="/package gtk-sharp-2.0 /gacdir %{_prefix}/lib /root %{buildroot}%{_prefix}/lib"
|
GACUTIL_FLAGS="/package gtk-sharp-2.0 /gacdir %{_prefix}/lib /root %{buildroot}%{_prefix}/lib"
|
||||||
|
|
||||||
# postplug one-shot update script to remove old package with wrong script
|
## postplug one-shot update script to remove old package with wrong script
|
||||||
install -d %{buildroot}%{_sysconfdir}/postplug/updates.d
|
#install -d %{buildroot}%{_sysconfdir}/postplug/updates.d
|
||||||
cat > %{buildroot}%{_sysconfdir}/postplug/updates.d/gtk-sharp-remove-broken-001.upd << _EOF
|
#cat > %{buildroot}%{_sysconfdir}/postplug/updates.d/gtk-sharp-remove-broken-001.upd << _EOF
|
||||||
rpm -e gtk-sharp-2.12.10-2mamba --noscripts
|
#rpm -e gtk-sharp-2.12.10-2mamba --noscripts
|
||||||
exit 0
|
#exit 0
|
||||||
_EOF
|
#_EOF
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
@ -145,8 +119,7 @@ exit 0
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_sysconfdir}/postplug/updates.d/gtk-sharp-remove-broken-001.upd
|
%{_libdir}/lib*.so
|
||||||
%{_libdir}/*.so
|
|
||||||
%{_prefix}/lib/mono/*/*atk-sharp*
|
%{_prefix}/lib/mono/*/*atk-sharp*
|
||||||
%{_prefix}/lib/mono/*/*gdk-sharp*
|
%{_prefix}/lib/mono/*/*gdk-sharp*
|
||||||
%{_prefix}/lib/mono/*/*glade-sharp*
|
%{_prefix}/lib/mono/*/*glade-sharp*
|
||||||
@ -171,6 +144,12 @@ exit 0
|
|||||||
%{_prefix}/lib/monodoc/sources/gtk-sharp*
|
%{_prefix}/lib/monodoc/sources/gtk-sharp*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Nov 24 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.12.45-2mamba
|
||||||
|
- rebuilt with mono 6.12.0.122-2mamba to fix automatic deps
|
||||||
|
|
||||||
|
* Mon Nov 22 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.12.45-1mamba
|
||||||
|
- update to 2.12.45
|
||||||
|
|
||||||
* Mon Sep 16 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 2.12.10-5mamba
|
* Mon Sep 16 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 2.12.10-5mamba
|
||||||
- rebuilt with mono 2
|
- rebuilt with mono 2
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user