Date: Wednesday, October 9, 2013 @ 07:43:32 Author: bgyorgy Revision: 98365
archrelease: copy trunk to community-any Added: pdfmod/repos/community-any/LICENSE-PDFsharp (from rev 98364, pdfmod/trunk/LICENSE-PDFsharp) pdfmod/repos/community-any/PKGBUILD (from rev 98364, pdfmod/trunk/PKGBUILD) pdfmod/repos/community-any/pdfmod-mono-2.10.patch (from rev 98364, pdfmod/trunk/pdfmod-mono-2.10.patch) pdfmod/repos/community-any/pdfmod.install (from rev 98364, pdfmod/trunk/pdfmod.install) Deleted: pdfmod/repos/community-any/LICENSE-PDFsharp pdfmod/repos/community-any/PKGBUILD pdfmod/repos/community-any/pdfmod-mono-2.10.patch pdfmod/repos/community-any/pdfmod.install ------------------------+ LICENSE-PDFsharp | 48 +++++++++++++------------- PKGBUILD | 85 +++++++++++++++++++++++++---------------------- pdfmod-mono-2.10.patch | 50 +++++++++++++-------------- pdfmod.install | 24 ++++++------- 4 files changed, 107 insertions(+), 100 deletions(-) Deleted: LICENSE-PDFsharp =================================================================== --- LICENSE-PDFsharp 2013-10-09 05:43:26 UTC (rev 98364) +++ LICENSE-PDFsharp 2013-10-09 05:43:32 UTC (rev 98365) @@ -1,24 +0,0 @@ -PDFSharp is a MIT/X11 licensed project. - -Copyright (c) 2005-2012 empira Software GmbH, Cologne (Germany) - -Permission is hereby granted, free of charge, to any person -obtaining a copy of this software and associated documentation -files (the "Software"), to deal in the Software without -restriction, including without limitation the rights to use, -copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the -Software is furnished to do so, subject to the following -conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES -OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT -HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR -OTHER DEALINGS IN THE SOFTWARE. Copied: pdfmod/repos/community-any/LICENSE-PDFsharp (from rev 98364, pdfmod/trunk/LICENSE-PDFsharp) =================================================================== --- LICENSE-PDFsharp (rev 0) +++ LICENSE-PDFsharp 2013-10-09 05:43:32 UTC (rev 98365) @@ -0,0 +1,24 @@ +PDFSharp is a MIT/X11 licensed project. + +Copyright (c) 2005-2012 empira Software GmbH, Cologne (Germany) + +Permission is hereby granted, free of charge, to any person +obtaining a copy of this software and associated documentation +files (the "Software"), to deal in the Software without +restriction, including without limitation the rights to use, +copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the +Software is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +OTHER DEALINGS IN THE SOFTWARE. Deleted: PKGBUILD =================================================================== --- PKGBUILD 2013-10-09 05:43:26 UTC (rev 98364) +++ PKGBUILD 2013-10-09 05:43:32 UTC (rev 98365) @@ -1,39 +0,0 @@ -# $Id$ -# Maintainer: Balló György <ballogyor+arch at gmail dot com> -# Contributor: Claudio Riva <firetu...@gmail.com> - -pkgname=pdfmod -pkgver=0.9.1 -pkgrel=4 -pkgdesc="Simple application for modifying PDF written in C Sharp" -arch=('any') -url="http://live.gnome.org/PdfMod" -license=('GPL' 'MIT') -depends=('gconf-sharp' 'poppler-glib' 'desktop-file-utils' 'hicolor-icon-theme' 'xdg-utils') -makedepends=('hyena' 'poppler-sharp' 'intltool' 'gnome-doc-utils') -install=$pkgname.install -source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2 - pdfmod-mono-2.10.patch - LICENSE-PDFsharp) -sha256sums=('eb7c987514a053106ddf03f26544766c751c801d87762909b36415d46bc425c9' - 'f606f29f881f7171b43fed97aab58c1e1f5b78aa96e33d1c43e2526736651acd' - '5d2b6e1a9e5582f9c5d129f222ff01ca6ce3dfa4a5c1f5c41ba827fe0fbeb4bd') - -build() { - cd "$srcdir/$pkgname-$pkgver" - - # https://bugzilla.gnome.org/show_bug.cgi?id=644516 - patch -Np1 -i "$srcdir/pdfmod-mono-2.10.patch" - - ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ - --disable-scrollkeeper - make -} - -package() { - cd "$srcdir/$pkgname-$pkgver" - - make DESTDIR="$pkgdir/" install - - install -Dm644 "$srcdir/LICENSE-PDFsharp" "$pkgdir/usr/share/licenses/$pkgname/LICENSE-PDFsharp" -} Copied: pdfmod/repos/community-any/PKGBUILD (from rev 98364, pdfmod/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2013-10-09 05:43:32 UTC (rev 98365) @@ -0,0 +1,46 @@ +# $Id$ +# Maintainer: Balló György <ballogyor+arch at gmail dot com> +# Contributor: Claudio Riva <firetu...@gmail.com> + +pkgname=pdfmod +pkgver=0.9.1 +pkgrel=5 +pkgdesc="Simple application for modifying PDF written in C Sharp" +arch=('any') +url="http://live.gnome.org/PdfMod" +license=('GPL' 'MIT') +depends=('gconf-sharp' 'poppler-glib' 'desktop-file-utils' 'hicolor-icon-theme' 'xdg-utils') +makedepends=('hyena' 'poppler-sharp' 'intltool' 'gnome-doc-utils') +install=$pkgname.install +source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2 + pdfmod-mono-2.10.patch + LICENSE-PDFsharp) +sha256sums=('eb7c987514a053106ddf03f26544766c751c801d87762909b36415d46bc425c9' + 'f606f29f881f7171b43fed97aab58c1e1f5b78aa96e33d1c43e2526736651acd' + '5d2b6e1a9e5582f9c5d129f222ff01ca6ce3dfa4a5c1f5c41ba827fe0fbeb4bd') + +prepare() { + cd "$srcdir/$pkgname-$pkgver" + + # https://bugzilla.gnome.org/show_bug.cgi?id=644516 + patch -Np1 -i "$srcdir/pdfmod-mono-2.10.patch" + + # Fix build + sed -i 's/gmcs/dmcs/' configure{,.ac} +} + +build() { + cd "$srcdir/$pkgname-$pkgver" + + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ + --disable-scrollkeeper + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make DESTDIR="$pkgdir/" install + + install -Dm644 "$srcdir/LICENSE-PDFsharp" "$pkgdir/usr/share/licenses/$pkgname/LICENSE-PDFsharp" +} Deleted: pdfmod-mono-2.10.patch =================================================================== --- pdfmod-mono-2.10.patch 2013-10-09 05:43:26 UTC (rev 98364) +++ pdfmod-mono-2.10.patch 2013-10-09 05:43:32 UTC (rev 98365) @@ -1,25 +0,0 @@ -From a29cfe7f8f31ce003fa3e307d54d86a2a8e8cf19 Mon Sep 17 00:00:00 2001 -From: Nuno Araujo <nuno.ara...@russo79.com> -Date: Mon, 21 Mar 2011 04:10:52 +0000 -Subject: Fix compilation under Mono 2.10 (bgo#644516) - -Force use of the overloaded implicit operator of Hyena.Gui.DragDropList -to solve mono 2.10 compilation problems. - -Signed-off-by: Alexander Kojevnikov <alexan...@kojevnikov.com> ---- -diff --git a/src/PdfMod/Gui/DocumentIconView.cs b/src/PdfMod/Gui/DocumentIconView.cs -index 5796c72..386d662 100644 ---- a/src/PdfMod/Gui/DocumentIconView.cs -+++ b/src/PdfMod/Gui/DocumentIconView.cs -@@ -319,7 +319,7 @@ namespace PdfMod.Gui - if (to_index < 0) - return; - -- var pages = args.SelectionData.Data as Hyena.Gui.DragDropList<Page>; -+ Hyena.Gui.DragDropList<Page> pages = args.SelectionData; - to_index -= pages.Count (p => p.Index < to_index); - var action = new MoveAction (document, pages, to_index); - action.Do (); --- -cgit v0.9.0.2 Copied: pdfmod/repos/community-any/pdfmod-mono-2.10.patch (from rev 98364, pdfmod/trunk/pdfmod-mono-2.10.patch) =================================================================== --- pdfmod-mono-2.10.patch (rev 0) +++ pdfmod-mono-2.10.patch 2013-10-09 05:43:32 UTC (rev 98365) @@ -0,0 +1,25 @@ +From a29cfe7f8f31ce003fa3e307d54d86a2a8e8cf19 Mon Sep 17 00:00:00 2001 +From: Nuno Araujo <nuno.ara...@russo79.com> +Date: Mon, 21 Mar 2011 04:10:52 +0000 +Subject: Fix compilation under Mono 2.10 (bgo#644516) + +Force use of the overloaded implicit operator of Hyena.Gui.DragDropList +to solve mono 2.10 compilation problems. + +Signed-off-by: Alexander Kojevnikov <alexan...@kojevnikov.com> +--- +diff --git a/src/PdfMod/Gui/DocumentIconView.cs b/src/PdfMod/Gui/DocumentIconView.cs +index 5796c72..386d662 100644 +--- a/src/PdfMod/Gui/DocumentIconView.cs ++++ b/src/PdfMod/Gui/DocumentIconView.cs +@@ -319,7 +319,7 @@ namespace PdfMod.Gui + if (to_index < 0) + return; + +- var pages = args.SelectionData.Data as Hyena.Gui.DragDropList<Page>; ++ Hyena.Gui.DragDropList<Page> pages = args.SelectionData; + to_index -= pages.Count (p => p.Index < to_index); + var action = new MoveAction (document, pages, to_index); + action.Do (); +-- +cgit v0.9.0.2 Deleted: pdfmod.install =================================================================== --- pdfmod.install 2013-10-09 05:43:26 UTC (rev 98364) +++ pdfmod.install 2013-10-09 05:43:32 UTC (rev 98365) @@ -1,12 +0,0 @@ -post_install() { - update-desktop-database -q - xdg-icon-resource forceupdate -} - -post_upgrade() { - post_install $1 -} - -post_remove() { - post_install $1 -} Copied: pdfmod/repos/community-any/pdfmod.install (from rev 98364, pdfmod/trunk/pdfmod.install) =================================================================== --- pdfmod.install (rev 0) +++ pdfmod.install 2013-10-09 05:43:32 UTC (rev 98365) @@ -0,0 +1,12 @@ +post_install() { + update-desktop-database -q + xdg-icon-resource forceupdate +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +}