summaryrefslogtreecommitdiff
path: root/x11-plugins/fsviewer
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-plugins/fsviewer
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-plugins/fsviewer')
-rw-r--r--x11-plugins/fsviewer/Manifest11
-rw-r--r--x11-plugins/fsviewer/files/fsviewer-0.2.6-configure.patch21
-rw-r--r--x11-plugins/fsviewer/files/fsviewer-0.2.6-fix_title_bar.patch62
-rw-r--r--x11-plugins/fsviewer/files/fsviewer-0.2.6-gcc5.patch11
-rw-r--r--x11-plugins/fsviewer/files/fsviewer-0.2.6-wmaker-0.95_support.patch36
-rw-r--r--x11-plugins/fsviewer/fsviewer-0.2.6-r1.ebuild46
-rw-r--r--x11-plugins/fsviewer/fsviewer-0.2.6-r2.ebuild50
-rw-r--r--x11-plugins/fsviewer/fsviewer-0.2.6.ebuild44
-rw-r--r--x11-plugins/fsviewer/metadata.xml8
9 files changed, 289 insertions, 0 deletions
diff --git a/x11-plugins/fsviewer/Manifest b/x11-plugins/fsviewer/Manifest
new file mode 100644
index 000000000000..762dff2f821b
--- /dev/null
+++ b/x11-plugins/fsviewer/Manifest
@@ -0,0 +1,11 @@
+AUX fsviewer-0.2.6-configure.patch 696 SHA256 14ab9034cd69f662e9045bbe71bfd4f9ddfa32e8ccf7f71d54f2a9a75574d707 SHA512 0e3965b438c15342847dff6caff21c00b3e360cc449333465115cb33a59a9f7e97e00cd4f9dd03f473f906aeba118cd168ec6c941b17e94668c782283fd4609e WHIRLPOOL 58ed475a171df5a799f3a739373d6aa5b90bfc6c19175543c1ddcf243220f11d8c81b5c7d75ee189f92ddbf2cd3ff5186c07f31f618fc5c455d388b6dde09fea
+AUX fsviewer-0.2.6-fix_title_bar.patch 2963 SHA256 7bad18946218876bc03579f4b6e22ce2ac034a071a1c80fe5a287c8a596e7a47 SHA512 cddf339433cb1e3f0db282234a2c115b9de23cb1ca4500745dcb624186b8c918bad3ac415f2132be05cfef9d1fd879471e1aa5b904b83b3caae7b548935c7f97 WHIRLPOOL 3c97e76cb2fa6896b6abc5b0e09fbd6b30ccac71b4238c5c63bf28844d74d755c07259d36d5abe68e9db5f9bb9ad5320f2f150095102b3754864a4664ef22aef
+AUX fsviewer-0.2.6-gcc5.patch 301 SHA256 82a8f3e2a3cd93e55bdea576a24ed088bb14a250f4c5ba841f3f4d78470cf87d SHA512 ccb76e22192e174700f06e45e73a2e357e865049c7fc9b6f23bff90e424d78cc13a16dfc220b0d5d4a602055e81c9577e76fb080a2ec0743b45ea93afb689407 WHIRLPOOL daaee464483307d4d180a26300146b9972bda4c1ffc428922334e67e778f6e5caeebb5f94159139c30fccdf935d338e145a7c59b864887b13d2275ff50de4a92
+AUX fsviewer-0.2.6-wmaker-0.95_support.patch 1624 SHA256 33446814da6bfc8b35f6ff79630de1cfe83319edb8356bba4e9775720aba01aa SHA512 d9cde107c34f13e4041d8c20d98e2051acf7c518f60454b891b4fe3a83995eb65e4db51f1699911f480fe09ea1d938750f620a85a9b71bc6f5f48affbe3c4dd9 WHIRLPOOL 0c47b8b8488ed8114953717ea530d1c82460ac491bbb6ab94532c5aecf0217b606a8a8def9f401312b78d91b1049cff12c7257a430776f328acb7d86d75481e3
+DIST fsviewer-app-0.2.6.tar.bz2 785422 SHA256 18f964da350bf617a76ccca6411000862394bca09f7616b5b019d6a760bfa57b SHA512 47c10a049120db8e5b095fdcc82033b66a4413f8f7e88959f0190b568324e85c8362486e0419b9c098e62e19e38dd8f2f56c6f0d1e7829afafd21a4837b4859b WHIRLPOOL b3304d65687dd1444787caadfd31164cd67535adad99e5d8d6c6b221187130d44653276ffb3048961db87d2e877f76adf25b635a9c8fa98b427224ce2e012e76
+EBUILD fsviewer-0.2.6-r1.ebuild 1012 SHA256 4e03eddebf27a948a3570b8723c63f77f9da014361dbdfb86b3b4689254a8b04 SHA512 50af34780ce4b83c4c887e516ab891d33b2025a0588de1269b157026b3688d8fe407d757953049bf5e8e6277fc47e859e02796899d626eba2daf83fb7efed4fd WHIRLPOOL 936ed128345d5930e5506e076d67d662bd55433836dba0a90f49588bccf9bc4826ab6b9ff4bb4f4b982aa7536b4810cb5b7b51347873aae51f09cd272a627799
+EBUILD fsviewer-0.2.6-r2.ebuild 1033 SHA256 257260ecea7c505e50b50d8327be9a0371b78dc76d03665b5f86f3eac55b2daa SHA512 33f8980d00b94fa90ca1378a2ab0294cf2e2a7796dd3e93deef969e6088623e17722d50c54632de74f1cc092a18ee803ef4c2e965c5f6ae8b16b0dda0e648a39 WHIRLPOOL c0881e66b4b63a9d146bbb691da74881e19c35c0c093a6e4906368d01442e093825a713ac29fcc66aaa832ce2d7058a8799087959a7ae1c4e03b0e31f8a33fdc
+EBUILD fsviewer-0.2.6.ebuild 919 SHA256 f3024ebd7941c1062094222e0dd0a68ddd477d6a35827aa50c51138ebb74ad88 SHA512 7d91da240527915724038de499f3a13cecce9648dab92afa41b49009746bc5db40e870e85d8267d6cf067f7cc2a8a51494d99b5a57d3b8b4b0aa2ddd65e490e8 WHIRLPOOL 08b954acb489dbe6148b7a42629af9f15e53f7cf5b8d1e3986c1a3e25e4420c5a4602d8ebf9493886631a9085edb4f1f2ca776c0c3386bc7a026521605e96c08
+MISC ChangeLog 3864 SHA256 699c2806b9d806e5016e86a6046d609e054b936890119c1376e790d08db373f6 SHA512 4aea1ad2978825be84154e94101bf6938b6e0427481d046ff4f32a8cc85418dd5e1366d2183f8596ea73d1d7a7c71ceb7daf4ab3742af72f92cc3cf6662a652e WHIRLPOOL eb038be4516a3241d4663a06ad090802af306cd2ba96fbdcebde6469b2aeff3520094355f1f4aa577d95d180c631ca8fa4619213bc454a9b638adc5d8bcb0892
+MISC ChangeLog-2015 3189 SHA256 5d0be55500c322affeb9b691ea13ead2453d6b528342cb6570bf406f64c7b5a8 SHA512 1eed6e692e17ee021ea541afe5f5f14a38b4a4b5e029cb9015844b1624d7fabba7555a3ae94061229f5ffd472a4ad639802dc67a14d647d5cb72d50fc90e68e3 WHIRLPOOL ef8ddee7058b1c2437d66b564874f5d6498e846a294665609e013c39c0c08eba14f063ee3ba10dd754e42a42845707000208621bcb947ee42e3fb36ef0f82cde
+MISC metadata.xml 252 SHA256 f09077829bd604b153aecd586b23fe39af2279d2b5871eb74391c7b7e9496404 SHA512 6a56c24e3731dd9512fa264d3dce1fe36ace891a17394c483586e0be1fffd153e901228d3ee9c471a226b04cec27d3f78ed2de491e46238de4b06538dab7e724 WHIRLPOOL 5da21d058640f220853befb609832550c9078b8879264a87ffb4b845b89e557ae43f04975c4e7b65531b2b843f6a6cd5b139648b72574b555e8cf6610ffd610e
diff --git a/x11-plugins/fsviewer/files/fsviewer-0.2.6-configure.patch b/x11-plugins/fsviewer/files/fsviewer-0.2.6-configure.patch
new file mode 100644
index 000000000000..2d1759fefce5
--- /dev/null
+++ b/x11-plugins/fsviewer/files/fsviewer-0.2.6-configure.patch
@@ -0,0 +1,21 @@
+--- fsviewer-app-0.2.6.orig/configure.ac 2007-10-13 23:54:47.000000000 +0200
++++ fsviewer-app-0.2.6/configure.ac 2015-09-02 21:10:40.829519545 +0200
+@@ -26,15 +26,15 @@
+ dnl look for X windows first so further libs check
+ AC_PATH_X
+
+-if test "$x_includes" != "NONE"; then
++if test "$x_includes" != "NONE" && test -n "$x_includes"; then
+ CFLAGS="$CFLAGS -I$x_includes"
+ fi
+-if test "$x_libraries" != "NONE"; then
++if test "$x_libraries" != "NONE" && test -n "$x_libraries"; then
+ LDFLAGS="$LDFLAGS -L$x_libraries"
+ fi
+
+ dnl Additional "default" items
+-#LIBS="$LIBS -lX11"
++LIBS="$LIBS -lm -lX11 -lXpm"
+ #CFLAGS="$CFLAGS -I/usr/X11/include"
+ #LDFLAGS="$LDFLAGS -L/usr/X11/lib"
+
diff --git a/x11-plugins/fsviewer/files/fsviewer-0.2.6-fix_title_bar.patch b/x11-plugins/fsviewer/files/fsviewer-0.2.6-fix_title_bar.patch
new file mode 100644
index 000000000000..36f595609375
--- /dev/null
+++ b/x11-plugins/fsviewer/files/fsviewer-0.2.6-fix_title_bar.patch
@@ -0,0 +1,62 @@
+diff -Naur fsviewer-app-0.2.6.orig/src/FSFileView.c fsviewer-app-0.2.6/src/FSFileView.c
+--- fsviewer-app-0.2.6.orig/src/FSFileView.c 2007-10-14 21:06:02.000000000 +0200
++++ fsviewer-app-0.2.6/src/FSFileView.c 2015-09-02 21:18:39.574691303 +0200
+@@ -430,7 +430,7 @@
+ WMResizableWindowMask);
+ attributes.window_level = WMNormalWindowLevel;
+ attributes.extra_flags = GSFullKeyboardEventsFlag;
+- attributes.flags = (GSWindowStyleAttr | GSWindowLevelAttr |
++ attributes.flags = (/*GSWindowStyleAttr |*/ GSWindowLevelAttr |
+ GSExtraFlagsAttr);
+ WMSetWindowAttributes(fView->dpy, WMWidgetXID(fView->fileView),
+ &attributes);
+diff -Naur fsviewer-app-0.2.6.orig/src/FSFinder.c fsviewer-app-0.2.6/src/FSFinder.c
+--- fsviewer-app-0.2.6.orig/src/FSFinder.c 2006-07-23 09:24:16.000000000 +0200
++++ fsviewer-app-0.2.6/src/FSFinder.c 2015-09-02 21:18:39.574691303 +0200
+@@ -144,7 +144,7 @@
+ WMResizableWindowMask);
+ attributes.window_level = WMNormalWindowLevel;
+ attributes.extra_flags = GSFullKeyboardEventsFlag;
+- attributes.flags = (GSWindowStyleAttr | GSWindowLevelAttr |
++ attributes.flags = (/*GSWindowStyleAttr |*/ GSWindowLevelAttr |
+ GSExtraFlagsAttr);
+ WMSetWindowAttributes(finder->dpy, WMWidgetXID(finder->win),
+ &attributes);
+diff -Naur fsviewer-app-0.2.6.orig/src/FSViewer.c fsviewer-app-0.2.6/src/FSViewer.c
+--- fsviewer-app-0.2.6.orig/src/FSViewer.c 2007-10-14 17:29:04.000000000 +0200
++++ fsviewer-app-0.2.6/src/FSViewer.c 2015-09-02 21:18:39.574691303 +0200
+@@ -161,7 +161,7 @@
+ attributes.window_level = WMFloatingWindowLevel;
+ attributes.extra_flags = GSFullKeyboardEventsFlag;
+ attributes.flags =
+- (GSWindowStyleAttr | GSWindowLevelAttr | GSExtraFlagsAttr);
++ (/*GSWindowStyleAttr |*/ GSWindowLevelAttr | GSExtraFlagsAttr);
+ WMSetWindowAttributes(fsViewer->dpy, window, &attributes);
+ WMAppAddWindow(fsViewer->wmContext, window);
+
+@@ -189,7 +189,7 @@
+ attributes.window_level = WMNormalWindowLevel;
+ attributes.extra_flags = GSFullKeyboardEventsFlag;
+ attributes.flags =
+- (GSWindowStyleAttr | GSWindowLevelAttr | GSExtraFlagsAttr);
++ (/*GSWindowStyleAttr |*/ GSWindowLevelAttr | GSExtraFlagsAttr);
+ WMSetWindowAttributes(fsViewer->dpy, window, &attributes);
+ WMAppAddWindow(fsViewer->wmContext, window);
+ }
+@@ -216,7 +216,7 @@
+ attributes.window_level = WMFloatingWindowLevel;
+ attributes.extra_flags = GSFullKeyboardEventsFlag;
+ attributes.flags =
+- (GSWindowStyleAttr | GSWindowLevelAttr | GSExtraFlagsAttr);
++ (/*GSWindowStyleAttr |*/ GSWindowLevelAttr | GSExtraFlagsAttr);
+ WMSetWindowAttributes(fsViewer->dpy, window, &attributes);
+ WMAppAddWindow(fsViewer->wmContext, window);
+ }
+@@ -476,6 +476,7 @@
+ bindtextdomain("FSViewer", getenv("NLSPATH"));
+ else
+ bindtextdomain("FSViewer", LOCALEDIR);
++ bind_textdomain_codeset("FSViewer", "UTF-8");
+ textdomain("FSViewer");
+
+ if (!XSupportsLocale()) {
diff --git a/x11-plugins/fsviewer/files/fsviewer-0.2.6-gcc5.patch b/x11-plugins/fsviewer/files/fsviewer-0.2.6-gcc5.patch
new file mode 100644
index 000000000000..2a532625ff8c
--- /dev/null
+++ b/x11-plugins/fsviewer/files/fsviewer-0.2.6-gcc5.patch
@@ -0,0 +1,11 @@
+--- fsviewer-app-0.2.6.orig/src/list.h
++++ fsviewer-app-0.2.6/src/list.h
+@@ -29,7 +29,7 @@
+ #ifndef __LIST_H_
+ #define __LIST_H_
+
+-#if defined(__GNUC__) && !defined(__STRICT_ANSI__)
++#if defined(__GNUC__) && !defined(__STRICT_ANSI__) && (__GNUC__ < 5)
+ # define INLINE inline
+ #else
+ # define INLINE
diff --git a/x11-plugins/fsviewer/files/fsviewer-0.2.6-wmaker-0.95_support.patch b/x11-plugins/fsviewer/files/fsviewer-0.2.6-wmaker-0.95_support.patch
new file mode 100644
index 000000000000..da64f3a0389e
--- /dev/null
+++ b/x11-plugins/fsviewer/files/fsviewer-0.2.6-wmaker-0.95_support.patch
@@ -0,0 +1,36 @@
+diff -Naur fsviewer-app-0.2.6.orig/configure.ac fsviewer-app-0.2.6/configure.ac
+--- fsviewer-app-0.2.6.orig/configure.ac 2012-07-11 17:55:06.448981246 +0200
++++ fsviewer-app-0.2.6/configure.ac 2012-07-11 18:04:15.528940159 +0200
+@@ -81,6 +81,8 @@
+ AC_MSG_ERROR([WMaker library not found]))
+ AC_CHECK_LIB(WINGs, WMAppSetMainMenu,,
+ AC_MSG_ERROR([WINGs library not found]))
++AC_CHECK_LIB(WUtil, WMCreatePLString,,
++ AC_MSG_ERROR([WUtil library not found]))
+
+ dnl Checks for PropList (not necessary since version 0.2.3b)
+ dnl AC_CHECK_HEADERS(proplist.h,, AC_MSG_WARN(Can't find PropList include-file: Please install libPropList (included in WindowMaker)))
+diff -Naur fsviewer-app-0.2.6.orig/defs/chdef.c fsviewer-app-0.2.6/defs/chdef.c
+--- fsviewer-app-0.2.6.orig/defs/chdef.c 2012-07-11 17:55:06.444981361 +0200
++++ fsviewer-app-0.2.6/defs/chdef.c 2012-07-11 17:55:50.387699640 +0200
+@@ -374,7 +374,7 @@
+ SetIntegerForKey(0, "DisplayMCListPixmap");
+
+ WMWritePropListToFile(filesDB,
+- wdefaultspathfordomain("FSViewer"), True);
++ wdefaultspathfordomain("FSViewer"));
+ result = 0;
+ }
+ else
+diff -Naur fsviewer-app-0.2.6.orig/src/extnInspector.c fsviewer-app-0.2.6/src/extnInspector.c
+--- fsviewer-app-0.2.6.orig/src/extnInspector.c 2012-07-11 17:55:06.452981130 +0200
++++ fsviewer-app-0.2.6/src/extnInspector.c 2012-07-11 17:56:02.315351669 +0200
+@@ -229,7 +229,7 @@
+
+ if(numRows > 0)
+ WMWritePropListToFile(filesDB,
+- wdefaultspathfordomain("FSViewer"), True);
++ wdefaultspathfordomain("FSViewer"));
+
+ if(extn)
+ free(extn);
diff --git a/x11-plugins/fsviewer/fsviewer-0.2.6-r1.ebuild b/x11-plugins/fsviewer/fsviewer-0.2.6-r1.ebuild
new file mode 100644
index 000000000000..31bd54604bf4
--- /dev/null
+++ b/x11-plugins/fsviewer/fsviewer-0.2.6-r1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit autotools eutils multilib
+
+MY_P=${PN}-app-${PV}
+
+DESCRIPTION="A file system viewer for Window Maker"
+HOMEPAGE="http://www.bayernline.de/~gscholz/linux/fsviewer/"
+SRC_URI="http://www.bayernline.de/~gscholz/linux/${PN}/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="nls"
+
+RDEPEND=">=x11-wm/windowmaker-0.95.2
+ x11-libs/libXft
+ x11-libs/libXpm
+ x11-libs/libX11"
+DEPEND="${RDEPEND}
+ x11-proto/xproto
+ nls? ( sys-devel/gettext )"
+
+S=${WORKDIR}/${MY_P}
+
+DOCS="AUTHORS ChangeLog NEWS README"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-configure.patch
+ epatch "${FILESDIR}"/${P}-wmaker-0.95_support.patch
+ epatch "${FILESDIR}"/${P}-fix_title_bar.patch
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_enable nls) \
+ --with-appspath=/usr/$(get_libdir)/GNUstep
+}
+
+src_install() {
+ default
+ dosym /usr/$(get_libdir)/GNUstep/FSViewer.app/FSViewer /usr/bin/FSViewer
+}
diff --git a/x11-plugins/fsviewer/fsviewer-0.2.6-r2.ebuild b/x11-plugins/fsviewer/fsviewer-0.2.6-r2.ebuild
new file mode 100644
index 000000000000..582ddf81f70a
--- /dev/null
+++ b/x11-plugins/fsviewer/fsviewer-0.2.6-r2.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools multilib
+
+MY_P=${PN}-app-${PV}
+
+DESCRIPTION="A file system viewer for Window Maker"
+HOMEPAGE="http://www.bayernline.de/~gscholz/linux/fsviewer/"
+SRC_URI="http://www.bayernline.de/~gscholz/linux/${PN}/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE="nls"
+
+RDEPEND=">=x11-wm/windowmaker-0.95.2
+ x11-libs/libXft
+ x11-libs/libXpm
+ x11-libs/libX11"
+DEPEND="${RDEPEND}
+ x11-proto/xproto
+ nls? ( sys-devel/gettext )"
+
+S=${WORKDIR}/${MY_P}
+
+PATCHES=(
+ "${FILESDIR}"/${P}-configure.patch
+ "${FILESDIR}"/${P}-gcc5.patch
+ "${FILESDIR}"/${P}-wmaker-0.95_support.patch
+ "${FILESDIR}"/${P}-fix_title_bar.patch
+)
+DOCS="AUTHORS ChangeLog NEWS README"
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_enable nls) \
+ --with-appspath=/usr/$(get_libdir)/GNUstep
+}
+
+src_install() {
+ default
+ dosym /usr/$(get_libdir)/GNUstep/FSViewer.app/FSViewer /usr/bin/FSViewer
+}
diff --git a/x11-plugins/fsviewer/fsviewer-0.2.6.ebuild b/x11-plugins/fsviewer/fsviewer-0.2.6.ebuild
new file mode 100644
index 000000000000..a7a568e38208
--- /dev/null
+++ b/x11-plugins/fsviewer/fsviewer-0.2.6.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit autotools eutils multilib
+
+MY_P=${PN}-app-${PV}
+
+DESCRIPTION="A file system viewer for Window Maker"
+HOMEPAGE="http://www.bayernline.de/~gscholz/linux/fsviewer/"
+SRC_URI="http://www.bayernline.de/~gscholz/linux/${PN}/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE="nls"
+
+RDEPEND=">=x11-wm/windowmaker-0.95.2
+ x11-libs/libXft
+ x11-libs/libXpm
+ x11-libs/libX11"
+DEPEND="${RDEPEND}
+ x11-proto/xproto
+ nls? ( sys-devel/gettext )"
+
+S=${WORKDIR}/${MY_P}
+
+DOCS="AUTHORS ChangeLog NEWS README"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-wmaker-0.95_support.patch
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_enable nls) \
+ --with-appspath=/usr/$(get_libdir)/GNUstep
+}
+
+src_install() {
+ default
+ dosym /usr/$(get_libdir)/GNUstep/FSViewer.app/FSViewer /usr/bin/FSViewer
+}
diff --git a/x11-plugins/fsviewer/metadata.xml b/x11-plugins/fsviewer/metadata.xml
new file mode 100644
index 000000000000..7d273a80ff68
--- /dev/null
+++ b/x11-plugins/fsviewer/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>voyageur@gentoo.org</email>
+ <name>Bernard Cafarelli</name>
+ </maintainer>
+</pkgmetadata>