pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/editors Add editors/xournalpp. Based on work in pkgsrc...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a8c1b11fe0a1
branches:  trunk
changeset: 402784:a8c1b11fe0a1
user:      nia <nia%pkgsrc.org@localhost>
date:      Wed Oct 16 13:34:08 2019 +0000

description:
Add editors/xournalpp. Based on work in pkgsrc-wip by Yorick Hardy.

Xournal++ is a handwriting notetaking software with PDF annotation support.
Written in C++ with GTK3. Supports pen input from devices such as Wacom
Tablets.

diffstat:

 editors/Makefile                               |    3 +-
 editors/xournalpp/DESCR                        |    3 +
 editors/xournalpp/Makefile                     |   36 ++++++
 editors/xournalpp/PLIST                        |  137 +++++++++++++++++++++++++
 editors/xournalpp/distinfo                     |    7 +
 editors/xournalpp/patches/patch-CMakeLists.txt |   26 ++++
 6 files changed, 211 insertions(+), 1 deletions(-)

diffs (246 lines):

diff -r 09512c0e37da -r a8c1b11fe0a1 editors/Makefile
--- a/editors/Makefile  Wed Oct 16 13:30:24 2019 +0000
+++ b/editors/Makefile  Wed Oct 16 13:34:08 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.192 2019/09/15 13:38:03 nia Exp $
+# $NetBSD: Makefile,v 1.193 2019/10/16 13:34:08 nia Exp $
 #
 
 COMMENT=       Editors
@@ -166,6 +166,7 @@
 SUBDIR+=       xfce4-mousepad
 SUBDIR+=       xjed
 SUBDIR+=       xournal
+SUBDIR+=       xournalpp
 SUBDIR+=       xvile
 SUBDIR+=       xwpe
 SUBDIR+=       yed
diff -r 09512c0e37da -r a8c1b11fe0a1 editors/xournalpp/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/editors/xournalpp/DESCR   Wed Oct 16 13:34:08 2019 +0000
@@ -0,0 +1,3 @@
+Xournal++ is a handwriting notetaking software with PDF annotation support.
+Written in C++ with GTK3. Supports pen input from devices such as Wacom
+Tablets.
diff -r 09512c0e37da -r a8c1b11fe0a1 editors/xournalpp/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/editors/xournalpp/Makefile        Wed Oct 16 13:34:08 2019 +0000
@@ -0,0 +1,36 @@
+# $NetBSD: Makefile,v 1.1 2019/10/16 13:34:08 nia Exp $
+
+DISTNAME=      xournalpp-1.0.15
+CATEGORIES=    editors
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=xournalpp/}
+GITHUB_PROJECT=        xournalpp
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/xournalpp/xournalpp
+COMMENT=       Take notes, sketch and annotate PDFs
+LICENSE=       gnu-gpl-v2
+
+USE_CMAKE=     yes
+USE_TOOLS+=    pkg-config
+USE_TOOLS+=    msgfmt msgmerge xgettext
+USE_LANGUAGES= c c++11
+
+# C++11
+GCC_REQD+=     4.7
+
+DEPENDS+=      tex-amsfonts-[0-9]*:../../fonts/tex-amsfonts
+DEPENDS+=      tex-amsmath-[0-9]*:../../print/tex-amsmath
+DEPENDS+=      tex-latex-[0-9]*:../../print/tex-latex
+DEPENDS+=      tex-latex-bin-[0-9]*:../../print/tex-latex-bin
+DEPENDS+=      tex-standalone-[0-9]*:../../print/tex-standalone
+
+.include "../../archivers/libzip/buildlink3.mk"
+.include "../../audio/libsndfile/buildlink3.mk"
+.include "../../audio/portaudio-devel/buildlink3.mk"
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
+.include "../../lang/lua53/buildlink3.mk"
+.include "../../print/poppler-glib/buildlink3.mk"
+.include "../../textproc/libxml2/buildlink3.mk"
+.include "../../sysutils/desktop-file-utils/desktopdb.mk"
+.include "../../x11/gtk3/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 09512c0e37da -r a8c1b11fe0a1 editors/xournalpp/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/editors/xournalpp/PLIST   Wed Oct 16 13:34:08 2019 +0000
@@ -0,0 +1,137 @@
+@comment $NetBSD: PLIST,v 1.1 2019/10/16 13:34:08 nia Exp $
+bin/xournal-thumbnailer
+bin/xournalpp
+share/applications/com.github.xournalpp.xournalpp.desktop
+share/icons/hicolor/scalable/apps/com.github.xournalpp.xournalpp.svg
+share/icons/hicolor/scalable/mimetypes/application-x-xojpp.svg
+share/icons/hicolor/scalable/mimetypes/application-x-xopp.svg
+share/icons/hicolor/scalable/mimetypes/application-x-xopt.svg
+share/icons/hicolor/scalable/mimetypes/gnome-mime-application-x-xopp.svg
+share/icons/hicolor/scalable/mimetypes/gnome-mime-application-x-xopt.svg
+share/locale/cs/LC_MESSAGES/xournalpp.mo
+share/locale/de/LC_MESSAGES/xournalpp.mo
+share/locale/es_ES/LC_MESSAGES/xournalpp.mo
+share/locale/fi_FI/LC_MESSAGES/xournalpp.mo
+share/locale/fr_FR/LC_MESSAGES/xournalpp.mo
+share/locale/hr_HR/LC_MESSAGES/xournalpp.mo
+share/locale/it/LC_MESSAGES/xournalpp.mo
+share/locale/nl_NL/LC_MESSAGES/xournalpp.mo
+share/locale/pl/LC_MESSAGES/xournalpp.mo
+share/locale/ru_RU/LC_MESSAGES/xournalpp.mo
+share/locale/tlh_AA/LC_MESSAGES/xournalpp.mo
+share/locale/zh/LC_MESSAGES/xournalpp.mo
+share/locale/zh_HK/LC_MESSAGES/xournalpp.mo
+share/locale/zh_TW/LC_MESSAGES/xournalpp.mo
+share/metainfo/com.github.xournalpp.xournalpp.appdata.xml
+share/mime/packages/com.github.xournalpp.xournalpp.xml
+share/mimelnk/application/x-xojpp.desktop
+share/mimelnk/application/x-xopp.desktop
+share/mimelnk/application/x-xopt.desktop
+share/thumbnailers/com.github.xournalpp.xournalpp.thumbnailer
+share/xournalpp/plugins/Example/main.lua
+share/xournalpp/plugins/Example/plugin.ini
+share/xournalpp/plugins/Example/var_dump.lua
+share/xournalpp/plugins/ToggleGrid/plugin.ini
+share/xournalpp/plugins/ToggleGrid/togglegrid.lua
+share/xournalpp/ui/about.glade
+share/xournalpp/ui/exportSettings.glade
+share/xournalpp/ui/fillTransparency.glade
+share/xournalpp/ui/goto.glade
+share/xournalpp/ui/icons/hicolor/24x24/actions/pageSpinner.png
+share/xournalpp/ui/icons/hicolor/icon-theme.cache
+share/xournalpp/ui/icons/hicolor/index.theme
+share/xournalpp/ui/icons/hicolor/scalable/actions/addPage.svg
+share/xournalpp/ui/icons/hicolor/scalable/actions/arrow-draw.svg
+share/xournalpp/ui/icons/hicolor/scalable/actions/audio-playback-pause.svg
+share/xournalpp/ui/icons/hicolor/scalable/actions/audio-playback-stop.svg
+share/xournalpp/ui/icons/hicolor/scalable/actions/audio-record.svg
+share/xournalpp/ui/icons/hicolor/scalable/actions/centerPage.svg
+share/xournalpp/ui/icons/hicolor/scalable/actions/circle-draw.svg
+share/xournalpp/ui/icons/hicolor/scalable/actions/coordinate-system-draw.svg
+share/xournalpp/ui/icons/hicolor/scalable/actions/customize_toolbars.svg
+share/xournalpp/ui/icons/hicolor/scalable/actions/default.svg
+share/xournalpp/ui/icons/hicolor/scalable/actions/delPage.svg
+share/xournalpp/ui/icons/hicolor/scalable/actions/fill.svg
+share/xournalpp/ui/icons/hicolor/scalable/actions/floating_toolbox.svg
+share/xournalpp/ui/icons/hicolor/scalable/actions/fullscreen.svg
+share/xournalpp/ui/icons/hicolor/scalable/actions/goto.svg
+share/xournalpp/ui/icons/hicolor/scalable/actions/grid_snapping.svg
+share/xournalpp/ui/icons/hicolor/scalable/actions/hand.svg
+share/xournalpp/ui/icons/hicolor/scalable/actions/lasso.svg
+share/xournalpp/ui/icons/hicolor/scalable/actions/layer.svg
+share/xournalpp/ui/icons/hicolor/scalable/actions/line-style-dash-dot.svg
+share/xournalpp/ui/icons/hicolor/scalable/actions/line-style-dash.svg
+share/xournalpp/ui/icons/hicolor/scalable/actions/line-style-dot.svg
+share/xournalpp/ui/icons/hicolor/scalable/actions/line-style-plain.svg
+share/xournalpp/ui/icons/hicolor/scalable/actions/manage_toolbars.svg
+share/xournalpp/ui/icons/hicolor/scalable/actions/nextAnnotatedPage.svg
+share/xournalpp/ui/icons/hicolor/scalable/actions/object-play.svg
+share/xournalpp/ui/icons/hicolor/scalable/actions/object-select.svg
+share/xournalpp/ui/icons/hicolor/scalable/actions/presentation-mode.svg
+share/xournalpp/ui/icons/hicolor/scalable/actions/rect-draw.svg
+share/xournalpp/ui/icons/hicolor/scalable/actions/rect-select.svg
+share/xournalpp/ui/icons/hicolor/scalable/actions/ruler.svg
+share/xournalpp/ui/icons/hicolor/scalable/actions/shape_recognizer.svg
+share/xournalpp/ui/icons/hicolor/scalable/actions/showpairedpages.svg
+share/xournalpp/ui/icons/hicolor/scalable/actions/sidebar-page-preview.svg
+share/xournalpp/ui/icons/hicolor/scalable/actions/sidebar_bookmarks.svg
+share/xournalpp/ui/icons/hicolor/scalable/actions/sidebar_index.svg
+share/xournalpp/ui/icons/hicolor/scalable/actions/snapping.svg
+share/xournalpp/ui/icons/hicolor/scalable/actions/stretch.svg
+share/xournalpp/ui/icons/hicolor/scalable/actions/thickness_fine.svg
+share/xournalpp/ui/icons/hicolor/scalable/actions/thickness_medium.svg
+share/xournalpp/ui/icons/hicolor/scalable/actions/thickness_thick.svg
+share/xournalpp/ui/icons/hicolor/scalable/actions/thickness_very_fine.svg
+share/xournalpp/ui/icons/hicolor/scalable/actions/thickness_very_thick.svg
+share/xournalpp/ui/icons/hicolor/scalable/actions/tool_camera.svg
+share/xournalpp/ui/icons/hicolor/scalable/actions/tool_eraser.svg
+share/xournalpp/ui/icons/hicolor/scalable/actions/tool_highlighter.svg
+share/xournalpp/ui/icons/hicolor/scalable/actions/tool_image.svg
+share/xournalpp/ui/icons/hicolor/scalable/actions/tool_math_tex.svg
+share/xournalpp/ui/icons/hicolor/scalable/actions/tool_pencil.svg
+share/xournalpp/ui/icons/hicolor/scalable/actions/tool_text.svg
+share/xournalpp/ui/icons/hicolor/scalable/actions/transparent.svg
+share/xournalpp/ui/icons/hicolor/update-icon-cache.sh
+share/xournalpp/ui/iconsDark/hicolor/icon-theme.cache
+share/xournalpp/ui/iconsDark/hicolor/index.theme
+share/xournalpp/ui/iconsDark/hicolor/scalable/actions/arrow-draw.svg
+share/xournalpp/ui/iconsDark/hicolor/scalable/actions/audio-playback-pause.svg
+share/xournalpp/ui/iconsDark/hicolor/scalable/actions/audio-playback-stop.svg
+share/xournalpp/ui/iconsDark/hicolor/scalable/actions/circle-draw.svg
+share/xournalpp/ui/iconsDark/hicolor/scalable/actions/coordinate-system-draw.svg
+share/xournalpp/ui/iconsDark/hicolor/scalable/actions/fill.svg
+share/xournalpp/ui/iconsDark/hicolor/scalable/actions/grid_snapping.svg
+share/xournalpp/ui/iconsDark/hicolor/scalable/actions/rect-draw.svg
+share/xournalpp/ui/iconsDark/hicolor/scalable/actions/ruler.svg
+share/xournalpp/ui/iconsDark/hicolor/scalable/actions/shape_recognizer.svg
+share/xournalpp/ui/iconsDark/hicolor/scalable/actions/snapping.svg
+share/xournalpp/ui/iconsDark/hicolor/scalable/actions/thickness_medium.svg
+share/xournalpp/ui/iconsDark/hicolor/scalable/actions/thickness_thick.svg
+share/xournalpp/ui/iconsDark/hicolor/scalable/actions/thickness_thin.svg
+share/xournalpp/ui/iconsDark/hicolor/scalable/actions/tool_text.svg
+share/xournalpp/ui/iconsDark/hicolor/update-icon-cache.sh
+share/xournalpp/ui/images.glade
+share/xournalpp/ui/main.glade
+share/xournalpp/ui/pageTemplate.glade
+share/xournalpp/ui/pagesize.glade
+share/xournalpp/ui/pagetemplates.ini
+share/xournalpp/ui/pdfpages.glade
+share/xournalpp/ui/pixmaps/application-x-xojpp.svg
+share/xournalpp/ui/pixmaps/application-x-xopp.svg
+share/xournalpp/ui/pixmaps/application-x-xopt.svg
+share/xournalpp/ui/pixmaps/com.github.xournalpp.xournalpp.png
+share/xournalpp/ui/pixmaps/com.github.xournalpp.xournalpp.svg
+share/xournalpp/ui/pixmaps/default.svg
+share/xournalpp/ui/pixmaps/gnome-mime-application-x-xopp.svg
+share/xournalpp/ui/pixmaps/gnome-mime-application-x-xopt.svg
+share/xournalpp/ui/pixmaps/xopt.svg
+share/xournalpp/ui/plugin.glade
+share/xournalpp/ui/pluginEntry.glade
+share/xournalpp/ui/settings.glade
+share/xournalpp/ui/settingsButtonConfig.glade
+share/xournalpp/ui/settingsDeviceClassConfig.glade
+share/xournalpp/ui/texdialog.glade
+share/xournalpp/ui/toolbar.ini
+share/xournalpp/ui/toolbarCustomizeDialog.glade
+share/xournalpp/ui/toolbarManageDialog.glade
+share/xournalpp/ui/xournalpp.css
diff -r 09512c0e37da -r a8c1b11fe0a1 editors/xournalpp/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/editors/xournalpp/distinfo        Wed Oct 16 13:34:08 2019 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2019/10/16 13:34:08 nia Exp $
+
+SHA1 (xournalpp-1.0.15.tar.gz) = 6934c8de1260ca580988c421c55c2a44999a235c
+RMD160 (xournalpp-1.0.15.tar.gz) = 8f53fd4b74507e28e28a4fffa9fe4d8c5f434c45
+SHA512 (xournalpp-1.0.15.tar.gz) = 7a015c1d48e26eed313f994aa293f6d2ab711ac6970568edef4ba10dcf1551c87279daa2b361731ac58ef236e1dd59e0eebf41e4739fba9db954a718450d5b79
+Size (xournalpp-1.0.15.tar.gz) = 14938798 bytes
+SHA1 (patch-CMakeLists.txt) = 52b9a70a3242b618f8092b94a21c276c522e749d
diff -r 09512c0e37da -r a8c1b11fe0a1 editors/xournalpp/patches/patch-CMakeLists.txt
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/editors/xournalpp/patches/patch-CMakeLists.txt    Wed Oct 16 13:34:08 2019 +0000
@@ -0,0 +1,26 @@
+$NetBSD: patch-CMakeLists.txt,v 1.1 2019/10/16 13:34:08 nia Exp $
+
+Find pkgsrc lua with pkg-config.
+
+Unconditionally install desktop files.
+
+--- CMakeLists.txt.orig        2019-10-15 17:47:34.000000000 +0000
++++ CMakeLists.txt
+@@ -130,7 +130,7 @@ if (MacIntegration_FOUND)
+ endif ()
+ 
+ # Plugins / scripting
+-pkg_check_modules (Lua "lua5.3")
++pkg_check_modules (Lua "lua-5.3")
+ if (NOT Lua_FOUND)
+       pkg_check_modules (Lua "lua >= 5.3")
+ endif()
+@@ -238,7 +238,7 @@ install (DIRECTORY plugins
+ )
+ 
+ # Install desktop shortcuts for Linux
+-if (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
++if (TRUE)
+       message ("Installing desktop files")
+ 
+       # Install icons



Home | Main Index | Thread Index | Old Index