diff options
author | wiz <wiz> | 2014-05-26 09:34:15 +0000 |
---|---|---|
committer | wiz <wiz> | 2014-05-26 09:34:15 +0000 |
commit | 064487600217307af89934289cdd2acbaef8a026 (patch) | |
tree | f382bb4ac12cc9260e82cc6c84a4a3870681fb83 /print | |
parent | 7375eb90094f1010ba1ba2c3f332aa65389d642f (diff) | |
download | pkgsrc-064487600217307af89934289cdd2acbaef8a026.tar.gz |
Import pdfmod-0.9.1nb1 as print/pdfmod, packaged for wip by jihbed
and myself.
PDF Mod is a simple application for modifying PDF documents.
You can reorder, rotate, and remove pages, export images from a
document, edit the title, subject, author, and keywords, and combine
documents via drag and drop.
Diffstat (limited to 'print')
-rw-r--r-- | print/pdfmod/DESCR | 5 | ||||
-rw-r--r-- | print/pdfmod/Makefile | 30 | ||||
-rw-r--r-- | print/pdfmod/PLIST | 60 | ||||
-rw-r--r-- | print/pdfmod/distinfo | 7 | ||||
-rw-r--r-- | print/pdfmod/patches/patch-src_Makefile.in | 16 | ||||
-rw-r--r-- | print/pdfmod/patches/patch-src_PdfMod_Gui_DocumentIconView.cs | 15 |
6 files changed, 133 insertions, 0 deletions
diff --git a/print/pdfmod/DESCR b/print/pdfmod/DESCR new file mode 100644 index 00000000000..1a83f68d90f --- /dev/null +++ b/print/pdfmod/DESCR @@ -0,0 +1,5 @@ +PDF Mod is a simple application for modifying PDF documents. + +You can reorder, rotate, and remove pages, export images from a +document, edit the title, subject, author, and keywords, and combine +documents via drag and drop. diff --git a/print/pdfmod/Makefile b/print/pdfmod/Makefile new file mode 100644 index 00000000000..115c05cf8f4 --- /dev/null +++ b/print/pdfmod/Makefile @@ -0,0 +1,30 @@ +# $NetBSD: Makefile,v 1.1 2014/05/26 09:34:15 wiz Exp $ + +DISTNAME= pdfmod-0.9.1 +PKGREVISION= 1 +CATEGORIES= print +MASTER_SITES= ${MASTER_SITE_GNOME:=sources/pdfmod/0.9/} +EXTRACT_SUFX= .tar.bz2 + +MAINTAINER= pkgsrc.gnome@gmail.com +HOMEPAGE= https://wiki.gnome.org/Apps/PdfMod +COMMENT= PDF Mod is a simple tool for modifying PDF documents +LICENSE= gnu-gpl-v2 + +GNU_CONFIGURE= yes +USE_PKGLOCALEDIR= yes +USE_TOOLS+= pkg-config intltool msgfmt gmake +USE_LANGUAGES= c c++ +REPLACE_SH= icon-theme-installer + +INSTALLATION_DIRS+= lib/pdfmod + +.include "../../graphics/hicolor-icon-theme/buildlink3.mk" +.include "../../lang/mono2/buildlink3.mk" +.include "../../sysutils/desktop-file-utils/desktopdb.mk" +.include "../../textproc/gnome-doc-utils/buildlink3.mk" +.include "../../x11/hyena/buildlink3.mk" +# gnome-sharp not needed, but gconf-sharp +.include "../../x11/gnome-sharp/buildlink3.mk" +.include "../../x11/gtk-sharp/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/print/pdfmod/PLIST b/print/pdfmod/PLIST new file mode 100644 index 00000000000..9d1280bff73 --- /dev/null +++ b/print/pdfmod/PLIST @@ -0,0 +1,60 @@ +@comment $NetBSD: PLIST,v 1.1 2014/05/26 09:34:15 wiz Exp $ +bin/pdfmod +lib/pdfmod/Hyena.Gui.dll +lib/pdfmod/Hyena.Gui.dll.config +lib/pdfmod/Hyena.Gui.dll.mdb +lib/pdfmod/Hyena.dll +lib/pdfmod/Hyena.dll.config +lib/pdfmod/Hyena.dll.mdb +lib/pdfmod/PdfMod.exe +lib/pdfmod/PdfMod.exe.mdb +lib/pdfmod/PdfSharp.dll +lib/pdfmod/PdfSharp.dll.mdb +lib/pdfmod/poppler-sharp.dll +lib/pdfmod/poppler-sharp.dll.config +lib/pdfmod/poppler-sharp.dll.mdb +share/applications/pdfmod.desktop +share/gnome/help/pdfmod/C/pdfmod.xml +share/gnome/help/pdfmod/ca/pdfmod.xml +share/gnome/help/pdfmod/cs/pdfmod.xml +share/gnome/help/pdfmod/da/pdfmod.xml +share/gnome/help/pdfmod/de/pdfmod.xml +share/gnome/help/pdfmod/es/pdfmod.xml +share/gnome/help/pdfmod/fr/pdfmod.xml +share/gnome/help/pdfmod/hr/pdfmod.xml +share/gnome/help/pdfmod/pl/pdfmod.xml +share/gnome/help/pdfmod/sl/pdfmod.xml +share/gnome/help/pdfmod/sv/pdfmod.xml +share/gnome/help/pdfmod/zh_CN/pdfmod.xml +share/icons/hicolor/16x16/apps/pdfmod.png +share/icons/hicolor/22x22/apps/pdfmod.png +share/icons/hicolor/24x24/apps/pdfmod.png +share/icons/hicolor/256x256/apps/pdfmod.png +share/icons/hicolor/32x32/apps/pdfmod.png +share/icons/hicolor/scalable/apps/pdfmod.svg +share/locale/bn_IN/LC_MESSAGES/pdfmod.mo +share/locale/ca/LC_MESSAGES/pdfmod.mo +share/locale/ca@valencia/LC_MESSAGES/pdfmod.mo +share/locale/cs/LC_MESSAGES/pdfmod.mo +share/locale/da/LC_MESSAGES/pdfmod.mo +share/locale/de/LC_MESSAGES/pdfmod.mo +share/locale/es/LC_MESSAGES/pdfmod.mo +share/locale/et/LC_MESSAGES/pdfmod.mo +share/locale/fr/LC_MESSAGES/pdfmod.mo +share/locale/gl/LC_MESSAGES/pdfmod.mo +share/locale/hr/LC_MESSAGES/pdfmod.mo +share/locale/hu/LC_MESSAGES/pdfmod.mo +share/locale/it/LC_MESSAGES/pdfmod.mo +share/locale/ja/LC_MESSAGES/pdfmod.mo +share/locale/lt/LC_MESSAGES/pdfmod.mo +share/locale/nb/LC_MESSAGES/pdfmod.mo +share/locale/nl/LC_MESSAGES/pdfmod.mo +share/locale/pl/LC_MESSAGES/pdfmod.mo +share/locale/pt/LC_MESSAGES/pdfmod.mo +share/locale/pt_BR/LC_MESSAGES/pdfmod.mo +share/locale/ro/LC_MESSAGES/pdfmod.mo +share/locale/ru/LC_MESSAGES/pdfmod.mo +share/locale/sl/LC_MESSAGES/pdfmod.mo +share/locale/sv/LC_MESSAGES/pdfmod.mo +share/locale/ta/LC_MESSAGES/pdfmod.mo +share/locale/zh_CN/LC_MESSAGES/pdfmod.mo diff --git a/print/pdfmod/distinfo b/print/pdfmod/distinfo new file mode 100644 index 00000000000..62a46eeaa48 --- /dev/null +++ b/print/pdfmod/distinfo @@ -0,0 +1,7 @@ +$NetBSD: distinfo,v 1.1 2014/05/26 09:34:15 wiz Exp $ + +SHA1 (pdfmod-0.9.1.tar.bz2) = 52cdd996df800efe7fc40bf2f258d7e66abe1a47 +RMD160 (pdfmod-0.9.1.tar.bz2) = 82f1a3a14f426b3174bfaa46ce384cc5de51be28 +Size (pdfmod-0.9.1.tar.bz2) = 667450 bytes +SHA1 (patch-src_Makefile.in) = 3f6183e913f867012c8b356c610904f753c30679 +SHA1 (patch-src_PdfMod_Gui_DocumentIconView.cs) = c2c0e2534627f30660e3f43623c99585d2d80ec4 diff --git a/print/pdfmod/patches/patch-src_Makefile.in b/print/pdfmod/patches/patch-src_Makefile.in new file mode 100644 index 00000000000..a66619b8181 --- /dev/null +++ b/print/pdfmod/patches/patch-src_Makefile.in @@ -0,0 +1,16 @@ +$NetBSD: patch-src_Makefile.in,v 1.1 2014/05/26 09:34:15 wiz Exp $ + +Fix +error CS1705: Assembly `Hyena.Gui, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' references `Mono.Cairo, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756' which has a higher version number than imported assembly `Mono.Cairo, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756' + +--- src/Makefile.in.orig 2013-05-29 10:52:27.000000000 +0000 ++++ src/Makefile.in +@@ -223,7 +223,7 @@ EXTRA_DIST = $(build_sources) $(build_re + $(build_others_files) $(ASSEMBLY_WRAPPER_IN) $(EXTRAS) \ + $(DATA_FILES) $(build_culture_res_files) + ASSEMBLY_COMPILER_COMMAND = $(MCS) +-ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize+ -debug "-define:DEBUG" ++ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize+ -debug "-define:DEBUG" -sdk:4 + ASSEMBLY = ../bin/PdfMod.exe + ASSEMBLY_MDB = $(ASSEMBLY).mdb + COMPILE_TARGET = exe diff --git a/print/pdfmod/patches/patch-src_PdfMod_Gui_DocumentIconView.cs b/print/pdfmod/patches/patch-src_PdfMod_Gui_DocumentIconView.cs new file mode 100644 index 00000000000..f629a1fd5a8 --- /dev/null +++ b/print/pdfmod/patches/patch-src_PdfMod_Gui_DocumentIconView.cs @@ -0,0 +1,15 @@ +$NetBSD: patch-src_PdfMod_Gui_DocumentIconView.cs,v 1.1 2014/05/26 09:34:15 wiz Exp $ + +Fix build with mono-2.10, from git. + +--- src/PdfMod/Gui/DocumentIconView.cs.orig 2011-03-03 15:51:49.000000000 +0000 ++++ 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 (); |