[awesome] Import the package.

Thomas Moschny thm at fedoraproject.org
Fri Jun 1 16:31:34 UTC 2012


commit a2f0312193d248d99874275b9089016f5e284031
Author: Thomas Moschny <thm at fedoraproject.org>
Date:   Fri Jun 1 18:29:53 2012 +0200

    Import the package.

 .gitignore                         |    1 +
 0001-Desktop-file-fixes.patch      |   27 +++
 awesome-3.3-libev-pkg-config.patch |   10 +
 awesome-3.4-glib2_2_31.patch       |   28 +++
 awesome.spec                       |  324 ++++++++++++++++++++++++++++++++++++
 sources                            |    1 +
 6 files changed, 391 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..c5045a8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/awesome-3.4.11.tar.xz
diff --git a/0001-Desktop-file-fixes.patch b/0001-Desktop-file-fixes.patch
new file mode 100644
index 0000000..0f454c6
--- /dev/null
+++ b/0001-Desktop-file-fixes.patch
@@ -0,0 +1,27 @@
+From bf19ba514fa7b97763aff603b6a078c7bcc86b21 Mon Sep 17 00:00:00 2001
+From: Thomas Moschny <thomas.moschny at gmx.de>
+Date: Wed, 30 May 2012 12:54:39 +0200
+Subject: [PATCH] Desktop file fixes.
+
+- Remove an extra space after the group header.
+- Add required key 'Type'.
+---
+ awesome.desktop |    3 ++-
+ 1 files changed, 2 insertions(+), 1 deletions(-)
+
+diff --git a/awesome.desktop b/awesome.desktop
+index b88e1d5..8a7f354 100644
+--- a/awesome.desktop
++++ b/awesome.desktop
+@@ -1,6 +1,7 @@
+-[Desktop Entry] 
++[Desktop Entry]
+ Encoding=UTF-8
+ Name=awesome
+ Comment=Highly configurable framework window manager
+ TryExec=awesome
+ Exec=awesome
++Type=Application
+-- 
+1.7.7.6
+
diff --git a/awesome-3.3-libev-pkg-config.patch b/awesome-3.3-libev-pkg-config.patch
new file mode 100644
index 0000000..9247b0b
--- /dev/null
+++ b/awesome-3.3-libev-pkg-config.patch
@@ -0,0 +1,10 @@
+--- awesomeConfig.cmake	2009-05-07 00:23:18.954226059 +0200
++++ awesomeConfig.cmake.new	2009-05-07 00:24:55.972228342 +0200
+@@ -136,6 +136,7 @@ pkg_check_modules(AWESOME_COMMON_REQUIRE
+ 
+ pkg_check_modules(AWESOME_REQUIRED REQUIRED
+     glib-2.0
++    libev
+     cairo
+     x11
+     pango>=1.19.3
diff --git a/awesome-3.4-glib2_2_31.patch b/awesome-3.4-glib2_2_31.patch
new file mode 100644
index 0000000..d75c889
--- /dev/null
+++ b/awesome-3.4-glib2_2_31.patch
@@ -0,0 +1,28 @@
+From 4984a8fae0b024811d4161fdb3fccec54c8f2799 Mon Sep 17 00:00:00 2001
+From: Thomas Moschny <thomas.moschny at gmx.de>
+Date: Wed, 14 Dec 2011 20:00:53 +0100
+Subject: [PATCH] Starting with glib2 2.31.0, It is no longer possible to
+ include individual headers (like "ghash.h") -- you must
+ #include <glib.h>.
+
+Signed-off-by: Thomas Moschny <thomas.moschny at gmx.de>
+---
+ spawn.c |    2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/spawn.c b/spawn.c
+index 3c8cf07..a6d6c5e 100644
+--- a/spawn.c
++++ b/spawn.c
+@@ -24,7 +24,7 @@
+ #include <sys/types.h>
+ #include <sys/wait.h>
+ 
+-#include <glib/gspawn.h>
++#include <glib.h>
+ 
+ #include "spawn.h"
+ #include "screen.h"
+-- 
+1.7.7.4
+
diff --git a/awesome.spec b/awesome.spec
new file mode 100644
index 0000000..7464729
--- /dev/null
+++ b/awesome.spec
@@ -0,0 +1,324 @@
+Name:		awesome
+Version:	3.4.11
+Release:	5%{?dist}
+Summary:	Highly configurable, framework window manager for X. Fast, light and extensible
+Group:		User Interface/Desktops
+# common/buffer.[ch]: BSD
+License:	GPLv2+ and BSD
+URL:		http://awesome.naquadah.org
+Source0:	http://awesome.naquadah.org/download/%{name}-%{version}.tar.xz
+Patch0:		awesome-3.3-libev-pkg-config.patch
+Patch1:		awesome-3.4-glib2_2_31.patch
+Patch2:		0001-Desktop-file-fixes.patch
+
+BuildRequires:	cmake >= 2.8.0
+
+BuildRequires:	ImageMagick
+BuildRequires:	asciidoc
+BuildRequires:	doxygen
+BuildRequires:	gperf
+BuildRequires:	graphviz
+BuildRequires:	lua-devel
+BuildRequires:	luadoc
+BuildRequires:	xmlto
+BuildRequires:	pkgconfig(xcb) >= 1.6
+BuildRequires:	pkgconfig(xcb-icccm) >= 0.3.8
+BuildRequires:	pkgconfig(xcb-util) >= 0.3.8
+BuildRequires:	pkgconfig(cairo)
+BuildRequires:	pkgconfig(cairo-xcb)
+BuildRequires:	pkgconfig(dbus-1)
+BuildRequires:	pkgconfig(glib-2.0)
+BuildRequires:	pkgconfig(imlib2)
+BuildRequires:	pkgconfig(libstartup-notification-1.0) >= 0.10
+BuildRequires:	pkgconfig(libxdg-basedir) >= 1.0.0
+BuildRequires:	pkgconfig(pango) >= 1.19.3
+BuildRequires:	pkgconfig(pangocairo) >= 1.19.3
+BuildRequires:	pkgconfig(x11)
+BuildRequires:	pkgconfig(xcb-image) >= 0.3.0
+BuildRequires:	pkgconfig(xcb-keysyms) >= 0.3.4
+BuildRequires:	pkgconfig(xcb-randr)
+BuildRequires:	pkgconfig(xcb-shape)
+BuildRequires:	pkgconfig(xcb-xinerama)
+BuildRequires:	pkgconfig(xcb-xtest)
+BuildRequires:	pkgconfig(xproto) >= 7.0.15
+BuildRequires:	libev-devel
+BuildRequires:	desktop-file-utils
+Requires:	startup-notification >= 0.10
+# terminal used in the default configuration
+Requires:	xterm
+# optional but useful
+Requires:	rlwrap
+
+
+%description
+Awesome is a highly configurable, next generation framework window 
+manager for X. It is very fast, light and extensible.
+
+It is primary targeted at power users, developers and any people 
+dealing with every day computing tasks and want to have fine-grained 
+control on its graphical environment.
+
+
+%package 	doc
+Summary:	API doc files
+Group:		Documentation
+Requires:	%{name} = %{version}-%{release}
+
+%description	doc
+API doc files for awesome generated by luadoc.
+
+
+%prep
+%setup -q
+# Fedora specific patch - we provide pkgconfig support for libev
+# so we also provide it's usage in awesome
+%patch0
+# Patch for building against glib2 2.31, already sent upstream
+%patch1 -p1
+# Patch with small fixes of the .desktop file, sent upstream
+%patch2 -p1
+
+
+%build
+%cmake -DAWESOME_DOC_PATH=%{_docdir}/%{name}-%{version} -DXDG_CONFIG_DIR=%{_sysconfdir}/xdg
+make VERBOSE=1 %{?_smp_mflags}
+
+
+%install
+make DESTDIR="%{buildroot}" INSTALL="install -p" install 
+
+# fix permissions of generated docs
+chmod -R u=rwX,go=rX luadoc
+
+# verify desktop file
+desktop-file-validate %{buildroot}%{_datadir}/xsessions/%{name}.desktop
+
+
+%files
+%doc README BUGS AUTHORS LICENSE PATCHES STYLE
+%dir %{_sysconfdir}/xdg/%{name}
+%config(noreplace) %{_sysconfdir}/xdg/%{name}/rc.lua
+%{_bindir}/awesome
+%{_bindir}/awesome-client
+%{_bindir}/awsetbg
+%{_datadir}/%{name}
+%{_mandir}/man?/*
+%{_mandir}/*/man1/*
+%{_mandir}/*/man5/*
+%{_datadir}/xsessions/%{name}.desktop
+
+
+%files doc
+%doc luadoc/*
+
+
+%changelog
+* Wed May 30 2012 Thomas Moschny <thomas.moschny at gmx.de> - 3.4.11-5
+- Update License tag.
+- Fix permissions of generated HTML docs.
+- Patch and validate the .desktop file.
+
+* Thu May 24 2012 Thomas Moschny <thomas.moschny at gmx.de> - 3.4.11-4
+- Specfile cleanups.
+
+* Fri Apr  6 2012 Thomas Moschny <thomas.moschny at gmx.de> - 3.4.11-3
+- Rebuilt.
+
+* Wed Dec 14 2011 Thomas Moschny <thomas.moschny at gmx.de> - 3.4.11-2
+- Add patch to build against glib2 2.31.0 and later.
+
+* Mon Dec  5 2011 Thomas Moschny <thomas.moschny at gmx.de> - 3.4.11-1
+- Update to 3.4.11, add patch for older Fedora releases.
+- Add dependencies on xterm and rlwrap.
+- Rework BR section.
+
+* Tue Sep 27 2011 Thomas Moschny <thomas.moschny at gmx.de> - 3.4.10-3
+- Remove dependency on xsri.
+
+* Mon Sep 26 2011 Thomas Moschny <thomas.moschny at gmx.de> - 3.4.10-2
+- Rebuilt for newer cairo rpm.
+
+* Sun May 22 2011 Thomas Moschny <thomas.moschny at gmx.de> - 3.4.10-1
+- Update to 3.4.10.
+- Add dependencies to ease installation.
+
+* Mon Jan 17 2011 Michal Nowak <mnowak at redhat.com> 3.4.9-1
+- 3.4.9
+- require cmake >= 2.8.0
+
+* Mon Oct 18 2010 Michal Nowak <mnowak at redhat.com> 3.4.8-1
+- 3.4.8
+
+* Thu Aug 26 2010 Michal Nowak <mnowak at redhat.com> 3.4.7-1
+- 3.4.7
+
+* Fri Jul 23 2010 Michal Nowak <mnowak at redhat.com> 3.4.6-1
+- 3.4.6
+
+* Mon May 17 2010 Michal Nowak <mnowak at redhat.com> 3.4.5-1
+- 3.4.5
+- we ship non-English man pages with this release
+
+* Thu Mar  4 2010 Michal Nowak <mnowak at redhat.com> 3.4.4-1
+- 3.4.4
+
+* Mon Jan  4 2010 Michal Nowak <mnowak at redhat.com> 3.4.3-1
+- 3.4.3
+- .in files are finally not installed anymore
+
+* Wed Dec  2 2009 Michal Nowak <mnowak at redhat.com> 3.4.2-1
+- 3.4.2
+- use xz instead of bz2
+
+* Sun Nov 22 2009 Michal Nowak <mnowak at redhat.com> 3.4.1-1
+- 3.4.1
+
+* Thu Oct 22 2009 Michal Nowak <mnowak at redhat.com> 3.4-1
+- 3.4
+
+* Mon Oct 12 2009 Michal Nowak <mnowak at redhat.com> 3.4-0.3.rc3
+- 3.4~rc3
+
+* Tue Oct  6 2009 Michal Nowak <mnowak at redhat.com> 3.4-0.2.rc2
+- remove .in files in build root rather in source dir
+
+* Mon Oct  5 2009 Michal Nowak <mnowak at redhat.com> 3.4-0.1.rc2
+- 3.4-rc2
+
+* Fri Sep 18 2009 Jens Petersen <petersen at redhat.com> - 3.3.4-3
+- integrate rctag macro
+- simplify removal of .in files and filelist
+
+* Wed Sep 16 2009 Michal Nowak <mnowak at redhat.com> 3.3.4-2
+- libxdg-basedir-devel as BR
+
+* Wed Sep 16 2009 Michal Nowak <mnowak at redhat.com> 3.3.4-1
+- 3.3.4
+- BuildRequire: ImageMagick, libxdg-basedir
+
+* Sat Aug 29 2009 Michal Nowak <mnowak at redhat.com> 3.3.3-1
+- 3.3.3
+
+* Sat Aug  1 2009 Michal Nowak <mnowak at redhat.com> 3.3.2-1
+- 3.3.2
+
+* Mon Jun 22 2009 Michal Nowak <mnowak at redhat.com> 3.3.1-1
+- 3.3.1
+
+* Fri Jun 12 2009 Michal Nowak <mnowak at redhat.com> 3.3-1
+- 3.3
+
+* Thu May 28 2009 Michal Nowak <mnowak at redhat.com> 3.3-0.4.rc4
+- 3.3-rc4
+
+* Tue May 19 2009 Michal Nowak <mnowak at redhat.com> 3.3-0.3.rc3
+- 3.3-rc3
+
+* Thu May 13 2009 Michal Nowak <mnowak at redhat.com> 3.3-0.2.rc2
+- 3.3-rc2
+
+* Thu May  7 2009 Michal Nowak <mnowak at redhat.com> 3.3-0.1.rc1
+- 3.3-rc1
+
+* Mon Mar 16 2009 Michal Nowak <mnowak at redhat.com> 3.2-1
+- 3.2
+
+* Mon Mar  2 2009 Michal Nowak <mnowak at redhat.com> 3.2-0.2.rc4
+- 3.2-rc4
+
+* Fri Feb 20 2009 Michal Nowak <mnowak at redhat.com> 3.2-0.1.rc3
+- 3.2-rc3
+- more docs files
+
+* Tue Jan 13 2009 Michal Nowak <mnowak at redhat.com> 3.1.1-1
+- 3.1.1
+
+* Wed Dec 24 2008 Michal Nowak <mnowak at redhat.com> 3.1-2
+- minor SPEC-file changes
+
+* Sun Dec 14 2008 Michal Nowak <mnowak at redhat.com> 3.1-1
+- 3.1
+
+* Fri Sep 19 2008 Michal Nowak <mnowak at redhat.com> 3.0-1
+- bump to 3.0
+
+* Sat Sep 06 2008 Michal Nowak <mnowak at redhat.com> 3.0-0.8.rc6
+- bump to RC6
+- /usr/share/awesome/themes/default is now, again, config file
+
+* Fri Aug 29 2008 Michal Nowak <mnowak at redhat.com> 3.0-0.7.rc5
+- bump to RC5
+
+* Sun Aug 24 2008 Michal Nowak <mnowak at redhat.com> 3.0-0.6.rc4
+- bump to RC4
+- rejecting awesome-3.0-rc3-enhance-wallpaper-cmd.patch -- solved
+  upstream via awsetbg script
+- using imlib2 instead of GTK+ pixbuf
+
+* Mon Aug 18 2008 Michal Nowak <mnowak at redhat.com> 3.0-0.5.rc3
+- buildepend on readline-devel, glib2-devel, gtk2-devel, luadoc
+- install via "install -p"
+- %%{_datadir}/%%{name}/themes/default is not a config file no more,
+  having config file in /usr is kinda weird
+- added sub-package awesome-doc to handle API doc files
+
+* Sat Aug 16 2008 Michal Nowak <mnowak at redhat.com> 3.0-0.4.rc3
+- awesome-3.0-rc3-enhance-wallpaper-cmd.patch: enhance setting of wallpaper
+- new dep: xsri
+- %%{_datadir}/%%{name}/themes/default is now handled configfile
+
+* Thu Aug 15 2008 Michal Nowak <mnowak at redhat.com> 3.0-0.3.rc3
+- bump to RC3
+- xsession desktop file is now provided by upstream
+- dumped patches
+	awesome-3.0-rc1-fedora-doc-path.patch
+	awesome-3.0-rc2-fedora-xsession-path.patch
+  both are now in upstream
+- cmake is now need >2.6 (present in rawhide)
+
+* Thu Aug 11 2008 Michal Nowak <mnowak at redhat.com> 3.0-0.2.rc2
+- bump to RC2
+
+* Thu Aug 04 2008 Michal Nowak <mnowak at redhat.com> 3.0-0.1.rc1
+- bump to awesome v3-the new generation
+
+* Thu Jul 28 2008 Michal Nowak <mnowak at redhat.com> 2.3.3-1
+- version bump fixes two bugs
+- give floating dialogs of maximized windows focus
+- awesomerc: fix xterm -e in case of others terms
+
+* Thu Jul 17 2008 Michal Nowak <mnowak at redhat.com> 2.3.2-7
+- after some discussion I removed explicit dependency on libconfuse >= 2.6;
+  the thing is that awesome runs fine with libconfuse-2.5 but does not 
+  build with < 2.6. Some build-time hack might be possible but I am obviously
+  not going to be involved in this auto*magic. (thx Hans Ulrich Niedermann)
+
+* Wed Jul 16 2008 Michal Nowak <mnowak at redhat.com> 2.3.2-6
+- added libXinerama-devel, hopefully last BuildRequire
+
+* Wed Jul 16 2008 Michal Nowak <mnowak at redhat.com> 2.3.2-5
+- by mistake I removed BuildRequire on libconfuse-devel, 
+  now is back again (thanks Mamoru Tasaka)
+
+* Tue Jul 15 2008 Michal Nowak <mnowak at redhat.com> 2.3.2-4
+- small polishing in %%doc line
+
+* Mon Jul 14 2008 Michal Nowak <mnowak at redhat.com> 2.3.2-3
+- removed redundant libconfuse-devel in BuildRequires
+- %%{__install} .desktop file instead of install via desktop-file-install
+- changed the license to GPLv2+
+- changes in .desktop file
+- updated --docdir to include %%{version} too
+
+* Thu Jul 10 2008 Michal Nowak <mnowak at redhat.com> 2.3.2-2
+- bumped libconfuse BuildDependency to insist on version 2.6
+- changed buildroot to not to have random one
+- enhanced %%description
+
+* Thu Jul 3 2008 Michal Nowak <mnowak at redhat.com> 2.3.2-1
+- version bump
+- add libconfuse-devel as a build dep.
+- removed Fedora as a vendor from .desktop file
+
+* Sun Jun 22 2008 Michal Nowak <mnowak at redhat.com> 2.3.1-1
+- Initial package
diff --git a/sources b/sources
index e69de29..d96df00 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+d6aa71334b5cd4ef63ce69d6c612ecf2  awesome-3.4.11.tar.xz


More information about the scm-commits mailing list