summaryrefslogtreecommitdiff
path: root/x11-wm/sawfish
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /x11-wm/sawfish
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-wm/sawfish')
-rw-r--r--x11-wm/sawfish/Manifest9
-rw-r--r--x11-wm/sawfish/files/50sawfish-gentoo.el7
-rw-r--r--x11-wm/sawfish/files/sawfish-1.9.1-firefox.patch20
-rw-r--r--x11-wm/sawfish/metadata.xml12
-rw-r--r--x11-wm/sawfish/sawfish-1.11.90.ebuild89
-rw-r--r--x11-wm/sawfish/sawfish-1.9.1-r2.ebuild77
6 files changed, 214 insertions, 0 deletions
diff --git a/x11-wm/sawfish/Manifest b/x11-wm/sawfish/Manifest
new file mode 100644
index 000000000000..2700fb4c6278
--- /dev/null
+++ b/x11-wm/sawfish/Manifest
@@ -0,0 +1,9 @@
+AUX 50sawfish-gentoo.el 366 SHA256 8e103a2e8a83fe9e299496bfa6c619a58a4f6ca8a335f37933b4aef8140d62f7 SHA512 a05fe8328ed42c11fcf7ce43eac8278e53d69610a53118283d1292c89c690aa85b43090cbcfd0995a9e2e92cb61277848404a27b1797e33c80ad09db752d8ba5 WHIRLPOOL a761c12c5ee396717d5cb459795fe40f0a9393a553d1e116493e65825245e85820fdcf0fb7e105adfc3b74908a7b364a184cbcd026d56d2ac91ae784ed344f7f
+AUX sawfish-1.9.1-firefox.patch 920 SHA256 68df77ecb3d2acc5a9a09808f047cbdfaa7d8b88413a1f240b87d9656421ba41 SHA512 194b27a5674113b0820d5e03892973fb15b377cac9c43913b0f5698eb63cf6da556ff0edcee2b426fc218ea97f44bbbf5b21a4d6aa73af4a907cfc7944c53966 WHIRLPOOL 9e501414981c2db917ef1f229f7809e6c606c6e920bd74041b40a50d032d52a6b98e1c6478881d16532929472db579272e7ecd10d93a7aa101b5848779b98a52
+DIST sawfish-1.9.1.tar.xz 2616612 SHA256 c1751abf46a52dead8a50fa4b91c09ff0540cb9cc988c76ebfea0bee9edd0618 SHA512 243a818e2cc2546c040f33fbc076bbcc4033b88f0b4be573f9daa80b2dcfd8d9dc97384d236b9b71d6efe08ad39bfd3f3f31b5c055b9b268418efb7668e27a42 WHIRLPOOL 9293221e4a1c7cfddbf5dd619ac9fcd6e8da02723b651e4b62f9baa9e7d7c66d6f0967a960b097c6d9c9f7b7b79de94070733b0e80a1954d9ce477a6187d89fc
+DIST sawfish_1.11.90.tar.xz 2751684 SHA256 734ac2b2781889793e2d846d81f52b8a90707e136bce7b5691c4d12e90ce7cfa SHA512 24735438167c1146e57f82a58876b68b1126d45f237751828ae9603a8eea966058fb6d8fbfddc28e1a96ab774a044b4b9b70b1e299f958b77eb32c987684925e WHIRLPOOL 95ee12896cda57992b2f5cc86ed536a584e265ef793af0840d4738728610f48e235f82b6bc3043d5f2c92d55d2461720725bbc4f292baec8b93fcffe294ecfef
+EBUILD sawfish-1.11.90.ebuild 2332 SHA256 c6b9771dee9807d5396a7551c3af5cf7bf813176eb826d4fc7aefa4fb6d52327 SHA512 745912863185eaccb070fd83a7157f1e386c742a3d279735fece5b7bbd367397e47b25662e17b347ae65a40f3b15d082b3a9f198b3029d0cc81bc371be7f05a6 WHIRLPOOL a7eb066c4b98d06ec47302aa15e06afecc0c6d49b19e0cab9b2fc487916efd46f10fd0db13376e00308033eb46da97bfea3f0e0fa5bb3b4cc60ea709229c8102
+EBUILD sawfish-1.9.1-r2.ebuild 1832 SHA256 ed56bef9be8c53f428dece0e4f20df9da52b3d5906ee41554e46ff7bb1b11f2b SHA512 970a02beb9306c21f68b789fc1924bfa389d01e8e2ad0c67bcb201b5a79c7623112eae9843e71c322ae5e9a861e423da1a996c5ab8808f5f070c2bd2469ce72d WHIRLPOOL 00b86826965db6bba0f5cdf9ae2691bdda1df54e925798e8544caaf706e4736a817e7500e88cff1d7a7456093366026aa09d16f4752f8e24098ea04af79cd53b
+MISC ChangeLog 3154 SHA256 55dc01741ea016c7ad2c05078b0b662291812c5bb48c438c429ff7cc949fd8e5 SHA512 2489cef7ddc661fb5ad07140c2131c0ec6fe539b87f155e23e277ce2d60c8b026c552e6834df0b5b6f34b84079b0977b3df4efa2c6a3d59bc26e8d92e627fe3b WHIRLPOOL b12fedb82cd92bdf95f9186f2ce9b1502192369556ae35f9c7018490f44ec11cb2dd52cc803a01c33ba2f2a74c4866f4f91d192232bc83ce657b148fccfd4bab
+MISC ChangeLog-2015 20488 SHA256 bd7321e65b4b060ecc9a739d590a697cdef3af7573ca17bad920360a6b2834d5 SHA512 005d01100c7e354d4a72910d007bf762666733d896e4d67c4be791409bc79725b44b39096c82483561b6ffcf55b5336b683c7ce1ce4c141597d28711c1c8d02a WHIRLPOOL a0190cc1c3d0a50b56b856d1c265e4bd8ea55ce83bf7bff073ba675a92197474f402cb8ac8f2109bd06bc615dd84327ec57f744b8cd738ccfc883c846af0884a
+MISC metadata.xml 357 SHA256 d828991389eb118ad067a94dafd20d5800b4507c2d93ecf9d9836f8ce9a45152 SHA512 ab28ed64d52513cf76bea32b2f289dedab2420e91592ba31d2917efc2d7868a4bf949067562594254a601e62885cf530d7ec00404cf62dd4705b7ac1a892ba9b WHIRLPOOL 44411aa6b552a165bed3fbc4cdccd8077c6c2087c0abd729ed94a0df4241bfbd85a72ccd16725b1e09bf6c5967c68f3cb4fc7f29d9aea8b37aaad751a2be83c8
diff --git a/x11-wm/sawfish/files/50sawfish-gentoo.el b/x11-wm/sawfish/files/50sawfish-gentoo.el
new file mode 100644
index 000000000000..d1b6006e6307
--- /dev/null
+++ b/x11-wm/sawfish/files/50sawfish-gentoo.el
@@ -0,0 +1,7 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'sawfish-mode "sawfish" nil t)
+(autoload 'sawfish-interaction "sawfish" nil t)
+(autoload 'sawfish-console "sawfish" nil t)
+(add-to-list 'auto-mode-alist '("\\.sawfishrc\\'" . sawfish-mode))
+(add-to-list 'auto-mode-alist '("\\.jl\\'" . sawfish-mode))
+(add-to-list 'auto-mode-alist '("\\.sawfish/rc\\'" . sawfish-mode))
diff --git a/x11-wm/sawfish/files/sawfish-1.9.1-firefox.patch b/x11-wm/sawfish/files/sawfish-1.9.1-firefox.patch
new file mode 100644
index 000000000000..6fb27bb820cc
--- /dev/null
+++ b/x11-wm/sawfish/files/sawfish-1.9.1-firefox.patch
@@ -0,0 +1,20 @@
+X-Git-Url: http://git.tuxfamily.org/sawfish/main.git?p=sawfish%2Fmain.git;p=sawfish%2Fmain.git;a=blobdiff_plain;f=src%2Fwindows.c;h=053b95a9933b04a99301b300a5477e2ce3329cbd;hp=c6117e778ad157f9868c431efa934964b88897fd;hb=798c6992cc41f5ca7ec1bd4bd74d721a59820897;hpb=ec807ed20eecb401c3e11b3b04d375fc848ca4c1
+
+diff --git a/src/windows.c b/src/windows.c
+index c6117e7..053b95a 100644
+--- a/src/windows.c
++++ b/src/windows.c
+@@ -1297,6 +1297,13 @@ associated with WINDOW. Possible keys in the alist are `min-height',
+ hints = &VWIN(win)->hints;
+ flags = hints->flags;
+
++ /* workaround stuff like Firefox 17 that
++ * has enormous max-width/maxh-height */
++ if (hints->max_width >= 32767)
++ hints->max_width = 32767;
++ if (hints->max_height >= 32767)
++ hints->max_height = 32767;
++
+ /* Some sanity checking */
+ if ((flags & PMinSize)
+ && (hints->min_width < 0 || hints->min_height < 0))
diff --git a/x11-wm/sawfish/metadata.xml b/x11-wm/sawfish/metadata.xml
new file mode 100644
index 000000000000..d305b1f6a31c
--- /dev/null
+++ b/x11-wm/sawfish/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+<maintainer type="project">
+ <email>gnu-emacs@gentoo.org</email>
+ <description>
+ Components installed with USE=emacs.
+ Do not assign for anything else.
+ </description>
+</maintainer>
+</pkgmetadata>
diff --git a/x11-wm/sawfish/sawfish-1.11.90.ebuild b/x11-wm/sawfish/sawfish-1.11.90.ebuild
new file mode 100644
index 000000000000..a7d4141d7884
--- /dev/null
+++ b/x11-wm/sawfish/sawfish-1.11.90.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit eutils elisp-common
+
+MY_P="${P/-/_}"
+DESCRIPTION="Extensible window manager using a Lisp-based scripting language"
+HOMEPAGE="http://sawfish.wikia.com/"
+SRC_URI="http://download.tuxfamily.org/sawfish/${MY_P}.tar.xz"
+
+LICENSE="GPL-2 Artistic-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE="emacs nls xinerama"
+
+RDEPEND="emacs? ( virtual/emacs !app-emacs/sawfish )
+ >=dev-libs/librep-0.92.1
+ >=x11-libs/rep-gtk-0.90.7
+ x11-libs/pangox-compat
+ >=x11-libs/gtk+-2.24.0:2
+ x11-libs/libXtst
+ nls? ( sys-devel/gettext )
+ xinerama? ( x11-libs/libXinerama )"
+DEPEND="${RDEPEND}
+ app-arch/xz-utils
+ virtual/pkgconfig"
+
+S="${WORKDIR}/${MY_P}"
+
+DOCS=( AUTHORS ChangeLog CONTRIBUTING doc/AUTOSTART doc/KEYBINDINGS
+ doc/OPTIONS doc/XSettings MAINTAINERS NEWS README README.IMPORTANT
+ TODO )
+
+src_configure() {
+ # The configure script tries to use kde4-config (bug #573664) or
+ # kf5-config (from kdelibs4support) to detect where it should put
+ # its session files. This could probably be enabled for kde5 going
+ # forward (behind USE=kde), but there's currently a bug in the
+ # configure script preventing that from working nicely:
+ #
+ # https://github.com/SawfishWM/sawfish/issues/22
+ #
+ # For now, we just disable the kde[45] session support entirely.
+ set -- \
+ $(use_with xinerama) \
+ --with-gdk-pixbuf \
+ --without-kde4session \
+ --without-kde5session \
+ --disable-static
+
+ if ! use nls; then
+ # Use a space because configure script reads --enable-linguas=""
+ # as "install everything". Don't use --disable-linguas, because
+ # that means --enable-linguas="no", which means "install
+ # Norwegian translations".
+ set -- "$@" --enable-linguas=" "
+ elif [[ "${LINGUAS+set}" == "set" ]]; then
+ strip-linguas -i po
+ set -- "$@" --enable-linguas=" ${LINGUAS} "
+ else
+ set -- "$@" --enable-linguas=""
+ fi
+
+ econf "$@"
+}
+
+src_compile() {
+ default
+ use emacs && elisp-compile sawfish.el
+}
+
+src_install() {
+ default
+ prune_libtool_files --modules
+
+ if use emacs; then
+ elisp-install ${PN} sawfish.{el,elc}
+ elisp-site-file-install "${FILESDIR}"/50${PN}-gentoo.el
+ fi
+}
+
+pkg_postinst() {
+ use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+}
diff --git a/x11-wm/sawfish/sawfish-1.9.1-r2.ebuild b/x11-wm/sawfish/sawfish-1.9.1-r2.ebuild
new file mode 100644
index 000000000000..dffdcaa78119
--- /dev/null
+++ b/x11-wm/sawfish/sawfish-1.9.1-r2.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit eutils elisp-common
+
+DESCRIPTION="Extensible window manager using a Lisp-based scripting language"
+HOMEPAGE="http://sawfish.wikia.com/"
+SRC_URI="http://download.tuxfamily.org/sawfish/${P}.tar.xz"
+
+LICENSE="GPL-2 Artistic-2"
+SLOT="0"
+KEYWORDS="alpha amd64 ia64 ppc ~ppc64 ~sh sparc x86 ~x86-fbsd"
+IUSE="emacs nls xinerama"
+
+RDEPEND="emacs? ( virtual/emacs !app-emacs/sawfish )
+ >=dev-libs/librep-0.92.1
+ >=x11-libs/rep-gtk-0.90.7
+ x11-libs/pangox-compat
+ >=x11-libs/gtk+-2.24.0:2
+ x11-libs/libXtst
+ nls? ( sys-devel/gettext )
+ xinerama? ( x11-libs/libXinerama )"
+DEPEND="${RDEPEND}
+ app-arch/xz-utils
+ virtual/pkgconfig"
+
+src_prepare() {
+ # Fix firefox resizing problems, bug #462016
+ epatch "${FILESDIR}/${P}-firefox.patch"
+}
+
+src_configure() {
+ set -- \
+ $(use_with xinerama) \
+ --with-gdk-pixbuf \
+ --disable-static
+
+ if ! use nls; then
+ # Use a space because configure script reads --enable-linguas="" as
+ # "install everything"
+ # Don't use --disable-linguas, because that means --enable-linguas="no",
+ # which means "install Norwegian translations"
+ set -- "$@" --enable-linguas=" "
+ elif [[ "${LINGUAS+set}" == "set" ]]; then
+ strip-linguas -i po
+ set -- "$@" --enable-linguas=" ${LINGUAS} "
+ else
+ set -- "$@" --enable-linguas=""
+ fi
+
+ econf "$@"
+}
+
+src_compile() {
+ emake
+ use emacs && elisp-compile sawfish.el
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ prune_libtool_files --modules
+ dodoc AUTHORS ChangeLog DOC FAQ NEWS OPTIONS README README.IMPORTANT TODO
+
+ if use emacs; then
+ elisp-install ${PN} sawfish.{el,elc}
+ elisp-site-file-install "${FILESDIR}"/50${PN}-gentoo.el
+ fi
+}
+
+pkg_postinst() {
+ use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+}