summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /gnustep-apps/preview
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'gnustep-apps/preview')
-rw-r--r--gnustep-apps/preview/Manifest2
-rw-r--r--gnustep-apps/preview/files/preview-0.8.5-compilation-errors.patch30
-rw-r--r--gnustep-apps/preview/metadata.xml15
-rw-r--r--gnustep-apps/preview/preview-0.8.5-r1.ebuild26
-rw-r--r--gnustep-apps/preview/preview-0.9.ebuild22
5 files changed, 95 insertions, 0 deletions
diff --git a/gnustep-apps/preview/Manifest b/gnustep-apps/preview/Manifest
new file mode 100644
index 000000000000..0e752680636d
--- /dev/null
+++ b/gnustep-apps/preview/Manifest
@@ -0,0 +1,2 @@
+DIST Preview-0.8.5.tar.gz 68933 SHA256 ddee5ae39ade5b5820e9af6492fb6b84f7c80e5dac6c026e17ae1f2dd44a62f4 SHA512 da7aeacbe383da5655970eb4d4b115ae456e568040376931f93d96838de3275525f45cbc8a10464964f102f1f6b21c191bbacd8cf05c1e77270fe80ef47b2052 WHIRLPOOL add522c37878e74ad91528a3ac8730d5a65bbbddf8b8996f731e8a426ed82c1fe42087a9bff70287cf687de405f4abd3366d3ffe4bd056952f3ba4e444462fe7
+DIST Preview-0.9.tar.gz 77516 SHA256 95b790062ff0d67368299125ab3a4295d80ef5ab2d57e8b85e262deea3508a71 SHA512 cfca47e8024f4db2486c3c9c9334b0f5b74f71e6386b227b417f62df541cddf2e2d77d50c9ffce7287284d1339bedb9c929e6254810f370229b59d325fc332ba WHIRLPOOL cdc7cea717ad2cd66a1dd4ca2a170093f19dac1ebc44df26abfb54fc7be306e95e00231b4cc2a0ef79a0e474b7fde49dc5df0048ee4fddbf9a18c8b027119b4e
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..cdb845c739e2
--- /dev/null
+++ b/gnustep-apps/preview/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>gnustep</herd>
+<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>
+</pkgmetadata>
diff --git a/gnustep-apps/preview/preview-0.8.5-r1.ebuild b/gnustep-apps/preview/preview-0.8.5-r1.ebuild
new file mode 100644
index 000000000000..952fd178ded4
--- /dev/null
+++ b/gnustep-apps/preview/preview-0.8.5-r1.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+inherit gnustep-2
+
+S=${WORKDIR}/${PN/p/P}
+
+DESCRIPTION="Simple image viewer"
+HOMEPAGE="http://home.gna.org/gsimageapps/"
+SRC_URI="http://download.gna.org/gsimageapps/${P/p/P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # Fix broken french lproj
+ rmdir French.lproj/Preview.gorm
+ ln -s ../English.lproj/Preview.gorm French.lproj
+
+ # Fix compilation, patch from debian
+ epatch "${FILESDIR}"/${P}-compilation-errors.patch
+}
diff --git a/gnustep-apps/preview/preview-0.9.ebuild b/gnustep-apps/preview/preview-0.9.ebuild
new file mode 100644
index 000000000000..90bd133fcd0b
--- /dev/null
+++ b/gnustep-apps/preview/preview-0.9.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=3
+inherit gnustep-2
+
+S=${WORKDIR}/${PN/p/P}
+
+DESCRIPTION="Simple image viewer"
+HOMEPAGE="http://www.sonappart.net/softwares/preview/"
+SRC_URI="http://www.sonappart.net/softwares/preview/download/${P/p/P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~ppc x86"
+IUSE=""
+
+src_prepare() {
+ sed -e 's/sel_eq(/sel_isEqual(/' -i Document.m || die "sed failed"
+ # Fix compilation, patch from debian
+ epatch "${FILESDIR}"/${PN}-0.8.5-compilation-errors.patch
+}