Puppeteer: Add packages required for Puppeteer

Change-Id: I6a98247118b2ca6f3a152ca1d8e752c5baa809c8
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/17936
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Shreenidhi Shedi <sshedi@vmware.com>
Reviewed-by: Tapas Kundu <tkundu@vmware.com>
This commit is contained in:
Shivani Agarwal 2022-09-20 10:10:37 +00:00 committed by Shreenidhi Shedi
parent 1e167df064
commit 02c6f9a7d6
33 changed files with 2407 additions and 31 deletions

95
SPECS/GConf/GConf.spec Normal file
View File

@ -0,0 +1,95 @@
Summary: configuration database system used by many GNOME applications
Name: GConf
Version: 3.2.5
Release: 2%{?dist}
License: LGPLv2+
URL: http://gnome.org
Group: System Environment/Libraries
Vendor: VMware, Inc.
Distribution: Photon
Source0: http://ftp.gnome.org/pub/gnome/sources/%{name}/3.2/%{name}-%{version}.tar.xz
%define sha512 %{name}=d67427a275bc62531232d8cf9641135a03567aef7a97b014d86058df20279004b785b9bfaf11f4f5f88c7187c2b68a138074c5dd0d1e5e1347ebb2b394367926
BuildRequires: intltool
BuildRequires: shadow
BuildRequires: libxml2-devel
BuildRequires: dbus-glib-devel
BuildRequires: polkit-devel
Requires: libxml2
Requires: dbus-glib
Requires: polkit
Requires(post): grep
%description
The GConf package contains a configuration database system used by many GNOME applications.
%package devel
Summary: Header and development files
Requires: %{name} = %{version}-%{release}
Requires: libxml2-devel
Requires: dbus-glib-devel
Requires: polkit-devel
%description devel
It contains the libraries and header files to create applications
%prep
%autosetup -p1
%build
%configure \
--disable-orbit \
--enable-defaults-service \
--disable-static
%make_build
%install
%make_install %{?_smp_mflags}
ln -s gconf.xml.defaults %{buildroot}%{_sysconfdir}/gconf/gconf.xml.system
%post
/sbin/ldconfig
if [ $1 -gt 1 ]; then
if ! fgrep -q gconf.xml.system %{_sysconfdir}/gconf/2/path; then
sed -i -e 's@xml:readwrite:$(HOME)/.gconf@&\n\n# Location for system-wide settings.\nxml:readonly:/etc/gconf/gconf.xml.system@' %{_sysconfdir}/gconf/2/path
fi
fi
%postun -p /sbin/ldconfig
%check
cd tests
make %{?_smp_mflags}
fns=$(find -name 'test*' -executable -maxdepth 1)
for fn in $fns; do
$fn || :
done
%clean
rm -rf %{buildroot}/*
%files
%defattr(-,root,root)
%{_bindir}
%{_sysconfdir}/
%{_libexecdir}/
%{_libdir}/*.so.*
%{_libdir}/GConf
%{_libdir}/gio
%files devel
%defattr(-,root,root)
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/pkgconfig/
%{_datadir}
%changelog
* Wed Nov 15 2017 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 3.2.5-2
- Updated build requires
* Thu Jun 4 2015 Alexey Makhalov <amakhalov@vmware.com> 3.2.5-1
- initial version

View File

@ -0,0 +1,99 @@
Summary: Service Provider Interface for the Assistive Technologies.
Name: at-spi2-core
Version: 2.45.91
Release: 1%{?dist}
License: LGPLv2+
URL: http://www.linuxfoundation.org/en/AT-SPI_on_D-Bus
Group: System Environment/Libraries
Vendor: VMware, Inc.
Distribution: Photon
Source0: http://ftp.gnome.org/pub/gnome/sources/%{name}/2.45/%{name}-%{version}.tar.xz
%define sha512 at-spi2-core=749039d7c0f729f6d30b5cb8b72ffd7c0072c6f41421bb57b16b975c9ec8798c860c9d73b348980df0264b2d14a45302a5de3e58ed24e0d1396be5dfdb8079e0
BuildRequires: meson >= 0.50
BuildRequires: libxml2-devel
BuildRequires: intltool
BuildRequires: glib-devel
BuildRequires: dbus-devel
BuildRequires: libX11-devel
BuildRequires: libXtst-devel
BuildRequires: libXext-devel
BuildRequires: libXi-devel
Requires: dbus
Requires: glib
Requires: libX11
Requires: libXtst
Requires: libXext
Requires: libXi
Requires: atk
%description
The At-Spi2 Core package is a part of the GNOME Accessibility Project. It provides a Service Provider Interface for the Assistive Technologies available on the GNOME platform and a library against which applications can be linked.
%package devel
Summary: Header and development files
Requires: %{name} = %{version}
Requires: glib-devel
Requires: dbus-devel
Requires: libX11-devel
Requires: libXtst-devel
Requires: libXext-devel
Requires: libXi-devel
%description devel
It contains the libraries and header files to create applications
%prep
%autosetup -p1
%build
%meson \
-Dx11=yes \
%{nil}
%meson_build
%install
%meson_install
rm -rf \
%{buildroot}%{_libdir}/libatk-1.0* \
%{buildroot}%{_includedir}/atk-1.0/ \
%{buildroot}%{_libdir}/pkgconfig/atk.pc
%ldconfig_scriptlets
%check
%meson_test
%clean
rm -rf %{buildroot}/*
%files
%defattr(-,root,root)
%{_sysconfdir}/*
%{_libexecdir}/*
%{_libdir}/libatk-bridge*.so.*
%{_libdir}/libatspi*.so.*
%files devel
%defattr(-,root,root)
%{_datadir}/*
%{_includedir}/at-spi-2.0/*
%{_includedir}/at-spi2-atk/*
%{_libdir}/libatk-bridge*.so
%{_libdir}/libatspi*.so
%{_libdir}/gtk-2.0/modules/libatk-bridge.so
%{_libdir}/gnome-settings-daemon-3.0/gtk-modules/at-spi2-atk.desktop
%{_libdir}/systemd/user/at-spi-dbus-bus.service
%{_libdir}/pkgconfig/*.pc
%changelog
* Mon Sep 05 2022 Shivani Agarwal <shivania2@vmware.com> 2.45.91-1
- Version update
* Fri Aug 06 2021 Alexey Makhalov <amakhalov@vmware.com> 2.40.3-1
- Version update
* Wed May 27 2015 Alexey Makhalov <amakhalov@vmware.com> 2.16.0-1
- initial version

65
SPECS/atk/atk.spec Normal file
View File

@ -0,0 +1,65 @@
Summary: Accessibility interfaces to have full access to view and control running applications.
Name: atk
Version: 2.38.0
Release: 1%{?dist}
License: LGPLv2+
URL: http://www.gnome.org
Group: System Environment/Libraries
Vendor: VMware, Inc.
Distribution: Photon
Source0: http://ftp.gnome.org/pub/gnome/sources/%{name}/2.16/%{name}-%{version}.tar.xz
%define sha512 atk=dffd0a0814a9183027c38a985d86cb6544858e9e7d655843e153440467957d6bc1abd9c9479a57078aea018053410438a30a9befb7414dc79020b223cd2c774b
BuildRequires: cmake
BuildRequires: meson
BuildRequires: glib-devel
BuildRequires: gobject-introspection-devel
Requires: glib
%description
ATK provides the set of accessibility interfaces that are implemented by other toolkits and applications. Using the ATK interfaces, accessibility tools have full access to view and control running applications.
%package devel
Summary: Header and development files for
Requires: %{name} = %{version}-%{release}
Requires: gobject-introspection-devel
%description devel
It contains the libraries and header files to create applications
%prep
%autosetup -p1
%build
%meson
%meson_build
%install
%meson_install
%ldconfig_scriptlets
%check
%meson_test
%clean
rm -rf %{buildroot}/*
%files
%defattr(-,root,root)
%{_libdir}/*.so.*
%{_datadir}/*
%{_libdir}/girepository-1.0
%files devel
%defattr(-,root,root)
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/pkgconfig
%changelog
* Fri Aug 19 2022 Shivani Agarwal <shivania2@vmware.com> 2.38.0-1
- Upgrade version 2.38.0
* Thu May 21 2015 Alexey Makhalov <amakhalov@vmware.com> 2.16.0-1
- initial version

View File

@ -1,7 +1,7 @@
Summary: A 2D graphics library.
Name: cairo
Version: 1.17.6
Release: 3%{?dist}
Release: 4%{?dist}
License: LGPLv2 or MPLv1.1
URL: https://cairographics.org
Group: System Environment/Libraries
@ -18,14 +18,18 @@ BuildRequires: pixman-devel
BuildRequires: freetype2-devel
BuildRequires: fontconfig-devel
BuildRequires: glib-devel
BuildRequires: libX11-devel
BuildRequires: libXext-devel
Requires: pixman
Requires: glib
Requires: libpng
Requires: expat
Requires: freetype2
Requires: fontconfig
Requires: binutils-libs
Requires: pixman
Requires: glib
Requires: libpng
Requires: expat
Requires: freetype2
Requires: fontconfig
Requires: binutils-libs
Requires: libX11
Requires: libXext
%description
Cairo is a 2D graphics library with support for multiple output devices.
@ -36,6 +40,8 @@ Requires: %{name} = %{version}-%{release}
Requires: freetype2-devel
Requires: pixman-devel
Requires: libpng-devel
Requires: libX11-devel
Requires: libXext-devel
%description devel
It contains the libraries and header files to create applications
@ -49,7 +55,7 @@ export CFLAGS="-O3 -fPIC"
sed 's/PTR/void */' -i util/cairo-trace/lookup-symbol.c
%configure \
--enable-xlib=no \
--enable-xlib=yes \
--enable-xlib-render=no \
--enable-win32=no \
--disable-static \
@ -59,6 +65,8 @@ sed 's/PTR/void */' -i util/cairo-trace/lookup-symbol.c
%install
%make_install %{?_smp_mflags}
%ldconfig_scriptlets
%post
/sbin/ldconfig
@ -83,6 +91,8 @@ rm -rf %{buildroot}/*
%{_datadir}/gtk-doc/html/%{name}/*
%changelog
* Wed Nov 30 2022 Shivani Agarwal <shivania2@vmware.com> 1.17.6-4
- Enabled xlib
* Sun Nov 13 2022 Shreenidhi Shedi <sshedi@vmware.com> 1.17.6-3
- Fix packaging and spec improvements
* Thu Sep 01 2022 Vamsi Krishna Brahmajosyula <vbrahmajosyula@vmware.com> 1.17.6-2

93
SPECS/cups/cups.spec Normal file
View File

@ -0,0 +1,93 @@
Summary: The Common UNIX Printing System
Name: cups
Version: 2.2.7
Release: 1%{?dist}
License: LGPLv2+
URL: https://openprinting.github.io/cups
Group: System Environment/Libraries
Vendor: VMware, Inc.
Distribution: Photon
Source0: https://github.com/OpenPrinting/cups/releases/download/v%{version}/cups-%{version}.tar.gz
%define sha512 %{name}=143f085ce0a8953d9ab277a46369dcf337bcdd84f5a4dc0ed5dba7a5d0188dc62825728d56e8baf4a2b4f96f2086b3798660016924969d69d28483809a031a4d
BuildRequires: automake
BuildRequires: dbus-devel
BuildRequires: pkg-config
BuildRequires: Linux-PAM-devel
BuildRequires: krb5-devel
BuildRequires: libusb-devel
BuildRequires: openssl-devel
Requires: libusb
Requires: dbus
Requires: gnutls
Requires: krb5
Requires: zlib
%description
The Common Unix Printing System (CUPS) is a print spooler and associated utilities.
It is based on the "Internet Printing Protocol" and provides printing services to most PostScript and raster printers.
%package devel
Summary: Header and development files
License: LGPLv2
Group: Development/Libraries/C and C++
Requires: %{name} = %{version}-%{release}
%description devel
It contains the header files to create applications
%prep
%autosetup -p1
%build
%configure \
CFLAGS="%{optflags}" \
CXXFLAGS="%{optflags}"
make %{?_smp_mflags}
%install
make %{?_smp_mflags} install BUILDROOT=%{buildroot}
%ldconfig_scriptlets
%check
make %{?_smp_mflags} check
%clean
rm -rf %{buildroot}/*
%files
%defattr(-,root,root)
%config(noreplace) %attr(640,root,root) %{_sysconfdir}/cups/cups-files.conf
%config(noreplace) %attr(640,root,root) %{_sysconfdir}/cups/cupsd.conf
%config(noreplace) %attr(640,root,root) %{_sysconfdir}/cups/snmp.conf
%config %{_sysconfdir}/cups/cupsd.conf.default
%config %{_sysconfdir}/cups/cups-files.conf.default
%config %{_sysconfdir}/cups/snmp.conf.default
%dir %attr(755,root,root) %{_sysconfdir}/cups/ppd
%dir %attr(700,root,root) %{_sysconfdir}/cups/ssl
%config %{_sysconfdir}/rc.d/
%config %{_sysconfdir}/dbus-1/system.d/cups.conf
%{_bindir}/*
%{_sbindir}/*
%{_libdir}/libcups*.so.*
%dir %{_libdir}/cups
%{_libdir}/cups/*
%doc %{_mandir}/*
%doc %{_defaultdocdir}/cups
%{_datadir}/cups/
%{_datadir}/locale/
%files devel
%defattr(-,root,root)
%{_includedir}/cups/
%{_libdir}/libcups*.so
%changelog
* Mon Jun 20 2022 Prashant S Chauhan <psinghchauha@vmware.com> 2.2.7-1
- Build cups

View File

@ -0,0 +1,49 @@
Summary: X11 font utilities.
Name: font-util
Version: 1.3.2
Release: 1%{?dist}
License: MIT
URL: http://www.x.org/
Group: Development/System
Vendor: VMware, Inc.
Distribution: Photon
Source0: http://ftp.x.org/pub/individual/font/font-util-1.3.2.tar.bz2
%define sha512 font-util=7cac529b12ae71185b89c72c1569b9826f52eeaecc1c76010338e7c42c4078ae339f18220b580bbd68fb5dc09df6ecf169a47c32e6104d8ee53bd443fa21d167
%description
The Xorg font utilities.
%package devel
Summary: Header and development files
Requires: %{name} = %{version}-%{release}
%description devel
It contains the libraries and header files to create applications.
%prep
%autosetup -p1
%build
%configure
%make_build
%install
%make_install %{?_smp_mflags}
%ldconfig_scriptlets
%files
%defattr(-,root,root)
%{_bindir}/*
%files devel
%defattr(-,root,root)
%{_libdir}/pkgconfig/
%{_datadir}/*
%changelog
* Thu Oct 20 2022 Shivani Agarwal <shivania2@vmware.com> 1.3.2-1
- Upgrade version to 1.3.2
* Wed May 20 2015 Alexey Makhalov <amakhalov@vmware.com> 1.3.1-1
- initial version

View File

@ -0,0 +1,88 @@
Summary: toolkit for image loading and pixel buffer manipulation.
Name: gdk-pixbuf
Version: 2.42.0
Release: 1%{?dist}
License: LGPLv2+
URL: http://www.gt.org
Group: System Environment/Libraries
Vendor: VMware, Inc.
Distribution: Photon
Source0: http://ftp.gnome.org/pub/gnome/sources/%{name}/2.42/%{name}-%{version}.tar.xz
%define sha512 %{name}=c9962d42e5bf13514091234342e259be1e06b2c4dea2936e16104a3b58f0b6837f070224c04be9541d75f5ea34d1da398f178a1eed1f9059f6429faf5c223e34
BuildRequires: meson
BuildRequires: cmake
BuildRequires: libpng-devel
BuildRequires: libtiff-devel
BuildRequires: libX11-devel
BuildRequires: gobject-introspection-devel
BuildRequires: gtk-doc
BuildRequires: libjpeg-turbo-devel
BuildRequires: shared-mime-info
Requires: libpng
Requires: libtiff
Requires: libX11
Requires: gobject-introspection
Requires: libjpeg-turbo
%description
The Gdk Pixbuf is a toolkit for image loading and pixel buffer manipulation. It is used by GTK+ 2 and GTK+ 3 to load and manipulate images.
%package devel
Summary: Header and development files
Requires: %{name} = %{version}-%{release}
Requires: libpng-devel
Requires: libtiff-devel
Requires: libX11-devel
Requires: shared-mime-info
%description devel
It contains the libraries and header files to create applications
%prep
%autosetup -p1
%build
%meson \
-Dinstalled_tests=false
%meson_build
%install
%meson_install
%post
/sbin/ldconfig
gdk-pixbuf-query-loaders --update-cache
%postun -p /sbin/ldconfig
%check
%meson_test
%clean
rm -rf %{buildroot}/*
%files
%defattr(-,root,root)
%{_bindir}/*
%{_libdir}/*.so.*
%{_libdir}/gdk-pixbuf-2.0
%{_libdir}/girepository-1.0
%files devel
%defattr(-,root,root)
%{_includedir}/*
%{_datadir}/*
%{_libdir}/*.so
%{_libdir}/pkgconfig
%changelog
* Tue Sep 06 2022 Shivani Agarwal <shivania2@vmware.com> 2.42.0-1
- Upgrade version
* Sun Jun 14 2015 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 2.33.2-1
- Updated to version 2.33.2
* Thu May 21 2015 Alexey Makhalov <amakhalov@vmware.com> 2.31.4-1
- initial version

View File

@ -0,0 +1,72 @@
Summary: Thin layer of types for graphic libraries.
Name: graphene
Version: 1.10.8
Release: 1%{?dist}
License: MIT
URL: https://github.com/ebassi/graphene
Group: System Environment/Libraries
Vendor: VMware, Inc.
Distribution: Photon
Source0: https://github.com/ebassi/graphene/archive/refs/tags//%{name}-%{version}.tar.gz
%define sha512 %{name}=526b0c17049459b687ceb7f6c26c9d982535e4048e74a0b6282704f9811d3c2e7e0e6cfef166aa953306b6cf77add6677bc600ae0c66cc052dc04c3d0345bd68
BuildRequires: meson >= 0.50
BuildRequires: ninja-build
BuildRequires: gobject-introspection-devel
Requires: gobject-introspection
%description
Graphene provides a small set of mathematical types needed to implement graphic
libraries that deal with 2D and 3D transformations and projections.
%package devel
Summary: Header and development files
Requires: %{name} = %{version}-%{release}
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%prep
%autosetup -p1
%build
%meson \
-Dtests=true \
-Dinstalled_tests=false \
%{nil}
%meson_build
%install
%meson_install
%ldconfig_scriptlets
%check
%meson_test
%clean
rm -rf %{buildroot}/*
%files
%defattr(-,root,root)
%{_libdir}/girepository-1.0/
%{_libdir}/libgraphene-1.0.so.0*
%files devel
%defattr(-,root,root)
%{_includedir}/graphene-1.0/
%dir %{_libdir}/graphene-1.0
%{_libdir}/graphene-1.0/include/
%{_libdir}/libgraphene-1.0.so
%{_libdir}/pkgconfig/graphene-1.0.pc
%{_libdir}/pkgconfig/graphene-gobject-1.0.pc
%{_libexecdir}/installed-tests/*
%{_datadir}/gir-1.0/
%changelog
* Mon Sep 5 2022 Shivani Agarwal <shivania2@vmware.com> 1.10.8-1
- Initial version

View File

@ -0,0 +1,75 @@
Summary: The GStreamer Bad Plug-ins package contains a set a set of plug-ins that aren't up to par compared to the rest
Name: gst-plugins-bad
Version: 1.17.1
Release: 1%{?dist}
License: LGPLv2
URL: http://gstreamer.freedesktop.org/
Group: Applications/Multimedia
Vendor: VMware, Inc.
Distribution: Photon
Source0: http://gstreamer.freedesktop.org/src/%{name}/%{name}-%{version}.tar.xz
%define sha512 %{name}=8825c0e35cb8fc1c1c006bdbee0ed538e493d29ddb97011ea649a385cba669e49dc3fc6b902dbbcc343dcaa4afcf950295423a90852ca21df106e94659ee0cf0
BuildRequires: meson
BuildRequires: cmake
BuildRequires: gstreamer-plugins-base-devel
Requires: gstreamer-plugins-base
%description
The GStreamer Good Plug-ins is a set of plug-ins considered by the GStreamer developers
to have good quality code, correct functionality, and the preferred license (LGPL).
A wide range of video and audio decoders, encoders, and filters are included.
%package devel
Summary: GStreamer Plugin Library Headers
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: gstreamer-plugins-base-devel
%description devel
The GStreamer Bad Plug-ins package contains a set a set of plug-ins that aren't up to par compared to the rest
%prep
%autosetup -p1
%build
%meson \
--auto-features=auto \
%{nil}
%meson_build
%install
%meson_install
%ldconfig_scriptlets
%check
%meson_test
%clean
rm -rf %{buildroot}
%files
%defattr(-, root, root)
%{_bindir}/*
%{_libdir}/*.so.*
%files devel
%defattr(-, root, root)
%{_libdir}/gstreamer-1.0/*.so
%{_libdir}/*.so
%{_libdir}/pkgconfig
%{_libdir}/girepository-1.0
%{_includedir}/gstreamer-1.0
%{_datadir}/locale
%{_datadir}/gstreamer-1.0
%{_datadir}/gir-1.0
%changelog
* Tue Sep 06 2022 Shivani Agarwal <shivania2@vmware.com> 1.17.1-1
- Upgrade version
* Mon Jul 13 2015 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 1.5.1-1
- initial version

View File

@ -0,0 +1,100 @@
Summary: GStreamer streaming media framework plug-ins
Name: gstreamer-plugins-base
Version: 1.17.1
Release: 1%{?dist}
License: LGPLv2+
URL: http://gstreamer.freedesktop.org
Group: Applications/Multimedia
Vendor: VMware, Inc.
Distribution: Photon
Source0: http://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-%{version}.tar.xz
%define sha512 gst-plugins-base=4b03e508d2e8de00690d47018aede46d1896bc19c829e4f3ad673c37ad33edb53da88b196b995bb7fb68076c0e47e0953a6a610519ae57edaf8294e41d94f2ee
BuildRequires: meson
BuildRequires: cmake
BuildRequires: gstreamer-devel
BuildRequires: pango-devel
BuildRequires: alsa-lib-devel
BuildRequires: libX11-devel
BuildRequires: libXext-devel
BuildRequires: fribidi-devel
Requires: gstreamer
Requires: pango
Requires: alsa-lib
Requires: libX11
Requires: libXext
Requires: cairo
%description
GStreamer is a streaming media framework, based on graphs of filters which
operate on media data. Applications using this library can do anything
from real-time sound processing to playing videos, and just about anything
else media-related. Its plugin-based architecture means that new data
types or processing capabilities can be added simply by installing new
plug-ins.
%package devel
Summary: GStreamer Plugin Library Headers
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: gstreamer-devel
Requires: pango-devel
Requires: cairo-devel
Requires: alsa-lib-devel
Requires: libX11-devel
Requires: libXext-devel
Requires: fribidi-devel
%description devel
GStreamer Plugins Base library development and header files.
%prep
%autosetup -n gst-plugins-base-%{version} -p1
%build
%meson \
--auto-features=auto \
%{nil}
%meson_build
%install
%meson_install
%ldconfig_scriptlets
%check
%meson_test
%clean
rm -rf %{buildroot}
%files
%defattr(-, root, root)
%{_bindir}/gst-discoverer-1.0
%{_bindir}/gst-play-1.0
%{_bindir}/gst-device-monitor-1.0
%{_mandir}/man1/gst-discoverer-1.0*
%{_mandir}/man1/gst-play-1.0*
%{_mandir}/man1/gst-device-monitor-1.0*
%{_libdir}/*.so.*
%{_libdir}/gstreamer-1.0/*.so
%files devel
%defattr(-, root, root)
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%{_libdir}/gstreamer-1.0/*.so
%{_libdir}/girepository-1.0/*.typelib
%{_datadir}/*
%changelog
* Tue Sep 06 2022 Shivani Agarwal <shivania2@vmware.com> 1.17.1-1
- Upgrade version
* Wed Nov 15 2017 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 1.5.1-2
- Updated build requires & requires to build with Photon 2.0
* Thu Jun 25 2015 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 1.5.1-1
- initial version

View File

@ -0,0 +1,86 @@
Summary: A streaming media framework
Name: gstreamer
Version: 1.17.1
Release: 1%{?dist}
License: LGPLv2+
URL: http://gstreamer.freedesktop.org/
Group: System Environment/Libraries
Vendor: VMware, Inc.
Distribution: Photon
Source0: http://gstreamer.freedesktop.org/src/%{name}/%{name}-%{version}.tar.xz
%define sha512 gstreamer=a44eebefe434eac8b51283a5ac039290736cf5ac49ba738d6ab4dbbf6e29adf1e0ddee7b2623924bdf6899965a2480fba502826483e04632aff67bc7f33d25f6
BuildRequires: meson
BuildRequires: cmake
BuildRequires: glib-devel
BuildRequires: libxml2-devel
BuildRequires: gobject-introspection-devel
BuildRequires: python3-gobject-introspection
BuildRequires: bison
Requires: glib
Requires: libxml2
Provides: pkgconfig(gstreamer-1.0)
Provides: pkgconfig(gstreamer-base-1.0)
%description
GStreamer is a streaming media framework that enables applications to share a
common set of plugins for things like video encoding and decoding, audio encoding
and decoding, audio and video filters, audio visualisation, web streaming
and anything else that streams in real-time or otherwise.
%package devel
Summary: Header and development files
Requires: %{name} = %{version}-%{release}
Requires: glib-devel
Requires: libxml2-devel
Requires: gobject-introspection-devel
Requires: python3-gobject-introspection
%description devel
It contains the libraries and header files to create applications
%prep
%autosetup -n gstreamer-%{version} -p1
%build
%meson \
--auto-features=auto \
%{nil}
%meson_build
%install
%meson_install
%ldconfig_scriptlets
%check
%meson_test
%clean
rm -rf %{buildroot}/*
%files
%defattr(-,root,root,-)
%{_bindir}
%{_libdir}/*.so*
%{_libexecdir}
%{_libdir}/gstreamer-1.0/*.so
%files devel
%defattr(-,root,root)
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%{_libdir}/gstreamer-1.0/*.so
%{_libdir}/girepository-1.0/*
%{_datadir}/*
%changelog
* Tue Sep 06 2022 Shivani Agarwal <shivania2@vmware.com> 1.17.1-1
- Upgrade version
* Wed Jun 24 2015 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 1.5.1-1
- initial version

172
SPECS/gtk3/gtk3.spec Normal file
View File

@ -0,0 +1,172 @@
Summary: GUI library.
Name: gtk3
Version: 3.23.3
Release: 1%{?dist}
License: LGPLv2+
URL: http://www.gtk.org
Group: System Environment/Libraries
Vendor: VMware, Inc.
Distribution: Photon
Source0: http://ftp.gnome.org/pub/gnome/sources/gtk/3.23/gtk+-%{version}.tar.xz
%define sha512 gtk+-3=c4d519735d0292e1e503e2dfdf764f9a5b039a77d055ba4d8b98e9acd0451a2f9f4b92ec4051722f234e652f895a2712a5e56d1387a52ea583c4bf6ef346403c
BuildRequires: meson >= 0.50
BuildRequires: cmake
BuildRequires: gobject-introspection-devel
BuildRequires: atk-devel
BuildRequires: libXi-devel
BuildRequires: libglvnd-devel
BuildRequires: libepoxy-devel
BuildRequires: at-spi2-core-devel
BuildRequires: glib-devel >= 2.68.0
BuildRequires: glib-schemas >= 2.68.0
BuildRequires: fontconfig-devel
BuildRequires: libpng-devel
BuildRequires: harfbuzz-devel
BuildRequires: cairo-devel
BuildRequires: fribidi-devel
BuildRequires: pango-devel
BuildRequires: shared-mime-info
BuildRequires: gdk-pixbuf-devel
BuildRequires: libXfixes-devel
BuildRequires: libxkbcommon-x11
BuildRequires: libxkbcommon-devel
BuildRequires: libX11-devel
BuildRequires: libxml2-devel
BuildRequires: graphene-devel
BuildRequires: libXrandr-devel
BuildRequires: gst-plugins-bad-devel
BuildRequires: cups-devel
BuildRequires: wayland-devel
BuildRequires: wayland-protocols-devel
BuildRequires: libXinerama-devel
BuildRequires: libXcomposite-devel
BuildRequires: libXdamage-devel
Requires: libXdamage
Requires: libXcomposite
Requires: libXinerama
Requires: gobject-introspection
Requires: glib >= 2.68.0
Requires: cairo
Requires: cups
Requires: harfbuzz
Requires: gdk-pixbuf
Requires: at-spi2-core
Requires: pango
Requires: libX11
Requires: libXi
Requires: libXext
Requires: libXrandr
Requires: libXfixes
Requires: atk
Requires: at-spi2-core
Requires: fontconfig
Requires: freetype2
Requires: graphene
Requires: gst-plugins-bad
Requires: libglvnd-egl
Requires: libglvnd-glx
Requires: libglvnd-gles
Requires: libepoxy
%description
The GTK+ 3 package contains libraries used for creating graphical user interfaces for applications.
%package devel
Summary: Header and development files
Requires: %{name} = %{version}-%{release}
Requires: gobject-introspection-devel
Requires: libglvnd-devel
Requires: libepoxy-devel
Requires: pango-devel
Requires: libXi-devel
Requires: libXfixes-devel
Requires: libX11-devel
Requires: libxml2-devel
Requires: libxkbcommon-x11
Requires: libxkbcommon-devel
Requires: glib-devel >= 2.68.0
Requires: glib-schemas >= 2.68.0
Requires: harfbuzz-devel
Requires: atk-devel
Requires: at-spi2-core-devel
Requires: fontconfig-devel
Requires: graphene-devel
Requires: cairo-devel
Requires: gdk-pixbuf-devel
Requires: libXext-devel
Requires: libXrandr-devel
%description devel
It contains the libraries and header files to create applications
%prep
%autosetup -n gtk+-%{version} -p1
%build
export CFLAGS="-Wno-maybe-uninitialized"
%configure --enable-xkb \
--enable-xinerama \
--enable-xrandr \
--enable-xfixes \
--enable-xcomposite \
--enable-xdamage \
--enable-wayland-backend \
--enable-x11-backend
%make_build
%install
%make_install %{?_smp_mflags}
%ldconfig_scriptlets
%check
cd tests
make %{?_smp_mflags}
fns=$(find -name 'test*' -executable -maxdepth 1)
for fn in $fns; do
$fn || :
done
%clean
rm -rf %{buildroot}/*
%files
%defattr(-,root,root)
%{_bindir}/*
%{_libdir}/*.so.*
%{_libdir}/gtk-3.0/*
%{_libdir}/girepository-1.0/
%{_datadir}/glib-2.0/*
%{_datadir}/locale/*
%{_datadir}/gettext/*
%{_datadir}/gtk-doc
%{_datadir}/man
%files devel
%defattr(-,root,root)
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/pkgconfig/
%{_datadir}/gir-1.0/*
%{_datadir}/gtk-3.0/*
%{_datadir}/icons
%{_datadir}/applications
%{_datadir}/themes
%{_datadir}/aclocal
%{_sysconfdir}/gtk-3.0/
%changelog
* Mon Aug 22 2022 Shivani Agarwal <shivania2@vmware.com> 3.23.3-1
- Updated to version 3.23.3
* Wed Nov 15 2017 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 3.20.8-2
- Updated build requires & requires to build with Photon 2.0
* Thu Mar 03 2016 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 3.20.8-1
- Updated to version 3.20.8
* Thu Mar 03 2016 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 3.19.11-1
- Updated to version 3.19.11
* Wed May 27 2015 Alexey Makhalov <amakhalov@vmware.com> 3.14.13-1
- initial version

View File

@ -1,7 +1,7 @@
Summary: opentype text shaping engine
Name: harfbuzz
Version: 2.6.7
Release: 2%{?dist}
Release: 3%{?dist}
License: MIT
URL: http://harfbuzz.org
Group: System Environment/Libraries
@ -13,6 +13,7 @@ Source0: https://www.freedesktop.org/software/harfbuzz/release/%{name}-%{version
BuildRequires: glib-devel
BuildRequires: freetype2-devel
BuildRequires: gobject-introspection-devel
Requires: glib
Requires: freetype2
@ -32,7 +33,7 @@ It contains the libraries and header files to create applications
%autosetup -p1
%build
%configure
%configure --with-gobject --enable-introspection
%make_build
%install
@ -56,6 +57,7 @@ rm -rf %{buildroot}/*
%defattr(-,root,root)
%{_libdir}/*.so.*
%{_bindir}/*
%{_libdir}/girepository-1.0/*
%files devel
%defattr(-,root,root)
@ -65,8 +67,11 @@ rm -rf %{buildroot}/*
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%{_libdir}/cmake/harfbuzz/harfbuzz-config.cmake
%{_datadir}/gir-1.0/HarfBuzz-0.0.gir
%changelog
* Wed Nov 23 2022 Shivani Agarwal <shivania2@vmware.com> 2.6.7-3
- Enabled introspection
* Sun Nov 13 2022 Shreenidhi Shedi <sshedi@vmware.com> 2.6.7-2
- Spec fixes
* Thu Jul 16 2020 Gerrit Photon <photon-checkins@vmware.com> 2.6.7-1

View File

@ -0,0 +1,63 @@
Summary: X11 Screen Saver runtime library.
Name: libXScrnSaver
Version: 1.2.3
Release: 1%{?dist}
License: MIT
URL: http://www.x.org/
Group: System Environment/Libraries
Vendor: VMware, Inc.
Distribution: Photon
Source0: http://ftp.x.org/pub/individual/lib/%{name}-%{version}.tar.bz2
%define sha512 %{name}=7ea628324a11b25ee82c7b11c6bf98f37de219354de51c1e29467b5de422669ba1ab121f3b9dc674093c8f3960e93c5d5428122f5539092f79bc8451c768354a
BuildRequires: proto
BuildRequires: libXext-devel
Requires: libXext
Requires: libX11
%description
The X11 Screen Saver runtime library.
%package devel
Summary: Header and development files
Requires: %{name} = %{version}-%{release}
Requires: proto
Requires: libXext-devel
%description devel
It contains the libraries and header files to create applications
%prep
%autosetup -p1
%build
%configure
%make_build
%install
%make_install %{?_smp_mflags}
%ldconfig_scriptlets
%clean
rm -rf %{buildroot}/*
%files
%defattr(-,root,root)
%{_libdir}/*.so.*
%files devel
%defattr(-,root,root)
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/pkgconfig
%{_libdir}/*.a
%{_datadir}/*
%changelog
* Fri Aug 19 2022 Shivani Agarwal <shivania2@vmware.com> 1.2.3-1
- Upgrade version 1.2.3
* Tue May 19 2015 Alexey Makhalov <amakhalov@vmware.com> 1.2.2-1
- initial version

View File

@ -0,0 +1,63 @@
Summary: X11 Composite Extension library.
Name: libXcomposite
Version: 0.4.5
Release: 1%{?dist}
License: MIT
URL: http://www.x.org/
Group: System Environment/Libraries
Vendor: VMware, Inc.
Distribution: Photon
Source0: http://ftp.x.org/pub/individual/lib/%{name}-%{version}.tar.bz2
%define sha512 %{name}=502fd51fd9097bb3ca72174ac5b25b9d3b1ff240d32c4765199df03d89337d94b4ddea49e90b177b370862430089d966ce9c38988337156352cfeae911c2d3d5
BuildRequires: proto
BuildRequires: libXfixes-devel
BuildRequires: util-macros
Requires: libX11
Requires: libXfixes
%description
The X11 Composite Extension library.
%package devel
Summary: Header and development files
Requires: %{name} = %{version}-%{release}
Requires: libXfixes-devel
%description devel
It contains the libraries and header files to create applications
%prep
%autosetup -p1
%build
%configure
%make_build
%install
%make_install %{?_smp_mflags}
%ldconfig_scriptlets
%clean
rm -rf %{buildroot}/*
%files
%defattr(-,root,root)
%{_libdir}/*.so.*
%files devel
%defattr(-,root,root)
%{_includedir}/*
%{_libdir}/*.a
%{_libdir}/pkgconfig
%{_libdir}/*.so
%{_datadir}/*
%changelog
* Fri Aug 06 2021 Alexey Makhalov <amakhalov@vmware.com> 0.4.5-1
- Version update
* Tue May 19 2015 Alexey Makhalov <amakhalov@vmware.com> 0.4.4-1
- initial version

View File

@ -0,0 +1,64 @@
Summary: X11 Cursor management library.
Name: libXcursor
Version: 1.2.1
Release: 1%{?dist}
License: MIT
URL: http://www.x.org
Group: System Environment/Libraries
Vendor: VMware, Inc.
Distribution: Photon
Source0: http://ftp.x.org/pub/individual/lib/%{name}-%{version}.tar.gz
%define sha512 %{name}=381c8762b5aa0dedb610e563bc595f901ec06eac0da832be4829f413869ce5092b47b33c2059d816e29dc525e5615358add98c305b9bda63c5ffac8b52b2e287
BuildRequires: libXfixes-devel
BuildRequires: libXrender-devel
Requires: libX11
Requires: libXfixes
Requires: libXrender
%description
The X11 Cursor management library.
%package devel
Summary: Header and development files
Requires: %{name} = %{version}-%{release}
Requires: libXfixes-devel
Requires: libXrender-devel
%description devel
It contains the libraries and header files to create applications
%prep
%autosetup -p1
%build
%configure
%make_build
%install
%make_install %{?_smp_mflags}
%ldconfig_scriptlets
%clean
rm -rf %{buildroot}/*
%files
%defattr(-,root,root)
%{_libdir}/*.so.*
%files devel
%defattr(-,root,root)
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/*.a
%{_libdir}/pkgconfig
%{_datadir}/*
%changelog
* Thu Aug 18 2022 Shivani Agarwal <shivania2@vmware.com> 1.2.1-1
- Upgrade to version 1.2.1
* Tue May 19 2015 Alexey Makhalov <amakhalov@vmware.com> 1.1.14-1
- initial version

View File

@ -0,0 +1,61 @@
Summary: X11 Damage extension.
Name: libXdamage
Version: 1.1.5
Release: 1%{?dist}
License: MIT
URL: http://www.x.org
Group: System Environment/Libraries
Vendor: VMware, Inc.
Distribution: Photon
Source0: http://ftp.x.org/pub/individual/lib/%{name}-%{version}.tar.bz2
%define sha512 %{name}=a3ca6cc33b1727f717a3e2aa5593f660508a81a47918a0aa949e9e8fba105e303fe5071983b48caac92feea0fe6e8e01620805e4d19b41f21f20d837b191c124
BuildRequires: libXfixes-devel
BuildRequires: proto
BuildRequires: util-macros
Requires: libXfixes
%description
The X11 Damage extension.
%package devel
Summary: Header and development files
Requires: %{name} = %{version}-%{release}
Requires: libXfixes-devel
%description devel
It contains the libraries and header files to create applications
%prep
%autosetup -p1
%build
%configure
%make_build
%install
%make_install %{?_smp_mflags}
%ldconfig_scriptlets
%clean
rm -rf %{buildroot}/*
%files
%defattr(-,root,root)
%{_libdir}/*.so.*
%files devel
%defattr(-,root,root)
%{_includedir}/*
%{_libdir}/*.a
%{_libdir}/*.so
%{_libdir}/pkgconfig
%changelog
* Thu Aug 18 2022 Shivani Agarwal <shivania2@vmware.com> 1.1.5-1
- Upgrade to version 1.1.5
* Tue May 19 2015 Alexey Makhalov <amakhalov@vmware.com> 1.1.4-1
- initial version

View File

@ -0,0 +1,64 @@
Summary: X11 XFIXES extension.
Name: libXfixes
Version: 5.0.3
Release: 1%{?dist}
License: MIT
URL: http://www.x.org
Group: System Environment/Libraries
Vendor: VMware, Inc.
Distribution: Photon
Source0: http://ftp.x.org/pub/individual/lib/%{name}-%{version}.tar.bz2
%define sha512 %{name}=72d5ee496e5c0520c95ef6bbb52deff1ee4c29792f11aa17aeb25c8ec5eb992ca502de040c77ad95835d1b1432f315b6cb7a3308b434847c28b9c2c6f9d1ac10
BuildRequires: proto
BuildRequires: libXext-devel
BuildRequires: util-macros
Requires: libXext
Requires: libX11
Provides: pkgconfig(xfixes)
%description
The X11 Xfixes extension.
%package devel
Summary: Header and development files
Requires: %{name} = %{version}-%{release}
Requires: libXext-devel
%description devel
It contains the libraries and header files to create applications
%prep
%autosetup -p1
%build
%configure
%make_build
%install
%make_install %{?_smp_mflags}
%ldconfig_scriptlets
%clean
rm -rf %{buildroot}/*
%files
%defattr(-,root,root)
%{_libdir}/*.so.*
%files devel
%defattr(-,root,root)
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/*.a
%{_libdir}/pkgconfig/
%{_datadir}/*
%changelog
* Thu Aug 18 2022 Shivani Agarwal <shivania2@vmware.com> 5.0.3-1
- Upgrade version to 5.0.3
* Tue May 19 2015 Alexey Makhalov <amakhalov@vmware.com> 5.0.1-1
- initial version

View File

@ -0,0 +1,63 @@
Summary: X11 Xfont2 runtime library.
Name: libXfont2
Version: 2.0.3
Release: 1%{?dist}
License: MIT
URL: http://www.x.org
Group: System Environment/Libraries
Vendor: VMware, Inc.
Distribution: Photon
Source0: http://ftp.x.org/pub/individual/lib/%{name}-%{version}.tar.bz2
%define sha512 %{name}=648b664e2aa58cbc7366a1b05873aa06bd4a38060f64085783043388244af8ceced77b29a22c3ac8b6d34cd226e093bbbcc785ea1748ea65720fe7ea05b4b44b
BuildRequires: freetype2-devel
BuildRequires: xtrans
BuildRequires: libfontenc-devel
Requires: freetype2
Requires: libfontenc
%description
The X11 Xfont runtime library.
%package devel
Summary: Header and development files
Requires: %{name} = %{version}-%{release}
Requires: freetype2-devel
Requires: xtrans
Requires: libfontenc-devel
%description devel
It contains the libraries and header files to create applications
%prep
%autosetup -p1
%build
%configure --disable-devel-docs
%make_build
%install
%make_install %{?_smp_mflags}
%ldconfig_scriptlets
%files
%defattr(-,root,root)
%{_libdir}/*.so.*
%files devel
%defattr(-,root,root)
%{_includedir}/*
%{_libdir}/*.a
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%changelog
* Thu Jun 13 2019 Alexey Makhalov <amakhalov@vmware.com> 2.0.3-1
- Version update
* Wed Nov 15 2017 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 1.5.1-2
- Updated build requires & requires to build with Photon 2.0
* Tue May 19 2015 Alexey Makhalov <amakhalov@vmware.com> 1.5.1-1
- initial version

63
SPECS/libXi/libXi.spec Normal file
View File

@ -0,0 +1,63 @@
Summary: X11 libXi runtime library.
Name: libXi
Version: 1.7.4
Release: 1%{?dist}
License: MIT
URL: http://www.x.org
Group: System Environment/Libraries
Vendor: VMware, Inc.
Distribution: Photon
Source0: http://ftp.x.org/pub/individual/lib/%{name}-%{version}.tar.bz2
%define sha512 %{name}=17182e580bdf6d65c743ceef4f652f7c7975761f288dfd6f2961c2fed23931569f7cf7cac745bb252fe0a6c3be2739ba6f6533b895519800e382a48f2e5297f0
BuildRequires: libXfixes-devel
BuildRequires: proto
Requires: libXfixes
Requires: libX11
Requires: libXext
Provides: pkgconfig(xi)
%description
The X11 libXi runtime library.
%package devel
Summary: Header and development files
Requires: %{name} = %{version}-%{release}
Requires: libXfixes-devel
%description devel
It contains the libraries and header files to create applications
%prep
%autosetup -p1
%build
%configure
%make_build
%install
%make_install %{?_smp_mflags}
%ldconfig_scriptlets
%clean
rm -rf %{buildroot}/*
%files
%defattr(-,root,root)
%{_libdir}/*.so.*
%files devel
%defattr(-,root,root)
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/pkgconfig
%{_libdir}/*.a
%{_datadir}/*
%changelog
* Tue May 19 2015 Alexey Makhalov <amakhalov@vmware.com> 1.7.4-1
- initial version

View File

@ -0,0 +1,57 @@
Summary: X11 libXinerama runtime library.
Name: libXinerama
Version: 1.1.5
Release: 1%{?dist}
License: MIT
URL: http://www.x.org
Group: System Environment/Libraries
Vendor: VMware, Inc.
Distribution: Photon
Source0: http://pub/individual/lib/%{name}-%{version}.tar.xz
%define sha512 %{name}=735b5320de4782005b379e409bf2f976131c17d496b297d33a0e127ca1443034778586b6b25c077b2ad73a4ab34d440d7510475e0041f38202bb40f15fb08ff7
BuildRequires: libXext-devel
Requires: libXext
%description
The X11 libXi runtime library.
%package devel
Summary: Header and development files
Requires: %{name} = %{version}-%{release}
Requires: libXext-devel
%description devel
It contains the libraries and header files to create applications
%prep
%autosetup -p1
%build
%configure
%make_build
%install
%make_install %{?_smp_mflags}
%ldconfig_scriptlets
%files
%defattr(-,root,root)
%{_libdir}/*.so.*
%files devel
%defattr(-,root,root)
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/pkgconfig
%{_datadir}/*
%{_libdir}/*.a
%changelog
* Sun Nov 6 2022 Shivani Agarwal <shivania2@vmware.com> 1.1.5-1
- Upgrade to version 1.1.5
* Tue May 19 2015 Alexey Makhalov <amakhalov@vmware.com> 1.1.3-1
- initial version

View File

@ -0,0 +1,63 @@
Summary: X11 libXtst runtime library.
Name: libXtst
Version: 1.2.3
Release: 1%{?dist}
License: MIT
URL: http://www.x.org
Group: System Environment/Libraries
Vendor: VMware, Inc.
Distribution: Photon
Source0: http://ftp.x.org/pub/individual/lib/%{name}-%{version}.tar.bz2
%define sha512 %{name}=6f6741fd3596775eaa056465319f78c29c91b3893a851a4899df651a2023a4d762497b112a33d7d3e8865fe85d173d03e4b49daef76a66af1ae1eaab82a12765
BuildRequires: libXi-devel
BuildRequires: proto
Requires: libXi
Requires: libXext
Requires: libX11
%description
The X11 libXtst runtime library.
%package devel
Summary: Header and development files
Requires: %{name} = %{version}-%{release}
Requires: libXi-devel
%description devel
It contains the libraries and header files to create applications
%prep
%autosetup
%build
%configure
%make_build
%install
%make_install %{?_smp_mflags}
%ldconfig_scriptlets
%clean
rm -rf %{buildroot}/*
%files
%defattr(-,root,root)
%{_libdir}/*.so.*
%files devel
%defattr(-,root,root)
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/pkgconfig
%{_libdir}/*.a
%{_datadir}/*
%changelog
* Fri Aug 19 2022 Shivani Agarwal <shivania2@vmware.com> 1.2.3-1
- Upgrade version 1.2.3
* Tue May 19 2015 Alexey Makhalov <amakhalov@vmware.com> 1.2.2-1
- initial version

View File

@ -0,0 +1,82 @@
Summary: library for handling OpenGL function pointer management.
Name: libepoxy
Version: 1.5.10
Release: 1%{?dist}
License: MIT
URL: https://github.com/anholt/libepoxy
Group: System Environment/Libraries
Vendor: VMware, Inc.
Distribution: Photon
Source0: https://github.com/anholt/libepoxy/releases/download/%{version}/%{name}-%{version}.tar.gz
%define sha512 %{name}=6786f31c6e2865e68a90eb912900a86bf56fd3df4d78a477356886ac3b6ef52ac887b9c7a77aa027525f868ae9e88b12e5927ba56069c2e115acd631fca3abee
BuildRequires: meson >= 0.50
BuildRequires: libglvnd-devel
BuildRequires: libX11-devel
BuildRequires: libglvnd-egl
BuildRequires: libglvnd-glx
BuildRequires: libglvnd-gles
BuildRequires: libglvnd
BuildRequires: libX11
Requires: libX11
Requires: libglvnd
Requires: libglvnd-egl
Requires: libglvnd-glx
Requires: libglvnd-gles
%description
libepoxy is a library for handling OpenGL function pointer management.
%package devel
Summary: Header and development files
Requires: %{name} = %{version}-%{release}
Requires: libglvnd-devel
%description devel
It contains the libraries and header files to create applications
%prep
%autosetup -p1
%build
%meson \
-Degl=yes \
-Dglx=yes \
-Dtests=true \
%{nil}
%meson_build
%install
%meson_install
%ldconfig_scriptlets
%check
%meson_test
%clean
rm -rf %{buildroot}/*
%files
%defattr(-,root,root)
%{_libdir}/*.so.*
%files devel
%defattr(-,root,root)
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/pkgconfig/
%changelog
* Tue Aug 23 2022 Shivani Agarwal <shivania2@vmware.com> 1.5.10-1
- Version update
* Wed Aug 04 2021 Alexey Makhalov <amakhalov@vmware.com> 1.5.8-1
- Version update
* Thu Jun 13 2019 Alexey Makhalov <amakhalov@vmware.com> 1.4.0-1
- Version update
* Tue May 19 2015 Alexey Makhalov <amakhalov@vmware.com> 1.2-1
- Initial version

View File

@ -0,0 +1,58 @@
Summary: X11 Fontenc runtime library.
Name: libfontenc
Version: 1.1.2
Release: 1%{?dist}
License: MIT
URL: http://www.x.org
Group: System Environment/Libraries
Vendor: VMware, Inc.
Distribution: Photon
Source0: http://ftp.x.org/pub/individual/lib/%{name}-%{version}.tar.bz2
%define sha512 %{name}=e0905592b7ef65acb8298b9807f90e68d18eddf3112c6232c1c774603c95ca7ec7f6db161e133dadc00d8791c5f76d4c3d65aa95544a1500c0767b88fdb52f45
BuildRequires: pkg-config
BuildRequires: proto
BuildRequires: zlib-devel
Requires: zlib
Provides: pkgconfig(fontenc)
%description
The X11 Fontenc runtime library.
%package devel
Summary: Header and development files
Requires: %{name} = %{version}-%{release}
Requires: proto zlib-devel
%description devel
It contains the libraries and header files to create applications
%prep
%autosetup -p1
%build
%configure
%make_build
%install
%make_install %{?_smp_mflags}
%ldconfig_scriptlets
%files
%defattr(-,root,root)
%{_libdir}/*.so.*
%files devel
%defattr(-,root,root)
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/pkgconfig
%{_libdir}/*.a
%changelog
* Tue May 19 2015 Alexey Makhalov <amakhalov@vmware.com> 1.1.2-1
- initial version

View File

@ -0,0 +1,135 @@
Summary: The GL Vendor-Neutral Dispatch library
Name: libglvnd
Version: 1.4.0
Release: 1%{?dist}
License: MIT
URL: https://github.com/NVIDIA/libglvnd
Group: Development/Libraries/C and C++
Vendor: VMware, Inc.
Distribution: Photon
Source0: https://github.com/NVIDIA/libglvnd/archive/%{name}-%{version}.tar.gz
%define sha512 %{name}=2a1cf975a0453c4e3777e4380b1084d9d5ddfaf7fd96d97f7e503c1a3b46b2234245939626d5c816da8ad41b88dbf67ee0a8dbb7cc755852ed0b75a67caea8b0
BuildRequires: meson >= 0.50
BuildRequires: cmake
BuildRequires: libX11-devel
BuildRequires: libxml2-devel
BuildRequires: proto
%description
Vendor-neutral dispatch layer for arbitrating OpenGL API calls between
multiple vendors on a per-screen basis, as described by Andy Ritger's
OpenGL ABI proposal.
%package devel
Summary: Development/Libraries/C and C++
Requires: %{name} = %{version}-%{release}
%description devel
Vendor-neutral dispatch layer for arbitrating OpenGL API calls between
multiple vendors on a per-screen basis, as described by Andy Ritger's
OpenGL ABI proposal. This package contains the required files for
development.
%package opengl
Summary: OpenGL support for libglvnd
Requires: %{name} = %{version}-%{release}
%description opengl
libOpenGL is the common dispatch interface for the workstation OpenGL API.
%package gles
Summary: GLES support for libglvnd
Requires: %{name} = %{version}-%{release}
%description gles
libGLESv is the common dispatch interface for the workstation GLES API.
%package egl
Summary: EGL support for libglvnd
Requires: %{name} = %{version}-%{release}
%description egl
libEGL is the common dispatch interface for the workstation EGL API.
%package glx
Summary: GLX support for libglvnd
Requires: %{name} = %{version}-%{release}
%description glx
libGL and libGLX are the common dispatch interface for the workstation GLX API.
%prep
%autosetup -n %{name}-%{version} -p1
%build
%meson \
-Degl=true \
--buildtype=release \
--auto-features=auto \
%{nil}
%meson_build
%install
%meson_install
%ldconfig_scriptlets
%check
%meson_test
%clean
rm -rf %{buildroot}/*
%files
%defattr(-,root,root)
%{_libdir}/libGLdispatch.so.0*
%ldconfig_scriptlets opengl
%files opengl
%defattr(-,root,root)
%{_libdir}/libOpenGL.so.0*
%ldconfig_scriptlets gles
%files gles
%defattr(-,root,root)
%{_libdir}/libGLES*.so.*
%ldconfig_scriptlets glx
%files glx
%defattr(-,root,root)
%{_libdir}/libGL.so.*
%{_libdir}/libGLX.so.*
%ldconfig_scriptlets egl
%files egl
%defattr(-,root,root)
%{_libdir}/libEGL*.so.*
%files devel
%defattr(-,root,root)
%dir %{_includedir}/EGL/
%dir %{_includedir}/GL/
%dir %{_includedir}/GLES/
%dir %{_includedir}/GLES2/
%dir %{_includedir}/GLES3/
%dir %{_includedir}/KHR/
%{_includedir}/EGL/*.h
%{_includedir}/GL/*.h
%{_includedir}/GLES/*.h
%{_includedir}/GLES2/*.h
%{_includedir}/GLES3/*.h
%{_includedir}/KHR/*.h
%{_libdir}/lib*.so
%{_libdir}/pkgconfig/gl*.pc
%{_libdir}/pkgconfig/egl.pc
%{_libdir}/pkgconfig/opengl.pc
%dir %{_includedir}/glvnd/
%{_includedir}/glvnd/*.h
%{_libdir}/pkgconfig/libglvnd.pc
%changelog
* Fri Sep 2 2022 Shivani Agarwal <shivania2@vmware.com> 1.4.0-1
- Initial Version

View File

@ -0,0 +1,118 @@
Summary: X.Org X11 XKB parsing library
Name: libxkbcommon
Version: 1.4.1
Release: 1%{?dist}
License: MIT
URL: https://xkbcommon.org
Group: System Environment/Libraries
Vendor: VMware, Inc.
Distribution: Photon
Source0: https://xkbcommon.org/download/%{name}-%{version}.tar.xz
%define sha512 %{name}=757b340aeab6d187917807a88015b5113475ab2172aaaa8e530b40ea60619b3fbdfa668fd62707d66ed8fb763e68fee19394fcbd519af7c01d8975c59fdf0d89
BuildRequires: cmake
BuildRequires: meson >= 0.50
BuildRequires: libX11-devel
BuildRequires: libxml2-devel
BuildRequires: bison
Requires: libX11
Requires: libxml2
%description
%{name} is the X.Org library for compiling XKB maps into formats usable by
the X Server or other display servers.
%package devel
Summary: X.Org X11 XKB parsing development package
Requires: %{name} = %{version}-%{release}
%description devel
X.Org X11 XKB parsing development package
%package x11
Summary: X.Org X11 XKB keymap creation library
Requires: %{name} = %{version}-%{release}
%description x11
%{name}-x11 is the X.Org library for creating keymaps by querying the X
server.
%package x11-devel
Summary: X.Org x11 XKB keymap creation library
Requires: %{name}-x11 = %{version}-%{release}
%description x11-devel
X.Org X11 XKB keymap creation library development package
%package utils
Summary: X.Org X11 XKB parsing utilities
Requires: %{name} = %{version}-%{release}
%description utils
%{name}-utils is a set of utilities to analyze and test XKB parsing.
%prep
%autosetup -p1
%build
%meson \
-Denable-docs=false \
-Denable-x11=true \
-Denable-wayland=false \
%{nil}
%meson_build
%install
%meson_install
%ldconfig_scriptlets
%check
%meson_test
%clean
rm -rf %{buildroot}/*
%files
%defattr(-,root,root)
%{_libdir}/libxkbcommon.so.0.0.0
%{_libdir}/libxkbcommon.so.0
%{_libdir}/libxkbregistry.so.0.0.0
%{_libdir}/libxkbregistry.so.0
%files devel
%defattr(-,root,root)
%{_libdir}/libxkbcommon.so
%{_libdir}/libxkbregistry.so
%dir %{_includedir}/xkbcommon/
%{_includedir}/xkbcommon/xkbcommon.h
%{_includedir}/xkbcommon/xkbcommon-compat.h
%{_includedir}/xkbcommon/xkbcommon-compose.h
%{_includedir}/xkbcommon/xkbcommon-keysyms.h
%{_includedir}/xkbcommon/xkbcommon-names.h
%{_includedir}/xkbcommon/xkbregistry.h
%{_libdir}/pkgconfig/xkbcommon.pc
%{_libdir}/pkgconfig/xkbregistry.pc
%{_bindir}/xkbcli
%{_libexecdir}/*
%{_mandir}/man1/*
%ldconfig_scriptlets x11
%files x11
%defattr(-,root,root)
%{_libdir}/libxkbcommon-x11.so.0.0.0
%{_libdir}/libxkbcommon-x11.so.0
%files x11-devel
%defattr(-,root,root)
%{_libdir}/libxkbcommon-x11.so
%{_includedir}/xkbcommon/xkbcommon-x11.h
%{_libdir}/pkgconfig/xkbcommon-x11.pc
%changelog
* Sun Sep 4 2022 Shivani Agarwal <shivania2@vmware.com> 1.4.1-1
- Initial version

View File

@ -1,7 +1,7 @@
Summary: Mesa is an OpenGL compatible 3D graphics library.
Name: mesa
Version: 22.2.2
Release: 1%{?dist}
Release: 2%{?dist}
License: MIT
URL: http://www.mesa3d.org
Group: System Environment/Libraries
@ -37,12 +37,30 @@ Provides: pkg-config(dri)
%description
Mesa is an OpenGL compatible 3D graphics library.
%package vulkan-drivers
%package vulkan-drivers
Summary: Mesa Vulkan drivers
%description vulkan-drivers
%description vulkan-drivers
The drivers with support for the Vulkan API.
%package libgbm
Summary: Mesa gbm runtime library
Requires: expat
Requires: libdrm
Requires: libwayland-server
Provides: libgbm
%description libgbm
Mesa gbm runtime library.
%package libgbm-devel
Summary: Mesa libgbm development package
Requires: %{name}-libgbm = %{version}-%{release}
Provides: libgbm-devel
%description libgbm-devel
Mesa libgbm development package.
%prep
%autosetup -p1
@ -61,7 +79,7 @@ The drivers with support for the Vulkan API.
-Dshared-glapi=disabled \
-Dgles1=disabled \
-Dopengl=false \
-Dgbm=disabled \
-Dgbm=enabled \
-Dglx=disabled \
-Degl=disabled \
-Dglvnd=false \
@ -104,7 +122,20 @@ rm -rf %{buildroot}/*
%{_datadir}/vulkan/icd.d/radeon_icd.x86_64.json
%endif
%files libgbm
%defattr(-,root,root)
%{_libdir}/libgbm.so.1
%{_libdir}/libgbm.so.1.*
%files libgbm-devel
%defattr(-,root,root)
%{_libdir}/libgbm.so
%{_includedir}/gbm.h
%{_libdir}/pkgconfig/gbm.pc
%changelog
* Wed Nov 30 2022 Shivani Agarwal <shivania2@vmware.com> 22.2.2-2
- Enable libgbm
* Tue Oct 25 2022 Gerrit Photon <photon-checkins@vmware.com> 22.2.2-1
- Automatic Version Bump
* Tue Sep 27 2022 Shreenidhi Shedi <sshedi@vmware.com> 22.2.0-1

View File

@ -1,7 +1,7 @@
Summary: library for laying out and rendering of text.
Name: pango
Version: 1.50.11
Release: 1%{?dist}
Release: 2%{?dist}
License: LGPLv2 or MPLv1.1
URL: http://pango.org
Group: System Environment/Libraries
@ -20,12 +20,17 @@ BuildRequires: meson
BuildRequires: pkg-config
BuildRequires: fribidi-devel
BuildRequires: cmake
BuildRequires: libX11-devel
BuildRequires: libXext-devel
BuildRequires: gobject-introspection-devel
BuildRequires: libpng-devel
Requires: freetype2
Requires: fontconfig
Requires: fribidi
Requires: glib
Requires: harfbuzz
Requires: freetype2
Requires: fontconfig
Requires: fribidi
Requires: glib
Requires: harfbuzz
Requires: libpng
%description
Pango is a library for laying out and rendering of text, with an emphasis on internationalization.
@ -35,6 +40,11 @@ Pango can be used anywhere that text layout is needed, though most of the work o
Summary: Header and development files
Requires: %{name} = %{version}-%{release}
Requires: harfbuzz-devel
Requires: glib-devel
Requires: cairo-devel
Requires: libpng-devel
Requires: fontconfig-devel
Requires: fribidi-devel
%description devel
It contains the libraries and header files to create applications
@ -46,7 +56,7 @@ It contains the libraries and header files to create applications
%meson \
-Dlibthai=disabled \
-Dxft=disabled \
-Dintrospection=disabled
-Dintrospection=enabled
%meson_build
@ -67,14 +77,18 @@ rm -rf %{buildroot}/*
%defattr(-,root,root)
%{_bindir}/*
%{_libdir}/*.so.*
%{_datadir}/gir-1.0/*
%files devel
%defattr(-,root,root)
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/girepository-1.0/
%{_libdir}/pkgconfig/*.pc
%changelog
* Wed Nov 30 2022 Shivani Agarwal <shivania2@vmware.com> 1.50.11-2
- Enabled introspection
* Sun Nov 13 2022 Shreenidhi Shedi <sshedi@vmware.com> 1.50.11-1
- Upgrade to v1.50.11
* Tue Apr 04 2017 Dheeraj Shetty <dheerajs@vmware.com> 1.40.4-1

View File

@ -4,11 +4,19 @@
%define kbproto_ver 1.0.7
%define renderproto_ver 0.11.1
%define randrproto_ver 1.5.0
%define fixesproto_ver 5.0
%define compositeproto_ver 0.4.2
%define damageproto_ver 1.2.1
%define recordproto_ver 1.14.2
%define scrnsaverproto_ver 1.2.2
%define glproto_ver 1.4.17
%define xineramaproto_ver 1.2.1
%define fontsproto_ver 2.1.3
Summary: The Xorg protocol headers.
Name: proto
Version: 7.7
Release: 3%{?dist}
Release: 4%{?dist}
License: MIT
URL: http://www.x.org
Group: Development/System
@ -34,6 +42,30 @@ Source4: http://ftp.x.org/pub/individual/proto/renderproto-%{renderproto_ver}.ta
Source5: http://ftp.x.org/pub/individual/proto/randrproto-%{randrproto_ver}.tar.bz2
%define sha512 randrproto=5c56f6acfe3a9da5ffda45e4af2da5081a5116d53f4d2dafe399eae168656727927ca0fb4c29fc6583e87709ac83b025ae206fba9356ebf9e26d3ff545da57f4
Source6: http://ftp.x.org/pub/individual/proto/fixesproto-%{fixesproto_ver}.tar.bz2
%define sha512 fixesproto=93c6a8b6e4345c3049c08f2f3960f5eb5f92c487f26d227430964361bf82041b49e61f873fbbb8ee0e111556f90532b852c20e6082ee8008be641373251fa78c
Source7: http://ftp.x.org/pub/individual/proto/compositeproto-%{compositeproto_ver}.tar.bz2
%define sha512 compositeproto=ad5e4d87b77a8447c228ca85ac8d010d93b5c64929dc866e99a25700b9905f7c3f22e48f8c7fdc54e87879ddcc90e5d4adc338aeea393d7057b19b5ccae31f11
Source8: http://ftp.x.org/pub/individual/proto/damageproto-%{damageproto_ver}.tar.bz2
%define sha512 damageproto=f124e85fb3cc70ed3536cb9db57ac93461bbb5df1a713bc6b67a5ea49122556c321781ca150df681502f6ccfb7305f290e131ad25ce9ccbff5af268df11c86fc
Source9: http://ftp.x.org/pub/individual/proto/recordproto-%{recordproto_ver}.tar.bz2
%define sha512 recordproto=ab82d966ffacb46c001df15b272ca58f996826dc6f6835d3dc4d385b31c682acacb073a380d61938e2f242bffdabdd9b8f7107cd5ac67cb7aa3a28cc14a8ea02
Source10: http://ftp.x.org/pub/individual/proto/scrnsaverproto-%{scrnsaverproto_ver}.tar.bz2
%define sha512 scrnsaverproto=e74a512a6101967983a1d713d22a1f456f77519998116ef0f0a9e4b44ae4730ecd41eb9c0f7fa53e9f5c94967541daf10693d701af832597f5347461c5990ebc
Source11: http://ftp.x.org/pub/individual/proto/glproto-%{glproto_ver}.tar.bz2
%define sha512 glproto=3e5bb1949ab9993e07d2ed7e829b9e0a8803eab476e9f4082fc01087c3dce01f3bcb9d55261eaf60e55977a689b326ed1dcf40f74d5e1fc660c83bea094b6754
Source12: http://ftp.x.org/pub/individual/proto/xineramaproto-%{xineramaproto_ver}.tar.bz2
%define sha512 xineramaproto=ec2194c9bcad3f0f3eb3e9298792272213aa032ae9d6c00dcad567f31d7278a8c676fc67f47aae1a6deef5bade0b204346ed16da4a4c4d5a507c04d109d3dbb3
Source13: http://ftp.x.org/pub/individual/proto/fontsproto-%{fontsproto_ver}.tar.bz2
%define sha512 fontsproto=f46d5b733aa48644aa3aa75d4ed47231ef78cb60f747f7200d82331a1ba566190bf37b5b9926c690dec6356043ce7c85a5b59fc1b4b11667ef432518b5d4cc87
BuildRequires: pkg-config
Provides: pkgconfig(xproto)
@ -42,20 +74,18 @@ The Xorg protocol headers provide the header files required to build the system,
%prep
# Using autosetup is not feasible
%setup -q -c %{name}-%{version} -a0 -a1 -a2 -a3 -a4 -a5
%setup -q -c %{name}-%{version} -a0 -a1 -a2 -a3 -a4 -a5 -a6 -a7 -a8 -a9 -a10 -a11 -a12 -a13
%build
for pkg in `ls`; do
pushd $pkg
%configure
popd
pushd $pkg
%configure
popd
done
%install
for pkg in `ls`; do
pushd $pkg
make %{?_smp_mflags} DESTDIR=%{buildroot} install
popd
make -C $pkg %{?_smp_mflags} DESTDIR=%{buildroot} install
done
%clean
@ -63,10 +93,15 @@ rm -rf %{buildroot}/*
%files
%defattr(-,root,root)
%{_prefix}/*
%{_includedir}/X11/*
%{_includedir}/GL/*
%exclude %{_includedir}/X11/extensions/XKBgeom.h
%{_libdir}/pkgconfig/*
%{_docdir}/*
%changelog
* Thu Sep 8 2022 Shivani Agarwal <shivania2@vmware.com> 7.7-4
- Added fixesproto, compositeproto, damageproto, recordproto, scrnsaverproto, glproto, xineramaproto, fontsproto
* Tue Jul 12 2022 Shivani Agarwal <shivania2@vmware.com> 7.7-3
- Updated kbproto
* Thu Jun 13 2019 Alexey Makhalov <amakhalov@vmware.com> 7.7-2

View File

@ -0,0 +1,55 @@
Summary: MIME database
Name: shared-mime-info
Version: 2.2
Release: 1%{?dist}
License: GPLv2+
URL: http://freedesktop.org
Group: Applications/Internet
Vendor: VMware, Inc.
Distribution: Photon
Source0: http://freedesktop.org/~hadess/%{name}-%{version}.tar.gz
%define sha512 %{name}=490d96daf4214ab6ac537761b67f3ff4716b95d7ea3fedd2e2ab7b0b02d946acad49790a25efcb5e949551dc4c39ba08911e59f06b198b61dcb1bc44799a2b2e
BuildRequires: meson
BuildRequires: cmake
BuildRequires: intltool
BuildRequires: glib-devel
BuildRequires: libxml2-devel
Requires: gettext
Requires: glib
Requires: libxml2
%description
The Shared Mime Info package contains a MIME database.
This allows central updates of MIME information for all supporting applications.
%prep
%autosetup -p1
%build
%meson
%meson_build
%install
%meson_install
%ldconfig_scriptlets
%check
%meson_test
%clean
rm -rf %{buildroot}/*
%files
%defattr(-,root,root)
%{_bindir}/*
%{_datadir}/*
%changelog
* Mon Aug 22 2022 Shivani Agarwal <shivania2@vmware.com> 2.2-1
- Upgrade to version 2.2
* Wed Jun 3 2015 Alexey Makhalov <amakhalov@vmware.com> 1.4-1
- initial version

View File

@ -0,0 +1,40 @@
Summary: m4 macros used by all of the Xorg packages.
Name: util-macros
Version: 1.19.0
Release: 1%{?dist}
License: MIT
URL: http://www.x.org
Group: Development/System
BuildArch: noarch
Vendor: VMware, Inc.
Distribution: Photon
Source0: http://ftp.x.org/pub/individual/util/%{name}-%{version}.tar.bz2
%define sha512 %{name}=6820fced14e28d505ed47c4e7e9fae17340e93caf94cc983683128b53833e257aed636bcac6204ed87ddc10132473ceb4bd2f6de53ea66ab8f71b8cd23fbfc15
%description
The util-macros package contains the m4 macros used by all of the Xorg packages.
%prep
%autosetup -p1
%build
%configure
%install
%make_install %{?_smp_mflags}
%ldconfig_scriptlets
%clean
rm -rf %{buildroot}/*
%files
%defattr(-,root,root)
%{_datadir}/aclocal/xorg-macros.m4
%{_datadir}/pkgconfig/xorg-macros.pc
%{_datadir}/util-macros
%changelog
* Fri May 15 2015 Alexey Makhalov <amakhalov@vmware.com> 1.19.0-1
- initial version

View File

@ -0,0 +1,73 @@
Summary: The Xorg applications.
Name: xorg-applications
Version: 7.7
Release: 3%{?dist}
License: MIT
URL: http://www.x.org
Group: Development/System
Vendor: VMware, Inc.
Distribution: Photon
Source0: http://ftp.x.org/pub/individual/app/bdftopcf-1.1.tar.bz2
%define sha512 bdftopcf=7b790e8d512ca2812ac889c156ef91c48798b4744a6857e5b17e0128764b5afa8c5426fe5de05a9819d64745116718db4221b3e657e3c2633465e87179c44bec
Source1: http://ftp.x.org/pub/individual/app/mkfontdir-1.0.7.tar.bz2
%define sha512 mkfontdir=96d1920565514f90621e18a87fb5a2db9e052d1bffc6552d9659e065a21e252ab98b4e62013755032b98ed6d8c3381eb75c3c8e02651766ee4791ca622dcef1f
Source2: http://ftp.x.org/pub/individual/app/mkfontscale-1.1.2.tar.bz2
%define sha512 mkfontscale=5c3331f66cd523afe95347aa36440655ba8fdbc716c5987a24ad624c1fbd718c4a8d67aa36330f6d5ab2eb5a6195a409a041954568c0a3375c0e2aeb6a955601
BuildRequires: libX11-devel
BuildRequires: libXfont2-devel
Requires: libX11
Requires: libXfont2
%description
The Xorg applications provide the expected applications available in previous X Window implementations.
%prep
# Using autosetup is not feasible
%setup -q -c %{name}-%{version} -a0 -a1 -a2
%build
for pkg in `ls` ; do
pushd $pkg
case $pkg in
luit-[0-9]* )
line1="#ifdef _XOPEN_SOURCE"
line2="# undef _XOPEN_SOURCE"
line3="# define _XOPEN_SOURCE 600"
line4="#endif"
sed -i -e "s@#ifdef HAVE_CONFIG_H@$line1\n$line2\n$line3\n$line4\n\n&@" sys.c
unset line1 line2 line3 line4
;;
sessreg-* )
sed -e 's/\$(CPP) \$(DEFS)/$(CPP) -P $(DEFS)/' -i man/Makefile.in
;;
esac
%configure
%make_build
popd
done
%install
for pkg in `ls` ; do
pushd $pkg
%make_install %{?_smp_mflags}
popd
done
%files
%defattr(-,root,root)
%{_bindir}/*
%{_datadir}/*
%changelog
* Fri Nov 18 2022 Shivani Agarwal <shivania2@vmware.com> 7.7-3
- Added bdftopcf, mkfontdir, mkfontscale
* Wed Nov 15 2017 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 7.7-2
- Updated build requires & requires to build with Photon 2.0
* Wed May 20 2015 Alexey Makhalov <amakhalov@vmware.com> 7.7-1
- initial version

View File

@ -0,0 +1,165 @@
Summary: The Xorg fonts.
Name: xorg-fonts
Version: 7.7
Release: 1%{?dist}
License: MIT
URL: http://www.x.org
Group: Development/System
Vendor: VMware, Inc.
Distribution: Photon
Source0: http://ftp.x.org/pub/individual/font/font-util-1.3.1.tar.bz2
%define sha512 font-util=9fd6dd4c0a01ede5f0b09ec0f9d316267ca086e2ee9526a43a4e4d6ce3cd67c977293bd3cf440328ca417292fcae1579888b24b7259eaf012230890210d74889
Source1: http://ftp.x.org/pub/individual/font/encodings-1.0.4.tar.bz2
%define sha512 encodings-1.0.4.tar.bz2=838d1c9489e9880bf1982dc14d34a48b624b7bc2c0fffbf28e2c24e1546b0602357ca31afef100053481d6a18e357085ef74ac7a82261daa1ac1398bc1e05d17
Source2: http://ftp.x.org/pub/individual/font/font-adobe-100dpi-1.0.3.tar.bz2
%define sha512 font-adobe-100dpi-1.0.3.tar.bz2=27ed98dcdbb9c174c7090cdd8fe230f7471d10b5dfc63e092640b5d0fc6ab351bc8ffa9a92bec1755f2780b3d9c1de3ad298c64b70a68b5e6879a8592ef32987
Source3: http://ftp.x.org/pub/individual/font/font-adobe-75dpi-1.0.3.tar.bz2
%define sha512 font-adobe-75dpi-1.0.3.tar.bz2=c0d851df5732e81027e265370751a606c6e4f5eea546d802608988dde02de35fa28238f709f48567191090bf18814f671b1a7f9f0b528d54949b0aa9403f266d
Source4: http://ftp.x.org/pub/individual/font/font-adobe-utopia-100dpi-1.0.4.tar.bz2
%define sha512 font-adobe-utopia-100dpi-1.0.4.tar.bz2=fecb9a9bde99a82787d12779ea579c8696dcce168acd74b478a879ae24d421d5978d5f69da651e8ff3b25dca355960aaa19f69f2bf61e540464887e546a7b94b
Source5: http://ftp.x.org/pub/individual/font/font-adobe-utopia-75dpi-1.0.4.tar.bz2
%define sha512 font-adobe-utopia-75dpi-1.0.4.tar.bz2=c569af760a62b00738be65546364587638e8c46e4a0765013747e9595d51bc0633908c72359e42e7ebf6240fdc6294b51512c0a096a5fe64b2bd300ccbff7b92
Source6: http://ftp.x.org/pub/individual/font/font-adobe-utopia-type1-1.0.4.tar.bz2
%define sha512 font-adobe-utopia-type1-1.0.4.tar.bz2=53ff2ce7b17824a0eed1be6c3e3386e51983389f5623e732ac898c4e08769c8720f6d6b7c75b6455e050ec5dc390376747ca4cdb9f831a218f9dd5ee5edcd0d6
Source7: http://ftp.x.org/pub/individual/font/font-alias-1.0.3.tar.bz2
%define sha512 font-alias-1.0.3.tar.bz2=05abfef4615722d8cf3f21ab1118494522553a75427140d9753b3d312f404735c20766ceacc1b53f9e783ea25ec8f2f6bdb8696525a4962afe29f524ed8b6552
Source8: http://ftp.x.org/pub/individual/font/font-arabic-misc-1.0.3.tar.bz2
%define sha512 font-arabic-misc-1.0.3.tar.bz2=46a416bf888afdb54f5dda6c9a7207dc069d14089ba14b262c60cb9ad427784c46e2a61b32a79f1d745e73ea657bbc36b48aa5d4bbd79f73a2d997b027ddfbc0
Source9: http://ftp.x.org/pub/individual/font/font-bh-100dpi-1.0.3.tar.bz2
%define sha512 font-bh-100dpi-1.0.3.tar.bz2=60532fb3bd25bad08b1db65f96fdd1cdb2ae5fd580729d7851f5b619f1ed6bdef4fec30111ec408cec9ae5e94f92ad9cf214214c01ac684f3a4bd8d43bafd8a2
Source10: http://ftp.x.org/pub/individual/font/font-bh-75dpi-1.0.3.tar.bz2
%define sha512 font-bh-75dpi-1.0.3.tar.bz2=fb19c7fe91b6cc0670b01d5b8165075866ad08796293650d6037d79211ca668decdcc1b3684774907c06073145919655690d78ccdcf2511db38b5879328a9f50
Source11: http://ftp.x.org/pub/individual/font/font-bh-lucidatypewriter-100dpi-1.0.3.tar.bz2
%define sha512 font-bh-lucidatypewriter-100dpi-1.0.3.tar.bz2=1862003c20aa7709ea07487a4326c619e2beb33b7069d644f438d64182b41a06039c69e2867921b4d12939612a4b8e1e1727fd15851aeab9a0361060183e3b0f
Source12: http://ftp.x.org/pub/individual/font/font-bh-lucidatypewriter-75dpi-1.0.3.tar.bz2
%define sha512 font-bh-lucidatypewriter-75dpi-1.0.3.tar.bz2=2bba19c10df8e95f95d59d5fc7c15380c91a5140b0fa490497dbdf78a5574adae06a5566941c8c61e4a9850712fc9ca16974173aeee771f41976f472f0a2de13
Source13: http://ftp.x.org/pub/individual/font/font-bh-ttf-1.0.3.tar.bz2
%define sha512 font-bh-ttf-1.0.3.tar.bz2=36b5b6bbc2894cd90a372e8131281a462b42d503be3e9af8565edbcd954b336690aa86a0b6fb162d865ba71b65669c5b911658c5b820effcea39d086d485be25
Source14: http://ftp.x.org/pub/individual/font/font-bh-type1-1.0.3.tar.bz2
%define sha512 font-bh-type1-1.0.3.tar.bz2=dc6cfe7d78a549ae5368ddd2bb3edc6746648b32e1f22bce87f6adc0845ef4827cd3b2472d0afa17a16a2c384e84f74f1c7d807510798bc69089920fdc5486da
Source15: http://ftp.x.org/pub/individual/font/font-bitstream-100dpi-1.0.3.tar.bz2
%define sha512 font-bitstream-100dpi-1.0.3.tar.bz2=10fd920d46d2cb1b314e8c2f05c202e9ffa74a4e5315f34790eba8bd8fcda865a6932eb712a7538624e69367647bcd6891e7015099e65463aeef772d0ba58bfd
Source16: http://ftp.x.org/pub/individual/font/font-bitstream-75dpi-1.0.3.tar.bz2
%define sha512 font-bitstream-75dpi-1.0.3.tar.bz2=9311a5b0cbe1613aca87fdf7fd9ab263eb1129e3c3eacbce54547f2185e151fb1237128b1b6d39f716f28694a486909564ecc9a0aef061438622d11b5661d650
Source17: http://ftp.x.org/pub/individual/font/font-bitstream-type1-1.0.3.tar.bz2
%define sha512 font-bitstream-type1-1.0.3.tar.bz2=71883f7fc0a68b4fb8ef30b8b8bdfd73ae1194b6d6495abde6c819eef7a91d6365ef1b4cae026d6c3fa7fddecc643b46b7ba1232cec404fcada49a92aaf1af61
Source18: http://ftp.x.org/pub/individual/font/font-cronyx-cyrillic-1.0.3.tar.bz2
%define sha512 font-cronyx-cyrillic-1.0.3.tar.bz2=b926c425644f94548ad831c38573009ae97d207a05c9d8a917018c2518911960280eb3861ae11d99bc8d001fb0dca1967712fb70ba4f413bc9d6ac8ef904b456
Source19: http://ftp.x.org/pub/individual/font/font-cursor-misc-1.0.3.tar.bz2
%define sha512 font-cursor-misc-1.0.3.tar.bz2=7ecb7f1c3c11da8b81fc0ff121fa6c1026b11f6c7878ffd0e4959df036511bc579d6b0552422ce13e26a8d188e3406631d2de55cab6b29bc7fce0416a8cffc83
Source20: http://ftp.x.org/pub/individual/font/font-daewoo-misc-1.0.3.tar.bz2
%define sha512 font-daewoo-misc-1.0.3.tar.bz2=7e97bc580f66a1316e366617d34e1dbefd576b47b9373ef34833aaaf2fdefc50befc2add5f038915db0b45fbdd56b77304a8a980bb72726479d429085c406f06
Source21: http://ftp.x.org/pub/individual/font/font-dec-misc-1.0.3.tar.bz2
%define sha512 font-dec-misc-1.0.3.tar.bz2=af755d51c4c59cdbe5d3dccf37990bc787373958feb984bb037c8d8aba8a0eb410965a3600886b5123d89e85e1ea0498b84dfa384fccbbcbcaf3549b83c839c6
Source22: http://ftp.x.org/pub/individual/font/font-ibm-type1-1.0.3.tar.bz2
%define sha512 font-ibm-type1-1.0.3.tar.bz2=cbd179522c936c4f956ff1fbdc48fc3a55990083b4f858c938c6a54c8526641b4f25eb3a6795d774630b75a0f4fbdf9c16e861e88b2cd95f04c524f95d40f90f
Source23: http://ftp.x.org/pub/individual/font/font-isas-misc-1.0.3.tar.bz2
%define sha512 font-isas-misc-1.0.3.tar.bz2=be6fb1d2c53550a462d1ab010fa7ac913990e83a22d4580c93b8f1f087aa6caa0e46bc87debca2b13b10e5611bd2fe7f6b4240367fb24f59b37f68ffb0e2586b
Source24: http://ftp.x.org/pub/individual/font/font-jis-misc-1.0.3.tar.bz2
%define sha512 font-jis-misc-1.0.3.tar.bz2=3ce4c96d54440045e84f54f7d790e350c05b0c56a72491941f2cd9ed7e2d1735ff4b41667501cf08d5d81ee19c9de6d43f88a8b59a3c5c55de9fb1696cae208c
Source25: http://ftp.x.org/pub/individual/font/font-micro-misc-1.0.3.tar.bz2
%define sha512 font-micro-misc-1.0.3.tar.bz2=7a546432225c22ae0aacf9ce88b617a7d1d6678ee1f5eb4b3a93e33764fb752f27bca3feda1312182517bbf7babd5f3700bb9b8de0ef6c35b1ae6e2ce7ab0b69
Source26: http://ftp.x.org/pub/individual/font/font-misc-cyrillic-1.0.3.tar.bz2
%define sha512 font-misc-cyrillic-1.0.3.tar.bz2=75e49cdb633f7ce5b9612d5adb0a85471c8fde5d55e8ccd9302f79f01e99e78b02449642c2cf785289f58d833bfa62042fce4253093fb17c87471559d1f9bdbf
Source27: http://ftp.x.org/pub/individual/font/font-misc-ethiopic-1.0.3.tar.bz2
%define sha512 font-misc-ethiopic-1.0.3.tar.bz2=b3e3f7462f37216796730a894761c7d60d5ede0f51351997e6c3c92e3136c788a2710690f482d05ed1396a4b6be452e1f871febc7e5b7a1a67e43bcc1ec7c77d
Source28: http://ftp.x.org/pub/individual/font/font-misc-meltho-1.0.3.tar.bz2
%define sha512 font-misc-meltho-1.0.3.tar.bz2=3f42fe3e127f74259d50754f4bb6d2560cb32d810fecf663bd09fddb34829d29b48f3cbfaf43d02dab70b559afb2f806f321076f83450ff3871604345a0cdb56
Source29: http://ftp.x.org/pub/individual/font/font-misc-misc-1.1.2.tar.bz2
%define sha512 font-misc-misc-1.1.2.tar.bz2=d0bf74142f9621746846ea7a6fe9ae298a303a09c65e05c7decb4f37b2f513a88d727bf3dc5a3566c30de83b83493f164be0118b41d704464f75700b55018c74
Source30: http://ftp.x.org/pub/individual/font/font-mutt-misc-1.0.3.tar.bz2
%define sha512 font-mutt-misc-1.0.3.tar.bz2=7b152f6c1464d806b1f76664d9b619858c3cb3ea63027b6be1f69897e939e3a0b5312ddf230e0a42a8f3e3701e50f41917cac6ce566c05bc74dfa49bdf2ed4db
Source31: http://ftp.x.org/pub/individual/font/font-schumacher-misc-1.1.2.tar.bz2
%define sha512 font-schumacher-misc-1.1.2.tar.bz2=f37a2bfce95458b11376c89767b5adaea03dcecd7ed5b99a19a3d263f48e70b15bf679826a794c55da26b5f1635ea5fa5772ffe44c9f77a1daab0744ed92300a
Source32: http://ftp.x.org/pub/individual/font/font-screen-cyrillic-1.0.4.tar.bz2
%define sha512 font-screen-cyrillic-1.0.4.tar.bz2=58f12a4cbd18e323daad75b32a01ab3980dca0046f8dd94ff4452606ab9316b8a208dda3bc8e9346c02993bd2b8bb2b3dfe3413ccf9fc6a907fc1ea5d236fa51
Source33: http://ftp.x.org/pub/individual/font/font-sony-misc-1.0.3.tar.bz2
%define sha512 font-sony-misc-1.0.3.tar.bz2=c397b4e5081b2946799d701b8c48fca9fd2d55b8fa1dd96d2b29c5cd9996bb7356ae12671bf3bd964e6313bdc154020ed6377534e59ce53067e955e4b37aee1d
Source34: http://ftp.x.org/pub/individual/font/font-sun-misc-1.0.3.tar.bz2
%define sha512 font-sun-misc-1.0.3.tar.bz2=52c4a38e49a94831999652d9830da841949c319083ea40492e83690e1e5c2d31ea1979046a420af0e51bc105b8697bb06b4a438485e82b130d7469ad4519e275
Source35: http://ftp.x.org/pub/individual/font/font-winitzki-cyrillic-1.0.3.tar.bz2
%define sha512 font-winitzki-cyrillic-1.0.3.tar.bz2=f98fa99c1b0e60160b362310a7fe5fd5798aaa686751a6784a697c546ed754e885537eeed39a1f973dbceabc962cb65b39af1d336649381a49feb6df9f23e2b7
Source36: http://ftp.x.org/pub/individual/font/font-xfree86-type1-1.0.4.tar.bz2
%define sha512 font-xfree86-type1-1.0.4.tar.bz2=2b4afc6cbb7953f8ba4aab7862d16b7b988ea6a4df6de8d41c8340d35a1cd53d6fcc26479ff88189d1de9f42804e4f56d70e9dbd7e75820eab4ac6ae3a96840c
BuildRequires: pkg-config
BuildRequires: xorg-applications
BuildRequires: util-macros
BuildRequires: libXfont2-devel
BuildRequires: font-util-devel
%description
The Xorg font packages provide needed fonts to the Xorg applications.
%prep
# Using autosetup is not feasible
%setup -q -c %{name}-%{version} -a1 -a2 -a3 -a4 -a5 -a6 -a7 -a8 -a9 -a10 -a11 -a12 -a13 -a14 -a15 -a16 -a17 -a18 -a19 -a20 -a21 -a22 -a23 -a24 -a25 -a26 -a27 -a28 -a29 -a30 -a31 -a32 -a33 -a34 -a35 -a36
%build
for pkg in `ls` ; do
pushd $pkg
%configure
make %{?_smp_mflags}
popd
done
%install
for pkg in `ls` ; do
pushd $pkg
make DESTDIR=%{buildroot} install
popd
done
install -vdm 755 %{buildroot}%{_datadir}/fonts
ln -svfn %{_prefix}/share/fonts/X11/OTF %{buildroot}%{_datadir}/fonts/X11-OTF
ln -svfn %{_prefix}/share/fonts/X11/TTF %{buildroot}%{_datadir}/fonts/X11-TTF
%clean
rm -rf %{buildroot}/*
%files
%defattr(-,root,root)
%{_sysconfdir}/*
%{_bindir}/*
%{_libdir}/pkgconfig/*
%{_datadir}/*
%changelog
* Wed May 20 2015 Alexey Makhalov <amakhalov@vmware.com> 7.7-1
- initial version