diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..65ed6e1 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +xoo-0.7.tar.gz +neo1973.png +/xoo-0.8.tar.gz diff --git a/dead.package b/dead.package deleted file mode 100644 index 5204a84..0000000 --- a/dead.package +++ /dev/null @@ -1 +0,0 @@ -Orphaned for 6+ weeks diff --git a/neo1973.png b/neo1973.png new file mode 100644 index 0000000..297b750 Binary files /dev/null and b/neo1973.png differ diff --git a/sources b/sources new file mode 100644 index 0000000..e6cae31 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +645c6433fe48eed5d4982a96dacbaa68 xoo-0.8.tar.gz diff --git a/xoo-0.7-glib.patch b/xoo-0.7-glib.patch new file mode 100644 index 0000000..b16c6a9 --- /dev/null +++ b/xoo-0.7-glib.patch @@ -0,0 +1,12 @@ +diff -up xoo-0.7/src/button.c.jx xoo-0.7/src/button.c +--- xoo-0.7/src/button.c.jx 2005-09-05 11:21:59.000000000 -0400 ++++ xoo-0.7/src/button.c 2012-01-11 17:05:35.943814368 -0500 +@@ -16,7 +16,7 @@ + #include "config.h" + #include + #include +-#include ++#include + #include + #include "fakedev.h" + diff --git a/xoo-0.8-neo1973.patch b/xoo-0.8-neo1973.patch new file mode 100644 index 0000000..1b3adee --- /dev/null +++ b/xoo-0.8-neo1973.patch @@ -0,0 +1,64 @@ +diff -Naur xoo-0.8-orig/data/Makefile.am xoo-0.8/data/Makefile.am +--- xoo-0.8-orig/data/Makefile.am 2007-11-25 09:54:43.000000000 -0500 ++++ xoo-0.8/data/Makefile.am 2012-10-29 11:16:22.511843626 -0400 +@@ -2,7 +2,8 @@ + dist_device_DATA = dot.png \ + ipaq3800.xml ipaq3800.png \ + ipaq4700.xml ipaq4700.png \ +- nokia-n800.xml nokia-n800.png ++ nokia-n800.xml nokia-n800.png \ ++ neo1973.xml neo1973.png + + uidir = $(pkgdatadir) + dist_ui_DATA = Xoo.glade +diff -Naur xoo-0.8-orig/data/Makefile.in xoo-0.8/data/Makefile.in +--- xoo-0.8-orig/data/Makefile.in 2007-11-25 09:55:28.000000000 -0500 ++++ xoo-0.8/data/Makefile.in 2012-10-29 11:17:10.966389675 -0400 +@@ -159,7 +159,8 @@ + dist_device_DATA = dot.png \ + ipaq3800.xml ipaq3800.png \ + ipaq4700.xml ipaq4700.png \ +- nokia-n800.xml nokia-n800.png ++ nokia-n800.xml nokia-n800.png \ ++ neo1973.xml neo1973.png + + uidir = $(pkgdatadir) + dist_ui_DATA = Xoo.glade +diff -Naur xoo-0.8-orig/data/neo1973.xml xoo-0.8/data/neo1973.xml +--- xoo-0.8-orig/data/neo1973.xml 1969-12-31 19:00:00.000000000 -0500 ++++ xoo-0.8/data/neo1973.xml 2012-10-29 11:14:56.392694498 -0400 +@@ -0,0 +1,34 @@ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ diff --git a/xoo.spec b/xoo.spec new file mode 100644 index 0000000..f683304 --- /dev/null +++ b/xoo.spec @@ -0,0 +1,137 @@ +Summary: Xoo is a graphical wrapper around xnest +Name: xoo +Version: 0.8 +Release: 12%{?dist} +License: GPLv2+ +# upstream was in the process of moving source to freedesktop.org +# but now seems to be at yoctoproject.org. Still all confusing +Url: http://www.freedesktop.org/wiki/Software/%{name}/ +Source0: http://downloads.yoctoproject.org/releases/%{name}/%{name}-%{version}.tar.gz +Source1: neo1973.png +Patch1: xoo-0.8-neo1973.patch +Patch2: xoo-0.7-glib.patch +Group: System Environment/Libraries +BuildRequires: gcc +BuildRequires: libXtst-devel, gtk2-devel, libglade2-devel, expat-devel +BuildRequires: libX11-devel, GConf2-devel,libXt-devel +Requires: xorg-x11-server-Xephyr + +%description +Xoo is a graphical wrapper around Xnest/Xephyr, the nested X server. You can +make Xnest look like a particular device's display and set up buttons on that +device. This is useful for embedded developers who want to simulate a target +device on their desktop machine. + +%prep +%setup -q +%patch1 -p1 -b .neo1973 +%patch2 -p1 -b .glib +cp %{SOURCE1} data/ +# ImplicitDSOlinking fix +sed -i 's/-lXtst/-lXtst -lX11/' configure.ac + +%build +%configure --with-x +make LDFLAGS=-lX11 %{?_smp_mflags} + +%install +rm -rf %{buildroot} +export DESTDIR=%{buildroot} +%{__make} install + +%files +%{_bindir}/xoo +%dir %attr(0755,root,root) %{_prefix}/share/%{name} +%{_prefix}/share/%{name}/* +%{_prefix}/share/applications/%{name}.desktop +%{_prefix}/share/pixmaps/%{name}.png +%doc README COPYING TODO AUTHORS NEWS + +%changelog +* Sat Jul 14 2018 Fedora Release Engineering - 0.8-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Fri Feb 09 2018 Fedora Release Engineering - 0.8-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Aug 03 2017 Fedora Release Engineering - 0.8-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 0.8-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 0.8-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Fri Feb 05 2016 Fedora Release Engineering - 0.8-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Fri Jun 19 2015 Fedora Release Engineering - 0.8-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Mon Aug 18 2014 Fedora Release Engineering - 0.8-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Sun Jun 08 2014 Fedora Release Engineering - 0.8-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sun Aug 04 2013 Fedora Release Engineering - 0.8-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Fri Feb 15 2013 Fedora Release Engineering - 0.8-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Mon Oct 29 2012 Paul Wouters - 0.8-1 +- Upgraded to 0.8 +- New url and upstream location +- Support Zephyr +- Fix implicit linking of -lX11 +- Cleanup specfile + +* Sun Jul 22 2012 Fedora Release Engineering - 0.7-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Wed Jan 11 2012 Adam Jackson 0.7-15 +- xoo-0.7-glib.patch: Fix for new glib + +* Tue Dec 06 2011 Adam Jackson - 0.7-14 +- Rebuild for new libpng + +* Mon Feb 07 2011 Fedora Release Engineering - 0.7-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Sat Oct 23 2010 Paul Wouters - 0.7-12 +- bz#599871 FTBFS xoo-0.7-11.fc12: ImplicitDSOLinking fix + +* Mon Jul 27 2009 Fedora Release Engineering - 0.7-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Thu Feb 26 2009 Fedora Release Engineering - 0.7-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Mon Aug 11 2008 Jason L Tibbitts III - 0.7-9 +- Fix license tag. +- Move %%configure call inside %%build. + +* Tue Feb 19 2008 Fedora Release Engineering - 0.7-8 +- Autorebuild for GCC 4.3 + +* Tue Aug 28 2007 Paul Wouters 0.7-7 +- Rebuild for new expat + +* Sat Jul 28 2007 Paul Wouters 0.7-6 +- Bump for EVR + +* Sat Jul 28 2007 Paul Wouters 0.7-4 +- Fixed patch file + +* Sat Jul 28 2007 Paul Wouters 0.7-3 +- Added neo1973 skins with permission of copyright holder + Sean Moss-Pultz + +* Thu Jul 5 2007 Paul Wouters 0.7-2 +- Dependancy fixes, removed post/postun sections. + +* Thu Apr 12 2007 Paul Wouters 0.7-1 +- Initial release +