commit
d118a90304
@ -0,0 +1 @@
|
|||||||
|
SOURCES/libmatchbox-1.9.tar.bz2
|
@ -0,0 +1 @@
|
|||||||
|
7820b2723581c20db92d8a36e1a75d4a0c57579a SOURCES/libmatchbox-1.9.tar.bz2
|
@ -0,0 +1,12 @@
|
|||||||
|
diff -up libmatchbox-1.9/tests/Makefile.am.jx libmatchbox-1.9/tests/Makefile.am
|
||||||
|
--- libmatchbox-1.9/tests/Makefile.am.jx 2006-07-07 11:16:57.000000000 -0400
|
||||||
|
+++ libmatchbox-1.9/tests/Makefile.am 2010-02-16 18:45:35.000000000 -0500
|
||||||
|
@@ -3,7 +3,7 @@ SUBDIRS = menu
|
||||||
|
TESTS = dot-desktop pixbuf
|
||||||
|
|
||||||
|
AM_CPPFLAGS = @CHECK_CFLAGS@ -I../libmb @GCC_WARNINGS@ @XLIBS_CFLAGS@ @PANGO_CFLAGS@ @PNG_CFLAGS@
|
||||||
|
-AM_LDFLAGS = -L../libmb -lmb
|
||||||
|
+AM_LDFLAGS = -L../libmb -lmb @XLIBS_LIBS@
|
||||||
|
|
||||||
|
if HAVE_CHECK
|
||||||
|
|
@ -0,0 +1,46 @@
|
|||||||
|
diff -up libmatchbox-1.9/configure.ac.jx libmatchbox-1.9/configure.ac
|
||||||
|
--- libmatchbox-1.9/configure.ac.jx 2006-08-04 06:32:31.000000000 -0400
|
||||||
|
+++ libmatchbox-1.9/configure.ac 2011-11-17 18:29:57.490000763 -0500
|
||||||
|
@@ -155,14 +155,14 @@ fi
|
||||||
|
dnl ------ Check for PNG ---------------------------------------------------
|
||||||
|
|
||||||
|
if test x$enable_png != xno; then
|
||||||
|
- AC_MSG_CHECKING(for libpng12)
|
||||||
|
- if test x$PKG_CONFIG != xno && $PKG_CONFIG --exists libpng12; then
|
||||||
|
+ AC_MSG_CHECKING(for libpng)
|
||||||
|
+ if test x$PKG_CONFIG != xno && $PKG_CONFIG --exists libpng; then
|
||||||
|
AC_MSG_RESULT(yes)
|
||||||
|
- PNG_LIBS=`$PKG_CONFIG --libs libpng12`
|
||||||
|
- PNG_CFLAGS=`$PKG_CONFIG --cflags libpng12`
|
||||||
|
+ PNG_LIBS=`$PKG_CONFIG --libs libpng`
|
||||||
|
+ PNG_CFLAGS=`$PKG_CONFIG --cflags libpng`
|
||||||
|
AC_DEFINE(USE_PNG, [1], [Use Png])
|
||||||
|
SUPPORTS_PNG=1
|
||||||
|
- PNG_REQUIRED="libpng12"
|
||||||
|
+ PNG_REQUIRED="libpng"
|
||||||
|
else
|
||||||
|
AC_MSG_RESULT(no)
|
||||||
|
# AC_CHECK_HEADERS(png.h, [ have_png_h="yes" ], [ have_png_h="no" ] )
|
||||||
|
diff -up libmatchbox-1.9/libmb/mbpixbuf.c.jx libmatchbox-1.9/libmb/mbpixbuf.c
|
||||||
|
--- libmatchbox-1.9/libmb/mbpixbuf.c.jx 2006-07-26 15:12:25.000000000 -0400
|
||||||
|
+++ libmatchbox-1.9/libmb/mbpixbuf.c 2011-11-17 18:28:51.981001505 -0500
|
||||||
|
@@ -247,7 +247,7 @@ _load_png_file( const char *file,
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
|
- if ( setjmp( png_ptr->jmpbuf ) ) {
|
||||||
|
+ if ( setjmp( png_jmpbuf(png_ptr) ) ) {
|
||||||
|
png_destroy_read_struct( &png_ptr, &info_ptr, NULL);
|
||||||
|
fclose(fd);
|
||||||
|
return NULL;
|
||||||
|
@@ -269,8 +269,8 @@ _load_png_file( const char *file,
|
||||||
|
( color_type == PNG_COLOR_TYPE_GRAY_ALPHA ))
|
||||||
|
png_set_gray_to_rgb(png_ptr);
|
||||||
|
|
||||||
|
- if ( info_ptr->color_type == PNG_COLOR_TYPE_RGB_ALPHA
|
||||||
|
- || info_ptr->color_type == PNG_COLOR_TYPE_GRAY_ALPHA
|
||||||
|
+ if ( png_get_color_type(png_ptr, info_ptr) == PNG_COLOR_TYPE_RGB_ALPHA
|
||||||
|
+ || png_get_color_type(png_ptr, info_ptr) == PNG_COLOR_TYPE_GRAY_ALPHA
|
||||||
|
)
|
||||||
|
*has_alpha = 1;
|
||||||
|
else
|
@ -0,0 +1,185 @@
|
|||||||
|
Summary: Libraries for the Matchbox Desktop
|
||||||
|
Name: libmatchbox
|
||||||
|
Version: 1.9
|
||||||
|
Release: 30%{?dist}
|
||||||
|
Url: http://projects.o-hand.com/matchbox/
|
||||||
|
License: LGPLv2+
|
||||||
|
Source: http://projects.o-hand.com/matchbox/sources/libmatchbox/%{version}/%{name}-%{version}.tar.bz2
|
||||||
|
Patch0: libmatchbox-1.9-add-needed.patch
|
||||||
|
Patch1: libmatchbox-1.9-libpng.patch
|
||||||
|
BuildRequires: pango-devel
|
||||||
|
BuildRequires: libpng-devel
|
||||||
|
BuildRequires: libjpeg-devel
|
||||||
|
BuildRequires: check-devel
|
||||||
|
BuildRequires: autoconf automake libtool
|
||||||
|
BuildRequires: make
|
||||||
|
|
||||||
|
%description
|
||||||
|
Matchbox is a base environment for the X Window System running on non-desktop
|
||||||
|
embedded platforms such as handhelds, set-top boxes, kiosks and anything else
|
||||||
|
for which screen space, input mechanisms or system resources are limited.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Static libraries and header files from %{name}
|
||||||
|
Provides: matchbox-devel = %{version}-%{release}
|
||||||
|
Provides: %{name}-devel = %{version}-%{release}
|
||||||
|
Provides: lib%{name}-devel = %{version}-%{release}
|
||||||
|
Provides: libmb-devel = %{version}-%{release}
|
||||||
|
Requires: libmatchbox = %{version}
|
||||||
|
Requires: pkgconfig
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
Static libraries and header files from %{name}
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
%patch0 -p1 -b .add-needed
|
||||||
|
%patch1 -p1 -b .libpng
|
||||||
|
|
||||||
|
%build
|
||||||
|
autoreconf -v --install
|
||||||
|
%configure --enable-png --enable-jpeg --enable-pango
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
%install
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
||||||
|
find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} ';'
|
||||||
|
|
||||||
|
|
||||||
|
%ldconfig_scriptlets
|
||||||
|
|
||||||
|
%files
|
||||||
|
%_libdir/*.so.*
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%doc AUTHORS ChangeLog README COPYING
|
||||||
|
%{_libdir}/pkgconfig/*.pc
|
||||||
|
%{_libdir}/*.so
|
||||||
|
%dir %{_includedir}/libmb
|
||||||
|
%{_includedir}/libmb/*.h
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Wed Mar 15 2023 MSVSphere Packaging Team <packager@msvsphere.ru> - 1.9-30
|
||||||
|
- Rebuilt for MSVSphere 9.1.
|
||||||
|
|
||||||
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.9-30
|
||||||
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
||||||
|
Related: rhbz#1991688
|
||||||
|
|
||||||
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.9-29
|
||||||
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
||||||
|
|
||||||
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.9-28
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.9-27
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.9-26
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.9-25
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.9-24
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.9-23
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.9-22
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.9-21
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.9-20
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.9-19
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.9-18
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9-17
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9-16
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9-15
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9-14
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9-13
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jan 18 2013 Adam Tkac <atkac redhat com> - 1.9-12
|
||||||
|
- rebuild due to "jpeg8-ABI" feature drop
|
||||||
|
|
||||||
|
* Fri Dec 21 2012 Adam Tkac <atkac redhat com> - 1.9-11
|
||||||
|
- rebuild against new libjpeg
|
||||||
|
|
||||||
|
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9-10
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9-9
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Nov 17 2011 Adam Jackson <ajax@redhat.com> 1.9-8
|
||||||
|
- libmatchbox-1.9-libpng.patch: libpng 1.5 compatibility
|
||||||
|
|
||||||
|
* Tue Feb 16 2010 Adam Jackson <ajax@redhat.com> 1.9-7
|
||||||
|
- libmatchbox-1.9-add-needed.patch: Fix FTBFS from --no-add-needed
|
||||||
|
|
||||||
|
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9-6
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Aug 6 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.9-4
|
||||||
|
- fix license tag
|
||||||
|
|
||||||
|
* Tue Jun 19 2007 John (J5) Palmieri <johnp@redhat.com> 1.9-3
|
||||||
|
- Fixed License to be LGPL
|
||||||
|
- Add COPYING license file to docs
|
||||||
|
- Fixed Group
|
||||||
|
- Fixed buildroot
|
||||||
|
- Added {} braces around % macros
|
||||||
|
- Removed .la and .a files
|
||||||
|
- Own {_includedir}/libmb directory
|
||||||
|
- Add dist tag to release
|
||||||
|
- Add smpflags flag to make
|
||||||
|
- Remove use of boken makeinstall macro
|
||||||
|
|
||||||
|
* Mon Aug 21 2006 Marco Pesenti Gritti <mpg@redhat.com> 1.9-2
|
||||||
|
- Disable xsettings
|
||||||
|
|
||||||
|
* Mon Aug 21 2006 Marco Pesenti Gritti <mpg@redhat.com> 1.9-1
|
||||||
|
- Update to 1.9
|
||||||
|
|
||||||
|
* Thu May 12 2005 Austin Acton <austin@mandriva.org> 1.7-1mdk
|
||||||
|
- New release 1.7
|
||||||
|
- fix URLs
|
||||||
|
|
||||||
|
* Mon Jan 24 2005 Austin Acton <austin@mandrake.org> 1.6-1mdk
|
||||||
|
- 1.6
|
||||||
|
|
||||||
|
* Tue Jan 4 2005 Austin Acton <austin@mandrake.org> 1.5-1mdk
|
||||||
|
- 1.5
|
||||||
|
|
||||||
|
* Wed Sep 29 2004 Austin Acton <austin@mandrake.org> 1.4-1mdk
|
||||||
|
- 1.4
|
||||||
|
|
||||||
|
* Mon Aug 23 2004 Austin Acton <austin@mandrake.org> 1.3-1mdk
|
||||||
|
- 1.3
|
||||||
|
|
||||||
|
* Mon Jul 20 2004 Austin Acton <austin@mandrake.org> 1.2-1mdk
|
||||||
|
- initial package
|
Loading…
Reference in new issue