summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2013-04-04 09:15:01 +0000
committerBernard Cafarelli <voyageur@gentoo.org>2013-04-04 09:15:01 +0000
commit668226a1cbbfb612a95258f80fd34cee068fd9a9 (patch)
tree720170f474e71097d2bcfe29e1fa9bfe3a18bdf0 /gnustep-apps
parentTest suite fixed for py3, fixes Bug #462552, by patrick (diff)
downloadgentoo-2-668226a1cbbfb612a95258f80fd34cee068fd9a9.tar.gz
gentoo-2-668226a1cbbfb612a95258f80fd34cee068fd9a9.tar.bz2
gentoo-2-668226a1cbbfb612a95258f80fd34cee068fd9a9.zip
Version bump, reported and initial ebuild update by adr in bug #463457. EAPI bump, remove unused files
(Portage version: 2.2.0_alpha171/cvs/Linux x86_64, signed Manifest commit with key C74525F2)
Diffstat (limited to 'gnustep-apps')
-rw-r--r--gnustep-apps/gworkspace/ChangeLog13
-rw-r--r--gnustep-apps/gworkspace/files/gworkspace-0.8.6-popplerkit.patch372
-rw-r--r--gnustep-apps/gworkspace/files/gworkspace-0.8.6-rpath.patch46
-rw-r--r--gnustep-apps/gworkspace/files/gworkspace-0.9.2-rpath-link.patch11
-rw-r--r--gnustep-apps/gworkspace/gworkspace-0.9.2.ebuild44
-rw-r--r--gnustep-apps/gworkspace/metadata.xml3
6 files changed, 69 insertions, 420 deletions
diff --git a/gnustep-apps/gworkspace/ChangeLog b/gnustep-apps/gworkspace/ChangeLog
index 66560303d674..4084c255adae 100644
--- a/gnustep-apps/gworkspace/ChangeLog
+++ b/gnustep-apps/gworkspace/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for gnustep-apps/gworkspace
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/gnustep-apps/gworkspace/ChangeLog,v 1.39 2012/09/23 07:51:40 phajdan.jr Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/gnustep-apps/gworkspace/ChangeLog,v 1.40 2013/04/04 09:15:00 voyageur Exp $
+
+*gworkspace-0.9.2 (04 Apr 2013)
+
+ 04 Apr 2013; Bernard Cafarelli <voyageur@gentoo.org>
+ -files/gworkspace-0.8.6-popplerkit.patch,
+ -files/gworkspace-0.8.6-rpath.patch, +gworkspace-0.9.2.ebuild,
+ +files/gworkspace-0.9.2-rpath-link.patch, metadata.xml:
+ Version bump, reported and initial ebuild update by adr in bug #463457. EAPI
+ bump, remove unused files
23 Sep 2012; Pawel Hajdan jr <phajdan.jr@gentoo.org> gworkspace-0.9.1.ebuild:
x86 stable wrt bug #429076
diff --git a/gnustep-apps/gworkspace/files/gworkspace-0.8.6-popplerkit.patch b/gnustep-apps/gworkspace/files/gworkspace-0.8.6-popplerkit.patch
deleted file mode 100644
index 4a74b94ee416..000000000000
--- a/gnustep-apps/gworkspace/files/gworkspace-0.8.6-popplerkit.patch
+++ /dev/null
@@ -1,372 +0,0 @@
-diff -Naur GWorkspace-0.8.5.orig/Inspector/aclocal.m4 GWorkspace-0.8.5/Inspector/aclocal.m4
---- GWorkspace-0.8.5.orig/Inspector/aclocal.m4 2007-06-05 22:13:59.000000000 +0200
-+++ GWorkspace-0.8.5/Inspector/aclocal.m4 2007-06-05 22:21:16.000000000 +0200
-@@ -1,4 +1,4 @@
--AC_DEFUN(AC_CHECK_PDFKIT,[
-+AC_DEFUN(AC_CHECK_POPPLERKIT,[
-
- GNUSTEP_SH_EXPORT_ALL_VARIABLES=yes
- . "$GNUSTEP_MAKEFILES/GNUstep.sh"
-@@ -31,47 +31,47 @@
- LDFLAGS="$LDFLAGS $PREFIX$GNUSTEP_SYSTEM_LIBRARIES $PREFIX$GNUSTEP_LOCAL_LIBRARIES"
- OLD_LIBS="$LIBS"
- LIBS="-lgnustep-gui"
-- AC_MSG_CHECKING([for PDFKit])
-+ AC_MSG_CHECKING([for PopplerKit])
-
-- LIBS="$LIBS -lPDFKit"
-+ LIBS="$LIBS -lPopplerKit"
-
- AC_LINK_IFELSE(
- AC_LANG_PROGRAM(
- [[#include <Foundation/Foundation.h>
- #include <AppKit/AppKit.h>
-- #include <PDFKit/PDFDocument.h>]],
-- [[[[PDFDocument class]];]]),
-+ #include <PopplerKit/PopplerDocument.h>]],
-+ [[[[PopplerDocument class]];]]),
- $1;
-- have_pdfkit=yes,
-+ have_popplerkit=yes,
- $2;
-- have_pdfkit=no)
-+ have_popplerkit=no)
-
- LIBS="$OLD_LIBS"
- CPPFLAGS="$OLD_CPPFLAGS"
- LDFLAGS="$OLD_LDFLAGS"
- CFLAGS="$OLD_CFLAGS"
-
-- AC_MSG_RESULT($have_pdfkit)
-+ AC_MSG_RESULT($have_popplerkit)
- ])
-
-
--AC_DEFUN(AC_CHECK_PDFKIT_DARWIN,[
-- AC_MSG_CHECKING([for PDFKit])
-- PDF_H="PDFKit/PDFDocument.h"
-+AC_DEFUN(AC_CHECK_POPPLERKIT_DARWIN,[
-+ AC_MSG_CHECKING([for PopplerKit])
-+ PDF_H="PopplerKit/PopplerDocument.h"
- PDF_H_PATH="$GNUSTEP_SYSTEM_HEADERS/$PDF_H"
-
- if test -e $PDF_H_PATH; then
-- have_pdfkit=yes
-+ have_popplerkit=yes
- else
- PDF_H_PATH="$GNUSTEP_LOCAL_HEADERS/$PDF_H"
- if test -e $PDF_H_PATH; then
-- have_pdfkit=yes
-+ have_popplerkit=yes
- else
-- have_pdfkit=no
-+ have_popplerkit=no
- fi
- fi
-
-- AC_MSG_RESULT($have_pdfkit)
-+ AC_MSG_RESULT($have_popplerkit)
- ])
-
-
-diff -Naur GWorkspace-0.8.5.orig/Inspector/configure.ac GWorkspace-0.8.5/Inspector/configure.ac
---- GWorkspace-0.8.5.orig/Inspector/configure.ac 2007-06-05 22:13:59.000000000 +0200
-+++ GWorkspace-0.8.5/Inspector/configure.ac 2007-06-05 22:15:43.000000000 +0200
-@@ -55,23 +55,23 @@
- AC_DEFINE_UNQUOTED([FILEPATH], ["$FILE_PATH"], [Path to file])
-
- #--------------------------------------------------------------------
--# We need PDFKit
-+# We need PopplerKit
- #--------------------------------------------------------------------
- case "$target_os" in
- darwin*)
-- AC_CHECK_PDFKIT_DARWIN(have_pdfkit=yes, have_pdfkit=no)
-+ AC_CHECK_POPPLERKIT_DARWIN(have_popplerkit=yes, have_popplerkit=no)
- ;;
- *)
-- AC_CHECK_PDFKIT(have_pdfkit=yes, have_pdfkit=no)
-+ AC_CHECK_POPPLERKIT(have_popplerkit=yes, have_popplerkit=no)
- ;;
- esac
-
--if test "$have_pdfkit" = "no"; then
-- AC_MSG_NOTICE([The PDFKit framework can't be found.])
-+if test "$have_popplerkit" = "no"; then
-+ AC_MSG_NOTICE([The PopplerKit framework can't be found.])
- AC_MSG_NOTICE([The pdf viewer will not be built.])
- fi
-
--AC_SUBST(have_pdfkit)
-+AC_SUBST(have_popplerkit)
-
- AC_CONFIG_FILES([GNUmakefile inspector.make])
- AC_OUTPUT
-diff -Naur GWorkspace-0.8.5.orig/Inspector/ContentViewers/GNUmakefile GWorkspace-0.8.5/Inspector/ContentViewers/GNUmakefile
---- GWorkspace-0.8.5.orig/Inspector/ContentViewers/GNUmakefile 2007-06-05 22:13:59.000000000 +0200
-+++ GWorkspace-0.8.5/Inspector/ContentViewers/GNUmakefile 2007-06-05 22:15:43.000000000 +0200
-@@ -6,7 +6,7 @@
-
- include ../inspector.make
-
--ifneq ($(PDFKIT),no)
-+ifneq ($(POPPLERKIT),no)
- SUBPROJECTS = \
- FolderViewer \
- ImageViewer \
-diff -Naur GWorkspace-0.8.5.orig/Inspector/ContentViewers/GNUmakefile.orig GWorkspace-0.8.5/Inspector/ContentViewers/GNUmakefile.orig
---- GWorkspace-0.8.5.orig/Inspector/ContentViewers/GNUmakefile.orig 1970-01-01 01:00:00.000000000 +0100
-+++ GWorkspace-0.8.5/Inspector/ContentViewers/GNUmakefile.orig 2007-02-23 14:14:24.000000000 +0100
-@@ -0,0 +1,41 @@
-+# Install into the system root by default
-+GNUSTEP_INSTALLATION_DOMAIN=SYSTEM
-+RPM_DISABLE_RELOCATABLE=YES
-+
-+include $(GNUSTEP_MAKEFILES)/common.make
-+
-+include ../inspector.make
-+
-+ifneq ($(PDFKIT),no)
-+SUBPROJECTS = \
-+ FolderViewer \
-+ ImageViewer \
-+ SoundViewer \
-+ AppViewer \
-+ RtfViewer \
-+ PdfViewer \
-+ NSTIFFViewer \
-+ NSRTFViewer \
-+ NSColorViewer \
-+ IBViewViewer
-+else
-+SUBPROJECTS = \
-+ FolderViewer \
-+ ImageViewer \
-+ SoundViewer \
-+ AppViewer \
-+ RtfViewer \
-+ NSTIFFViewer \
-+ NSRTFViewer \
-+ NSColorViewer \
-+ IBViewViewer
-+endif
-+
-+-include GNUmakefile.preamble
-+
-+-include GNUmakefile.local
-+
-+include $(GNUSTEP_MAKEFILES)/aggregate.make
-+
-+-include GNUmakefile.postamble
-+
-diff -Naur GWorkspace-0.8.5.orig/Inspector/ContentViewers/PdfViewer/GNUmakefile GWorkspace-0.8.5/Inspector/ContentViewers/PdfViewer/GNUmakefile
---- GWorkspace-0.8.5.orig/Inspector/ContentViewers/PdfViewer/GNUmakefile 2007-06-05 22:13:59.000000000 +0200
-+++ GWorkspace-0.8.5/Inspector/ContentViewers/PdfViewer/GNUmakefile 2007-06-05 22:15:43.000000000 +0200
-@@ -11,7 +11,7 @@
-
- OBJCFLAGS += -Wall
-
--PdfViewer_GUI_LIBS += -lPDFKit
-+PdfViewer_GUI_LIBS += -lPopplerKit
-
- PdfViewer_OBJC_FILES = PdfViewer.m
-
-diff -Naur GWorkspace-0.8.5.orig/Inspector/ContentViewers/PdfViewer/GNUmakefile.orig GWorkspace-0.8.5/Inspector/ContentViewers/PdfViewer/GNUmakefile.orig
---- GWorkspace-0.8.5.orig/Inspector/ContentViewers/PdfViewer/GNUmakefile.orig 1970-01-01 01:00:00.000000000 +0100
-+++ GWorkspace-0.8.5/Inspector/ContentViewers/PdfViewer/GNUmakefile.orig 2007-02-23 14:14:24.000000000 +0100
-@@ -0,0 +1,32 @@
-+# Install into the system root by default
-+GNUSTEP_INSTALLATION_DOMAIN=SYSTEM
-+RPM_DISABLE_RELOCATABLE=YES
-+
-+include $(GNUSTEP_MAKEFILES)/common.make
-+
-+BUNDLE_NAME = PdfViewer
-+BUNDLE_EXTENSION = .inspector
-+
-+PdfViewer_HAS_RESOURCE_BUNDLE = yes
-+
-+OBJCFLAGS += -Wall
-+
-+PdfViewer_GUI_LIBS += -lPDFKit
-+
-+PdfViewer_OBJC_FILES = PdfViewer.m
-+
-+PdfViewer_PRINCIPAL_CLASS = PdfViewer
-+
-+#PdfViewer_LANGUAGES = English
-+PdfViewer_RESOURCE_FILES = Images/* \
-+ InspectorInfo.plist \
-+ Resources/English.lproj
-+
-+#PdfViewer_LOCALIZED_RESOURCE_FILES = Localizable.strings
-+
-+-include GNUmakefile.preamble
-+
-+include $(GNUSTEP_MAKEFILES)/bundle.make
-+
-+-include GNUmakefile.postamble
-+
-diff -Naur GWorkspace-0.8.5.orig/Inspector/ContentViewers/PdfViewer/PdfViewer.h GWorkspace-0.8.5/Inspector/ContentViewers/PdfViewer/PdfViewer.h
---- GWorkspace-0.8.5.orig/Inspector/ContentViewers/PdfViewer/PdfViewer.h 2007-06-05 22:13:59.000000000 +0200
-+++ GWorkspace-0.8.5/Inspector/ContentViewers/PdfViewer/PdfViewer.h 2007-06-05 22:15:43.000000000 +0200
-@@ -46,8 +46,7 @@
- @class NSTextField;
- @class NSWorkspace;
- @class NSButton;
--@class PDFDocument;
--@class PDFImageRep;
-+@class PopplerDocument;
- @class NSImage;
-
- @interface PdfViewer : NSView <ContentViewersProtocol>
-@@ -62,8 +61,8 @@
- NSButton *editButt;
-
- NSString *pdfPath;
-- PDFDocument *pdfDoc;
-- PDFImageRep *imageRep;
-+ PopplerDocument *pdfDoc;
-+ id <PopplerBufferedRenderer> pdfRenderer;
-
- id <ContentInspectorProtocol>inspector;
- NSFileManager *fm;
-diff -Naur GWorkspace-0.8.5.orig/Inspector/ContentViewers/PdfViewer/PdfViewer.m GWorkspace-0.8.5/Inspector/ContentViewers/PdfViewer/PdfViewer.m
---- GWorkspace-0.8.5.orig/Inspector/ContentViewers/PdfViewer/PdfViewer.m 2007-06-05 22:13:59.000000000 +0200
-+++ GWorkspace-0.8.5/Inspector/ContentViewers/PdfViewer/PdfViewer.m 2007-06-05 22:27:13.000000000 +0200
-@@ -23,8 +23,9 @@
- */
-
- #include <AppKit/AppKit.h>
--#include <PDFKit/PDFDocument.h>
--#include <PDFKit/PDFImageRep.h>
-+#include <PopplerKit/PopplerDocument.h>
-+#include <PopplerKit/PopplerSplashRenderer.h>
-+#include <PopplerKit/PopplerCairoImageRenderer.h>
- #include <math.h>
- #include "PdfViewer.h"
-
-@@ -38,7 +39,7 @@
- {
- TEST_RELEASE (pdfPath);
- TEST_RELEASE (pdfDoc);
-- TEST_RELEASE (imageRep);
-+ TEST_RELEASE (pdfRenderer);
- RELEASE (backButt);
- RELEASE (nextButt);
- RELEASE (scroll);
-@@ -158,7 +159,7 @@
-
- - (void)displayPath:(NSString *)path
- {
-- PDFDocument *doc;
-+ PopplerDocument *doc;
-
- ASSIGN (pdfPath, path);
-
-@@ -168,11 +169,14 @@
-
- [editButt setEnabled: NO];
-
-- doc = [PDFDocument documentFromFile: pdfPath];
-+ NS_DURING
-+ doc = [PopplerDocument documentWithPath: pdfPath];
-+ NS_HANDLER
-+ doc = nil;
-+ NS_ENDHANDLER
-
-- if ([doc isOk] && ([doc errorCode] == 0)) {
-+ if (doc) {
- int npages;
-- NSSize imageSize;
- NSBundle *bundle;
- NSString *imagePath;
- NSImage *miniPage;
-@@ -234,13 +238,13 @@
- [matrix sizeToCells];
- RELEASE (miniPage);
-
-- DESTROY (imageRep);
-+ DESTROY (pdfRenderer);
- ASSIGN (pdfDoc, doc);
-
-- imageSize = NSMakeSize([pdfDoc pageWidth: 1],
-- [pdfDoc pageHeight: 1]);
-- imageRep = [[PDFImageRep alloc] initWithDocument: pdfDoc];
-- [imageRep setSize: imageSize];
-+ if ([PopplerCairoImageRenderer isSupported])
-+ pdfRenderer = [[PopplerCairoImageRenderer alloc] initWithDocument: pdfDoc];
-+ else
-+ pdfRenderer = [[PopplerSplashRenderer alloc] initWithDocument: pdfDoc];
-
- } else {
- if (valid) {
-@@ -276,18 +280,21 @@
- NSImage *image = nil;
- int index = [matrix selectedColumn] + 1;
- NSSize imsize = [imageView bounds].size;
-- NSSize unscaledSize = NSMakeSize([pdfDoc pageWidth: index],
-- [pdfDoc pageHeight: index]);
-+ NSSize unscaledSize = [[pdfDoc page: index] size];
-+ NSSize scaledSize = unscaledSize;
-+ float scaleFactor = 1.0;
-+ NSImageRep *imageRep;
-
- if ((imsize.width < unscaledSize.width)
- || (imsize.height < unscaledSize.height)) {
- float rw, rh;
-- NSSize scaledSize;
- float xfactor, yfactor;
-
- rw = imsize.width / unscaledSize.width;
- rh = imsize.height / unscaledSize.height;
-
-+ scaleFactor = rw <= rh ? rw : rh;
-+
- if (rw <= rh) {
- scaledSize.width = unscaledSize.width * rw;
- scaledSize.height = floor(imsize.width * unscaledSize.height / unscaledSize.width + 0.5);
-@@ -295,15 +302,9 @@
- scaledSize.height = unscaledSize.height * rh;
- scaledSize.width = floor(imsize.height * unscaledSize.width / unscaledSize.height + 0.5);
- }
--
-- xfactor = scaledSize.width / unscaledSize.width * PDFResolution;
-- yfactor = scaledSize.height / unscaledSize.height * PDFResolution;
--
-- [imageRep setResolution: (xfactor < yfactor ? xfactor : yfactor)];
- }
-
-- [imageRep setPageNum: index];
--
-+ imageRep = [pdfRenderer renderPage: [pdfDoc page: index] scale: scaleFactor];
- image = [[NSImage alloc] initWithSize: [imageRep size]];
- [image setBackgroundColor: [NSColor whiteColor]];
- [image setScalesWhenResized: YES];
-diff -Naur GWorkspace-0.8.5.orig/Inspector/GNUmakefile.in GWorkspace-0.8.5/Inspector/GNUmakefile.in
---- GWorkspace-0.8.5.orig/Inspector/GNUmakefile.in 2007-06-05 22:13:59.000000000 +0200
-+++ GWorkspace-0.8.5/Inspector/GNUmakefile.in 2007-06-05 22:15:43.000000000 +0200
-@@ -15,9 +15,9 @@
- Inspector_PRINCIPAL_CLASS = Inspector
- Inspector_HAS_RESOURCE_BUNDLE = yes
-
--ifneq ($(PDFKIT),no)
-- Inspector_GUI_LIBS += -lPDFKit
-- ADDITIONAL_LDFLAGS = -lPDFKit
-+ifneq ($(POPPLERKIT),no)
-+ Inspector_GUI_LIBS += -lPopplerKit
-+ ADDITIONAL_LDFLAGS = -lPopplerKit
- endif
-
- Inspector_RESOURCE_FILES = \
-diff -Naur GWorkspace-0.8.5.orig/Inspector/inspector.make.in GWorkspace-0.8.5/Inspector/inspector.make.in
---- GWorkspace-0.8.5.orig/Inspector/inspector.make.in 2007-06-05 22:13:59.000000000 +0200
-+++ GWorkspace-0.8.5/Inspector/inspector.make.in 2007-06-05 22:15:43.000000000 +0200
-@@ -2,6 +2,6 @@
- # Makefile flags and configs to build with the bundle
- #
-
--PDFKIT=@have_pdfkit@
-+POPPLERKIT=@have_popplerkit@
- SH_PATH=@SH_PATH@
- FILE_PATH=@FILE_PATH@
diff --git a/gnustep-apps/gworkspace/files/gworkspace-0.8.6-rpath.patch b/gnustep-apps/gworkspace/files/gworkspace-0.8.6-rpath.patch
deleted file mode 100644
index e2d4e9eb667e..000000000000
--- a/gnustep-apps/gworkspace/files/gworkspace-0.8.6-rpath.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-diff -Naur GWMetadata.old/gmds/mdextractor/GNUmakefile.preamble GWMetadata/gmds/mdextractor/GNUmakefile.preamble
---- GWMetadata.old/gmds/mdextractor/GNUmakefile.preamble 2007-02-23 14:14:52.000000000 +0100
-+++ GWMetadata/gmds/mdextractor/GNUmakefile.preamble 2007-05-03 14:21:57.000000000 +0200
-@@ -12,6 +12,7 @@
-
- ADDITIONAL_LIB_DIRS += -L../../MDKit/MDKit.framework/Versions/Current/$(GNUSTEP_TARGET_LDIR)
- ADDITIONAL_LIB_DIRS += -L../../../DBKit/$(GNUSTEP_OBJ_DIR)
-+ADDITIONAL_LIB_DIRS += -Wl,-rpath-link ../../../FSNode/FSNode.framework/Versions/Current/$(GNUSTEP_TARGET_LDIR)
-
- # Additional LDFLAGS to pass to the linker
- # ADDITIONAL_LDFLAGS +=
-diff -Naur GWMetadata.old/gmds/mdfind/GNUmakefile.preamble GWMetadata/gmds/mdfind/GNUmakefile.preamble
---- GWMetadata.old/gmds/mdfind/GNUmakefile.preamble 2007-02-23 14:14:50.000000000 +0100
-+++ GWMetadata/gmds/mdfind/GNUmakefile.preamble 2007-05-03 14:21:57.000000000 +0200
-@@ -16,6 +16,8 @@
-
- # Additional library directories the linker should search
- ADDITIONAL_LIB_DIRS += -L../../MDKit/MDKit.framework/Versions/Current/$(GNUSTEP_TARGET_LDIR)
-+ADDITIONAL_LIB_DIRS += -Wl,-rpath-link ../../../FSNode/FSNode.framework/Versions/Current/$(GNUSTEP_TARGET_LDIR)
-+ADDITIONAL_LIB_DIRS += -Wl,-rpath-link ../../../DBKit/$(GNUSTEP_OBJ_DIR)
-
-
- ADDITIONAL_TOOL_LIBS +=
-diff -Naur GWMetadata.old/GNUmakefile.preamble GWMetadata/GNUmakefile.preamble
---- GWMetadata.old/GNUmakefile.preamble 2007-02-23 14:14:55.000000000 +0100
-+++ GWMetadata/GNUmakefile.preamble 2007-05-03 14:21:57.000000000 +0200
-@@ -15,7 +15,7 @@
- ADDITIONAL_LDFLAGS +=
-
- # Additional library directories the linker should search
--ADDITIONAL_LIB_DIRS +=
-+ADDITIONAL_LIB_DIRS += -Wl,-rpath-link ../../../FSNode/FSNode.framework/Versions/0
-
-
- ADDITIONAL_TOOL_LIBS +=
-diff -Naur GWMetadata.old/MDFinder/GNUmakefile.preamble GWMetadata/MDFinder/GNUmakefile.preamble
---- GWMetadata.old/MDFinder/GNUmakefile.preamble 2007-02-23 14:14:44.000000000 +0100
-+++ GWMetadata/MDFinder/GNUmakefile.preamble 2007-05-03 14:21:57.000000000 +0200
-@@ -13,6 +13,7 @@
-
- ADDITIONAL_LIB_DIRS += -L../MDKit/MDKit.framework/Versions/Current/$(GNUSTEP_TARGET_LDIR)
- ADDITIONAL_LIB_DIRS += -L../../FSNode/FSNode.framework/Versions/Current/$(GNUSTEP_TARGET_LDIR)
-+ADDITIONAL_LIB_DIRS += -Wl,-rpath-link ../../DBKit/$(GNUSTEP_OBJ_DIR)
-
- # Additional LDFLAGS to pass to the linker
- # ADDITIONAL_LDFLAGS +=
diff --git a/gnustep-apps/gworkspace/files/gworkspace-0.9.2-rpath-link.patch b/gnustep-apps/gworkspace/files/gworkspace-0.9.2-rpath-link.patch
new file mode 100644
index 000000000000..53bd503e9e46
--- /dev/null
+++ b/gnustep-apps/gworkspace/files/gworkspace-0.9.2-rpath-link.patch
@@ -0,0 +1,11 @@
+--- GWMetadata/MDFinder/GNUmakefile.preamble.orig 2013-04-04 11:05:53.208502021 +0200
++++ GWMetadata/MDFinder/GNUmakefile.preamble 2013-04-04 11:05:55.012501940 +0200
+@@ -13,7 +13,7 @@
+
+ ADDITIONAL_LIB_DIRS += -L../MDKit/MDKit.framework/Versions/Current/$(GNUSTEP_TARGET_LDIR)
+ ADDITIONAL_LIB_DIRS += -L../../FSNode/FSNode.framework/Versions/Current/$(GNUSTEP_TARGET_LDIR)
+-ADDITIONAL_LIB_DIRS += -L../../DBKit/$(GNUSTEP_OBJ_DIR)
++ADDITIONAL_LIB_DIRS += -Wl,-rpath-link ../../DBKit/$(GNUSTEP_OBJ_DIR)
+
+ # Additional LDFLAGS to pass to the linker
+ # ADDITIONAL_LDFLAGS +=
diff --git a/gnustep-apps/gworkspace/gworkspace-0.9.2.ebuild b/gnustep-apps/gworkspace/gworkspace-0.9.2.ebuild
new file mode 100644
index 000000000000..8c87393d893b
--- /dev/null
+++ b/gnustep-apps/gworkspace/gworkspace-0.9.2.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/gnustep-apps/gworkspace/gworkspace-0.9.2.ebuild,v 1.1 2013/04/04 09:15:00 voyageur Exp $
+
+EAPI=5
+inherit gnustep-2
+
+DESCRIPTION="A workspace manager for GNUstep"
+HOMEPAGE="http://www.gnustep.org/experience/GWorkspace.html"
+SRC_URI="ftp://ftp.gnustep.org/pub/gnustep/usr-apps/${P}.tar.gz"
+
+KEYWORDS="~amd64 ~ppc ~x86"
+LICENSE="GPL-2"
+SLOT="0"
+
+IUSE="+gwmetadata"
+
+DEPEND="gwmetadata? ( >=gnustep-apps/systempreferences-1.0.1_p24791
+ >=dev-db/sqlite-3.2.8 )"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-rpath-link.patch
+}
+
+src_configure() {
+ local myconf=""
+ use kernel_linux && myconf="${myconf} --with-inotify"
+ use gwmetadata && myconf="${myconf} --enable-gwmetadata"
+
+ egnustep_env
+ econf ${myconf}
+}
+
+src_install() {
+ egnustep_env
+ egnustep_install
+
+ if use doc;
+ then
+ dodir /usr/share/doc/${PF}
+ cp "${S}"/Documentation/*.pdf "${D}"/usr/share/doc/${PF}
+ fi
+}
diff --git a/gnustep-apps/gworkspace/metadata.xml b/gnustep-apps/gworkspace/metadata.xml
index 0783c19cf4a8..5bdd0028e1b7 100644
--- a/gnustep-apps/gworkspace/metadata.xml
+++ b/gnustep-apps/gworkspace/metadata.xml
@@ -5,4 +5,7 @@
<longdescription>
GWorkspace is the official GNUstep workspace manager. It is a clone of the NeXT workspace manager. GWorkspace is becoming more and more stable every day and it is already ready for daily usage.
</longdescription>
+<use>
+ <flag name='gwmetadata'>Enable the metadata indexing and searching system</flag>
+</use>
</pkgmetadata>