summaryrefslogtreecommitdiff
path: root/gnustep-apps/preview
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-12 19:09:37 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-12 19:09:37 -0500
commitb590c8d7572b727d565cc0b8ff660d43569845de (patch)
tree06f7a4102ea4e845df8b66660f252920d52952f9 /gnustep-apps/preview
parent24f9cbfc4c34fdb6a6e03311674414e881ceab47 (diff)
downloadbaldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.gz
baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.xz
baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.zip
Adding metadata
Diffstat (limited to 'gnustep-apps/preview')
-rw-r--r--gnustep-apps/preview/Manifest1
-rw-r--r--gnustep-apps/preview/files/preview-0.8.5-compilation-errors.patch30
-rw-r--r--gnustep-apps/preview/metadata.xml19
-rw-r--r--gnustep-apps/preview/preview-0.9-r1.ebuild25
4 files changed, 75 insertions, 0 deletions
diff --git a/gnustep-apps/preview/Manifest b/gnustep-apps/preview/Manifest
new file mode 100644
index 000000000000..bba30a989379
--- /dev/null
+++ b/gnustep-apps/preview/Manifest
@@ -0,0 +1 @@
+DIST Preview-0.9.tar.gz 77516 BLAKE2B 08de03008f8b1192e3ab3d41238a4147612a20e13596e6a9d464fbc2162e1fd2ea2869d528fc516f1db21693b5b347bcf022819890de20a571c962bc85beb7e7 SHA512 cfca47e8024f4db2486c3c9c9334b0f5b74f71e6386b227b417f62df541cddf2e2d77d50c9ffce7287284d1339bedb9c929e6254810f370229b59d325fc332ba
diff --git a/gnustep-apps/preview/files/preview-0.8.5-compilation-errors.patch b/gnustep-apps/preview/files/preview-0.8.5-compilation-errors.patch
new file mode 100644
index 000000000000..247a7c8b171d
--- /dev/null
+++ b/gnustep-apps/preview/files/preview-0.8.5-compilation-errors.patch
@@ -0,0 +1,30 @@
+2010-05-18 Federico Gimenez Nieto <fgimenez@coit.es>
+
+ * Document.m: Import <AppKit/AppKit.h>.
+
+Index: preview.app-0.8.5/Document.m
+===================================================================
+--- preview.app-0.8.5.orig/Document.m 2010-05-18 19:18:11.000000000 +0200
++++ preview.app-0.8.5/Document.m 2010-05-18 19:18:23.000000000 +0200
+@@ -35,20 +35,7 @@
+
+ #include <Foundation/NSNotification.h>
+
+-#include <AppKit/NSApplication.h>
+-#include <AppKit/NSAffineTransform.h>
+-#include <AppKit/NSClipView.h>
+-#include <AppKit/NSCursor.h>
+-#include <AppKit/NSImage.h>
+-#include <AppKit/NSImageView.h>
+-#include <AppKit/NSMatrix.h>
+-#include <AppKit/NSPasteboard.h>
+-#include <AppKit/NSPopUpButton.h>
+-#include <AppKit/NSScreen.h>
+-#include <AppKit/NSScrollView.h>
+-#include <AppKit/NSWindow.h>
+-#include <AppKit/NSWindowController.h>
+-#include <AppKit/NSScroller.h>
++#include <AppKit/AppKit.h>
+
+ /*********************************************************************/
+ /**************** NSDocument Private methods *************************/
diff --git a/gnustep-apps/preview/metadata.xml b/gnustep-apps/preview/metadata.xml
new file mode 100644
index 000000000000..25fc2b0b56fd
--- /dev/null
+++ b/gnustep-apps/preview/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>gnustep@gentoo.org</email>
+ <name>Gentoo GNUstep Project</name>
+ </maintainer>
+ <longdescription>
+* Open GNUstep images file supported by GNUstep (usaly tiff/jpeg/gif/png)
+* Save as and Save To (tiff only)
+* Print and Page Layout
+* Zoom
+* The image can be copy into the Pasboard (to be paste or use by services)
+* Documentation
+* Source fully available
+* Release under the GNU GENERAL PUBLIC LICENSE 2
+</longdescription>
+ <origin>baldeagleos-repo</origin>
+</pkgmetadata>
diff --git a/gnustep-apps/preview/preview-0.9-r1.ebuild b/gnustep-apps/preview/preview-0.9-r1.ebuild
new file mode 100644
index 000000000000..7d565c0db321
--- /dev/null
+++ b/gnustep-apps/preview/preview-0.9-r1.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gnustep-2
+
+DESCRIPTION="Simple image viewer"
+HOMEPAGE="https://salsa.debian.org/gnustep-team/preview.app"
+SRC_URI="mirror://gentoo//${P/p/P}.tar.gz"
+S="${WORKDIR}/${PN/p/P}"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 ~ppc x86"
+
+PATCHES=(
+ # Fix compilation, patch from debian
+ "${FILESDIR}"/${PN}-0.8.5-compilation-errors.patch
+)
+
+src_prepare() {
+ default
+ sed -e 's/sel_eq(/sel_isEqual(/' -i Document.m || die
+}