diff --git a/.libglade2.metadata b/.libglade2.metadata new file mode 100644 index 0000000..367df40 --- /dev/null +++ b/.libglade2.metadata @@ -0,0 +1 @@ +8465851733b8a0efbe57c43efc0f140d8e2d2edb SOURCES/libglade-2.6.4.tar.bz2 diff --git a/README.md b/README.md deleted file mode 100644 index 0e7897f..0000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 - -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SOURCES/libglade-2.0.1-nowarning.patch b/SOURCES/libglade-2.0.1-nowarning.patch new file mode 100644 index 0000000..fd07121 --- /dev/null +++ b/SOURCES/libglade-2.0.1-nowarning.patch @@ -0,0 +1,39 @@ +--- libglade-2.0.1/glade/glade-gtk.c.nowarning 2003-08-29 14:50:10.000000000 -0400 ++++ libglade-2.0.1/glade/glade-gtk.c 2003-08-29 14:58:41.000000000 -0400 +@@ -639,9 +639,8 @@ + if (!strcmp (childinfo->properties[j].name, "label")) { + label = childinfo->properties[j].value; + break; +- } else { +- g_warning ("Unknown CList child property: %s", childinfo->properties[j].name); + } ++ /* Ignore all other properties */ + } + + if (label) { +@@ -683,6 +682,7 @@ + char *icon = NULL; + gboolean use_stock = FALSE, active = FALSE, new_group = FALSE; + gboolean use_underline = FALSE; ++ gboolean sensitive = TRUE; + GtkWidget *iconw = NULL; + int j; + +@@ -708,6 +708,8 @@ + group_name = value; + } else if (!strcmp (name, "new_group")) { + new_group = BOOL (value); ++ } else if (!strcmp (name, "sensitive")) { ++ sensitive = BOOL (value); + } else if (!strcmp (name, "visible")) { + /* ignore for now */ + } else if (!strcmp (name, "tooltip")) { +@@ -785,6 +787,8 @@ + gtk_label_set_use_underline (GTK_LABEL (toolbar_child->label), + TRUE); + } ++ ++ gtk_widget_set_sensitive (child, sensitive); + + glade_xml_set_common_params (xml, child, childinfo->child); + } else { diff --git a/SOURCES/libglade-secondary.patch b/SOURCES/libglade-secondary.patch new file mode 100644 index 0000000..04f1b6e --- /dev/null +++ b/SOURCES/libglade-secondary.patch @@ -0,0 +1,39 @@ +diff -up libglade-2.6.3/glade/glade-gtk.c.secondary libglade-2.6.3/glade/glade-gtk.c +--- libglade-2.6.3/glade/glade-gtk.c.secondary 2009-02-20 00:21:52.433916022 -0500 ++++ libglade-2.6.3/glade/glade-gtk.c 2009-02-20 00:22:02.065954023 -0500 +@@ -544,7 +544,7 @@ gtk_dialog_build_children(GladeXML *self + + { + GtkDialog *dialog = GTK_DIALOG (w); +- GList *children, *list; ++ GList *children, *list, *secondary; + + glade_standard_build_children (self, w, info); + +@@ -553,10 +553,13 @@ gtk_dialog_build_children(GladeXML *self + + /* repack children of action_area */ + children = gtk_container_get_children(GTK_CONTAINER(dialog->action_area)); ++ secondary = NULL; + for (list = children; list; list = list->next) { + GtkWidget *child = GTK_WIDGET(list->data); + + g_object_ref(child); ++ if (gtk_button_box_get_child_secondary (GTK_BUTTON_BOX (dialog->action_area), child)) ++ secondary = g_list_prepend (secondary, child); + gtk_container_remove (GTK_CONTAINER (dialog->action_area), child); + } + for (list = children; list; list = list->next) { +@@ -569,7 +572,12 @@ gtk_dialog_build_children(GladeXML *self + g_object_unref(child); + + } ++ for (list = secondary; list; list = list->next) { ++ GtkWidget *child = GTK_WIDGET(list->data); ++ gtk_button_box_set_child_secondary (GTK_BUTTON_BOX (dialog->action_area), child, TRUE); ++ } + g_list_free (children); ++ g_list_free (secondary); + } + + diff --git a/SPECS/libglade2.spec b/SPECS/libglade2.spec new file mode 100644 index 0000000..ab3863c --- /dev/null +++ b/SPECS/libglade2.spec @@ -0,0 +1,336 @@ +Summary: The libglade library for loading user interfaces +Name: libglade2 +Version: 2.6.4 +Release: 9%{?dist} +License: LGPLv2+ +Group: System Environment/Libraries +Source: http://download.gnome.org/sources/libglade/2.6/libglade-%{version}.tar.bz2 +URL: http://www.gnome.org +Requires: xml-common +BuildRequires: libxml2-devel +BuildRequires: gtk2-devel +BuildRequires: fontconfig +BuildRequires: pango-devel +BuildRequires: libtool +BuildRequires: gettext-devel + +# http://bugzilla.gnome.org/show_bug.cgi?id=121025 +Patch1: libglade-2.0.1-nowarning.patch +# http://bugzilla.gnome.org/show_bug.cgi?id=510736 +Patch2: libglade-secondary.patch + +%description +Libglade is a small library that allows a program to load its user +interface from am XML description at runtime. Libglade uses the XML +file format used by the GLADE user interface builder GLADE, so +libglade acts as an alternative to GLADE's code generation +approach. Libglade also provides a simple interface for connecting +handlers to the various signals in the interface (on platforms where +the gmodule library works correctly, it is possible to connect all the +handlers with a single function call). Once the interface has been +instantiated, libglade gives no overhead, so other than the short +initial interface loading time, there is no performance tradeoff. + +%package devel +Summary: The files needed for libglade application development +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +The libglade-devel package contains the libraries and include files +that you can use to develop libglade applications. + +%prep +%setup -q -n libglade-%{version} + +%patch1 -p1 -b .nowarning +%patch2 -p1 -b .secondary + +%build +%configure --disable-gtk-doc --disable-static +make %{?_smp_mflags} + +%install +mkdir -p $RPM_BUILD_ROOT%{_libdir}/libglade/2.0 +make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" +find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' + + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-, root, root,-) +%doc AUTHORS NEWS README COPYING +%{_libdir}/lib*.so.* +%dir %{_libdir}/libglade +%dir %{_libdir}/libglade/2.0 +%{_datadir}/xml/libglade + +%files devel +%defattr(-, root, root,-) +%doc test-libglade.c +%{_bindir}/* +%{_libdir}/lib*.so +%{_libdir}/pkgconfig/* +%{_includedir}/* +%{_datadir}/gtk-doc/html/libglade + +%changelog +* Thu Feb 14 2013 Fedora Release Engineering - 2.6.4-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Thu Jul 19 2012 Fedora Release Engineering - 2.6.4-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Fri Jan 13 2012 Fedora Release Engineering - 2.6.4-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Mon Nov 7 2011 Matthias Clasen - 2.6.4-6 +- Rebuild against new libpng + +* Tue Feb 08 2011 Fedora Release Engineering - 2.6.4-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Wed Oct 06 2010 Parag Nemade - 2.6.4-4 +- Merge-review cleanup (#226010) + +* Fri Jul 24 2009 Fedora Release Engineering - 2.6.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Sun Jun 14 2009 Matthias Clasen 2.6.4-2 +- Require xml-common + +* Tue Mar 17 2009 Matthias Clasen 2.6.4-1 +- Update to 2.6.4 + +* Wed Feb 25 2009 Fedora Release Engineering - 2.6.3-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Fri Feb 20 2009 Matthias Clasen 2.6.3-3 +- Treat help buttons in dialogs properly + +* Sun Nov 09 2008 Debarshi Ray 2.6.3-2 +- Create and own %%{_libdir}/libglade and %%{_libdir}/libglade/2.0. + +* Fri Aug 22 2008 Matthias Clasen 2.6.3-1 +- Update to 2.6.3 +- Drop upstreamed patch + +* Tue Feb 19 2008 Matthias Clasen 2.6.2-5 +- Fix a crash + +* Sat Feb 9 2008 Matthias Clasen 2.6.2-4 +- Rebuild for gcc 4.3 + +* Wed Aug 29 2007 Fedora Release Engineering - 2.6.2-3 +- Rebuild for selinux ppc32 issue. + +* Fri Aug 3 2007 Matthias Clasen - 2.6.2-2 +- Update the license field + +* Mon Jul 30 2007 Matthias Clasen - 2.6.2-1 +- Update to 2.6.2 + +* Tue Jun 19 2007 Matthias Clasen - 2.6.1-1 +- Update to 2.6.1 + +* Fri Dec 8 2006 Matthias Clasen - 2.6.0-3 +- Small spec file cleanups + +* Fri Jul 14 2006 Matthias Clasen - 2.6.0-2 +- BuildRequire gettext + +* Wed Jul 12 2006 Matthias Clasen - 2.6.0-1 +- Update to 2.6.0 + +* Thu Mar 23 2006 Matthias Clasen - 2.5.1-5 +- Make non-ASCII invisible characters work + +* Fri Feb 10 2006 Jesse Keating - 2.5.1-3.2.1 +- bump again for double-long bug on ppc(64) + +* Tue Feb 07 2006 Jesse Keating - 2.5.1-3.2 +- rebuilt for new gcc4.1 snapshot and glibc changes + +* Fri Dec 09 2005 Jesse Keating +- rebuilt + +* Tue Aug 16 2005 Matthias Clasen +- Rebuilt + +* Wed Mar 2 2005 Matthias Clasen - 2.5.1-2 +- Rebuild with gcc4 + +* Fri Feb 11 2005 Matthias Clasen - 2.5.1-1 +- Update to 2.5.1 + +* Wed Jan 26 2005 Matthias Clasen - 2.5.0-1 +- update to 2.5.0 + +* Mon Aug 16 2004 Matthias Clasen - 2.4.0-5 +- Remove unnecessary auto-* invokations + +* Wed Jul 14 2004 Matthias Clasen - 2.4.0-4 +- Escape macros in %%changelog (#127050) + +* Mon Jun 21 2004 Matthias Clasen - 2.4.0-2 +- Require a new enough gtk+ (#117436) + +* Tue Jun 15 2004 Elliot Lee +- rebuilt + +* Thu May 20 2004 Matthias Clasen - 2.4.0-1 +- Upgrade to 2.4.0 + +* Wed Mar 10 2004 Mark McLoughlin 2.3.6-1 +- Update to 2.3.6 + +* Tue Mar 02 2004 Elliot Lee +- rebuilt + +* Fri Feb 13 2004 Elliot Lee +- rebuilt + +* Fri Jan 23 2004 Alexander Larsson 2.3.2-1 +- Update to 2.3.2 + +* Fri Aug 29 2003 Owen Taylor 2.0.1-5.0 +- Fix a couple of warnings for unknown properties GtkToolbar (Hardy Merrill, + #85384) and GtkCList. + +* Wed Jun 04 2003 Elliot Lee +- rebuilt + +* Fri Feb 14 2003 Tim Powers 2.0.1-3 +- remove BuildRequires on Xft + +* Wed Jan 22 2003 Tim Powers +- rebuilt + +* Fri Nov 8 2002 Havoc Pennington +- 2.0.1 + +* Tue Oct 8 2002 Havoc Pennington +- destroy .la files + +* Fri Jun 21 2002 Tim Powers +- automated rebuild + +* Sat Jun 15 2002 Havoc Pennington +- 2.0.0 +- check over file list, add XML DTD to it + +* Fri May 17 2002 Havoc Pennington +- rebuild in different environment + +* Fri May 17 2002 Havoc Pennington +- don't run auto* + +* Fri May 17 2002 Havoc Pennington +- 1.99.12 +- remove gtk-doc hack, --disable-gtk-doc now works + +* Thu May 2 2002 Havoc Pennington +- 1.99.11 + +* Thu Apr 4 2002 Jeremy Katz +- 1.99.10 + +* Tue Mar 19 2002 Alex Larsson +- Update autoconf dependency to 2.53 + +* Mon Mar 11 2002 Alex Larsson +- Update to 1.99.9 + +* Mon Feb 25 2002 Alex Larsson +- Bump for rebuild + +* Thu Feb 21 2002 Alex Larsson +- Bump for rebuild + +* Tue Feb 19 2002 Alex Larsson +- Add horrible buildroot check hacks. Require new Gtk+. + +* Thu Feb 14 2002 Havoc Pennington +- rebuild for new gtk + +* Wed Jan 30 2002 Owen Taylor +- Rebuild against new GTK+ + +* Tue Jan 22 2002 Havoc Pennington +- put "nogtkdoc" patch back, it avoids X display requirement +- automake14 + +* Wed Jan 2 2002 Havoc Pennington +- 1.99.5.90 snap +- comment out "nogtkdoc" patch, don't run autoconf + +* Mon Nov 26 2001 Havoc Pennington +- new 1.99.4.91 snap with Jacob's fixes, he + assures me we are 1.99.4.90 ABI-compatible + +* Mon Nov 26 2001 Havoc Pennington +- new 1.99.4.90 snap, gtk 1.3.11 + +* Fri Oct 26 2001 Havoc Pennington +- new snap, rebuild on gtk 1.3.10 + +* Sat Oct 6 2001 Havoc Pennington +- new snap, add hack to avoid trying to build docs +- add the ltmain.sh hack to avoid relinking + +* Mon Sep 24 2001 Havoc Pennington +- new snap + +* Fri Sep 21 2001 Havoc Pennington +- convert libglade rpm to libglade2 rpm, initial build of libglade2 + +* Mon Aug 20 2001 Jonathan Blandford +- Escape strings, #51966 + +* Sun Jul 22 2001 Havoc Pennington +- add build requires, bug #49508 + +* Sun Jun 24 2001 Elliot Lee +- Bump release + rebuild. + +* Tue Apr 17 2001 Jonathan Blandford +- New Version. + +* Thu Mar 01 2001 Owen Taylor +- Rebuild for GTK+-1.2.9 include paths + +* Thu Feb 08 2001 Florian La Roche +- add libtoolize to make porting to new archs easy + +* Fri Dec 29 2000 Matt Wilson +- 0.14 +- added patch for gtk-doc scanner linkage + +* Fri Aug 11 2000 Jonathan Blandford +- Up Epoch and release + +* Thu Jul 13 2000 Prospector +- automatic rebuild + +* Thu Jun 29 2000 Owen Taylor +- specfile fixes + +* Wed May 31 2000 Owen Taylor +- Upgraded to libglade-0.13 +- Use %%makeinstall, since that is required when %%configure is used. + +* Fri May 19 2000 Owen Taylor +- Upgraded to libglade-0.12 + +* Tue Sep 07 1999 Elliot Lee +- Updated RHL 6.1 package to libglade-0.5 + +* Sun Nov 1 1998 James Henstridge + +- Updated the dependencies of the devel package, so users must have gtk+-devel. + +* Sun Oct 25 1998 James Henstridge + +- Initial release 0.0.1