Actually commit awesome 3...

This commit is contained in:
Pierre Allegraud 2009-12-20 11:25:39 +00:00 committed by Thomas Klausner
parent f5fa3a9b80
commit 7d2791f4d8
6 changed files with 341 additions and 0 deletions

6
awesome/DESCR Normal file
View file

@ -0,0 +1,6 @@
awesome is a highly configurable, next generation framework window manager
for X. It is very fast, extensible and licensed under the GNU GPLv2 license.
It is primarly targeted at power users, developers and any people dealing
with every day computing tasks and who want to have fine-grained control
on theirs graphical environment.

44
awesome/Makefile Normal file
View file

@ -0,0 +1,44 @@
# $NetBSD: Makefile,v 1.13 2009/12/20 11:25:39 pallegra Exp $
#
DISTNAME= awesome-3.4.2
CATEGORIES= x11 wm
MASTER_SITES= http://awesome.naquadah.org/download/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pallegra@gmail.com
HOMEPAGE= http://awesome.naquadah.org/
COMMENT= Tiling window manager based on dwm
LICENSE= gnu-gpl-v2
PKG_DESTDIR_SUPPORT= user-destdir
CONFLICTS+= awesome<3.0
USE_TOOLS+= bash
USE_CMAKE= yes
CMAKE_ARGS+= -DSYSCONFDIR=${PKG_SYSCONFDIR}
MAKE_JOBS_SAFE= no
USE_LANGUAGES= c c++
REPLACE_BASH+= build-utils/gperf.sh
EGDIR= ${PREFIX}/share/examples/awesome
CONF_FILES= ${EGDIR}/rc.lua ${PKG_SYSCONFDIR}/xdg/awesome/rc.lua
BUILD_DEPENDS+= ImageMagick-[0-9]*:../../graphics/ImageMagick
BUILD_DEPENDS+= asciidoc>=8.3.0:../../textproc/asciidoc
BUILD_DEPENDS+= xmlto-[0-9]*:../../textproc/xmlto
BUILD_DEPENDS+= docbook-xml-[0-9]*:../../textproc/docbook-xml
.include "../../devel/gperf/buildlink3.mk"
.include "../../devel/libev/buildlink3.mk"
.include "../../graphics/imlib2/buildlink3.mk"
.include "../../lang/lua/buildlink3.mk"
.include "../../devel/pango/buildlink3.mk"
.include "../../x11/libxdg-basedir/buildlink3.mk"
.include "../../x11/xcb-util/buildlink3.mk"
.include "../../x11/startup-notification/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

208
awesome/PLIST Normal file
View file

@ -0,0 +1,208 @@
@comment $NetBSD: PLIST,v 1.9 2009/12/20 11:25:39 pallegra Exp $
bin/awesome
bin/awesome-client
bin/awsetbg
share/awesome/icons/awesome16.png
share/awesome/icons/awesome32.png
share/awesome/icons/awesome48.png
share/awesome/icons/awesome64.png
share/awesome/lib/awful/autofocus.lua
share/awesome/lib/awful/autofocus.lua.in
share/awesome/lib/awful/button.lua
share/awesome/lib/awful/button.lua.in
share/awesome/lib/awful/client.lua
share/awesome/lib/awful/client.lua.in
share/awesome/lib/awful/completion.lua
share/awesome/lib/awful/completion.lua.in
share/awesome/lib/awful/dbus.lua
share/awesome/lib/awful/dbus.lua.in
share/awesome/lib/awful/hooks.lua
share/awesome/lib/awful/hooks.lua.in
share/awesome/lib/awful/init.lua
share/awesome/lib/awful/init.lua.in
share/awesome/lib/awful/key.lua
share/awesome/lib/awful/key.lua.in
share/awesome/lib/awful/layout/init.lua
share/awesome/lib/awful/layout/init.lua.in
share/awesome/lib/awful/layout/suit/fair.lua
share/awesome/lib/awful/layout/suit/fair.lua.in
share/awesome/lib/awful/layout/suit/floating.lua
share/awesome/lib/awful/layout/suit/floating.lua.in
share/awesome/lib/awful/layout/suit/init.lua
share/awesome/lib/awful/layout/suit/init.lua.in
share/awesome/lib/awful/layout/suit/magnifier.lua
share/awesome/lib/awful/layout/suit/magnifier.lua.in
share/awesome/lib/awful/layout/suit/max.lua
share/awesome/lib/awful/layout/suit/max.lua.in
share/awesome/lib/awful/layout/suit/spiral.lua
share/awesome/lib/awful/layout/suit/spiral.lua.in
share/awesome/lib/awful/layout/suit/tile.lua
share/awesome/lib/awful/layout/suit/tile.lua.in
share/awesome/lib/awful/menu.lua
share/awesome/lib/awful/menu.lua.in
share/awesome/lib/awful/mouse/finder.lua
share/awesome/lib/awful/mouse/finder.lua.in
share/awesome/lib/awful/mouse/init.lua
share/awesome/lib/awful/mouse/init.lua.in
share/awesome/lib/awful/placement.lua
share/awesome/lib/awful/placement.lua.in
share/awesome/lib/awful/prompt.lua
share/awesome/lib/awful/prompt.lua.in
share/awesome/lib/awful/remote.lua
share/awesome/lib/awful/remote.lua.in
share/awesome/lib/awful/rules.lua
share/awesome/lib/awful/rules.lua.in
share/awesome/lib/awful/screen.lua
share/awesome/lib/awful/screen.lua.in
share/awesome/lib/awful/startup_notification.lua
share/awesome/lib/awful/startup_notification.lua.in
share/awesome/lib/awful/tag.lua
share/awesome/lib/awful/tag.lua.in
share/awesome/lib/awful/titlebar.lua
share/awesome/lib/awful/titlebar.lua.in
share/awesome/lib/awful/tooltip.lua
share/awesome/lib/awful/tooltip.lua.in
share/awesome/lib/awful/util.lua
share/awesome/lib/awful/util.lua.in
share/awesome/lib/awful/wibox.lua
share/awesome/lib/awful/wibox.lua.in
share/awesome/lib/awful/widget/button.lua
share/awesome/lib/awful/widget/button.lua.in
share/awesome/lib/awful/widget/common.lua
share/awesome/lib/awful/widget/common.lua.in
share/awesome/lib/awful/widget/graph.lua
share/awesome/lib/awful/widget/graph.lua.in
share/awesome/lib/awful/widget/init.lua
share/awesome/lib/awful/widget/init.lua.in
share/awesome/lib/awful/widget/launcher.lua
share/awesome/lib/awful/widget/launcher.lua.in
share/awesome/lib/awful/widget/layout/default.lua
share/awesome/lib/awful/widget/layout/default.lua.in
share/awesome/lib/awful/widget/layout/horizontal.lua
share/awesome/lib/awful/widget/layout/horizontal.lua.in
share/awesome/lib/awful/widget/layout/init.lua
share/awesome/lib/awful/widget/layout/init.lua.in
share/awesome/lib/awful/widget/layout/vertical.lua
share/awesome/lib/awful/widget/layout/vertical.lua.in
share/awesome/lib/awful/widget/layoutbox.lua
share/awesome/lib/awful/widget/layoutbox.lua.in
share/awesome/lib/awful/widget/progressbar.lua
share/awesome/lib/awful/widget/progressbar.lua.in
share/awesome/lib/awful/widget/prompt.lua
share/awesome/lib/awful/widget/prompt.lua.in
share/awesome/lib/awful/widget/taglist.lua
share/awesome/lib/awful/widget/taglist.lua.in
share/awesome/lib/awful/widget/tasklist.lua
share/awesome/lib/awful/widget/tasklist.lua.in
share/awesome/lib/awful/widget/textclock.lua
share/awesome/lib/awful/widget/textclock.lua.in
share/awesome/lib/beautiful.lua
share/awesome/lib/beautiful.lua.in
share/awesome/lib/naughty.lua
share/awesome/lib/naughty.lua.in
share/awesome/themes/default/background.png
share/awesome/themes/default/layouts/dwindle.png
share/awesome/themes/default/layouts/dwindlew.png
share/awesome/themes/default/layouts/fairh.png
share/awesome/themes/default/layouts/fairhw.png
share/awesome/themes/default/layouts/fairv.png
share/awesome/themes/default/layouts/fairvw.png
share/awesome/themes/default/layouts/floating.png
share/awesome/themes/default/layouts/floatingw.png
share/awesome/themes/default/layouts/fullscreen.png
share/awesome/themes/default/layouts/fullscreenw.png
share/awesome/themes/default/layouts/magnifier.png
share/awesome/themes/default/layouts/magnifierw.png
share/awesome/themes/default/layouts/max.png
share/awesome/themes/default/layouts/maxw.png
share/awesome/themes/default/layouts/spiral.png
share/awesome/themes/default/layouts/spiralw.png
share/awesome/themes/default/layouts/tile.png
share/awesome/themes/default/layouts/tilebottom.png
share/awesome/themes/default/layouts/tilebottomw.png
share/awesome/themes/default/layouts/tileleft.png
share/awesome/themes/default/layouts/tileleftw.png
share/awesome/themes/default/layouts/tiletop.png
share/awesome/themes/default/layouts/tiletopw.png
share/awesome/themes/default/layouts/tilew.png
share/awesome/themes/default/submenu.png
share/awesome/themes/default/taglist/squarefw.png
share/awesome/themes/default/taglist/squarew.png
share/awesome/themes/default/tasklist/floating.png
share/awesome/themes/default/tasklist/floatingw.png
share/awesome/themes/default/theme.lua
share/awesome/themes/default/theme.lua.in
share/awesome/themes/default/titlebar/close_focus.png
share/awesome/themes/default/titlebar/close_normal.png
share/awesome/themes/default/titlebar/floating_focus_active.png
share/awesome/themes/default/titlebar/floating_focus_inactive.png
share/awesome/themes/default/titlebar/floating_normal_active.png
share/awesome/themes/default/titlebar/floating_normal_inactive.png
share/awesome/themes/default/titlebar/maximized_focus_active.png
share/awesome/themes/default/titlebar/maximized_focus_inactive.png
share/awesome/themes/default/titlebar/maximized_normal_active.png
share/awesome/themes/default/titlebar/maximized_normal_inactive.png
share/awesome/themes/default/titlebar/ontop_focus_active.png
share/awesome/themes/default/titlebar/ontop_focus_inactive.png
share/awesome/themes/default/titlebar/ontop_normal_active.png
share/awesome/themes/default/titlebar/ontop_normal_inactive.png
share/awesome/themes/default/titlebar/sticky_focus_active.png
share/awesome/themes/default/titlebar/sticky_focus_inactive.png
share/awesome/themes/default/titlebar/sticky_normal_active.png
share/awesome/themes/default/titlebar/sticky_normal_inactive.png
share/awesome/themes/sky/awesome-icon.png
share/awesome/themes/sky/layouts/fairh.png
share/awesome/themes/sky/layouts/fairv.png
share/awesome/themes/sky/layouts/floating.png
share/awesome/themes/sky/layouts/fullscreen.png
share/awesome/themes/sky/layouts/magnifier.png
share/awesome/themes/sky/layouts/max.png
share/awesome/themes/sky/layouts/tile.png
share/awesome/themes/sky/layouts/tilebottom.png
share/awesome/themes/sky/layouts/tileleft.png
share/awesome/themes/sky/layouts/tiletop.png
share/awesome/themes/sky/sky-background.png
share/awesome/themes/sky/theme.lua
share/awesome/themes/sky/theme.lua.in
share/awesome/themes/zenburn/awesome-icon.png
share/awesome/themes/zenburn/layouts/dwindle.png
share/awesome/themes/zenburn/layouts/fairh.png
share/awesome/themes/zenburn/layouts/fairv.png
share/awesome/themes/zenburn/layouts/floating.png
share/awesome/themes/zenburn/layouts/fullscreen.png
share/awesome/themes/zenburn/layouts/magnifier.png
share/awesome/themes/zenburn/layouts/max.png
share/awesome/themes/zenburn/layouts/spiral.png
share/awesome/themes/zenburn/layouts/tile.png
share/awesome/themes/zenburn/layouts/tilebottom.png
share/awesome/themes/zenburn/layouts/tileleft.png
share/awesome/themes/zenburn/layouts/tiletop.png
share/awesome/themes/zenburn/taglist/squarefz.png
share/awesome/themes/zenburn/taglist/squarez.png
share/awesome/themes/zenburn/theme.lua
share/awesome/themes/zenburn/theme.lua.in
share/awesome/themes/zenburn/titlebar/close_focus.png
share/awesome/themes/zenburn/titlebar/close_normal.png
share/awesome/themes/zenburn/titlebar/floating_focus_active.png
share/awesome/themes/zenburn/titlebar/floating_focus_inactive.png
share/awesome/themes/zenburn/titlebar/floating_normal_active.png
share/awesome/themes/zenburn/titlebar/floating_normal_inactive.png
share/awesome/themes/zenburn/titlebar/maximized_focus_active.png
share/awesome/themes/zenburn/titlebar/maximized_focus_inactive.png
share/awesome/themes/zenburn/titlebar/maximized_normal_active.png
share/awesome/themes/zenburn/titlebar/maximized_normal_inactive.png
share/awesome/themes/zenburn/titlebar/ontop_focus_active.png
share/awesome/themes/zenburn/titlebar/ontop_focus_inactive.png
share/awesome/themes/zenburn/titlebar/ontop_normal_active.png
share/awesome/themes/zenburn/titlebar/ontop_normal_inactive.png
share/awesome/themes/zenburn/titlebar/sticky_focus_active.png
share/awesome/themes/zenburn/titlebar/sticky_focus_inactive.png
share/awesome/themes/zenburn/titlebar/sticky_normal_active.png
share/awesome/themes/zenburn/titlebar/sticky_normal_inactive.png
share/awesome/themes/zenburn/zenburn-background.png
share/doc/awesome/AUTHORS
share/doc/awesome/BUGS
share/doc/awesome/LICENSE
share/doc/awesome/README
share/examples/awesome/rc.lua
share/xsessions/awesome.desktop

9
awesome/distinfo Normal file
View file

@ -0,0 +1,9 @@
$NetBSD: distinfo,v 1.12 2009/12/20 11:25:39 pallegra Exp $
SHA1 (awesome-3.4.2.tar.bz2) = 02210cdd67d73f0e6594814ff187b80688b1c67f
RMD160 (awesome-3.4.2.tar.bz2) = 7bee7a4f9b548a136d089bbaa7eef3553aa8c5b3
Size (awesome-3.4.2.tar.bz2) = 275897 bytes
SHA1 (patch-aa) = f63938ed57951d70d4ce48131c6b0fda8cdd50ca
SHA1 (patch-ab) = f00afc57dd0c3f8574869e917a0115bfe7681622
SHA1 (patch-ac) = 6c9d93c566c817bd8b97655cbc1f78c738901875
SHA1 (patch-ad) = 247e545c60d2532cb31882be9cbb1125db60d6d8

13
awesome/patches/patch-aa Normal file
View file

@ -0,0 +1,13 @@
$NetBSD: patch-aa,v 1.7 2009/12/20 11:25:40 pallegra Exp $
--- common/util.h.orig 2009-11-26 19:03:25.000000000 +0000
+++ common/util.h
@@ -32,7 +32,7 @@
#include <assert.h>
#include <stdio.h>
-#if !(defined (__FreeBSD__) || defined(__OpenBSD__))
+#if !(defined (__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__))
#include <alloca.h>
#endif

61
awesome/patches/patch-ab Normal file
View file

@ -0,0 +1,61 @@
$NetBSD: patch-ab,v 1.3 2009/12/20 11:25:40 pallegra Exp $
--- awesomeConfig.cmake.orig 2009-11-26 19:03:25.000000000 +0000
+++ awesomeConfig.cmake
@@ -10,14 +10,15 @@ project(${PROJECT_AWE_NAME} C)
set(CMAKE_BUILD_TYPE RELEASE)
-option(WITH_DBUS "build with D-BUS" ON)
+option(WITH_DBUS "build with D-BUS" OFF)
option(GENERATE_MANPAGES "generate manpages" ON)
-option(GENERATE_LUADOC "generate luadoc" ON)
+option(COMPRESS_MANPAGES "generate manpages" OFF)
+option(GENERATE_LUADOC "generate luadoc" OFF)
link_directories(/usr/local/lib)
# {{{ CFLAGS
-add_definitions(-std=gnu99 -ggdb3 -fno-strict-aliasing -Wall -Wextra
+add_definitions(-std=gnu99 -fno-strict-aliasing -Wall -Wextra
-Wchar-subscripts -Wundef -Wshadow -Wcast-align -Wwrite-strings
-Wsign-compare -Wunused -Wno-unused-parameter -Wuninitialized -Winit-self
-Wpointer-arith -Wredundant-decls -Wformat-nonliteral
@@ -69,14 +70,14 @@ include(FindLua51) #Due to a cmake bug,
# {{{ Check if documentation can be build
if(GENERATE_MANPAGES)
- if(NOT ASCIIDOC_EXECUTABLE OR NOT XMLTO_EXECUTABLE OR NOT GZIP_EXECUTABLE)
+ if(NOT ASCIIDOC_EXECUTABLE OR NOT XMLTO_EXECUTABLE OR (COMPRESS_MANPAGES AND NOT GZIP_EXECUTABLE))
if(NOT ASCIIDOC_EXECUTABLE)
SET(missing "asciidoc")
endif()
if(NOT XMLTO_EXECUTABLE)
SET(missing ${missing} " xmlto")
endif()
- if(NOT GZIP_EXECUTABLE)
+ if(COMPRESS_MANPAGES AND NOT GZIP_EXECUTABLE)
SET(missing ${missing} " gzip")
endif()
@@ -218,6 +219,12 @@ else()
set(SYSCONFDIR ${PREFIX}/etc CACHE PATH "config directory")
endif()
+if(DEFINED EGDIR)
+ set(EGDIR ${EGDIR} CACHE PATH "egconfig directory")
+else()
+ set(EGDIR ${PREFIX}/share/examples/${PROJECT_AWE_NAME} CACHE PATH "egconfig directory")
+endif()
+
#If an XDG Config Dir is specificed, use it instead
#of the default XDG configuration dir.
if(DEFINED XDG_CONFIG_DIR)
@@ -256,6 +263,7 @@ set(AWESOME_COMPILE_HOSTNAME ${BUILDHOST
set(AWESOME_COMPILE_BY $ENV{USER})
set(AWESOME_RELEASE ${CODENAME})
set(AWESOME_SYSCONFDIR ${XDG_CONFIG_DIR}/${PROJECT_AWE_NAME})
+set(AWESOME_EGDIR ${PREFIX}/share/examples/${PROJECT_AWE_NAME})
set(AWESOME_DATA_PATH ${PREFIX}/share/${PROJECT_AWE_NAME})
set(AWESOME_LUA_LIB_PATH ${AWESOME_DATA_PATH}/lib)
set(AWESOME_ICON_PATH ${AWESOME_DATA_PATH}/icons)