SHA256
1
0
forked from pool/gtkmm2

Accepting request 69094 from GNOME:Factory

Pushing G:F (including GNOME3)

OBS-URL: https://build.opensuse.org/request/show/69094
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gtkmm2?expand=0&rev=44
This commit is contained in:
Sascha Peilicke 2011-05-04 11:59:09 +00:00 committed by Git OBS Bridge
commit e8c13bf7b2
5 changed files with 99 additions and 34 deletions

View File

@ -1,3 +1,3 @@
libgtkmm-2_4-1 libgtkmm-2_4-1
provides "gtkmm2-<targettype> = <version>" provides "gtkmm2-<targettype> = <version>"
obsoletes "gtkmm2-<targettype> <= <version>" obsoletes "gtkmm2-<targettype> < <version>"

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8478d80d8d4793c2e1c459a71bad6a767a43eaf2664da06a9bd65a2b98bb07b1
size 11496369

3
gtkmm-2.24.0.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8cbae7254746bc7df7cce882d9b9a916c4e00dba7bdacd1c50b5d096a484cf56
size 15227037

View File

@ -1,3 +1,88 @@
-------------------------------------------------------------------
Thu Apr 28 11:30:31 CEST 2011 - vuntz@opensuse.org
- Pass --disable-static to configure.
- Pass --disable-documentation to configure: this tarball was
generated with an old documentation setup that won't build
nowadays.
- Drop doc subpackage (as we don't build the doc right now), and
add Provides/Obsoletes for it to the devel subpackage: this will
ensure the old doc package doesn't stay around while it
shouldn't, and since we'll move the doc there when it builds
again, this makes sense.
- Change gtkmm2 Obsoletes from <= to < now that we have a new
upstream version.
-------------------------------------------------------------------
Wed Apr 27 00:37:26 CEST 2011 - vuntz@opensuse.org
- Update to version 2.24.0:
+ Gtk:
- ComboBox and ComboBoxText now have a has-entry property, so
ComboBoxEntry and ComboBoxEntryText are deprecated.
- Range: Added get/set_round_digits()
+ Gdk:
- DragContext: Added drag_begin().
- Window: Added get_visual(), get_screen() and get_display().
- Changes from version 2.23.91:
+ Gtk:
- Button: undeprecated the clicked() method.
- ComboBox: Deprecate clear_items() in favour of remove_all().
- ComboEntryText: Add append(), prepend() and insert(),
deprecating append_text(), prepend_text() and insert_text().
- Image:
. Added const-correct constructor and a const-correct
set(IconSet, size) method, deprecating the existing ones.
. Added get_pixel(), deprecating get_mem().
- Range: Added get/set_round_digits() and property.
- Changes from version 2.23.90:
+ Gdk:
- Drawable: Deprecate get_visual(), get_screen() and
get_display().
- Window: Added get_visual(), get_screen() and get_display().
- Display: Deprecate set_pointer_hooks() and
unset_pointer_hooks().
- DragContext: Deprecate create(), adding Window::drag_begin().
- Drawable: Deprecate the draw_*() methods.
- Screen: Fix a typo, so the monitors_changed() signal really
uses the C signal.
+ Gtk:
- AboutDialog: Deprecate set_email/url_hook(), adding
signal_activated().
- ComboBox:
. Added constructors with a bool has_entry property, and add
methods.
. Added get_has_entry(), set_entry_text_column() and
get_entry_text_column().
- ComobBoxText: Added append(), prepend() and insert(),
deprecating *_text().
- ComboBoxEntryText: Deprecate in favour of ComboBoxText with
has_entry=true.
- LinkButton: Deprecate set_uri_hook() and unset_uri_hook() in
favour of Button::signal_clicked().
- ListViewText: Added append(), prepend() and insert(),
deprecating *_text().
- Main: Deprecate signal_quit() and signal_run().
- Widget: Deprecated hide_all().
- Ruler, HRuler and VRuler: Deprecated
- Notebook:
. Deprecated get/set_group(), adding get/set_group_name().
. Deprecated set_window_creation_hook().
- PageSetupUnixDialog, Plug, PrintUnixDialog: Prevent us from
calling wrap_new() on these windows. (bgo#623137)
- Style: Fix the virtual functions. (bgo#633975, bgo#633689)
- Range: Deprecate get/set_update_policy().
- TreeViewColumn: Added get_first_cell(), deprecated
get_first_cell_renderer().
- Widget::set_window(): Increase the ref count of the
Gdk::Window. (This is not a complete fix yet. See bgo#606903)
- Window: Deprecate get/set_has_frame() and
get/set_frame_dimensions().
+ Build:
- Depend on necessary versions of atkmm and pangomm instead of
repeating m4 files.
- Windows installer fixes.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Oct 11 18:08:46 CEST 2010 - vuntz@opensuse.org Mon Oct 11 18:08:46 CEST 2010 - vuntz@opensuse.org

View File

@ -22,9 +22,9 @@ Name: gtkmm2
%define _name gtkmm %define _name gtkmm
BuildRequires: atkmm-devel cairomm-devel fdupes gcc-c++ glibmm2-devel libsigc++2-devel pangomm-devel BuildRequires: atkmm-devel cairomm-devel fdupes gcc-c++ glibmm2-devel libsigc++2-devel pangomm-devel
BuildRequires: gtk2-devel >= 2.15.1 BuildRequires: gtk2-devel >= 2.15.1
Version: 2.22.0 Version: 2.24.0
Release: 1 Release: 1
# NOTE: on upgrade to a new upstream version, change the Obsoletes from <= to < (here and in baselibs.conf) # FIXME: if there is a new upstream version, remove --disable-documentation from configure: this is right now broken because of the move to mm-common upstream, and we need a tarball to have this work.
Group: System/Libraries Group: System/Libraries
License: LGPLv2.1+ License: LGPLv2.1+
Summary: C++ Interface for GTK2 (a GUI Library for X) Summary: C++ Interface for GTK2 (a GUI Library for X)
@ -43,8 +43,7 @@ License: LGPLv2.1+
Group: System/Libraries Group: System/Libraries
Summary: C++ Interface for GTK2 (a GUI library for X) Summary: C++ Interface for GTK2 (a GUI library for X)
Provides: gtkmm2 = %{version} Provides: gtkmm2 = %{version}
# Note: we keep <= (and a rpmlint warning...) until we get a version higher than 2.22.0 (when this provides/obsoletes was introduced) Obsoletes: gtkmm2 < %{version}
Obsoletes: gtkmm2 <= %{version}
Provides: gtkmm24 = %{version} Provides: gtkmm24 = %{version}
Obsoletes: gtkmm24 < %{version} Obsoletes: gtkmm24 < %{version}
@ -61,6 +60,8 @@ Summary: C++ Interface for GTK2 (a GUI library for X)
Requires: libgtkmm-2_4-1 = %{version} Requires: libgtkmm-2_4-1 = %{version}
Provides: gtkmm24-devel = %{version} Provides: gtkmm24-devel = %{version}
Obsoletes: gtkmm24-devel < %{version} Obsoletes: gtkmm24-devel < %{version}
Provides: %{name}-doc = %{version}
Obsoletes: %{name}-doc < %{version}
%description devel %description devel
Gtkmm provides a C++ interface to the GTK+ GUI library. gtkmm2 wraps Gtkmm provides a C++ interface to the GTK+ GUI library. gtkmm2 wraps
@ -68,37 +69,24 @@ GTK+ 2. Highlights include typesafe callbacks, widgets extensible via
inheritance and a comprehensive set of widget classes that can be inheritance and a comprehensive set of widget classes that can be
freely combined to quickly create complex user interfaces. freely combined to quickly create complex user interfaces.
%package doc
License: GPLv2+ ; LGPLv2.1+
Group: Documentation/HTML
Summary: C++ Interface for GTK2 (a GUI Library for X)
Requires: glibmm2-doc
%if %suse_version > 1120
BuildArch: noarch
%endif
%description doc
Gtkmm provides a C++ interface to the GTK+ GUI library. gtkmm2 wraps
GTK+ 2. Highlights include typesafe callbacks, widgets extensible via
inheritance, and a comprehensive set of widget classes that can be
freely combined to quickly create complex user interfaces.
%prep %prep
%setup -q -n %{_name}-%{version} %setup -q -n %{_name}-%{version}
%build %build
# FIXME: cannot autoreconf, HAVE_MKFIFO is missing. # FIXME: cannot autoreconf, HAVE_MKFIFO is missing.
#ACLOCAL="aclocal -I scripts" autoreconf -f -i #ACLOCAL="aclocal -I scripts" autoreconf -f -i
%configure %configure \
--disable-static \
--disable-documentation
make %{?jobs:-j%jobs} gtkmm_docdir=%{_docdir}/%{name}/docs make %{?jobs:-j%jobs} gtkmm_docdir=%{_docdir}/%{name}/docs
%install %install
%makeinstall %makeinstall
rm $RPM_BUILD_ROOT/%{_libdir}/*.*a find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print
%fdupes %{buildroot} %fdupes %{buildroot}
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf %{buildroot}
%post -n libgtkmm-2_4-1 -p /sbin/ldconfig %post -n libgtkmm-2_4-1 -p /sbin/ldconfig
@ -117,12 +105,4 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/gdkmm-2.4/ %{_libdir}/gdkmm-2.4/
%{_libdir}/gtkmm-2.4/ %{_libdir}/gtkmm-2.4/
%files doc
%defattr (-, root, root)
%{_datadir}/devhelp/books/gtkmm-2.4/
%{_datadir}/doc/gtkmm-2.4/
# Avoid BuildRequires on devhelp
%dir %{_datadir}/devhelp
%dir %{_datadir}/devhelp/books
%changelog %changelog