Compare commits

..

No commits in common. "rawhide" and "f29" have entirely different histories.

7 changed files with 217 additions and 1 deletions

3
.gitignore vendored Normal file
View file

@ -0,0 +1,3 @@
xoo-0.7.tar.gz
neo1973.png
/xoo-0.8.tar.gz

View file

@ -1 +0,0 @@
Orphaned for 6+ weeks

BIN
neo1973.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 356 KiB

1
sources Normal file
View file

@ -0,0 +1 @@
645c6433fe48eed5d4982a96dacbaa68 xoo-0.8.tar.gz

12
xoo-0.7-glib.patch Normal file
View file

@ -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 <string.h>
#include <stdio.h>
-#include <glib/gmessages.h>
+#include <glib.h>
#include <gtk/gtkimage.h>
#include "fakedev.h"

64
xoo-0.8-neo1973.patch Normal file
View file

@ -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 @@
+<neo1973>
+
+<!--
+ Date: Sun, 22 Jul 2007 20:24:31 +0800
+ From: Sean Moss-Pultz <sean@openmoko.com>
+ To: Paul Wouters <paul@xelerance.com>
+ Subject: Re: OpenMoko Pictures
+ Message-ID: <46A34C7F.9000203@openmoko.com>
+
+ > On a related question. I would like to publish the openmoko skin
+ > with the Fedora Xoo package. Since you are the copyright holder
+ > (or can speak on its behalf), is it okay to bundle these with xoo,
+ > and if so, what is the license I can attach to these skins?
+
+ Sure.
+
+-->
+
+<!--
+ Example config 'device' file for an neo1973.
+ Hopefully the format is pretty self explanatory.
+-->
+
+<!--
+ first define the window size, image and display geometry for your
+ 'fake' device.
+-->
+
+<device width='660' height='1278'
+ display_width='480' display_height='640'
+ display_x='86' display_y='295'
+ img='neo1973.png' />
+
+</neo1973>

137
xoo.spec Normal file
View file

@ -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 <releng@fedoraproject.org> - 0.8-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.8-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.8-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.8-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.8-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.8-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Mon Oct 29 2012 Paul Wouters <pwouters@redhat.com> - 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 <rel-eng@lists.fedoraproject.org> - 0.7-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Wed Jan 11 2012 Adam Jackson <ajax@redhat.com> 0.7-15
- xoo-0.7-glib.patch: Fix for new glib
* Tue Dec 06 2011 Adam Jackson <ajax@redhat.com> - 0.7-14
- Rebuild for new libpng
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Sat Oct 23 2010 Paul Wouters <paul@xelerance.com> - 0.7-12
- bz#599871 FTBFS xoo-0.7-11.fc12: ImplicitDSOLinking fix
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Mon Aug 11 2008 Jason L Tibbitts III <tibbs@math.uh.edu> - 0.7-9
- Fix license tag.
- Move %%configure call inside %%build.
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.7-8
- Autorebuild for GCC 4.3
* Tue Aug 28 2007 Paul Wouters <paul@xelerance.com> 0.7-7
- Rebuild for new expat
* Sat Jul 28 2007 Paul Wouters <paul@xelerance.com> 0.7-6
- Bump for EVR
* Sat Jul 28 2007 Paul Wouters <paul@xelerance.com> 0.7-4
- Fixed patch file
* Sat Jul 28 2007 Paul Wouters <paul@xelerance.com> 0.7-3
- Added neo1973 skins with permission of copyright holder
Sean Moss-Pultz <sean@openmoko.com>
* Thu Jul 5 2007 Paul Wouters <paul@xelerance.com> 0.7-2
- Dependancy fixes, removed post/postun sections.
* Thu Apr 12 2007 Paul Wouters <paul@xelerance.com> 0.7-1
- Initial release