*/*: sync with upstream
Taken from: FreeBSD
This commit is contained in:
parent
ecda5bcae6
commit
91bbc58c44
183 changed files with 3740 additions and 2756 deletions
|
|
@ -30,17 +30,13 @@ OPTIONS_DEFINE= ALSA JACK PORTAUDIO PULSEAUDIO
|
|||
OPTIONS_DEFAULT= PORTAUDIO
|
||||
|
||||
ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib
|
||||
ALSA_CMAKE_ON= -DBUILD_ALSA:BOOL=ON
|
||||
ALSA_CMAKE_OFF= -DBUILD_ALSA:BOOL=OFF
|
||||
ALSA_CMAKE_BOOL= BUILD_ALSA
|
||||
JACK_LIB_DEPENDS= libjack.so:audio/jack
|
||||
JACK_CMAKE_ON= -DBUILD_JACK:BOOL=ON
|
||||
JACK_CMAKE_OFF= -DBUILD_JACK:BOOL=OFF
|
||||
JACK_CMAKE_BOOL= BUILD_JACK
|
||||
PORTAUDIO_LIB_DEPENDS= libportaudio.so:audio/portaudio
|
||||
PORTAUDIO_CMAKE_ON= -DBUILD_PORTAUDIO:BOOL=ON
|
||||
PORTAUDIO_CMAKE_OFF= -DBUILD_PORTAUDIO:BOOL=OFF
|
||||
PORTAUDIO_CMAKE_BOOL= BUILD_PORTAUDIO
|
||||
PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio
|
||||
PULSEAUDIO_CMAKE_ON= -DBUILD_PULSEAUDIO:BOOL=ON
|
||||
PULSEAUDIO_CMAKE_OFF= -DBUILD_PULSEAUDIO:BOOL=OFF
|
||||
PULSEAUDIO_CMAKE_BOOL= BUILD_PULSEAUDIO
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
|
|
|
|||
|
|
@ -2,8 +2,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= xfmpc
|
||||
PORTVERSION= 0.2.2
|
||||
PORTREVISION= 6
|
||||
PORTVERSION= 0.2.3
|
||||
CATEGORIES= audio xfce
|
||||
MASTER_SITES= XFCE/src/apps/${PORTNAME}/${PORTVERSION:R}
|
||||
DIST_SUBDIR= xfce4
|
||||
|
|
@ -17,16 +16,10 @@ BUILD_DEPENDS= valac:lang/vala
|
|||
LIB_DEPENDS= libmpd.so:audio/libmpd
|
||||
|
||||
INSTALLS_ICONS= yes
|
||||
USES= tar:bzip2 gettext gmake xfce pkgconfig
|
||||
USES= gettext gmake pkgconfig tar:bzip2 xfce
|
||||
GNU_CONFIGURE= yes
|
||||
USE_GNOME= gtk20 intltool intlhack
|
||||
USE_XFCE= libmenu
|
||||
|
||||
post-extract:
|
||||
${CP} ${FILESDIR}/config.vapi ${WRKSRC}/src
|
||||
|
||||
post-patch:
|
||||
${FIND} ${WRKSRC} -type f -name 'Makefile.in' | \
|
||||
${XARGS} ${REINPLACE_CMD} 's|@VALAC@|${LOCALBASE}/bin/valac|'
|
||||
INSTALL_TARGET= install-strip
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
|||
|
|
@ -1,2 +1,3 @@
|
|||
SHA256 (xfce4/xfmpc-0.2.2.tar.bz2) = ed0cc2940bd5928bb30fab1531c22185a97bd0cc5beacd9e3be4d4cd994a6862
|
||||
SIZE (xfce4/xfmpc-0.2.2.tar.bz2) = 404906
|
||||
TIMESTAMP = 1467351883
|
||||
SHA256 (xfce4/xfmpc-0.2.3.tar.bz2) = 4189c0c82b66b758a6d5bc651493b675d3d46329e5f1a76ff26c448125f4fcb0
|
||||
SIZE (xfce4/xfmpc-0.2.3.tar.bz2) = 414680
|
||||
|
|
|
|||
|
|
@ -1,32 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) 2009-2010 Mike Massonnet <mmassonnet@xfce.org>
|
||||
* Copyright (c) 2009-2010 Vincent Legout <vincent@xfce.org>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
*/
|
||||
|
||||
[CCode (cprefix="", lower_case_prefix="", cheader_filename="config.h")]
|
||||
namespace Config {
|
||||
[CCode (cname = "GETTEXT_PACKAGE")]
|
||||
public const string GETTEXT_PACKAGE;
|
||||
[CCode (cname = "PACKAGE_LOCALE_DIR")]
|
||||
public const string PACKAGE_LOCALE_DIR;
|
||||
[CCode (cname = "PACKAGE_VERSION")]
|
||||
public const string PACKAGE_VERSION;
|
||||
[CCode (cname = "PACKAGE_STRING")]
|
||||
public const string PACKAGE_STRING;
|
||||
[CCode (cname = "PACKAGE_NAME")]
|
||||
public const string PACKAGE_NAME;
|
||||
}
|
||||
|
|
@ -1,13 +0,0 @@
|
|||
Fix ambiguity between GLib.Menu and Gtk.Menu (bug #8922)
|
||||
|
||||
--- src/extended-interface.vala.orig 2011-10-23 13:55:52 UTC
|
||||
+++ src/extended-interface.vala
|
||||
@@ -197,7 +197,7 @@ namespace Xfmpc {
|
||||
this.context_menu.show_all ();
|
||||
}
|
||||
|
||||
- private void menu_detach (Widget attach_widget, Menu menu) {
|
||||
+ private void menu_detach (Gtk.Widget attach_widget, Gtk.Menu menu) {
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
@ -1,16 +0,0 @@
|
|||
main-window.vala:135.4-135.10: error: `Timeout' is an ambiguous reference
|
||||
between `GLib.Timeout' and `Gtk.Timeout'
|
||||
Timeout.add (1000, refresh);
|
||||
^^^^^^^
|
||||
|
||||
--- src/main-window.vala.orig 2011-10-23 15:08:38 UTC
|
||||
+++ src/main-window.vala
|
||||
@@ -132,7 +132,7 @@ namespace Xfmpc {
|
||||
this.preferences.notify["show-statusbar"].connect (cb_show_statusbar_changed);
|
||||
|
||||
/* === Timeout === */
|
||||
- Timeout.add (1000, refresh);
|
||||
+ GLib.Timeout.add (1000, refresh);
|
||||
}
|
||||
|
||||
private void show_hide_status_icon () {
|
||||
|
|
@ -1,68 +0,0 @@
|
|||
--- src/mpdclient.c.orig 2011-02-01 18:13:51 UTC
|
||||
+++ src/mpdclient.c
|
||||
@@ -106,7 +106,7 @@ struct _XfmpcMpdclientPrivate
|
||||
gboolean env_cached;
|
||||
gboolean connecting;
|
||||
guint connection_count;
|
||||
- GMutex *mutex;
|
||||
+ GMutex mutex;
|
||||
};
|
||||
|
||||
|
||||
@@ -275,8 +275,7 @@ xfmpc_mpdclient_init (XfmpcMpdclient *mp
|
||||
|
||||
priv->mi = mpd_new_default ();
|
||||
|
||||
- if (!g_thread_supported ()) g_thread_init (NULL);
|
||||
- priv->mutex = g_mutex_new ();
|
||||
+ g_mutex_init (&priv->mutex);
|
||||
|
||||
mpd_signal_connect_status_changed (priv->mi, (StatusChangedCallback)cb_status_changed, mpdclient);
|
||||
}
|
||||
@@ -288,7 +287,7 @@ xfmpc_mpdclient_finalize (GObject *objec
|
||||
XfmpcMpdclientPrivate *priv = XFMPC_MPDCLIENT (mpdclient)->priv;
|
||||
|
||||
mpd_free (priv->mi);
|
||||
- g_mutex_free (priv->mutex);
|
||||
+ g_mutex_clear (&priv->mutex);
|
||||
|
||||
(*G_OBJECT_CLASS (parent_class)->finalize) (object);
|
||||
}
|
||||
@@ -389,8 +388,6 @@ xfmpc_mpdclient_connect_thread (XfmpcMpd
|
||||
|
||||
priv->connecting = FALSE;
|
||||
|
||||
- g_mutex_unlock (priv->mutex);
|
||||
-
|
||||
return NULL;
|
||||
}
|
||||
|
||||
@@ -405,7 +402,7 @@ xfmpc_mpdclient_connect (XfmpcMpdclient
|
||||
return TRUE;
|
||||
|
||||
/* return FALSE if a we are already trying to connect to mpd */
|
||||
- if (!g_mutex_trylock (priv->mutex))
|
||||
+ if (!g_mutex_trylock (&priv->mutex))
|
||||
{
|
||||
g_warning ("Already connecting to mpd");
|
||||
return FALSE;
|
||||
@@ -413,8 +410,8 @@ xfmpc_mpdclient_connect (XfmpcMpdclient
|
||||
|
||||
priv->connecting = TRUE;
|
||||
|
||||
- thread = g_thread_create ((GThreadFunc) xfmpc_mpdclient_connect_thread,
|
||||
- mpdclient, TRUE, NULL);
|
||||
+ thread = g_thread_new ("0", (GThreadFunc) xfmpc_mpdclient_connect_thread,
|
||||
+ mpdclient);
|
||||
|
||||
while (priv->connecting)
|
||||
{
|
||||
@@ -427,6 +424,8 @@ xfmpc_mpdclient_connect (XfmpcMpdclient
|
||||
|
||||
g_signal_emit (mpdclient, signals[SIG_CONNECTED], 0);
|
||||
|
||||
+ g_mutex_unlock (&priv->mutex);
|
||||
+
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
|
@ -1,13 +0,0 @@
|
|||
Fix ambiguity between GLib.Menu and Gtk.Menu (bug #8922)
|
||||
|
||||
--- src/playlist.vala.orig 2011-10-23 15:02:51 UTC
|
||||
+++ src/playlist.vala
|
||||
@@ -98,7 +98,7 @@ namespace Xfmpc {
|
||||
new Gtk.Adjustment (0, 0, 0, 0, 0, 0));
|
||||
scrolled.set_policy (Gtk.PolicyType.AUTOMATIC, Gtk.PolicyType.ALWAYS);
|
||||
|
||||
- this.menu = new Menu ();
|
||||
+ this.menu = new Gtk.Menu ();
|
||||
|
||||
var mi = new Gtk.ImageMenuItem.from_stock (Gtk.Stock.REMOVE, null);
|
||||
this.menu.append (mi);
|
||||
|
|
@ -1,32 +1,45 @@
|
|||
bin/xfmpc
|
||||
man/man1/xfmpc.1.gz
|
||||
share/applications/xfmpc.desktop
|
||||
share/locale/am/LC_MESSAGES/xfmpc.mo
|
||||
share/locale/ar/LC_MESSAGES/xfmpc.mo
|
||||
share/locale/ast/LC_MESSAGES/xfmpc.mo
|
||||
share/locale/bg/LC_MESSAGES/xfmpc.mo
|
||||
share/locale/ca/LC_MESSAGES/xfmpc.mo
|
||||
share/locale/cs/LC_MESSAGES/xfmpc.mo
|
||||
share/locale/da/LC_MESSAGES/xfmpc.mo
|
||||
share/locale/de/LC_MESSAGES/xfmpc.mo
|
||||
share/locale/el/LC_MESSAGES/xfmpc.mo
|
||||
share/locale/en_AU/LC_MESSAGES/xfmpc.mo
|
||||
share/locale/en_GB/LC_MESSAGES/xfmpc.mo
|
||||
share/locale/es/LC_MESSAGES/xfmpc.mo
|
||||
share/locale/eu/LC_MESSAGES/xfmpc.mo
|
||||
share/locale/fi/LC_MESSAGES/xfmpc.mo
|
||||
share/locale/fr/LC_MESSAGES/xfmpc.mo
|
||||
share/locale/gl/LC_MESSAGES/xfmpc.mo
|
||||
share/locale/he/LC_MESSAGES/xfmpc.mo
|
||||
share/locale/hr/LC_MESSAGES/xfmpc.mo
|
||||
share/locale/hu/LC_MESSAGES/xfmpc.mo
|
||||
share/locale/id/LC_MESSAGES/xfmpc.mo
|
||||
share/locale/is/LC_MESSAGES/xfmpc.mo
|
||||
share/locale/it/LC_MESSAGES/xfmpc.mo
|
||||
share/locale/ja/LC_MESSAGES/xfmpc.mo
|
||||
share/locale/ko/LC_MESSAGES/xfmpc.mo
|
||||
share/locale/lt/LC_MESSAGES/xfmpc.mo
|
||||
share/locale/ms/LC_MESSAGES/xfmpc.mo
|
||||
share/locale/nb/LC_MESSAGES/xfmpc.mo
|
||||
share/locale/nl/LC_MESSAGES/xfmpc.mo
|
||||
share/locale/oc/LC_MESSAGES/xfmpc.mo
|
||||
share/locale/pl/LC_MESSAGES/xfmpc.mo
|
||||
share/locale/pt/LC_MESSAGES/xfmpc.mo
|
||||
share/locale/pt_BR/LC_MESSAGES/xfmpc.mo
|
||||
share/locale/ru/LC_MESSAGES/xfmpc.mo
|
||||
share/locale/si/LC_MESSAGES/xfmpc.mo
|
||||
share/locale/sk/LC_MESSAGES/xfmpc.mo
|
||||
share/locale/sl/LC_MESSAGES/xfmpc.mo
|
||||
share/locale/sr/LC_MESSAGES/xfmpc.mo
|
||||
share/locale/sv/LC_MESSAGES/xfmpc.mo
|
||||
share/locale/th/LC_MESSAGES/xfmpc.mo
|
||||
share/locale/tr/LC_MESSAGES/xfmpc.mo
|
||||
share/locale/ug/LC_MESSAGES/xfmpc.mo
|
||||
share/locale/uk/LC_MESSAGES/xfmpc.mo
|
||||
|
|
|
|||
|
|
@ -1079,7 +1079,6 @@
|
|||
SUBDIR += jech-dht
|
||||
SUBDIR += jenkins
|
||||
SUBDIR += jenkins-lts
|
||||
SUBDIR += jenkins2
|
||||
SUBDIR += jiic
|
||||
SUBDIR += jline
|
||||
SUBDIR += jna
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
# $FreeBSD$
|
||||
|
||||
# Hint: git describe --abbrev=12 --match android-n-preview-3
|
||||
DISTVERSION= n-preview-3-101
|
||||
DISTVERSIONSUFFIX= -g35d84096e9a5
|
||||
# Hint: git describe --abbrev=12 --match android-n-preview-4
|
||||
DISTVERSION= n-preview-4-74
|
||||
DISTVERSIONSUFFIX= -g80beb506cf84
|
||||
PORTREVISION= 0
|
||||
PKGNAMESUFFIX= -devel
|
||||
|
||||
|
|
@ -17,9 +17,11 @@ GH_MYTAG= ${DISTVERSIONPREFIX}${DISTVERSION:C/-[0-9]*$//}
|
|||
|
||||
OPTIONS_DEFINE= TEST_PYTHON
|
||||
|
||||
TEST_BROKEN= logging.* tests always fail after 4e5fd111d84d
|
||||
|
||||
TEST_PYTHON_DESC= ${TEST_DESC:S/tests/python &/}
|
||||
TEST_PYTHON_GH_PROJECT= platform_development:development
|
||||
TEST_PYTHON_GH_TAGNAME= ${GH_MYTAG}-47-g6925e3e:development
|
||||
TEST_PYTHON_GH_TAGNAME= ${GH_MYTAG}-6-g256e246:development
|
||||
TEST_PYTHON_BUILD_DEPENDS=${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock
|
||||
TEST_PYTHON_USES= python:2.7,build
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
SHA256 (android-platform_system_core-android-n-preview-3-101-g35d84096e9a5_GH0.tar.gz) = 0f18ec5fc99aaa1c5c755148759bb5994b366680bda6f23433c9454dbddcab66
|
||||
SIZE (android-platform_system_core-android-n-preview-3-101-g35d84096e9a5_GH0.tar.gz) = 1559018
|
||||
SHA256 (android-platform_system_core-android-n-preview-4-74-g80beb506cf84_GH0.tar.gz) = 552cd8e6500e7ee0149c59116ea2a560906fc1ecd3b557ea714f8c11269e6a7a
|
||||
SIZE (android-platform_system_core-android-n-preview-4-74-g80beb506cf84_GH0.tar.gz) = 1558004
|
||||
SHA256 (mbrubeck-android-completion-3b0fabe_GH0.tar.gz) = dc774f101acd9514baf3e7a0ac610068116f2c093b94987ba59203a39a6439dc
|
||||
SIZE (mbrubeck-android-completion-3b0fabe_GH0.tar.gz) = 5948
|
||||
SHA256 (android-platform_development-android-n-preview-3-47-g6925e3e_GH0.tar.gz) = 9956ed223b1f10e70890f51b218f0672dee5818f967d1abf413008c829975d68
|
||||
SIZE (android-platform_development-android-n-preview-3-47-g6925e3e_GH0.tar.gz) = 149186317
|
||||
SHA256 (android-platform_development-android-n-preview-4-6-g256e246_GH0.tar.gz) = 5caaa22733ebcb1110953b2a1ee9548f82634c4b8713d105137ac58689fea361
|
||||
SIZE (android-platform_development-android-n-preview-4-6-g256e246_GH0.tar.gz) = 149182859
|
||||
|
|
|
|||
|
|
@ -0,0 +1,43 @@
|
|||
--- adb/adb_auth_host.cpp.orig 2016-06-29 23:43:15 UTC
|
||||
+++ adb/adb_auth_host.cpp
|
||||
@@ -33,7 +33,9 @@
|
||||
#include <crypto_utils/android_pubkey.h>
|
||||
#include <cutils/list.h>
|
||||
|
||||
+#if defined(OPENSSL_IS_BORINGSSL)
|
||||
#include <openssl/base64.h>
|
||||
+#endif
|
||||
#include <openssl/evp.h>
|
||||
#include <openssl/objects.h>
|
||||
#include <openssl/pem.h>
|
||||
@@ -70,6 +72,30 @@ static std::string get_user_info() {
|
||||
return " " + username + "@" + hostname;
|
||||
}
|
||||
|
||||
+#if !defined(OPENSSL_IS_BORINGSSL)
|
||||
+// https://boringssl.googlesource.com/boringssl/+/6601402%5E!/
|
||||
+static int EVP_EncodedLength(size_t *out_len, size_t len) {
|
||||
+ if (len + 2 < len) {
|
||||
+ return 0;
|
||||
+ }
|
||||
+ len += 2;
|
||||
+ len /= 3;
|
||||
+
|
||||
+ if (((len << 2) >> 2) != len) {
|
||||
+ return 0;
|
||||
+ }
|
||||
+ len <<= 2;
|
||||
+
|
||||
+ if (len + 1 < len) {
|
||||
+ return 0;
|
||||
+ }
|
||||
+ len++;
|
||||
+
|
||||
+ *out_len = len;
|
||||
+ return 1;
|
||||
+}
|
||||
+#endif
|
||||
+
|
||||
static bool write_public_keyfile(RSA* private_key, const std::string& private_key_path) {
|
||||
uint8_t binary_key_data[ANDROID_PUBKEY_ENCODED_SIZE];
|
||||
if (!android_pubkey_encode(private_key, binary_key_data, sizeof(binary_key_data))) {
|
||||
|
|
@ -1,13 +1,13 @@
|
|||
# $FreeBSD$
|
||||
|
||||
# Hint: git describe --abbrev=12 --match android-n-preview-3
|
||||
DISTVERSION= n-preview-3-101
|
||||
DISTVERSIONSUFFIX= -g35d84096e9a5
|
||||
# Hint: git describe --abbrev=12 --match android-n-preview-4
|
||||
DISTVERSION= n-preview-4-74
|
||||
DISTVERSIONSUFFIX= -g80beb506cf84
|
||||
PORTREVISION= 0
|
||||
PKGNAMESUFFIX= -devel
|
||||
|
||||
GH_MYTAG= ${DISTVERSIONPREFIX}${DISTVERSION:C/-[0-9]*$//}
|
||||
GH_TAGNAME= ${GH_MYTAG}-45-g86bebf8:extras \
|
||||
GH_TAGNAME= ${GH_MYTAG}-38-gd937202:extras \
|
||||
${GH_MYTAG}:libselinux
|
||||
|
||||
CONFLICTS_INSTALL= ${PORTNAME}-[0-9]*
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
SHA256 (fastboot.1?id=706e754) = 2af01b064440952a82f1602691a0fecc030302722a71444946fb70d9c423d283
|
||||
SIZE (fastboot.1?id=706e754) = 5906
|
||||
SHA256 (android-platform_system_core-android-n-preview-3-101-g35d84096e9a5_GH0.tar.gz) = 0f18ec5fc99aaa1c5c755148759bb5994b366680bda6f23433c9454dbddcab66
|
||||
SIZE (android-platform_system_core-android-n-preview-3-101-g35d84096e9a5_GH0.tar.gz) = 1559018
|
||||
SHA256 (jbeich-platform_system_extras-android-n-preview-3-45-g86bebf8_GH0.tar.gz) = 0b08abf97108f7c2a6c56b728ecf8fbc34ec26f6b00e1ee002828eee9d5b7209
|
||||
SIZE (jbeich-platform_system_extras-android-n-preview-3-45-g86bebf8_GH0.tar.gz) = 80661868
|
||||
SHA256 (jbeich-platform_external_libselinux-android-n-preview-3_GH0.tar.gz) = 3c90521a2f86064cb0968603972f7d1df45621a7407bfd62d5fdc25cd30a70e2
|
||||
SIZE (jbeich-platform_external_libselinux-android-n-preview-3_GH0.tar.gz) = 63015
|
||||
SHA256 (android-platform_system_core-android-n-preview-4-74-g80beb506cf84_GH0.tar.gz) = 552cd8e6500e7ee0149c59116ea2a560906fc1ecd3b557ea714f8c11269e6a7a
|
||||
SIZE (android-platform_system_core-android-n-preview-4-74-g80beb506cf84_GH0.tar.gz) = 1558004
|
||||
SHA256 (jbeich-platform_system_extras-android-n-preview-4-38-gd937202_GH0.tar.gz) = 2a6b991d4c5921ca89dc30f40361c71d4ebf55eb86744032e5efcc7a2af277c9
|
||||
SIZE (jbeich-platform_system_extras-android-n-preview-4-38-gd937202_GH0.tar.gz) = 81924921
|
||||
SHA256 (jbeich-platform_external_libselinux-android-n-preview-4_GH0.tar.gz) = 303f8c77786413cf6ea2a24a502c2e9e8a0348ae168f85a710f46b8acce0211c
|
||||
SIZE (jbeich-platform_external_libselinux-android-n-preview-4_GH0.tar.gz) = 63010
|
||||
SHA256 (mbrubeck-android-completion-3b0fabe_GH0.tar.gz) = dc774f101acd9514baf3e7a0ac610068116f2c093b94987ba59203a39a6439dc
|
||||
SIZE (mbrubeck-android-completion-3b0fabe_GH0.tar.gz) = 5948
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= exrm
|
||||
DISTVERSION= 1.0.5
|
||||
DISTVERSION= 1.0.6
|
||||
CATEGORIES= devel
|
||||
PKGNAMEPREFIX= elixir-
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1464075487
|
||||
SHA256 (bitwalker-exrm-1.0.5_GH0.tar.gz) = 071796db7cfd2b8ad2536d493fbe951979e5edc6c8e3d6cd6564987a8afb4636
|
||||
SIZE (bitwalker-exrm-1.0.5_GH0.tar.gz) = 57723
|
||||
TIMESTAMP = 1467297698
|
||||
SHA256 (bitwalker-exrm-1.0.6_GH0.tar.gz) = b9c141115eb02dd58e48229d86ff3b214a5d0a6845ea299cdc3e3f07a8c200e2
|
||||
SIZE (bitwalker-exrm-1.0.6_GH0.tar.gz) = 60341
|
||||
|
|
|
|||
|
|
@ -29,5 +29,6 @@ lib/elixir/lib/exrm/priv/rel/files/install_upgrade.escript
|
|||
lib/elixir/lib/exrm/priv/rel/files/nodetool
|
||||
lib/elixir/lib/exrm/priv/rel/files/release_definition.txt
|
||||
lib/elixir/lib/exrm/priv/rel/files/sys.config
|
||||
lib/elixir/lib/exrm/priv/rel/files/vm.args
|
||||
lib/elixir/lib/exrm/priv/rel/relx.config
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README.md
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= gpb
|
||||
PORTVERSION= 3.22.3
|
||||
PORTVERSION= 3.22.5
|
||||
CATEGORIES= devel
|
||||
PKGNAMEPREFIX= erlang-
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1466071499
|
||||
SHA256 (tomas-abrahamsson-gpb-3.22.3_GH0.tar.gz) = 8151e12798e85f077441167919a9575e9cf1072a53d6b4715e84fb21982b0be1
|
||||
SIZE (tomas-abrahamsson-gpb-3.22.3_GH0.tar.gz) = 317184
|
||||
TIMESTAMP = 1467332380
|
||||
SHA256 (tomas-abrahamsson-gpb-3.22.5_GH0.tar.gz) = 5adff0be7816c1f8140d5c8beed10d6c37eb5643f38994628bbc868454bc8905
|
||||
SIZE (tomas-abrahamsson-gpb-3.22.5_GH0.tar.gz) = 319739
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= gcc-arm-embedded
|
||||
PORTVERSION= 5.3.20160330
|
||||
PORTVERSION= 5.4.20160622
|
||||
PORTREVISION= 0
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= http://launchpad.net/gcc-arm-embedded/5.0/5-2016-q1-update/+download/
|
||||
MASTER_SITES= http://launchpad.net/gcc-arm-embedded/5.0/5-2016-q2-update/+download/
|
||||
DISTNAME= ${ORIGINAL_PACKAGE_NAME}-src
|
||||
|
||||
MAINTAINER= lev@FreeBSD.org
|
||||
|
|
@ -48,8 +48,8 @@ GNU_CONFIGURE= yes
|
|||
PATCH_WRKSRC= ${WRKDIR}/${ORIGINAL_PACKAGE_NAME}
|
||||
BUILD_WRKSRC= ${WRKDIR}
|
||||
|
||||
GCC_VERSION= 5.3.1
|
||||
FULL_VERSION= 5_3-2016q1-20160330
|
||||
GCC_VERSION= 5.4.1
|
||||
FULL_VERSION= 5_4-2016q2-20160622
|
||||
TARGET= arm-none-eabi
|
||||
ORIGINAL_PACKAGE_NAME= gcc-${TARGET}-${FULL_VERSION}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,2 +1,3 @@
|
|||
SHA256 (gcc-arm-none-eabi-5_3-2016q1-20160330-src.tar.bz2) = 4c0b3ba4fe3cbb89c08f69df372de166e2171b378c3757a0eb7ca28bcf89f4c1
|
||||
SIZE (gcc-arm-none-eabi-5_3-2016q1-20160330-src.tar.bz2) = 192321934
|
||||
TIMESTAMP = 1467199971
|
||||
SHA256 (gcc-arm-none-eabi-5_4-2016q2-20160622-src.tar.bz2) = a814ad449a4dd961dc140fa9797a0df94ad32b4943e0e424464f511e476ca929
|
||||
SIZE (gcc-arm-none-eabi-5_4-2016q2-20160622-src.tar.bz2) = 192346096
|
||||
|
|
|
|||
|
|
@ -616,6 +616,7 @@ gcc-arm-embedded-%%FULL_VERSION%%/%%TARGET%%/include/c++/%%GCC_VERSION%%/bits/st
|
|||
gcc-arm-embedded-%%FULL_VERSION%%/%%TARGET%%/include/c++/%%GCC_VERSION%%/bits/streambuf.tcc
|
||||
gcc-arm-embedded-%%FULL_VERSION%%/%%TARGET%%/include/c++/%%GCC_VERSION%%/bits/streambuf_iterator.h
|
||||
gcc-arm-embedded-%%FULL_VERSION%%/%%TARGET%%/include/c++/%%GCC_VERSION%%/bits/stringfwd.h
|
||||
gcc-arm-embedded-%%FULL_VERSION%%/%%TARGET%%/include/c++/%%GCC_VERSION%%/bits/uniform_int_dist.h
|
||||
gcc-arm-embedded-%%FULL_VERSION%%/%%TARGET%%/include/c++/%%GCC_VERSION%%/bits/unique_ptr.h
|
||||
gcc-arm-embedded-%%FULL_VERSION%%/%%TARGET%%/include/c++/%%GCC_VERSION%%/bits/unordered_map.h
|
||||
gcc-arm-embedded-%%FULL_VERSION%%/%%TARGET%%/include/c++/%%GCC_VERSION%%/bits/unordered_set.h
|
||||
|
|
@ -1177,6 +1178,7 @@ gcc-arm-embedded-%%FULL_VERSION%%/%%TARGET%%/include/c++/%%GCC_VERSION%%/utility
|
|||
gcc-arm-embedded-%%FULL_VERSION%%/%%TARGET%%/include/c++/%%GCC_VERSION%%/valarray
|
||||
gcc-arm-embedded-%%FULL_VERSION%%/%%TARGET%%/include/c++/%%GCC_VERSION%%/vector
|
||||
gcc-arm-embedded-%%FULL_VERSION%%/%%TARGET%%/include/complex.h
|
||||
gcc-arm-embedded-%%FULL_VERSION%%/%%TARGET%%/include/cpio.h
|
||||
gcc-arm-embedded-%%FULL_VERSION%%/%%TARGET%%/include/ctype.h
|
||||
gcc-arm-embedded-%%FULL_VERSION%%/%%TARGET%%/include/dirent.h
|
||||
gcc-arm-embedded-%%FULL_VERSION%%/%%TARGET%%/include/envlock.h
|
||||
|
|
@ -1197,6 +1199,8 @@ gcc-arm-embedded-%%FULL_VERSION%%/%%TARGET%%/include/limits.h
|
|||
gcc-arm-embedded-%%FULL_VERSION%%/%%TARGET%%/include/locale.h
|
||||
gcc-arm-embedded-%%FULL_VERSION%%/%%TARGET%%/include/machine/_arc4random.h
|
||||
gcc-arm-embedded-%%FULL_VERSION%%/%%TARGET%%/include/machine/_default_types.h
|
||||
gcc-arm-embedded-%%FULL_VERSION%%/%%TARGET%%/include/machine/_endian.h
|
||||
gcc-arm-embedded-%%FULL_VERSION%%/%%TARGET%%/include/machine/_time.h
|
||||
gcc-arm-embedded-%%FULL_VERSION%%/%%TARGET%%/include/machine/_types.h
|
||||
gcc-arm-embedded-%%FULL_VERSION%%/%%TARGET%%/include/machine/ansi.h
|
||||
gcc-arm-embedded-%%FULL_VERSION%%/%%TARGET%%/include/machine/endian.h
|
||||
|
|
|
|||
|
|
@ -1,58 +0,0 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= jenkins2
|
||||
DISTVERSION= 2.3
|
||||
CATEGORIES= devel java
|
||||
MASTER_SITES= http://mirrors.jenkins-ci.org/war/${PORTVERSION}/
|
||||
DISTNAME= jenkins
|
||||
EXTRACT_SUFX= .war
|
||||
DIST_SUBDIR= ${PORTNAME}/${PORTVERSION}
|
||||
EXTRACT_ONLY=
|
||||
|
||||
MAINTAINER= lwhsu@FreeBSD.org
|
||||
COMMENT= Open-source continuous integration server
|
||||
|
||||
LICENSE= MIT
|
||||
|
||||
DEPRECATED= Use devel/jenkins
|
||||
EXPIRATION_DATE= 2016-06-30
|
||||
|
||||
CONFLICTS= jenkins-[0-9]* jenkins-lts-[0-9]*
|
||||
|
||||
USE_JAVA= yes
|
||||
|
||||
NO_BUILD= yes
|
||||
|
||||
USE_RC_SUBR= jenkins
|
||||
|
||||
USES+= cpe
|
||||
CPE_VENDOR= cloudbees
|
||||
|
||||
JENKINS_HOME?= ${PREFIX}/jenkins
|
||||
JENKINS_USER?= jenkins
|
||||
JENKINS_GROUP?= jenkins
|
||||
JENKINS_LOG_FILE?= /var/log/jenkins.log
|
||||
|
||||
.if ${JENKINS_USER} == "jenkins"
|
||||
USERS= jenkins
|
||||
.endif
|
||||
.if ${JENKINS_GROUP} == "jenkins"
|
||||
GROUPS= jenkins
|
||||
.endif
|
||||
|
||||
SUB_LIST+= JENKINS_HOME=${JENKINS_HOME} \
|
||||
JENKINS_USER=${JENKINS_USER} \
|
||||
JENKINS_GROUP=${JENKINS_GROUP} \
|
||||
JAVA_HOME=${JAVA_HOME} \
|
||||
JENKINS_LOG_FILE=${JENKINS_LOG_FILE}
|
||||
PLIST_SUB+= JENKINS_USER=${JENKINS_USER} \
|
||||
JENKINS_GROUP=${JENKINS_GROUP}
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${STAGEDIR}${DATADIR} ${STAGEDIR}${JENKINS_HOME}
|
||||
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX} \
|
||||
${STAGEDIR}${DATADIR}
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
SHA256 (jenkins2/2.3/jenkins.war) = e1a17311776daee38cb1c3a5e687140f39b8dc922d142f4b9c457803f76aa974
|
||||
SIZE (jenkins2/2.3/jenkins.war) = 66587456
|
||||
|
|
@ -1,86 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
# $FreeBSD$
|
||||
#
|
||||
# PROVIDE: jenkins
|
||||
# REQUIRE: LOGIN
|
||||
# KEYWORD: shutdown
|
||||
|
||||
#
|
||||
# Configuration settings for jenkins in /etc/rc.conf:
|
||||
#
|
||||
# jenkins_enable (bool):
|
||||
# Set to "NO" by default.
|
||||
# Set it to "YES" to enable jenkins
|
||||
#
|
||||
# jenkins_args (str):
|
||||
# Extra arguments passed to start command
|
||||
#
|
||||
# jenkins_home (str)
|
||||
# Set to "%%JENKINS_HOME%%" by default.
|
||||
# Set the JENKINS_HOME variable for jenkins process
|
||||
#
|
||||
# jenkins_java_home (str):
|
||||
# Set to "%%JAVA_HOME%%" by default.
|
||||
# Set the Java virtual machine to run jenkins
|
||||
#
|
||||
# jenkins_java_opts (str):
|
||||
# Set to "" by default.
|
||||
# Java VM args to use.
|
||||
#
|
||||
# jenkins_user (str):
|
||||
# Set to "%%JENKINS_USER%%" by default.
|
||||
# User to run jenkins as.
|
||||
#
|
||||
# jenkins_group (str):
|
||||
# Set to "%%JENKINS_GROUP%%" by default.
|
||||
# Group for data file ownership.
|
||||
#
|
||||
# jenkins_log_file (str):
|
||||
# Set to "%%JENKINS_LOG_FILE%%" by default.
|
||||
# Log file location.
|
||||
#
|
||||
|
||||
. /etc/rc.subr
|
||||
|
||||
name="jenkins"
|
||||
rcvar=jenkins_enable
|
||||
|
||||
load_rc_config "${name}"
|
||||
|
||||
: ${jenkins_enable="NO"}
|
||||
: ${jenkins_home="%%JENKINS_HOME%%"}
|
||||
: ${jenkins_args="--webroot=${jenkins_home}/war --httpPort=8180 --prefix=/jenkins"}
|
||||
: ${jenkins_java_home="%%JAVA_HOME%%"}
|
||||
: ${jenkins_user="%%JENKINS_USER%%"}
|
||||
: ${jenkins_group="%%JENKINS_GROUP%%"}
|
||||
: ${jenkins_log_file="%%JENKINS_LOG_FILE%%"}
|
||||
|
||||
pidfile="/var/run/jenkins/jenkins.pid"
|
||||
command="/usr/sbin/daemon"
|
||||
java_cmd="${jenkins_java_home}/bin/java"
|
||||
procname="${java_cmd}"
|
||||
command_args="-p ${pidfile} ${java_cmd} -DJENKINS_HOME=${jenkins_home} ${jenkins_java_opts} -jar %%DATADIR%%/jenkins.war ${jenkins_args} > ${jenkins_log_file} 2>&1"
|
||||
required_files="${java_cmd}"
|
||||
|
||||
start_precmd="jenkins_prestart"
|
||||
start_cmd="jenkins_start"
|
||||
|
||||
jenkins_prestart() {
|
||||
if [ ! -f "${jenkins_log_file}" ]; then
|
||||
touch "${jenkins_log_file}"
|
||||
chown "${jenkins_user}:${jenkins_group}" "${jenkins_log_file}"
|
||||
chmod 640 "${jenkins_log_file}"
|
||||
fi
|
||||
if [ ! -d "/var/run/jenkins" ]; then
|
||||
install -d -o "${jenkins_user}" -g "${jenkins_group}" -m 750 "/var/run/jenkins"
|
||||
fi
|
||||
}
|
||||
|
||||
jenkins_start()
|
||||
{
|
||||
check_startmsgs && echo "Starting ${name}."
|
||||
su -l ${jenkins_user} -c "exec ${command} ${command_args} ${rc_arg}"
|
||||
}
|
||||
|
||||
run_rc_command "$1"
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
In a nutshell Jenkins CI is the leading open-source continuous integration
|
||||
server. Built with Java, it provides over 300 plugins to support building
|
||||
and testing virtually any project.
|
||||
|
||||
WWW: https://jenkins.io/
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
************************************************************************
|
||||
|
||||
Please login to the Jenkins web interface and secure with a password,
|
||||
when installing for the first time.
|
||||
|
||||
More information:
|
||||
https://wiki.jenkins-ci.org/display/JENKINS/Quick+and+Simple+Security
|
||||
https://wiki.jenkins-ci.org/display/JENKINS/Standard+Security+Setup
|
||||
|
||||
************************************************************************
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
%%DATADIR%%/jenkins.war
|
||||
@dir(%%JENKINS_USER%%,%%JENKINS_GROUP%%,) jenkins
|
||||
|
|
@ -24,14 +24,12 @@ OPTIONS_SUB= yes
|
|||
|
||||
BOOST_DESC= C++ bindings (requires Boost)
|
||||
BOOST_LIB_DEPENDS= libboost_system.so:devel/boost-libs
|
||||
BOOST_CMAKE_ON= -DFTDIPP:BOOL=ON
|
||||
BOOST_CMAKE_OFF= -DFTDIPP:BOOL=OFF
|
||||
BOOST_CMAKE_BOOL= FTDIPP
|
||||
BOOST_CXXFLAGS= -I${LOCALBASE}/include
|
||||
|
||||
PYTHON_DESC= Python bindings
|
||||
PYTHON_BUILD_DEPENDS= swig2.0:devel/swig20
|
||||
PYTHON_CMAKE_ON= -DPYTHON_BINDINGS:BOOL=ON
|
||||
PYTHON_CMAKE_OFF= -DPYTHON_BINDINGS:BOOL=OFF
|
||||
PYTHON_CMAKE_BOOL= PYTHON_BINDINGS
|
||||
PYTHON_USES= python
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
|
|
|||
|
|
@ -20,8 +20,8 @@ USES= gmake python:2,build shebangfix
|
|||
SHEBANG_FILES= scripts/irq2nvic_h \
|
||||
scripts/lpcvtcksum
|
||||
|
||||
TOOLCHAIN_FULL_VERSION?=5_3-2016q1-20160330
|
||||
TOOLCHAIN_PORT_VERSION?=5.3.20160330
|
||||
TOOLCHAIN_FULL_VERSION?=5_4-2016q2-20160622
|
||||
TOOLCHAIN_PORT_VERSION?=5.4.20160622
|
||||
TOOLCHAIN_TARGET?=arm-none-eabi
|
||||
|
||||
DESTDIRNAME= STAGEDIR
|
||||
|
|
|
|||
|
|
@ -1,2 +1,3 @@
|
|||
TIMESTAMP = 1467297808
|
||||
SHA256 (libopencm3-libopencm3-0.0.20160319-d3fff11_GH0.tar.gz) = a3f60541e0a4628056ef09bc12f47eeae1352c60a5326d22049e2087b6357577
|
||||
SIZE (libopencm3-libopencm3-0.0.20160319-d3fff11_GH0.tar.gz) = 678232
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= oslo.serialization
|
||||
PORTVERSION= 2.8.0
|
||||
PORTVERSION= 2.10.0
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1465728893
|
||||
SHA256 (oslo.serialization-2.8.0.tar.gz) = c6e6df0e550616fd6b8d1b7d87cb05972b006206cfdf34d36de4246b471cb579
|
||||
SIZE (oslo.serialization-2.8.0.tar.gz) = 23504
|
||||
TIMESTAMP = 1467240763
|
||||
SHA256 (oslo.serialization-2.10.0.tar.gz) = 5f8ec814d55fe15a24527b6328ceef6101d43ca974a5c18781d7fa92ce0082f6
|
||||
SIZE (oslo.serialization-2.10.0.tar.gz) = 23555
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= oslo.utils
|
||||
PORTVERSION= 3.12.0
|
||||
PORTVERSION= 3.13.0
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1465728192
|
||||
SHA256 (oslo.utils-3.12.0.tar.gz) = ce8dfe6feb4630d60c22c37ef97fb519d197c767bcb307876b656425a8841824
|
||||
SIZE (oslo.utils-3.12.0.tar.gz) = 73579
|
||||
TIMESTAMP = 1467069766
|
||||
SHA256 (oslo.utils-3.13.0.tar.gz) = 82aad231d4012ca73f02ab49d6824bc48f850c47d413210dc9f78f92580a5e3e
|
||||
SIZE (oslo.utils-3.13.0.tar.gz) = 73946
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= positional
|
||||
PORTVERSION= 1.1.0
|
||||
PORTVERSION= 1.1.1
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
|
|
|||
|
|
@ -1,2 +1,3 @@
|
|||
SHA256 (positional-1.1.0.tar.gz) = e2d1e3a6a2abbc1820c5dfa72f0c8fc4b56eebbb6ccd7ee25b626c34b902c144
|
||||
SIZE (positional-1.1.0.tar.gz) = 15932
|
||||
TIMESTAMP = 1467069588
|
||||
SHA256 (positional-1.1.1.tar.gz) = ef845fa46ee5a11564750aaa09dd7db059aaf39c44c901b37181e5ffa67034b0
|
||||
SIZE (positional-1.1.1.tar.gz) = 15987
|
||||
|
|
|
|||
|
|
@ -1,15 +1,15 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= relx
|
||||
PORTVERSION= 3.19.0
|
||||
PORTVERSION= 3.20.0
|
||||
DISTVERSIONPREFIX= v
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES+= LOCAL/olgeni:deps \
|
||||
http://olgeni.olgeni.com/~olgeni/distfiles/:deps \
|
||||
https://s3.amazonaws.com/s3.hex.pm/tarballs/:hex
|
||||
DISTFILES= relx-cache-11.tar.gz:deps
|
||||
DISTFILES= relx-cache-12.tar.gz:deps
|
||||
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} \
|
||||
relx-cache-11.tar.gz
|
||||
relx-cache-12.tar.gz
|
||||
|
||||
MAINTAINER= olgeni@FreeBSD.org
|
||||
COMMENT= Sane, simple release creation for Erlang
|
||||
|
|
@ -29,7 +29,7 @@ GH_ACCOUNT= erlware
|
|||
|
||||
REBAR_DEPS= bbmustache-1.0.4 \
|
||||
cf-0.2.1 \
|
||||
erlware_commons-0.19.0 \
|
||||
erlware_commons-0.21.0 \
|
||||
getopt-0.8.2 \
|
||||
providers-1.6.0
|
||||
|
||||
|
|
|
|||
|
|
@ -1,14 +1,15 @@
|
|||
SHA256 (relx-cache-11.tar.gz) = 0010614baf93b0d81f809060dd4dac132a773d35cbcd7b0a87d3745bf2e6ff0b
|
||||
SIZE (relx-cache-11.tar.gz) = 596560
|
||||
TIMESTAMP = 1467298466
|
||||
SHA256 (relx-cache-12.tar.gz) = fcb88a0ac84c6175ebb0d2d725c22c74bcc59db5abf182c87d5382be7bfa90e9
|
||||
SIZE (relx-cache-12.tar.gz) = 876564
|
||||
SHA256 (bbmustache-1.0.4.tar) = 03b0d47db66e86df993896dce7578d7e4aae5f84636809b45fa8a3e34ee59b12
|
||||
SIZE (bbmustache-1.0.4.tar) = 20480
|
||||
SHA256 (cf-0.2.1.tar) = baee9aa7ec2dfa3cb4486b67211177caa293f876780f0b313b45718edef6a0a5
|
||||
SIZE (cf-0.2.1.tar) = 10240
|
||||
SHA256 (erlware_commons-0.19.0.tar) = 5bbff9402cd9e973af81745a8a40177d245b55b4c239f80a236949b856f2dabd
|
||||
SIZE (erlware_commons-0.19.0.tar) = 61440
|
||||
SHA256 (erlware_commons-0.21.0.tar) = e70a95762458a489dc37fe869f41517bd43c130e156ef08462f90c534300ab3f
|
||||
SIZE (erlware_commons-0.21.0.tar) = 61440
|
||||
SHA256 (getopt-0.8.2.tar) = 736e6db3679fbbad46373efb96b69509f8e420281635e9d92989af9f0a0483f7
|
||||
SIZE (getopt-0.8.2.tar) = 20480
|
||||
SHA256 (providers-1.6.0.tar) = 0f6876529a613d34224de8c61d3660388eb981142360f2699486d8536050ce2f
|
||||
SIZE (providers-1.6.0.tar) = 20480
|
||||
SHA256 (erlware-relx-v3.19.0_GH0.tar.gz) = 24157ee5bd32a7e00884aabd1a3c31c6405c1c37283498ab3c6f87262e5ded6b
|
||||
SIZE (erlware-relx-v3.19.0_GH0.tar.gz) = 599988
|
||||
SHA256 (erlware-relx-v3.20.0_GH0.tar.gz) = 7d74fad843e384f61d02db2167074f7e406adf80e4dd3be72c7f28d09f8d3a58
|
||||
SIZE (erlware-relx-v3.20.0_GH0.tar.gz) = 600109
|
||||
|
|
|
|||
|
|
@ -2,8 +2,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= thunar-vcs-plugin
|
||||
PORTVERSION= 0.1.4
|
||||
PORTREVISION= 13
|
||||
PORTVERSION= 0.1.5
|
||||
CATEGORIES= devel xfce
|
||||
MASTER_SITES= XFCE/src/thunar-plugins/${PORTNAME}/${PORTVERSION:R}
|
||||
DIST_SUBDIR= xfce4
|
||||
|
|
@ -15,9 +14,9 @@ GNU_CONFIGURE= yes
|
|||
USE_GNOME= gtk20 glib20 intltool intlhack
|
||||
USE_XFCE= thunar
|
||||
INSTALLS_ICONS= yes
|
||||
USES= pkgconfig gmake libtool gettext-tools xfce tar:bzip2
|
||||
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
USES= gettext-tools gmake libtool localbase pkgconfig tar:bzip2 \
|
||||
xfce
|
||||
INSTALL_TARGET= install-strip
|
||||
|
||||
OPTIONS_DEFINE= NLS GIT SVN
|
||||
OPTIONS_DEFAULT= SVN
|
||||
|
|
|
|||
|
|
@ -1,2 +1,3 @@
|
|||
SHA256 (xfce4/thunar-vcs-plugin-0.1.4.tar.bz2) = 7dbbdb22113cec40f6dc46cf4fd113b47928af15ba64e9fc66305a01c4291d4c
|
||||
SIZE (xfce4/thunar-vcs-plugin-0.1.4.tar.bz2) = 435835
|
||||
TIMESTAMP = 1467350871
|
||||
SHA256 (xfce4/thunar-vcs-plugin-0.1.5.tar.bz2) = 7094f576865957397eefcdb1b05ba9be020a396c12949077507ea1573b1ef451
|
||||
SIZE (xfce4/thunar-vcs-plugin-0.1.5.tar.bz2) = 478866
|
||||
|
|
|
|||
|
|
@ -6,22 +6,44 @@ share/icons/hicolor/24x24/apps/subversion.png
|
|||
share/icons/hicolor/48x48/apps/git.png
|
||||
share/icons/hicolor/48x48/apps/subversion.png
|
||||
%%NLS%%share/locale/ar/LC_MESSAGES/thunar-vcs-plugin.mo
|
||||
%%NLS%%share/locale/bg/LC_MESSAGES/thunar-vcs-plugin.mo
|
||||
%%NLS%%share/locale/ca/LC_MESSAGES/thunar-vcs-plugin.mo
|
||||
%%NLS%%share/locale/cs/LC_MESSAGES/thunar-vcs-plugin.mo
|
||||
%%NLS%%share/locale/da/LC_MESSAGES/thunar-vcs-plugin.mo
|
||||
%%NLS%%share/locale/de/LC_MESSAGES/thunar-vcs-plugin.mo
|
||||
%%NLS%%share/locale/el/LC_MESSAGES/thunar-vcs-plugin.mo
|
||||
%%NLS%%share/locale/en_AU/LC_MESSAGES/thunar-vcs-plugin.mo
|
||||
%%NLS%%share/locale/en_GB/LC_MESSAGES/thunar-vcs-plugin.mo
|
||||
%%NLS%%share/locale/es/LC_MESSAGES/thunar-vcs-plugin.mo
|
||||
%%NLS%%share/locale/eu/LC_MESSAGES/thunar-vcs-plugin.mo
|
||||
%%NLS%%share/locale/fi/LC_MESSAGES/thunar-vcs-plugin.mo
|
||||
%%NLS%%share/locale/fr/LC_MESSAGES/thunar-vcs-plugin.mo
|
||||
%%NLS%%share/locale/gl/LC_MESSAGES/thunar-vcs-plugin.mo
|
||||
%%NLS%%share/locale/he/LC_MESSAGES/thunar-vcs-plugin.mo
|
||||
%%NLS%%share/locale/hr/LC_MESSAGES/thunar-vcs-plugin.mo
|
||||
%%NLS%%share/locale/hu/LC_MESSAGES/thunar-vcs-plugin.mo
|
||||
%%NLS%%share/locale/id/LC_MESSAGES/thunar-vcs-plugin.mo
|
||||
%%NLS%%share/locale/is/LC_MESSAGES/thunar-vcs-plugin.mo
|
||||
%%NLS%%share/locale/it/LC_MESSAGES/thunar-vcs-plugin.mo
|
||||
%%NLS%%share/locale/ko/LC_MESSAGES/thunar-vcs-plugin.mo
|
||||
%%NLS%%share/locale/lt/LC_MESSAGES/thunar-vcs-plugin.mo
|
||||
%%NLS%%share/locale/lv/LC_MESSAGES/thunar-vcs-plugin.mo
|
||||
%%NLS%%share/locale/ms/LC_MESSAGES/thunar-vcs-plugin.mo
|
||||
%%NLS%%share/locale/nb/LC_MESSAGES/thunar-vcs-plugin.mo
|
||||
%%NLS%%share/locale/nl/LC_MESSAGES/thunar-vcs-plugin.mo
|
||||
%%NLS%%share/locale/oc/LC_MESSAGES/thunar-vcs-plugin.mo
|
||||
%%NLS%%share/locale/pl/LC_MESSAGES/thunar-vcs-plugin.mo
|
||||
%%NLS%%share/locale/pt/LC_MESSAGES/thunar-vcs-plugin.mo
|
||||
%%NLS%%share/locale/pt_BR/LC_MESSAGES/thunar-vcs-plugin.mo
|
||||
%%NLS%%share/locale/ru/LC_MESSAGES/thunar-vcs-plugin.mo
|
||||
%%NLS%%share/locale/sk/LC_MESSAGES/thunar-vcs-plugin.mo
|
||||
%%NLS%%share/locale/sl/LC_MESSAGES/thunar-vcs-plugin.mo
|
||||
%%NLS%%share/locale/sv/LC_MESSAGES/thunar-vcs-plugin.mo
|
||||
%%NLS%%share/locale/th/LC_MESSAGES/thunar-vcs-plugin.mo
|
||||
%%NLS%%share/locale/tr/LC_MESSAGES/thunar-vcs-plugin.mo
|
||||
%%NLS%%share/locale/ug/LC_MESSAGES/thunar-vcs-plugin.mo
|
||||
%%NLS%%share/locale/uk/LC_MESSAGES/thunar-vcs-plugin.mo
|
||||
%%NLS%%share/locale/ur/LC_MESSAGES/thunar-vcs-plugin.mo
|
||||
%%NLS%%share/locale/ur_PK/LC_MESSAGES/thunar-vcs-plugin.mo
|
||||
%%NLS%%share/locale/zh_CN/LC_MESSAGES/thunar-vcs-plugin.mo
|
||||
%%NLS%%share/locale/zh_TW/LC_MESSAGES/thunar-vcs-plugin.mo
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= yadifa
|
||||
PORTVERSION= 2.1.3
|
||||
DISTVERSIONSUFFIX= -5519
|
||||
PORTVERSION= 2.1.6
|
||||
DISTVERSIONSUFFIX= -5826
|
||||
CATEGORIES= dns ipv6
|
||||
MASTER_SITES= http://cdn.yadifa.eu/sites/default/files/releases/ LOCAL/mat/yadifa
|
||||
|
||||
|
|
|
|||
|
|
@ -1,2 +1,3 @@
|
|||
SHA256 (yadifa-2.1.3-5519.tar.gz) = d7613ee225a7a9fd3bb3d4ee744cd01eeac997be970ce082212938e4bc4114c4
|
||||
SIZE (yadifa-2.1.3-5519.tar.gz) = 3457041
|
||||
TIMESTAMP = 1466693575
|
||||
SHA256 (yadifa-2.1.6-5826.tar.gz) = c42a4ca927d989f74ee8978b8122c22032d9460176bfcdafc1c371571803e642
|
||||
SIZE (yadifa-2.1.6-5826.tar.gz) = 3480220
|
||||
|
|
|
|||
|
|
@ -12,5 +12,4 @@ YADIFA was developed on FreeBSD and a GNU/Linux. It works on OSX and will be
|
|||
soon ported to other Unix flavours like OpenBSD and Solaris. A Microsoft
|
||||
Windows version is also on the cards.
|
||||
|
||||
|
||||
WWW: http://www.yadifa.eu/
|
||||
|
|
|
|||
|
|
@ -33,6 +33,7 @@ include/dnscore/dnscore-config-features.h
|
|||
include/dnscore/dnscore-config.h
|
||||
include/dnscore/dnscore.h
|
||||
include/dnscore/dnsformat.h
|
||||
include/dnscore/dnskey-keyring.h
|
||||
include/dnscore/dnskey.h
|
||||
include/dnscore/dnskey_dsa.h
|
||||
include/dnscore/dnskey_rsa.h
|
||||
|
|
|
|||
|
|
@ -476,7 +476,6 @@
|
|||
SUBDIR += libcaca
|
||||
SUBDIR += libcdr01
|
||||
SUBDIR += libchamplain
|
||||
SUBDIR += libchamplain08
|
||||
SUBDIR += libdmtx
|
||||
SUBDIR += libdrm
|
||||
SUBDIR += libecwj2
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= imlib2
|
||||
PORTVERSION= 1.4.7
|
||||
PORTVERSION= 1.4.9
|
||||
PORTEPOCH= 2
|
||||
CATEGORIES= graphics enlightenment
|
||||
MASTER_SITES= SF/enlightenment/imlib2-src/${PORTVERSION}
|
||||
|
|
@ -19,16 +19,35 @@ LIB_DEPENDS= libfreetype.so:print/freetype2
|
|||
|
||||
GNU_CONFIGURE= yes
|
||||
USE_LDCONFIG= yes
|
||||
INSTALL_TARGET= install-strip
|
||||
USES= libtool pathfix pkgconfig tar:bzip2
|
||||
|
||||
CONFIGURE_ARGS+= --enable-visibility-hiding --disable-static
|
||||
CONFIGURE_ENV+= ac_cv_lib_dl_dlopen=no
|
||||
CONFIGURE_ARGS= --enable-visibility-hiding --disable-static
|
||||
CONFIGURE_ENV= ac_cv_lib_dl_dlopen=no
|
||||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
MAKE_ENV+= INSTALL_STRIP_FLAG="${STRIP}"
|
||||
|
||||
OPTIONS_DEFINE= JPEG PNG TIFF GIF ID3 X11
|
||||
OPTIONS_DEFAULT= JPEG PNG TIFF GIF ID3 X11
|
||||
OPTIONS_SUB= yes
|
||||
|
||||
X11_USE= XORG=x11,sm,xext
|
||||
X11_CONFIGURE_OFF= --without-x
|
||||
|
||||
JPEG_USES= jpeg
|
||||
JPEG_CONFIGURE_OFF= --without-jpeg
|
||||
|
||||
PNG_LIB_DEPENDS= libpng.so:graphics/png
|
||||
PNG_CONFIGURE_OFF= --without-png
|
||||
|
||||
TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff
|
||||
TIFF_CONFIGURE_OFF= --without-tiff
|
||||
|
||||
GIF_LIB_DEPENDS= libgif.so:graphics/giflib
|
||||
GIF_CONFIGURE_ARGS= --without-gif
|
||||
|
||||
ID3_LIB_DEPENDS= libid3tag.so:audio/libid3tag
|
||||
ID3_CONFIGURE_OFF= --without-id3
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
|
|
@ -44,60 +63,10 @@ CONFIGURE_ARGS+= --enable-amd64
|
|||
CONFIGURE_ARGS+= --disable-amd64
|
||||
.endif
|
||||
|
||||
.if ! ${PORT_OPTIONS:MX11}
|
||||
CONFIGURE_ARGS+= --without-x
|
||||
PLIST_SUB= X11="@comment "
|
||||
.else
|
||||
USE_XORG= x11 sm xext
|
||||
PLIST_SUB= X11=""
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MJPEG}
|
||||
USES+= jpeg
|
||||
PLIST_SUB+= JPEG=""
|
||||
.else
|
||||
CONFIGURE_ARGS+= --without-jpeg
|
||||
PLIST_SUB+= JPEG="@comment "
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MPNG}
|
||||
LIB_DEPENDS+= libpng.so:graphics/png
|
||||
PLIST_SUB+= PNG=""
|
||||
.else
|
||||
CONFIGURE_ARGS+= --without-png
|
||||
PLIST_SUB+= PNG="@comment "
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MTIFF}
|
||||
LIB_DEPENDS+= libtiff.so:graphics/tiff
|
||||
PLIST_SUB+= TIFF=""
|
||||
.else
|
||||
CONFIGURE_ARGS+= --without-tiff
|
||||
PLIST_SUB+= TIFF="@comment "
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MGIF}
|
||||
LIB_DEPENDS+= libgif.so:graphics/giflib
|
||||
PLIST_SUB+= GIF=""
|
||||
.else
|
||||
CONFIGURE_ARGS+= --without-gif
|
||||
PLIST_SUB+= GIF="@comment "
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MID3}
|
||||
LIB_DEPENDS+= libid3tag.so:audio/libid3tag
|
||||
PLIST_SUB+= ID3=""
|
||||
.else
|
||||
CONFIGURE_ARGS+= --without-id3
|
||||
PLIST_SUB+= ID3="@comment "
|
||||
.endif
|
||||
|
||||
.if ! ${PORT_OPTIONS:MX11}
|
||||
post-patch:
|
||||
post-patch-X11-on:
|
||||
@${REINPLACE_CMD} -e '/MY_LIBS =/s/-lXext -lX11//' \
|
||||
${WRKSRC}/src/lib/Makefile.in
|
||||
@${REINPLACE_CMD} -e '/# ifndef X_DISPLAY_MISSING/,/# endif/ d' \
|
||||
${WRKSRC}/src/lib/Imlib2.h
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
|||
|
|
@ -1,2 +1,3 @@
|
|||
SHA256 (imlib2-1.4.7.tar.bz2) = 35d733ce23ad7d338cff009095d37e656cb8a7a53717d53793a38320f9924701
|
||||
SIZE (imlib2-1.4.7.tar.bz2) = 889510
|
||||
TIMESTAMP = 1467226946
|
||||
SHA256 (imlib2-1.4.9.tar.bz2) = 7d2864972801823ce44ca8d5584a67a88f0e54e2bf47fa8cf4a514317b4f0021
|
||||
SIZE (imlib2-1.4.9.tar.bz2) = 892290
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@ lib/imlib2/filters/testfilter.so
|
|||
lib/imlib2/loaders/argb.so
|
||||
lib/imlib2/loaders/bmp.so
|
||||
lib/imlib2/loaders/bz2.so
|
||||
lib/imlib2/loaders/ff.so
|
||||
%%GIF%%lib/imlib2/loaders/gif.so
|
||||
%%ID3%%lib/imlib2/loaders/id3.so
|
||||
%%JPEG%%lib/imlib2/loaders/jpeg.so
|
||||
|
|
@ -26,7 +27,7 @@ lib/imlib2/loaders/xpm.so
|
|||
lib/imlib2/loaders/zlib.so
|
||||
lib/libImlib2.so
|
||||
lib/libImlib2.so.1
|
||||
lib/libImlib2.so.1.4.7
|
||||
lib/libImlib2.so.1.4.9
|
||||
libdata/pkgconfig/imlib2.pc
|
||||
%%DATADIR%%/data/fonts/cinema.ttf
|
||||
%%DATADIR%%/data/fonts/grunge.ttf
|
||||
|
|
|
|||
|
|
@ -2,8 +2,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= imlib2_loaders
|
||||
PORTVERSION= 1.4.6
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 1.4.9
|
||||
PORTEPOCH= 2
|
||||
CATEGORIES= graphics enlightenment
|
||||
MASTER_SITES= SF/enlightenment/imlib2-src/${PORTVERSION}
|
||||
|
|
@ -20,31 +19,21 @@ LICENSE_PERMS_imlib2= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
|
|||
LIB_DEPENDS= libImlib2.so:graphics/imlib2
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USES= libtool pathfix pkgconfig tar:bzip2
|
||||
INSTALL_TARGET= install-strip
|
||||
USES= libtool localbase pathfix pkgconfig tar:bzip2
|
||||
USE_XORG= x11 xext
|
||||
|
||||
CONFIGURE_ARGS= --disable-static
|
||||
|
||||
OPTIONS_DEFINE= EET XCF
|
||||
OPTIONS_DEFAULT= EET XCF
|
||||
OPTIONS_SUB= yes
|
||||
|
||||
EET_DESC= Enable eet loader
|
||||
EET_LIB_DEPENDS= libefl.so:devel/efl
|
||||
EET_CONFIGURE_OFF= --disable-eet
|
||||
|
||||
XCF_DESC= Enable XCF loader
|
||||
|
||||
CONFIGURE_ARGS= --disable-static
|
||||
MAKE_ENV+= INSTALL_STRIP_FLAG="${STRIP}"
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MEET}
|
||||
LIB_DEPENDS+= libefl.so:devel/efl
|
||||
PLIST_SUB+= EET=""
|
||||
.else
|
||||
CONFIGURE_ARGS+= --disable-eet
|
||||
PLIST_SUB+= EET="@comment "
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MXCF}
|
||||
PLIST_SUB+= XCF=""
|
||||
.else
|
||||
CONFIGURE_ARGS+= --disable-xcf
|
||||
PLIST_SUB+= XCF="@comment "
|
||||
.endif
|
||||
XCF_CONFIGURE_OFF= --disable-xcf
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
|||
|
|
@ -1,2 +1,3 @@
|
|||
SHA256 (imlib2_loaders-1.4.6.tar.bz2) = c860e4a65934555f5526a21906e3fa623f563d7a277ee2aa6cf3c6c88b763d3a
|
||||
SIZE (imlib2_loaders-1.4.6.tar.bz2) = 281948
|
||||
TIMESTAMP = 1467227145
|
||||
SHA256 (imlib2_loaders-1.4.9.tar.bz2) = fa7186f25a11640f633542198cd7c4092f6458a17357d79b5e1626c65ebcb9bc
|
||||
SIZE (imlib2_loaders-1.4.9.tar.bz2) = 293904
|
||||
|
|
|
|||
|
|
@ -1,40 +0,0 @@
|
|||
# Created by: Koop Mast <kwm@FreeBSD.org>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= libchamplain
|
||||
PORTVERSION= 0.8.1
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= graphics
|
||||
MASTER_SITES= GNOME
|
||||
PKGNAMESUFFIX= 08
|
||||
|
||||
MAINTAINER= amdmi3@FreeBSD.org
|
||||
COMMENT= C library provides a Gtk+ widget to display rasterized maps/markers
|
||||
|
||||
DEPRECATED= Old version, not needed any more
|
||||
EXPIRATION_DATE=2016-06-29
|
||||
|
||||
LIB_DEPENDS= libclutter-gtk-0.10.so:graphics/clutter-gtk \
|
||||
libsoup-gnome-2.4.so:devel/libsoup-gnome
|
||||
|
||||
USES= gmake libtool:keepla pathfix pkgconfig sqlite tar:bzip2
|
||||
USE_GNOME= gnomeprefix gtk20 introspection:build,run
|
||||
USE_GL= gl
|
||||
GNU_CONFIGURE= yes
|
||||
USE_LDCONFIG= yes
|
||||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib -lgthread-2.0
|
||||
INSTALL_TARGET= install-strip
|
||||
|
||||
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX}
|
||||
DOCSDIRGTK= ${PREFIX}/share/doc/${PORTNAME}-gtk${PKGNAMESUFFIX}
|
||||
|
||||
PLIST_SUB= VERSION=0.8 DOCSDIRGTK="${DOCSDIRGTK}"
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
post-install:
|
||||
${MV} ${STAGEDIR}${PREFIX}/share/doc/libchamplain ${STAGEDIR}${DOCSDIR}
|
||||
${MV} ${STAGEDIR}${PREFIX}/share/doc/libchamplain-gtk ${STAGEDIR}${DOCSDIRGTK}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
SHA256 (libchamplain-0.8.1.tar.bz2) = 307f4e13cf902b58eaf8d52551b92fa90d0470f4a27b46746beb2c4fd0fdd57c
|
||||
SIZE (libchamplain-0.8.1.tar.bz2) = 669156
|
||||
|
|
@ -1,34 +0,0 @@
|
|||
--- champlain-gtk/Makefile.in.orig 2012-03-15 20:21:20.000000000 -0500
|
||||
+++ champlain-gtk/Makefile.in 2012-03-15 20:35:27.000000000 -0500
|
||||
@@ -370,15 +370,15 @@
|
||||
$(libchamplain_gtk_sources_built)
|
||||
|
||||
libchamplain_gtk_@CHAMPLAIN_API_VERSION@_la_LIBADD = \
|
||||
- $(GTK_LIBS) \
|
||||
- $(top_builddir)/champlain/libchamplain-@CHAMPLAIN_API_VERSION@.la
|
||||
+ $(top_builddir)/champlain/libchamplain-@CHAMPLAIN_API_VERSION@.la \
|
||||
+ $(GTK_LIBS)
|
||||
|
||||
libchamplain_gtk_@CHAMPLAIN_API_VERSION@_la_LDFLAGS = \
|
||||
-version-info $(LIBRARY_VERSION) \
|
||||
-no-undefined \
|
||||
-export-symbols-regex ^gtk_champlain_.*
|
||||
|
||||
-AM_CPPFLAGS = $(GTK_CFLAGS) $(WARN_CFLAGS) -I$(top_srcdir) -DCHAMPLAIN_GTK_COMPILATION
|
||||
+AM_CPPFLAGS = -I$(top_srcdir) -DCHAMPLAIN_GTK_COMPILATION $(GTK_CFLAGS) $(WARN_CFLAGS)
|
||||
lib_LTLIBRARIES = libchamplain-gtk-@CHAMPLAIN_API_VERSION@.la
|
||||
libchamplain_gtkdir = $(includedir)/libchamplain-gtk-@CHAMPLAIN_API_VERSION@/champlain-gtk
|
||||
libchamplain_gtk_HEADERS = $(libchamplain_gtk_headers_public)
|
||||
@@ -394,9 +394,9 @@
|
||||
@HAVE_INTROSPECTION_TRUE@GtkChamplain_@CHAMPLAIN_API_VERSION_NORM@_gir_FILES = $(introspection_sources)
|
||||
@HAVE_INTROSPECTION_TRUE@GtkChamplain_@CHAMPLAIN_API_VERSION_NORM@_gir_INCLUDES = Clutter-1.0 Gtk-2.0 Champlain-@CHAMPLAIN_API_VERSION@
|
||||
@HAVE_INTROSPECTION_TRUE@GtkChamplain_@CHAMPLAIN_API_VERSION_NORM@_gir_CFLAGS = \
|
||||
-@HAVE_INTROSPECTION_TRUE@ $(DEPS_CFLAGS) $(SOUP_CFLAGS) $(GTK_CFLAGS) \
|
||||
-@HAVE_INTROSPECTION_TRUE@ -I$(top_srcdir) -I$(top_builddir)\
|
||||
-@HAVE_INTROSPECTION_TRUE@ -DCHAMPLAIN_COMPILATION -DCHAMPLAIN_GTK_COMPILATION
|
||||
+@HAVE_INTROSPECTION_TRUE@ -I$(top_srcdir) -I$(top_builddir) \
|
||||
+@HAVE_INTROSPECTION_TRUE@ -DCHAMPLAIN_COMPILATION -DCHAMPLAIN_GTK_COMPILATION \
|
||||
+@HAVE_INTROSPECTION_TRUE@ $(DEPS_CFLAGS) $(SOUP_CFLAGS) $(GTK_CFLAGS)
|
||||
|
||||
@HAVE_INTROSPECTION_TRUE@girdir = $(datadir)/gir-1.0
|
||||
@HAVE_INTROSPECTION_TRUE@gir_DATA = $(INTROSPECTION_GIRS)
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
Libchamplain is a C library providing a ClutterActor to display maps. It also
|
||||
provides a Gtk+ widget to display maps in Gtk+ applications. Mono, Python and
|
||||
Perl bindings are available.
|
||||
|
||||
It supports numerous free map sources such as OpenStreetMap [1],
|
||||
OpenAerialMap [2] and Maps for free [3].
|
||||
[1] http://www.openstreetmap.org/ [2] http://www.openaerialmap.org/
|
||||
[3] http://www.maps-for-free.com/
|
||||
|
||||
WWW: http://projects.gnome.org/libchamplain/
|
||||
|
|
@ -1,118 +0,0 @@
|
|||
include/libchamplain-%%VERSION%%/champlain/champlain-base-marker.h
|
||||
include/libchamplain-%%VERSION%%/champlain/champlain-bounding-box.h
|
||||
include/libchamplain-%%VERSION%%/champlain/champlain-defines.h
|
||||
include/libchamplain-%%VERSION%%/champlain/champlain-enum-types.h
|
||||
include/libchamplain-%%VERSION%%/champlain/champlain-error-tile-renderer.h
|
||||
include/libchamplain-%%VERSION%%/champlain/champlain-features.h
|
||||
include/libchamplain-%%VERSION%%/champlain/champlain-file-cache.h
|
||||
include/libchamplain-%%VERSION%%/champlain/champlain-file-tile-source.h
|
||||
include/libchamplain-%%VERSION%%/champlain/champlain-image-renderer.h
|
||||
include/libchamplain-%%VERSION%%/champlain/champlain-layer.h
|
||||
include/libchamplain-%%VERSION%%/champlain/champlain-map-source-chain.h
|
||||
include/libchamplain-%%VERSION%%/champlain/champlain-map-source-desc.h
|
||||
include/libchamplain-%%VERSION%%/champlain/champlain-map-source-factory.h
|
||||
include/libchamplain-%%VERSION%%/champlain/champlain-map-source.h
|
||||
include/libchamplain-%%VERSION%%/champlain/champlain-marker.h
|
||||
include/libchamplain-%%VERSION%%/champlain/champlain-marshal.h
|
||||
include/libchamplain-%%VERSION%%/champlain/champlain-memory-cache.h
|
||||
include/libchamplain-%%VERSION%%/champlain/champlain-network-bbox-tile-source.h
|
||||
include/libchamplain-%%VERSION%%/champlain/champlain-network-tile-source.h
|
||||
include/libchamplain-%%VERSION%%/champlain/champlain-null-tile-source.h
|
||||
include/libchamplain-%%VERSION%%/champlain/champlain-point.h
|
||||
include/libchamplain-%%VERSION%%/champlain/champlain-polygon.h
|
||||
include/libchamplain-%%VERSION%%/champlain/champlain-renderer.h
|
||||
include/libchamplain-%%VERSION%%/champlain/champlain-selection-layer.h
|
||||
include/libchamplain-%%VERSION%%/champlain/champlain-tile-cache.h
|
||||
include/libchamplain-%%VERSION%%/champlain/champlain-tile-source.h
|
||||
include/libchamplain-%%VERSION%%/champlain/champlain-tile.h
|
||||
include/libchamplain-%%VERSION%%/champlain/champlain-version.h
|
||||
include/libchamplain-%%VERSION%%/champlain/champlain-view.h
|
||||
include/libchamplain-%%VERSION%%/champlain/champlain.h
|
||||
include/libchamplain-gtk-%%VERSION%%/champlain-gtk/champlain-gtk-enum-types.h
|
||||
include/libchamplain-gtk-%%VERSION%%/champlain-gtk/champlain-gtk-marshal.h
|
||||
include/libchamplain-gtk-%%VERSION%%/champlain-gtk/champlain-gtk.h
|
||||
include/libchamplain-gtk-%%VERSION%%/champlain-gtk/gtk-champlain-embed.h
|
||||
lib/girepository-1.0/Champlain-%%VERSION%%.typelib
|
||||
lib/girepository-1.0/GtkChamplain-%%VERSION%%.typelib
|
||||
lib/libchamplain-%%VERSION%%.a
|
||||
lib/libchamplain-%%VERSION%%.la
|
||||
lib/libchamplain-%%VERSION%%.so
|
||||
lib/libchamplain-%%VERSION%%.so.1
|
||||
lib/libchamplain-%%VERSION%%.so.1.1.2
|
||||
lib/libchamplain-gtk-%%VERSION%%.a
|
||||
lib/libchamplain-gtk-%%VERSION%%.la
|
||||
lib/libchamplain-gtk-%%VERSION%%.so
|
||||
lib/libchamplain-gtk-%%VERSION%%.so.1
|
||||
lib/libchamplain-gtk-%%VERSION%%.so.1.1.2
|
||||
libdata/pkgconfig/champlain-%%VERSION%%.pc
|
||||
libdata/pkgconfig/champlain-gtk-%%VERSION%%.pc
|
||||
%%PORTDOCS%%%%DOCSDIRGTK%%/GtkChamplainEmbed.html
|
||||
%%PORTDOCS%%%%DOCSDIRGTK%%/home.png
|
||||
%%PORTDOCS%%%%DOCSDIRGTK%%/index.html
|
||||
%%PORTDOCS%%%%DOCSDIRGTK%%/index.sgml
|
||||
%%PORTDOCS%%%%DOCSDIRGTK%%/left.png
|
||||
%%PORTDOCS%%%%DOCSDIRGTK%%/libchamplain-gtk.devhelp
|
||||
%%PORTDOCS%%%%DOCSDIRGTK%%/libchamplain-gtk.devhelp2
|
||||
%%PORTDOCS%%%%DOCSDIRGTK%%/pt01.html
|
||||
%%PORTDOCS%%%%DOCSDIRGTK%%/right.png
|
||||
%%PORTDOCS%%%%DOCSDIRGTK%%/style.css
|
||||
%%PORTDOCS%%%%DOCSDIRGTK%%/up.png
|
||||
%%PORTDOCS%%%%DOCSDIR%%/ChamplainBaseMarker.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/ChamplainErrorTileRenderer.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/ChamplainFileCache.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/ChamplainFileTileSource.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/ChamplainImageRenderer.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/ChamplainLayer.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/ChamplainMapSource.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/ChamplainMapSourceChain.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/ChamplainMapSourceFactory.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/ChamplainMarker.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/ChamplainMemoryCache.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/ChamplainMemphisRenderer.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/ChamplainNetworkBboxTileSource.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/ChamplainNetworkTileSource.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/ChamplainNullTileSource.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/ChamplainPolygon.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/ChamplainRenderer.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/ChamplainSelectionLayer.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/ChamplainTile.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/ChamplainTileCache.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/ChamplainTileSource.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/ChamplainView.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/ch01.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/ch02.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/ch03.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/ch04.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/ch05.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/ch06.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/home.png
|
||||
%%PORTDOCS%%%%DOCSDIR%%/index.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/index.sgml
|
||||
%%PORTDOCS%%%%DOCSDIR%%/ix01.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/ix02.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/ix03.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/ix04.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/ix05.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/ix06.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/ix07.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/left.png
|
||||
%%PORTDOCS%%%%DOCSDIR%%/libchamplain-ChamplainBoundingBox.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/libchamplain-ChamplainMapSourceDesc.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/libchamplain-ChamplainPoint.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/libchamplain-ChamplainVersion.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/libchamplain.devhelp
|
||||
%%PORTDOCS%%%%DOCSDIR%%/libchamplain.devhelp2
|
||||
%%PORTDOCS%%%%DOCSDIR%%/pt01.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/pt02.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/pt03.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/pt04.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/pt05.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/right.png
|
||||
%%PORTDOCS%%%%DOCSDIR%%/style.css
|
||||
%%PORTDOCS%%%%DOCSDIR%%/up.png
|
||||
share/gir-1.0/Champlain-%%VERSION%%.gir
|
||||
share/gir-1.0/GtkChamplain-%%VERSION%%.gir
|
||||
share/vala/vapi/champlain-%%VERSION%%.deps
|
||||
share/vala/vapi/champlain-%%VERSION%%.vapi
|
||||
share/vala/vapi/champlain-gtk-%%VERSION%%.deps
|
||||
share/vala/vapi/champlain-gtk-%%VERSION%%.vapi
|
||||
|
|
@ -3,6 +3,7 @@
|
|||
|
||||
PORTNAME= llpp
|
||||
PORTVERSION= 22
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= graphics
|
||||
MASTER_SITES= http://repo.or.cz/llpp.git/snapshot/
|
||||
DISTNAME= 561dc5673cea431e930668b0d87b0c4b31a36b39
|
||||
|
|
@ -23,12 +24,13 @@ BUILD_DEPENDS= gsed:textproc/gsed \
|
|||
${LOCALBASE}/lib/libmupdf.a:graphics/mupdf
|
||||
LIB_DEPENDS= libcurl.so:ftp/curl \
|
||||
libfreetype.so:print/freetype2 \
|
||||
libharfbuzz.so:print/harfbuzz \
|
||||
libjbig2dec.so:graphics/jbig2dec \
|
||||
libopenjp2.so:graphics/openjpeg
|
||||
RUN_DEPENDS= xsel:x11/xsel-conrad
|
||||
|
||||
STRIP= # Stripping renders the executable unusable, so don't do it for now
|
||||
USES= desktop-file-utils gmake
|
||||
USES= desktop-file-utils gmake jpeg
|
||||
USE_GL= gl
|
||||
USE_OCAML= yes
|
||||
NO_OCAML_RUNDEPENDS= yes
|
||||
|
|
|
|||
|
|
@ -32,4 +32,4 @@
|
|||
$comp -c $mloptgl -I $builddir -o $builddir/main$osu $builddir/main.ml
|
||||
$comp -c $mlopt -I $builddir -o $builddir/wsi$osu $srcdir/wsi.ml
|
||||
-$comp -g $lfl -I lablGL -o $builddir/llpp unix$asu str$asu $builddir/help$osu $builddir/lablGL/raw$osu $builddir/utils$osu $builddir/parser$osu $builddir/lablGL/glMisc$osu $builddir/wsi$osu $builddir/lablGL/gl$osu $builddir/lablGL/glMat$osu $builddir/lablGL/glFunc$osu $builddir/lablGL/glClear$osu $builddir/lablGL/glPix$osu $builddir/lablGL/glTex$osu $builddir/lablGL/glDraw$osu $builddir/config$osu $builddir/lablGL/glArray$osu $builddir/main$osu $builddir/link.o -cclib "-lGL -lX11 -lmupdf -lz -lfreetype -ljpeg -ljbig2dec -lopenjpeg -lmujs -lpthread -L$srcdir/mupdf/build/native -lcrypto $builddir/lablGL/ml_gl.o $builddir/lablGL/ml_glarray.o $builddir/lablGL/ml_raw.o"
|
||||
+$comp $lfl -I lablGL -o $builddir/llpp unix$asu str$asu $builddir/help$osu $builddir/lablGL/raw$osu $builddir/utils$osu $builddir/parser$osu $builddir/lablGL/glMisc$osu $builddir/wsi$osu $builddir/lablGL/gl$osu $builddir/lablGL/glMat$osu $builddir/lablGL/glFunc$osu $builddir/lablGL/glClear$osu $builddir/lablGL/glPix$osu $builddir/lablGL/glTex$osu $builddir/lablGL/glDraw$osu $builddir/config$osu $builddir/lablGL/glArray$osu $builddir/main$osu $builddir/link.o -cclib "-L${LOCALBASE}/lib -lGL -lX11 -lmupdf -lz -lfreetype -ljpeg -ljbig2dec -lopenjp2 -lpthread -L$srcdir/mupdf/build/native -lcrypto $builddir/lablGL/ml_gl.o $builddir/lablGL/ml_glarray.o $builddir/lablGL/ml_raw.o"
|
||||
+$comp $lfl -I lablGL -o $builddir/llpp unix$asu str$asu $builddir/help$osu $builddir/lablGL/raw$osu $builddir/utils$osu $builddir/parser$osu $builddir/lablGL/glMisc$osu $builddir/wsi$osu $builddir/lablGL/gl$osu $builddir/lablGL/glMat$osu $builddir/lablGL/glFunc$osu $builddir/lablGL/glClear$osu $builddir/lablGL/glPix$osu $builddir/lablGL/glTex$osu $builddir/lablGL/glDraw$osu $builddir/config$osu $builddir/lablGL/glArray$osu $builddir/main$osu $builddir/link.o -cclib "-L${LOCALBASE}/lib -lGL -lX11 -lmupdf_pic -lmupdfthird_pic -lharfbuzz -lz -lfreetype -ljpeg -ljbig2dec -lopenjp2 -lpthread -L$srcdir/mupdf/build/native -lcrypto $builddir/lablGL/ml_gl.o $builddir/lablGL/ml_glarray.o $builddir/lablGL/ml_raw.o"
|
||||
|
|
|
|||
11
graphics/llpp/files/patch-glfont.c
Normal file
11
graphics/llpp/files/patch-glfont.c
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
--- glfont.c.orig 2015-10-13 20:12:27 UTC
|
||||
+++ glfont.c
|
||||
@@ -120,7 +120,7 @@ static FT_Face load_font(char *fontname)
|
||||
return face;
|
||||
}
|
||||
|
||||
-static FT_Face UNUSED_ATTR load_builtin_font(void *base, int len)
|
||||
+static FT_Face UNUSED_ATTR load_builtin_font(const void *base, int len)
|
||||
{
|
||||
FT_Face face;
|
||||
int code;
|
||||
|
|
@ -13,7 +13,364 @@
|
|||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wunused-parameter"
|
||||
#pragma GCC diagnostic ignored "-Wshadow"
|
||||
@@ -3913,8 +3907,7 @@ CAMLprim value ml_platform (value unit_v
|
||||
@@ -189,8 +183,8 @@ struct page {
|
||||
int agen;
|
||||
int pageno;
|
||||
int pdimno;
|
||||
- fz_text_page *text;
|
||||
- fz_text_sheet *sheet;
|
||||
+ fz_stext_page *text;
|
||||
+ fz_stext_sheet *sheet;
|
||||
fz_page *fzpage;
|
||||
fz_display_list *dlist;
|
||||
int slinkcount;
|
||||
@@ -199,7 +193,7 @@ struct page {
|
||||
struct annot *annots;
|
||||
struct mark {
|
||||
int i;
|
||||
- fz_text_span *span;
|
||||
+ fz_stext_span *span;
|
||||
} fmark, lmark;
|
||||
};
|
||||
|
||||
@@ -531,10 +525,10 @@ static void freepage (struct page *page)
|
||||
{
|
||||
if (!page) return;
|
||||
if (page->text) {
|
||||
- fz_drop_text_page (state.ctx, page->text);
|
||||
+ fz_drop_stext_page (state.ctx, page->text);
|
||||
}
|
||||
if (page->sheet) {
|
||||
- fz_drop_text_sheet (state.ctx, page->sheet);
|
||||
+ fz_drop_stext_sheet (state.ctx, page->sheet);
|
||||
}
|
||||
if (page->slinks) {
|
||||
free (page->slinks);
|
||||
@@ -1307,11 +1301,11 @@ static void process_outline (void)
|
||||
}
|
||||
}
|
||||
|
||||
-static char *strofspan (fz_text_span *span)
|
||||
+static char *strofspan (fz_stext_span *span)
|
||||
{
|
||||
char *p;
|
||||
char utf8[10];
|
||||
- fz_text_char *ch;
|
||||
+ fz_stext_char *ch;
|
||||
size_t size = 0, cap = 80;
|
||||
|
||||
p = malloc (cap + 1);
|
||||
@@ -1332,7 +1326,7 @@ static char *strofspan (fz_text_span *sp
|
||||
return p;
|
||||
}
|
||||
|
||||
-static int matchspan (regex_t *re, fz_text_span *span,
|
||||
+static int matchspan (regex_t *re, fz_stext_span *span,
|
||||
int stop, int pageno, double start)
|
||||
{
|
||||
int ret;
|
||||
@@ -1372,8 +1366,8 @@ static int matchspan (regex_t *re, fz_te
|
||||
b = MAX (0, b-1);
|
||||
}
|
||||
|
||||
- fz_text_char_bbox (state.ctx, &sb, span, a);
|
||||
- fz_text_char_bbox (state.ctx, &eb, span, b);
|
||||
+ fz_stext_char_bbox (state.ctx, &sb, span, a);
|
||||
+ fz_stext_char_bbox (state.ctx, &eb, span, b);
|
||||
|
||||
p1.x = sb.x0;
|
||||
p1.y = sb.y0;
|
||||
@@ -1411,8 +1405,8 @@ static int matchspan (regex_t *re, fz_te
|
||||
|
||||
static int compareblocks (const void *l, const void *r)
|
||||
{
|
||||
- fz_text_block const *ls = l;
|
||||
- fz_text_block const *rs = r;
|
||||
+ fz_stext_block const *ls = l;
|
||||
+ fz_stext_block const *rs = r;
|
||||
return ls->bbox.y0 - rs->bbox.y0;
|
||||
}
|
||||
|
||||
@@ -1421,8 +1415,8 @@ static void search (regex_t *re, int pag
|
||||
{
|
||||
int i, j;
|
||||
fz_device *tdev;
|
||||
- fz_text_page *text;
|
||||
- fz_text_sheet *sheet;
|
||||
+ fz_stext_page *text;
|
||||
+ fz_stext_sheet *sheet;
|
||||
struct pagedim *pdim, *pdimprev;
|
||||
int stop = 0, niters = 0;
|
||||
double start, end;
|
||||
@@ -1458,9 +1452,9 @@ static void search (regex_t *re, int pag
|
||||
pdim = pdimprev;
|
||||
found:
|
||||
|
||||
- sheet = fz_new_text_sheet (state.ctx);
|
||||
- text = fz_new_text_page (state.ctx);
|
||||
- tdev = fz_new_text_device (state.ctx, sheet, text);
|
||||
+ sheet = fz_new_stext_sheet (state.ctx);
|
||||
+ text = fz_new_stext_page (state.ctx);
|
||||
+ tdev = fz_new_stext_device (state.ctx, sheet, text);
|
||||
|
||||
page = fz_load_page (state.ctx, state.doc, pageno);
|
||||
{
|
||||
@@ -1474,15 +1468,15 @@ static void search (regex_t *re, int pag
|
||||
for (j = 0; j < text->len; ++j) {
|
||||
int k;
|
||||
fz_page_block *pb;
|
||||
- fz_text_block *block;
|
||||
+ fz_stext_block *block;
|
||||
|
||||
pb = &text->blocks[forward ? j : text->len - 1 - j];
|
||||
if (pb->type != FZ_PAGE_BLOCK_TEXT) continue;
|
||||
block = pb->u.text;
|
||||
|
||||
for (k = 0; k < block->len; ++k) {
|
||||
- fz_text_line *line;
|
||||
- fz_text_span *span;
|
||||
+ fz_stext_line *line;
|
||||
+ fz_stext_span *span;
|
||||
|
||||
if (forward) {
|
||||
line = &block->lines[k];
|
||||
@@ -1511,8 +1505,8 @@ static void search (regex_t *re, int pag
|
||||
y = INT_MAX;
|
||||
}
|
||||
endloop:
|
||||
- fz_drop_text_page (state.ctx, text);
|
||||
- fz_drop_text_sheet (state.ctx, sheet);
|
||||
+ fz_drop_stext_page (state.ctx, text);
|
||||
+ fz_drop_stext_sheet (state.ctx, sheet);
|
||||
fz_drop_page (state.ctx, page);
|
||||
}
|
||||
end = now ();
|
||||
@@ -2010,9 +2004,9 @@ static void showsel (struct page *page,
|
||||
int seen = 0;
|
||||
fz_irect bbox;
|
||||
fz_rect rect;
|
||||
- fz_text_line *line;
|
||||
+ fz_stext_line *line;
|
||||
fz_page_block *pageb;
|
||||
- fz_text_block *block;
|
||||
+ fz_stext_block *block;
|
||||
struct mark first, last;
|
||||
unsigned char selcolor[] = {15,15,15,140};
|
||||
|
||||
@@ -2036,7 +2030,7 @@ static void showsel (struct page *page,
|
||||
for (line = block->lines;
|
||||
line < block->lines + block->len;
|
||||
++line) {
|
||||
- fz_text_span *span;
|
||||
+ fz_stext_span *span;
|
||||
rect = fz_empty_rect;
|
||||
|
||||
for (span = line->first_span; span; span = span->next) {
|
||||
@@ -2066,7 +2060,7 @@ static void showsel (struct page *page,
|
||||
for (i = j; i <= k; ++i) {
|
||||
fz_rect bbox1;
|
||||
fz_union_rect (&rect,
|
||||
- fz_text_char_bbox (state.ctx, &bbox1,
|
||||
+ fz_stext_char_bbox (state.ctx, &bbox1,
|
||||
span, i));
|
||||
}
|
||||
fz_round_rect (&bbox, &rect);
|
||||
@@ -2216,7 +2210,7 @@ static int compareslinks (const void *l,
|
||||
static void droptext (struct page *page)
|
||||
{
|
||||
if (page->text) {
|
||||
- fz_drop_text_page (state.ctx, page->text);
|
||||
+ fz_drop_stext_page (state.ctx, page->text);
|
||||
page->fmark.i = -1;
|
||||
page->lmark.i = -1;
|
||||
page->fmark.span = NULL;
|
||||
@@ -2224,7 +2218,7 @@ static void droptext (struct page *page)
|
||||
page->text = NULL;
|
||||
}
|
||||
if (page->sheet) {
|
||||
- fz_drop_text_sheet (state.ctx, page->sheet);
|
||||
+ fz_drop_stext_sheet (state.ctx, page->sheet);
|
||||
page->sheet = NULL;
|
||||
}
|
||||
}
|
||||
@@ -2252,7 +2246,7 @@ static void ensureannots (struct page *p
|
||||
|
||||
for (annot = fz_first_annot (state.ctx, page->fzpage);
|
||||
annot;
|
||||
- annot = fz_next_annot (state.ctx, page->fzpage, annot)) {
|
||||
+ annot = fz_next_annot (state.ctx, annot)) {
|
||||
count++;
|
||||
}
|
||||
|
||||
@@ -2265,10 +2259,10 @@ static void ensureannots (struct page *p
|
||||
|
||||
for (annot = fz_first_annot (state.ctx, page->fzpage), i = 0;
|
||||
annot;
|
||||
- annot = fz_next_annot (state.ctx, page->fzpage, annot), i++) {
|
||||
+ annot = fz_next_annot (state.ctx, annot), i++) {
|
||||
fz_rect rect;
|
||||
|
||||
- fz_bound_annot (state.ctx, page->fzpage, annot, &rect);
|
||||
+ fz_bound_annot (state.ctx, annot, &rect);
|
||||
page->annots[i].annot = annot;
|
||||
fz_round_rect (&page->annots[i].bbox, &rect);
|
||||
}
|
||||
@@ -2325,10 +2319,7 @@ static void ensureslinks (struct page *p
|
||||
}
|
||||
for (j = 0; j < page->annotcount; ++j, ++i) {
|
||||
fz_rect rect;
|
||||
- fz_bound_annot (state.ctx,
|
||||
- page->fzpage,
|
||||
- page->annots[j].annot,
|
||||
- &rect);
|
||||
+ fz_bound_annot (state.ctx, page->annots[j].annot, &rect);
|
||||
fz_transform_rect (&rect, &ctm);
|
||||
fz_round_rect (&page->slinks[i].bbox, &rect);
|
||||
|
||||
@@ -2647,16 +2638,14 @@ static void ensuretext (struct page *pag
|
||||
fz_matrix ctm;
|
||||
fz_device *tdev;
|
||||
|
||||
- page->text = fz_new_text_page (state.ctx);
|
||||
- page->sheet = fz_new_text_sheet (state.ctx);
|
||||
- tdev = fz_new_text_device (state.ctx, page->sheet, page->text);
|
||||
+ page->text = fz_new_stext_page (state.ctx);
|
||||
+ page->sheet = fz_new_stext_sheet (state.ctx);
|
||||
+ tdev = fz_new_stext_device (state.ctx, page->sheet, page->text);
|
||||
ctm = pagectm (page);
|
||||
- fz_begin_page (state.ctx, tdev, &fz_infinite_rect, &ctm);
|
||||
fz_run_display_list (state.ctx, page->dlist,
|
||||
tdev, &ctm, &fz_infinite_rect, NULL);
|
||||
qsort (page->text->blocks, page->text->len,
|
||||
sizeof (*page->text->blocks), compareblocks);
|
||||
- fz_end_page (state.ctx, tdev);
|
||||
fz_drop_device (state.ctx, tdev);
|
||||
}
|
||||
}
|
||||
@@ -3049,13 +3038,13 @@ CAMLprim value ml_whatsunder (value ptr_
|
||||
else {
|
||||
fz_rect *b;
|
||||
fz_page_block *pageb;
|
||||
- fz_text_block *block;
|
||||
+ fz_stext_block *block;
|
||||
|
||||
ensuretext (page);
|
||||
for (pageb = page->text->blocks;
|
||||
pageb < page->text->blocks + page->text->len;
|
||||
++pageb) {
|
||||
- fz_text_line *line;
|
||||
+ fz_stext_line *line;
|
||||
if (pageb->type != FZ_PAGE_BLOCK_TEXT) continue;
|
||||
block = pageb->u.text;
|
||||
|
||||
@@ -3066,7 +3055,7 @@ CAMLprim value ml_whatsunder (value ptr_
|
||||
for (line = block->lines;
|
||||
line < block->lines + block->len;
|
||||
++line) {
|
||||
- fz_text_span *span;
|
||||
+ fz_stext_span *span;
|
||||
|
||||
b = &line->bbox;
|
||||
if (!(x >= b->x0 && x <= b->x1 && y >= b->y0 && y <= b->y1))
|
||||
@@ -3081,12 +3070,12 @@ CAMLprim value ml_whatsunder (value ptr_
|
||||
|
||||
for (charnum = 0; charnum < span->len; ++charnum) {
|
||||
fz_rect bbox;
|
||||
- fz_text_char_bbox (state.ctx, &bbox, span, charnum);
|
||||
+ fz_stext_char_bbox (state.ctx, &bbox, span, charnum);
|
||||
b = &bbox;
|
||||
|
||||
if (x >= b->x0 && x <= b->x1
|
||||
&& y >= b->y0 && y <= b->y1) {
|
||||
- fz_text_style *style = span->text->style;
|
||||
+ fz_stext_style *style = span->text->style;
|
||||
const char *n2 =
|
||||
style->font
|
||||
? style->font->name
|
||||
@@ -3164,9 +3153,9 @@ CAMLprim value ml_markunder (value ptr_v
|
||||
CAMLlocal1 (ret_v);
|
||||
fz_rect *b;
|
||||
struct page *page;
|
||||
- fz_text_line *line;
|
||||
+ fz_stext_line *line;
|
||||
fz_page_block *pageb;
|
||||
- fz_text_block *block;
|
||||
+ fz_stext_block *block;
|
||||
struct pagedim *pdim;
|
||||
int mark = Int_val (mark_v);
|
||||
char *s = String_val (ptr_v);
|
||||
@@ -3242,7 +3231,7 @@ CAMLprim value ml_markunder (value ptr_v
|
||||
for (line = block->lines;
|
||||
line < block->lines + block->len;
|
||||
++line) {
|
||||
- fz_text_span *span;
|
||||
+ fz_stext_span *span;
|
||||
|
||||
b = &line->bbox;
|
||||
if (!(x >= b->x0 && x <= b->x1 && y >= b->y0 && y <= b->y1))
|
||||
@@ -3267,7 +3256,7 @@ CAMLprim value ml_markunder (value ptr_v
|
||||
|
||||
for (charnum = 0; charnum < span->len; ++charnum) {
|
||||
fz_rect bbox;
|
||||
- fz_text_char_bbox (state.ctx, &bbox, span, charnum);
|
||||
+ fz_stext_char_bbox (state.ctx, &bbox, span, charnum);
|
||||
b = &bbox;
|
||||
|
||||
if (x >= b->x0 && x <= b->x1 && y >= b->y0 && y <= b->y1) {
|
||||
@@ -3383,10 +3372,10 @@ CAMLprim value ml_seltext (value ptr_v,
|
||||
struct pagedim *pdim;
|
||||
char *s = String_val (ptr_v);
|
||||
int i, x0, x1, y0, y1, fi, li;
|
||||
- fz_text_line *line;
|
||||
+ fz_stext_line *line;
|
||||
fz_page_block *pageb;
|
||||
- fz_text_block *block;
|
||||
- fz_text_span *span, *fspan, *lspan;
|
||||
+ fz_stext_block *block;
|
||||
+ fz_stext_span *span, *fspan, *lspan;
|
||||
|
||||
if (trylock ("ml_seltext")) {
|
||||
goto done;
|
||||
@@ -3426,7 +3415,7 @@ CAMLprim value ml_seltext (value ptr_v,
|
||||
|
||||
for (span = line->first_span; span; span = span->next) {
|
||||
for (i = 0; i < span->len; ++i) {
|
||||
- fz_text_char_bbox (state.ctx, &b, span, i);
|
||||
+ fz_stext_char_bbox (state.ctx, &b, span, i);
|
||||
|
||||
if (x0 >= b.x0 && x0 <= b.x1
|
||||
&& y0 >= b.y0 && y0 <= b.y1) {
|
||||
@@ -3465,7 +3454,7 @@ CAMLprim value ml_seltext (value ptr_v,
|
||||
CAMLreturn (Val_unit);
|
||||
}
|
||||
|
||||
-static int UNUSED_ATTR pipespan (FILE *f, fz_text_span *span, int a, int b)
|
||||
+static int UNUSED_ATTR pipespan (FILE *f, fz_stext_span *span, int a, int b)
|
||||
{
|
||||
char buf[4];
|
||||
int i, len, ret;
|
||||
@@ -3589,9 +3578,9 @@ CAMLprim value ml_copysel (value fd_v, v
|
||||
FILE *f;
|
||||
int seen = 0;
|
||||
struct page *page;
|
||||
- fz_text_line *line;
|
||||
+ fz_stext_line *line;
|
||||
fz_page_block *pageb;
|
||||
- fz_text_block *block;
|
||||
+ fz_stext_block *block;
|
||||
int fd = Int_val (fd_v);
|
||||
char *s = String_val (ptr_v);
|
||||
|
||||
@@ -3621,7 +3610,7 @@ CAMLprim value ml_copysel (value fd_v, v
|
||||
for (line = block->lines;
|
||||
line < block->lines + block->len;
|
||||
++line) {
|
||||
- fz_text_span *span;
|
||||
+ fz_stext_span *span;
|
||||
|
||||
for (span = line->first_span; span; span = span->next) {
|
||||
int a, b;
|
||||
@@ -3913,8 +3902,7 @@ CAMLprim value ml_platform (value unit_v
|
||||
platid = pilinux;
|
||||
#elif defined __CYGWIN__
|
||||
platid = picygwin;
|
||||
|
|
@ -23,3 +380,26 @@
|
|||
platid = pibsd;
|
||||
#elif defined __sun__
|
||||
platid = pisun;
|
||||
@@ -4185,7 +4173,7 @@ CAMLprim value ml_savedoc (value path_v)
|
||||
pdf_document *pdf = pdf_specifics (state.ctx, state.doc);
|
||||
|
||||
if (pdf) {
|
||||
- pdf_write_document (state.ctx, pdf, String_val (path_v), NULL);
|
||||
+ pdf_save_document (state.ctx, pdf, String_val (path_v), NULL);
|
||||
}
|
||||
CAMLreturn (Val_unit);
|
||||
}
|
||||
@@ -4400,10 +4388,10 @@ CAMLprim value ml_init (value csock_v, v
|
||||
#endif
|
||||
}
|
||||
else {
|
||||
- unsigned int len;
|
||||
- void *base = pdf_lookup_substitute_font (state.ctx, 0, 0, 0, 0, &len);
|
||||
+ int len;
|
||||
+ const char *data = pdf_lookup_substitute_font (state.ctx, 0, 0, 0, 0, &len);
|
||||
|
||||
- state.face = load_builtin_font (base, len);
|
||||
+ state.face = load_builtin_font (data, len);
|
||||
}
|
||||
if (!state.face) _exit (1);
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,14 @@
|
|||
--- misc/llppac.orig 2015-10-13 20:12:27 UTC
|
||||
+++ misc/llppac
|
||||
@@ -7,7 +7,7 @@ die() {
|
||||
}
|
||||
|
||||
cachedir="${XDG_CACHE_HOME:-$HOME/.cache}/llpp"
|
||||
-test -d "$cachedir" || die "cache directory '$cachedir' does not exist"
|
||||
+mkdir -p "$cachedir"
|
||||
|
||||
caspsuf=
|
||||
type=
|
||||
@@ -197,7 +197,7 @@ EOF
|
||||
*) die "unhandled filter type: '$type'";;
|
||||
esac
|
||||
|
|
|
|||
|
|
@ -11,6 +11,4 @@ x11-toolkits/pango Fonts
|
|||
graphics/imagemagick Image formats besides PNG and JPEG
|
||||
textproc/hs-pandoc Text files
|
||||
|
||||
It might be necessary to first create a cache directory with
|
||||
|
||||
$ mkdir -p ~/.cache/llpp
|
||||
Auto-converted documents are cached in ~/.cache/llpp.
|
||||
|
|
|
|||
|
|
@ -2,12 +2,12 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= mupdf
|
||||
PORTVERSION= 1.8
|
||||
PORTVERSION= 1.9a
|
||||
DISTVERSIONSUFFIX= -source
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= graphics
|
||||
MASTER_SITES= http://www.mupdf.com/download/ \
|
||||
http://www.mupdf.com/download/archive/
|
||||
MASTER_SITES= http://www.mupdf.com/downloads/ \
|
||||
http://www.mupdf.com/downloads/archive/
|
||||
|
||||
MAINTAINER= udvzsolt@gmail.com
|
||||
COMMENT= Lightweight PDF viewer and toolkit
|
||||
|
|
@ -17,14 +17,16 @@ LICENSE_FILE= ${WRKSRC}/COPYING
|
|||
|
||||
LIB_DEPENDS= libcurl.so:ftp/curl \
|
||||
libfreetype.so:print/freetype2 \
|
||||
libharfbuzz.so:print/harfbuzz \
|
||||
libjbig2dec.so:graphics/jbig2dec \
|
||||
libopenjp2.so:graphics/openjpeg
|
||||
|
||||
CFLAGS+= -I${WRKSRC}/include/mupdf
|
||||
CFLAGS+= -I${WRKSRC}/include/mupdf -I${LOCALBASE}/include
|
||||
LIBS+= -L${LOCALBASE}/lib
|
||||
MAKE_ARGS= build=release prefix=${PREFIX} mandir=${PREFIX}/man verbose=yes
|
||||
USES= cpe compiler:c++11-lang gmake jpeg pkgconfig
|
||||
USE_XORG= x11 xext
|
||||
USE_XORG= x11 xcursor xext xinerama xrandr
|
||||
USE_GL= gl
|
||||
|
||||
CPE_VENDOR= artifex
|
||||
|
||||
|
|
@ -45,9 +47,13 @@ post-patch:
|
|||
-e 's|/usr/local|${LOCALBASE}|' \
|
||||
-e 's/Linux/FreeBSD/' \
|
||||
${WRKSRC}/Makerules
|
||||
@${REINPLACE_CMD} '/^CFLAGS/s|$$| -I${LOCALBASE}/include|' \
|
||||
${WRKSRC}/Makefile
|
||||
@${RM} -r ${WRKSRC}/thirdparty/*
|
||||
@${RM} -r ${WRKSRC}/thirdparty/curl \
|
||||
${WRKSRC}/thirdparty/jbig2dec \
|
||||
${WRKSRC}/thirdparty/freetype \
|
||||
${WRKSRC}/thirdparty/harfbuzz \
|
||||
${WRKSRC}/thirdparty/jpeg \
|
||||
${WRKSRC}/thirdparty/openjpeg \
|
||||
${WRKSRC}/thirdparty/zlib
|
||||
|
||||
post-build:
|
||||
(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} \
|
||||
|
|
@ -56,8 +62,10 @@ post-build:
|
|||
post-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/build/pic/libmupdf.a \
|
||||
${STAGEDIR}${PREFIX}/lib/libmupdf_pic.a
|
||||
${INSTALL_DATA} ${WRKSRC}/build/pic/libmupdfthird.a \
|
||||
${STAGEDIR}${PREFIX}/lib/libmupdfthird_pic.a
|
||||
${MV} ${STAGEDIR}${PREFIX}/bin/mupdf-x11 ${STAGEDIR}${PREFIX}/bin/mupdf
|
||||
.for binary in mutool mujstest mupdf mupdf-x11-curl
|
||||
.for binary in mutool mujstest mupdf mupdf-gl mupdf-x11-curl
|
||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${binary}
|
||||
.endfor
|
||||
|
||||
|
|
|
|||
|
|
@ -1,2 +1,3 @@
|
|||
SHA256 (mupdf-1.8-source.tar.gz) = a2a3c64d8b24920f87cf4ea9339a25abf7388496440f13b37482d1403c33c206
|
||||
SIZE (mupdf-1.8-source.tar.gz) = 14169777
|
||||
TIMESTAMP = 1466328793
|
||||
SHA256 (mupdf-1.9a-source.tar.gz) = 8015c55f4e6dd892d3c50db4f395c1e46660a10b460e2ecd180a497f55bbc4cc
|
||||
SIZE (mupdf-1.9a-source.tar.gz) = 20493793
|
||||
|
|
|
|||
10
graphics/mupdf/files/patch-scripts_fontdump.c
Normal file
10
graphics/mupdf/files/patch-scripts_fontdump.c
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
--- scripts/fontdump.c.orig 2016-06-12 09:11:56 UTC
|
||||
+++ scripts/fontdump.c
|
||||
@@ -50,7 +50,6 @@ main(int argc, char **argv)
|
||||
fprintf(fo, "#ifndef __STRICT_ANSI__\n");
|
||||
fprintf(fo, "#if defined(__linux__) || defined(__FreeBSD__) || defined(__OpenBSD__)\n");
|
||||
fprintf(fo, "#if !defined(__ICC)\n");
|
||||
- fprintf(fo, "#define HAVE_INCBIN\n");
|
||||
fprintf(fo, "#endif\n");
|
||||
fprintf(fo, "#endif\n");
|
||||
fprintf(fo, "#endif\n");
|
||||
|
|
@ -1,9 +1,11 @@
|
|||
bin/mujstest
|
||||
bin/mupdf
|
||||
bin/mupdf-gl
|
||||
bin/mupdf-x11-curl
|
||||
bin/mutool
|
||||
include/mupdf/fitz.h
|
||||
include/mupdf/fitz/annotation.h
|
||||
include/mupdf/fitz/bidi.h
|
||||
include/mupdf/fitz/bitmap.h
|
||||
include/mupdf/fitz/buffer.h
|
||||
include/mupdf/fitz/colorspace.h
|
||||
|
|
@ -27,12 +29,14 @@ include/mupdf/fitz/outline.h
|
|||
include/mupdf/fitz/output-pcl.h
|
||||
include/mupdf/fitz/output-png.h
|
||||
include/mupdf/fitz/output-pnm.h
|
||||
include/mupdf/fitz/output-ps.h
|
||||
include/mupdf/fitz/output-pwg.h
|
||||
include/mupdf/fitz/output-svg.h
|
||||
include/mupdf/fitz/output-tga.h
|
||||
include/mupdf/fitz/output.h
|
||||
include/mupdf/fitz/path.h
|
||||
include/mupdf/fitz/pixmap.h
|
||||
include/mupdf/fitz/pool.h
|
||||
include/mupdf/fitz/separation.h
|
||||
include/mupdf/fitz/shade.h
|
||||
include/mupdf/fitz/store.h
|
||||
|
|
@ -47,7 +51,6 @@ include/mupdf/fitz/ucdn.h
|
|||
include/mupdf/fitz/unzip.h
|
||||
include/mupdf/fitz/util.h
|
||||
include/mupdf/fitz/version.h
|
||||
include/mupdf/fitz/write-document.h
|
||||
include/mupdf/fitz/xml.h
|
||||
include/mupdf/html.h
|
||||
include/mupdf/memento.h
|
||||
|
|
@ -62,6 +65,7 @@ include/mupdf/pdf/document.h
|
|||
include/mupdf/pdf/event.h
|
||||
include/mupdf/pdf/field.h
|
||||
include/mupdf/pdf/font.h
|
||||
include/mupdf/pdf/graft.h
|
||||
include/mupdf/pdf/interpret.h
|
||||
include/mupdf/pdf/javascript.h
|
||||
include/mupdf/pdf/name-table.h
|
||||
|
|
@ -74,6 +78,8 @@ include/mupdf/pdf/widget.h
|
|||
include/mupdf/pdf/xref.h
|
||||
include/mupdf/xps.h
|
||||
lib/libmupdf.a
|
||||
lib/libmupdfthird.a
|
||||
lib/libmupdfthird_pic.a
|
||||
lib/libmupdf_pic.a
|
||||
man/man1/mupdf.1.gz
|
||||
man/man1/mutool.1.gz
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@
|
|||
|
||||
PORTNAME= zathura-pdf-mupdf
|
||||
PORTVERSION= 0.3.0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= graphics
|
||||
MASTER_SITES= http://pwmt.org/projects/zathura-pdf-mupdf/download/
|
||||
|
||||
|
|
@ -16,15 +17,15 @@ BUILD_DEPENDS= zathura:graphics/zathura \
|
|||
mupdf>=1.8,1:graphics/mupdf
|
||||
RUN_DEPENDS= zathura:graphics/zathura
|
||||
LIB_DEPENDS= libjbig2dec.so:graphics/jbig2dec \
|
||||
libopenjp2.so:graphics/openjpeg
|
||||
libopenjp2.so:graphics/openjpeg \
|
||||
libgirara-gtk3.so:x11-toolkits/girara
|
||||
|
||||
PLIST_FILES= lib/zathura/pdf.so share/applications/zathura-pdf-mupdf.desktop
|
||||
|
||||
MAKE_ARGS= MUPDF_LIB=-lmupdf_pic OPENSSL_INC=-I${OPENSSLINC} \
|
||||
MAKE_ARGS= MUPDF_LIB="-lmupdf_pic -lmupdfthird_pic" OPENSSL_INC=-I${OPENSSLINC} \
|
||||
OPENSSL_LIB="-L${OPENSSLLIB} -lcrypto"
|
||||
USES= compiler:c11 desktop-file-utils gmake pkgconfig
|
||||
USE_GNOME= glib20 gtk30
|
||||
USE_OPENSSL= yes
|
||||
USES= compiler:c11 desktop-file-utils gmake gettext jpeg pkgconfig ssl
|
||||
USE_GNOME= cairo gdkpixbuf2 glib20 gtk30
|
||||
|
||||
CONFLICTS_INSTALL= zathura-pdf-poppler-[0-9]*
|
||||
|
||||
|
|
|
|||
13
graphics/zathura-pdf-mupdf/files/patch-document.c
Normal file
13
graphics/zathura-pdf-mupdf/files/patch-document.c
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
--- document.c.orig 2016-02-14 22:49:46 UTC
|
||||
+++ document.c
|
||||
@@ -113,8 +113,8 @@ pdf_document_save_as(zathura_document_t*
|
||||
* pdf_write_document does not check if the third arguments is NULL for some
|
||||
* options. */
|
||||
|
||||
- fz_write_options opts = { 0 }; /* just use the default options */
|
||||
- fz_write_document(mupdf_document->ctx, mupdf_document->document, (char*) path, &opts);
|
||||
+ pdf_write_options opts = { 0 }; /* just use the default options */
|
||||
+ pdf_save_document(mupdf_document->ctx, mupdf_document->document, (char*) path, &opts);
|
||||
} fz_catch (mupdf_document->ctx) {
|
||||
return ZATHURA_ERROR_UNKNOWN;
|
||||
}
|
||||
11
graphics/zathura-pdf-mupdf/files/patch-image.c
Normal file
11
graphics/zathura-pdf-mupdf/files/patch-image.c
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
--- image.c.orig 2016-06-25 17:52:28 UTC
|
||||
+++ image.c
|
||||
@@ -93,7 +93,7 @@ pdf_page_image_get_cairo(zathura_page_t*
|
||||
fz_pixmap* pixmap = NULL;
|
||||
cairo_surface_t* surface = NULL;
|
||||
|
||||
- pixmap = fz_new_pixmap_from_image(mupdf_page->ctx, mupdf_image, 0, 0);
|
||||
+ pixmap = fz_get_pixmap_from_image(mupdf_page->ctx, mupdf_image, 0, 0);
|
||||
if (pixmap == NULL) {
|
||||
goto error_free;
|
||||
}
|
||||
31
graphics/zathura-pdf-mupdf/files/patch-page.c
Normal file
31
graphics/zathura-pdf-mupdf/files/patch-page.c
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
--- page.c.orig 2016-06-25 17:39:19 UTC
|
||||
+++ page.c
|
||||
@@ -43,12 +43,12 @@ pdf_page_init(zathura_page_t* page)
|
||||
/* setup text */
|
||||
mupdf_page->extracted_text = false;
|
||||
|
||||
- mupdf_page->text = fz_new_text_page(mupdf_page->ctx);
|
||||
+ mupdf_page->text = fz_new_stext_page(mupdf_page->ctx);
|
||||
if (mupdf_page->text == NULL) {
|
||||
goto error_free;
|
||||
}
|
||||
|
||||
- mupdf_page->sheet = fz_new_text_sheet(mupdf_page->ctx);
|
||||
+ mupdf_page->sheet = fz_new_stext_sheet(mupdf_page->ctx);
|
||||
if (mupdf_page->sheet == NULL) {
|
||||
goto error_free;
|
||||
}
|
||||
@@ -74,11 +74,11 @@ pdf_page_clear(zathura_page_t* page, mup
|
||||
|
||||
if (mupdf_page != NULL) {
|
||||
if (mupdf_page->text != NULL) {
|
||||
- fz_drop_text_page(mupdf_page->ctx, mupdf_page->text);
|
||||
+ fz_drop_stext_page(mupdf_page->ctx, mupdf_page->text);
|
||||
}
|
||||
|
||||
if (mupdf_page->sheet != NULL) {
|
||||
- fz_drop_text_sheet(mupdf_page->ctx, mupdf_page->sheet);
|
||||
+ fz_drop_stext_sheet(mupdf_page->ctx, mupdf_page->sheet);
|
||||
}
|
||||
|
||||
if (mupdf_page->page != NULL) {
|
||||
13
graphics/zathura-pdf-mupdf/files/patch-plugin.h
Normal file
13
graphics/zathura-pdf-mupdf/files/patch-plugin.h
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
--- plugin.h.orig 2016-02-14 22:49:46 UTC
|
||||
+++ plugin.h
|
||||
@@ -21,8 +21,8 @@ typedef struct mupdf_page_s
|
||||
{
|
||||
fz_page* page; /**< Reference to the mupdf page */
|
||||
fz_context* ctx; /**< Context */
|
||||
- fz_text_sheet* sheet; /**< Text sheet */
|
||||
- fz_text_page* text; /**< Page text */
|
||||
+ fz_stext_sheet* sheet; /**< Text sheet */
|
||||
+ fz_stext_page* text; /**< Page text */
|
||||
fz_rect bbox; /**< Bbox */
|
||||
bool extracted_text; /**< If text has already been extracted */
|
||||
} mupdf_page_t;
|
||||
11
graphics/zathura-pdf-mupdf/files/patch-search.c
Normal file
11
graphics/zathura-pdf-mupdf/files/patch-search.c
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
--- search.c.orig 2016-06-25 17:42:12 UTC
|
||||
+++ search.c
|
||||
@@ -40,7 +40,7 @@ pdf_page_search_text(zathura_page_t* pag
|
||||
}
|
||||
|
||||
fz_rect* hit_bbox = fz_malloc_array(mupdf_page->ctx, N_SEARCH_RESULTS, sizeof(fz_rect));
|
||||
- int num_results = fz_search_text_page(mupdf_page->ctx, mupdf_page->text,
|
||||
+ int num_results = fz_search_stext_page(mupdf_page->ctx, mupdf_page->text,
|
||||
(char*) text, hit_bbox, N_SEARCH_RESULTS);
|
||||
|
||||
for (int i = 0; i < num_results; i++) {
|
||||
11
graphics/zathura-pdf-mupdf/files/patch-utils.c
Normal file
11
graphics/zathura-pdf-mupdf/files/patch-utils.c
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
--- utils.c.orig 2016-06-25 17:44:43 UTC
|
||||
+++ utils.c
|
||||
@@ -14,7 +14,7 @@ mupdf_page_extract_text(mupdf_document_t
|
||||
fz_device* text_device = NULL;
|
||||
|
||||
fz_try (mupdf_page->ctx) {
|
||||
- text_device = fz_new_text_device(mupdf_page->ctx, mupdf_page->sheet, mupdf_page->text);
|
||||
+ text_device = fz_new_stext_device(mupdf_page->ctx, mupdf_page->sheet, mupdf_page->text);
|
||||
|
||||
/* Disable FZ_IGNORE_IMAGE to collect image blocks */
|
||||
fz_disable_device_hints(mupdf_page->ctx, text_device, FZ_IGNORE_IMAGE);
|
||||
|
|
@ -37,22 +37,18 @@ PLUGINS_DESC= Compile additional libpurple-plugins
|
|||
|
||||
CACA_LIB_DEPENDS= libcaca.so:graphics/libcaca \
|
||||
libImlib2.so:graphics/imlib2
|
||||
CACA_CMAKE_ON= -DENABLE_CACA:BOOL=ON -DENABLE_IMLIB:BOOL=ON
|
||||
CACA_CMAKE_OFF= -DENABLE_CACA:BOOL=OFF -DENABLE_IMLIB:BOOL=OFF
|
||||
CACA_CMAKE_BOOL= ENABLE_CACA ENABLE_IMLIB
|
||||
|
||||
GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls
|
||||
GNUTLS_CMAKE_ON= -DENABLE_TLS:BOOL=ON
|
||||
GNUTLS_CMAKE_OFF= -DENABLE_TLS:BOOL=OFF
|
||||
GNUTLS_CMAKE_BOOL= ENABLE_TLS
|
||||
|
||||
PLUGINS_USE= GNOME=libxml2
|
||||
PLUGINS_CMAKE_ON= -DENABLE_PLUGIN:BOOL=ON
|
||||
PLUGINS_CMAKE_OFF= -DENABLE_PLUGIN:BOOL=OFF
|
||||
PLUGINS_CMAKE_BOOL= ENABLE_PLUGIN
|
||||
PLUGINS_PLIST_FILES= lib/purple-2/libcoincoin.so \
|
||||
lib/purple-2/libgayattitude.so
|
||||
|
||||
VIDEO_USE= GSTREAMER=core,good
|
||||
VIDEO_CMAKE_ON= -DENABLE_VIDEO:BOOL=ON
|
||||
VIDEO_CMAKE_OFF= -DENABLE_VIDEO:BOOL=OFF
|
||||
VIDEO_CMAKE_BOOL= ENABLE_VIDEO
|
||||
VIDEO_LIB_DEPENDS= libgstfarsight-0.10.so:net-im/farsight2
|
||||
|
||||
post-patch:
|
||||
|
|
|
|||
|
|
@ -91,6 +91,7 @@
|
|||
SUBDIR += jtiger
|
||||
SUBDIR += jump
|
||||
SUBDIR += junit
|
||||
SUBDIR += jxgrabkey
|
||||
SUBDIR += langspec
|
||||
SUBDIR += linux-oracle-jdk18
|
||||
SUBDIR += linux-oracle-jre18
|
||||
|
|
|
|||
42
java/jxgrabkey/Makefile
Normal file
42
java/jxgrabkey/Makefile
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
# Created by: Mikhail T. <mi@aldan.algebra.com>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= jxgrabkey
|
||||
PORTVERSION= 0.3.2
|
||||
CATEGORIES= java devel
|
||||
MASTER_SITES= SF
|
||||
DISTFILES= ${PORTNAME}-${PORTVERSION}_src${EXTRACT_SUFX}
|
||||
|
||||
MAINTAINER= mi@aldan.algebra.com
|
||||
COMMENT= JNI library for easy use of global X11 hotkeys from Java
|
||||
|
||||
LICENSE= LGPL3
|
||||
|
||||
USES= tar:bz2
|
||||
USE_JAVA= yes
|
||||
USE_ANT= yes
|
||||
OPTIONS_DEFINE= TEST
|
||||
TEST_BUILD_DEPENDS= ${JAVALIBDIR}/junit.jar:java/junit \
|
||||
${JAVALIBDIR}/hamcrest.jar:java/hamcrest
|
||||
MAKE_ENV+= JAVA_HOME=${JAVA_HOME} OPSYS=${OPSYS}
|
||||
PLIST_FILES= %%JAVAJARDIR%%/JXGrabKey.jar lib/libJXGrabKey.so
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
do-build:
|
||||
${SETENV} ${MAKE_ENV} ${MAKE} -C ${WRKSRC}/JXGrabKey/C++ \
|
||||
-f ${FILESDIR}/Makefile.JXGrabKey
|
||||
cd ${WRKSRC}/JXGrabKey/Java && ${ANT} -verbose jar
|
||||
|
||||
do-install:
|
||||
${INSTALL_LIB} ${WRKSRC}/JXGrabKey/C++/libJXGrabKey.so ${STAGEDIR}${PREFIX}/lib/
|
||||
${INSTALL_DATA} ${WRKSRC}/JXGrabKey/Java/dist/JXGrabKey.jar ${STAGEDIR}${JAVAJARDIR}/
|
||||
|
||||
do-test-TEST-on: build
|
||||
${ECHO_MSG} Tests require a valid DISPLAY
|
||||
cd ${WRKSRC}/JXGrabKey/Java && \
|
||||
${SETENV} CLASSPATH=${JAVALIBDIR}/junit.jar:${JAVALIBDIR}/hamcrest.jar \
|
||||
LD_LIBRARY_PATH=${WRKSRC}/JXGrabKey/C++ \
|
||||
${ANT} -Djavac.classpath=${JAVALIBDIR}/junit.jar \
|
||||
test
|
||||
|
||||
.include <bsd.port.mk>
|
||||
3
java/jxgrabkey/distinfo
Normal file
3
java/jxgrabkey/distinfo
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1467261857
|
||||
SHA256 (jxgrabkey-0.3.2_src.tar.bz2) = 2465c556f5e4100931f68d35d1211ac65dd92773cb58775585abb9e55c32c66c
|
||||
SIZE (jxgrabkey-0.3.2_src.tar.bz2) = 32061
|
||||
14
java/jxgrabkey/files/Makefile.JXGrabKey
Normal file
14
java/jxgrabkey/files/Makefile.JXGrabKey
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
# $FreeBSD$
|
||||
|
||||
LIB_CXX= JXGrabKey
|
||||
SHLIB_NAME= lib${LIB_CXX}.so
|
||||
NO_PROFILE= nope
|
||||
|
||||
SRCS= JXGrabKey.cpp
|
||||
VPATH= src
|
||||
CXXFLAGS+= -I${JAVA_HOME}/include \
|
||||
-I${JAVA_HOME}/include/${OPSYS:tl} \
|
||||
-I${LOCALBASE}/include
|
||||
LDADD= -L${LOCALBASE}/lib -lX11
|
||||
|
||||
.include <bsd.lib.mk>
|
||||
9
java/jxgrabkey/files/patch-shlib-path
Normal file
9
java/jxgrabkey/files/patch-shlib-path
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
--- JXGrabKey/Java/test/jxgrabkey/JXGrabKeyTest.java 2010-02-28 10:11:49.000000000 -0500
|
||||
+++ JXGrabKey/Java/test/jxgrabkey/JXGrabKeyTest.java 2016-06-30 02:51:50.285529000 -0400
|
||||
@@ -16,5 +16,5 @@
|
||||
@BeforeClass
|
||||
public static void setUpClass() throws Exception {
|
||||
- System.load(new File("../C++/dist/Release/GNU-Linux-x86/libJXGrabKey.so").getCanonicalPath());
|
||||
+ System.loadLibrary("JXGrabKey");
|
||||
JXGrabKey.setDebugOutput(true);
|
||||
JXGrabKey.getInstance();
|
||||
24
java/jxgrabkey/files/patch-warnings
Normal file
24
java/jxgrabkey/files/patch-warnings
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
--- JXGrabKey/C++/src/JXGrabKey.cpp 2010-02-28 10:11:49.000000000 -0500
|
||||
+++ JXGrabKey/C++/src/JXGrabKey.cpp 2016-06-30 03:15:41.718599000 -0400
|
||||
@@ -24,4 +24,5 @@
|
||||
#include <X11/Xlib.h>
|
||||
#include <X11/keysym.h>
|
||||
+#include <X11/XKBlib.h>
|
||||
|
||||
#include <pthread.h>
|
||||
@@ -319,5 +320,5 @@
|
||||
|
||||
XSetErrorHandler((XErrorHandler) xErrorHandler);
|
||||
- pthread_spin_init(&x_lock, NULL); // init here bcoz of the returns
|
||||
+ pthread_spin_init(&x_lock, PTHREAD_PROCESS_SHARED); // init here bcoz of the returns
|
||||
|
||||
doListen = true;
|
||||
@@ -347,6 +348,6 @@
|
||||
<< keys.at(i).id
|
||||
<< "; type = KeyPress; x11Keycode = '"
|
||||
- << XKeysymToString(XKeycodeToKeysym(dpy,
|
||||
- ev.xkey.keycode, 0)) << "' (0x"
|
||||
+ << XKeysymToString(XkbKeycodeToKeysym(dpy,
|
||||
+ ev.xkey.keycode, 0, 0)) << "' (0x"
|
||||
<< std::hex << ev.xkey.keycode
|
||||
<< "); x11Mask = 0x" << std::hex
|
||||
4
java/jxgrabkey/pkg-descr
Normal file
4
java/jxgrabkey/pkg-descr
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
JXGrabKey is a jni library for easy use of global X11 hotkeys on
|
||||
from Java.
|
||||
|
||||
WWW: http://jxgrabkey.sourceforge.net/
|
||||
|
|
@ -3,5 +3,3 @@ SHA256 (dmd.2.071.1.freebsd-64.zip) = 8e078b2b35783ef3fd84652b328311f366b06990d2
|
|||
SIZE (dmd.2.071.1.freebsd-64.zip) = 25188858
|
||||
SHA256 (dmd.2.067.1.zip) = 24fd32d3b1401309187a3fcd235014e38c651beb3af29b0e656f6f4add4ec95b
|
||||
SIZE (dmd.2.067.1.zip) = 56083735
|
||||
SHA256 (dmd.2.067.1.zip) = 24fd32d3b1401309187a3fcd235014e38c651beb3af29b0e656f6f4add4ec95b
|
||||
SIZE (dmd.2.067.1.zip) = 56083735
|
||||
|
|
|
|||
|
|
@ -28,13 +28,18 @@ USES= libtool
|
|||
USE_LDCONFIG= ${PREFIX}/lib/dovecot
|
||||
USE_OPENSSL= yes
|
||||
|
||||
OPTIONS_DEFINE= DOCS MANAGESIEVE
|
||||
OPTIONS_DEFINE= DOCS LDAP MANAGESIEVE
|
||||
OPTIONS_DEFAULT=MANAGESIEVE
|
||||
OPTIONS_SUB= yes
|
||||
|
||||
MANAGESIEVE_DESC= ManageSieve support
|
||||
MANAGESIEVE_CONFIGURE_WITH= managesieve
|
||||
|
||||
LDAP_CONFIGURE_WITH= ldap
|
||||
LDAP_CPPFLAGS= -I${LOCALBASE}/include
|
||||
LDAP_LDFLAGS= -L${LOCALBASE}/lib
|
||||
LDAP_USE= OPENLDAP=yes
|
||||
|
||||
PORTDOCS= sieve/extensions/* sieve/plugins/* sieve/locations/*
|
||||
|
||||
post-patch:
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= rspamd
|
||||
PORTVERSION= 1.3.0.b2.21062016
|
||||
PORTVERSION= 1.3.0.b3.30062016
|
||||
CATEGORIES= mail
|
||||
PKGNAMESUFFIX= -devel
|
||||
|
||||
|
|
@ -22,7 +22,7 @@ RSPAMD_VERSION= 1.3.0
|
|||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= vstakhov
|
||||
GH_PROJECT= rspamd
|
||||
GH_TAGNAME= afb80e7
|
||||
GH_TAGNAME= c2e7232
|
||||
|
||||
OPTIONS_DEFINE= GPERF REDIRECTOR HYPERSCAN
|
||||
GPERF_DESC= google perf-tools profiling
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1466495327
|
||||
SHA256 (vstakhov-rspamd-1.3.0.b2.21062016-afb80e7_GH0.tar.gz) = 1c5e8aa37c146bc2bacf9048a920ba0a6c06c2bc6d2dbbc014cc1d824d7ab527
|
||||
SIZE (vstakhov-rspamd-1.3.0.b2.21062016-afb80e7_GH0.tar.gz) = 1909658
|
||||
TIMESTAMP = 1467280262
|
||||
SHA256 (vstakhov-rspamd-1.3.0.b3.30062016-c2e7232_GH0.tar.gz) = e30672c30d45d285512b6234448f3fd3c7f435cef92520392522a250d8ec4771
|
||||
SIZE (vstakhov-rspamd-1.3.0.b3.30062016-c2e7232_GH0.tar.gz) = 1916300
|
||||
|
|
|
|||
|
|
@ -40,6 +40,7 @@ bin/rspamc
|
|||
@sample %%ETCDIR%%/statistic.conf.sample
|
||||
@sample %%ETCDIR%%/surbl-whitelist.inc.sample
|
||||
@sample %%ETCDIR%%/worker-controller.inc.sample
|
||||
@sample %%ETCDIR%%/worker-fuzzy.inc
|
||||
@sample %%ETCDIR%%/worker-normal.inc.sample
|
||||
@sample %%ETCDIR%%/rspamd.newsyslog.conf.sample
|
||||
/usr/local/etc/newsyslog.conf.d/rspamd.newsyslog.conf
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@ LICENSE= GPLv2
|
|||
LIB_DEPENDS= libboost_filesystem.so:devel/boost-libs
|
||||
|
||||
OPTIONS_DEFINE= DOCS GUI
|
||||
OPTIONS_SUB= yes
|
||||
|
||||
USES= cmake:outsource compiler:c++11-lib tar:tgz
|
||||
USE_GL= glut
|
||||
|
|
@ -26,17 +27,9 @@ CFLAGS+= -I${LOCALBASE}/include
|
|||
CXXFLAGS+= -std=c++11
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MGUI}
|
||||
LIB_DEPENDS+= libglui.so:devel/glui
|
||||
PLIST_SUB+= GUI=""
|
||||
CMAKE_ARGS+= -DCARVE_WITH_GUI:BOOL=true
|
||||
.else
|
||||
CONFIGURE_ARGS+=--with-gui=no
|
||||
PLIST_SUB+= GUI="@comment "
|
||||
CMAKE_ARGS+= -DCARVE_WITH_GUI:BOOL=false
|
||||
.endif
|
||||
GUI_LIB_DEPENDS= libglui.so:devel/glui
|
||||
GUI_CONFIGURE_OFF= --with-gui=no
|
||||
GUI_CMAKE_BOOL= CARVE_WITH_GUI
|
||||
|
||||
post-patch:
|
||||
${FIND} ${WRKSRC} -name "*.cpp" -o -name "*.h" -o -name "*.hpp" | ${XARGS} \
|
||||
|
|
|
|||
|
|
@ -57,24 +57,28 @@ CMAKE_ARGS+= -DBUILD_DOCUMENTATION:BOOL=ON \
|
|||
-DOPENGL_gl_LIBRARY:FILEPATH=${LOCALBASE}/lib/libGL.so \
|
||||
-DOPENGL_glu_LIBRARY:FILEPATH=${LOCALBASE}/lib/libGLU.so
|
||||
|
||||
SHARED_CMAKE_BOOL= BUILD_SHARED_LIBS
|
||||
.for lib in EXPAT JPEG PNG TIFF ZLIB
|
||||
SHARED_CMAKE_BOOL+= VTK_USE_SYSTEM_${lib}
|
||||
.endfor
|
||||
|
||||
VTKMPEG2_CMAKE_BOOL= VTK_USE_PATENTED VTK_USE_MPEG2_ENCODER
|
||||
THEORA_CMAKE_BOOL= VTK_USE_OGGTHEORA_ENCODER
|
||||
GL2PS_CMAKE_BOOL= GTK_USE_GL2PS
|
||||
OSMESA_CMAKE_BOOL= VTK_OPENGL_HAS_OSMESA
|
||||
OSMESA_CMAKE_BOOL_OFF= VTK_USE_X
|
||||
QT4_CMAKE_BOOL= VTK_USE_GUISUPPORT
|
||||
TCLTK_CMAKE_BOOL= VTK_WRAP_TCL
|
||||
DBGLEAKS_CMAKE_BOOL= VTK_DEBUG_LEAKS
|
||||
LEGACY_CMAKE_BOOL_OFF= VTK_LEGACY_REMOVE
|
||||
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MSHARED}
|
||||
CMAKE_ARGS+= -DBUILD_SHARED_LIBS:BOOL=ON \
|
||||
-DVTK_USE_SYSTEM_EXPAT:BOOL=ON \
|
||||
-DVTK_USE_SYSTEM_JPEG:BOOL=ON \
|
||||
-DVTK_USE_SYSTEM_PNG:BOOL=ON \
|
||||
-DVTK_USE_SYSTEM_TIFF:BOOL=ON \
|
||||
-DVTK_USE_SYSTEM_ZLIB:BOOL=ON
|
||||
PLIST_SUB+= SHARED="" \
|
||||
STATIC="@comment "
|
||||
.else
|
||||
CMAKE_ARGS+= -DBUILD_SHARED_LIBS:BOOL=OFF \
|
||||
-DVTK_USE_SYSTEM_EXPAT:BOOL=OFF \
|
||||
-DVTK_USE_SYSTEM_JPEG:BOOL=OFF \
|
||||
-DVTK_USE_SYSTEM_PNG:BOOL=OFF \
|
||||
-DVTK_USE_SYSTEM_TIFF:BOOL=OFF \
|
||||
-DVTK_USE_SYSTEM_ZLIB:BOOL=OFF
|
||||
PLIST_SUB+= SHARED="@comment " \
|
||||
STATIC=""
|
||||
.endif
|
||||
|
|
@ -82,9 +86,7 @@ PLIST_SUB+= SHARED="@comment " \
|
|||
.if ${PORT_OPTIONS:MVTKMPEG2}
|
||||
LIB_DEPENDS+= libvtkMPEG2Encode.so:multimedia/vtkmpeg2encode
|
||||
PLIST_SUB+= MPEG=""
|
||||
CMAKE_ARGS+= -DVTK_USE_PATENTED:BOOL=ON \
|
||||
-DVTK_USE_MPEG2_ENCODER:BOOL=ON \
|
||||
-DvtkMPEG2Encode_INCLUDE_PATH=${LOCALBASE}/include/vtk-${PORTVERSION:R} \
|
||||
CMAKE_ARGS+= -DvtkMPEG2Encode_INCLUDE_PATH=${LOCALBASE}/include/vtk-${PORTVERSION:R} \
|
||||
-DvtkMPEG2Encode_LIBRARIES=${LOCALBASE}/lib/libvtkMPEG2Encode.so
|
||||
.else
|
||||
PLIST_SUB+= MPEG="@comment "
|
||||
|
|
@ -94,15 +96,12 @@ PLIST_SUB+= MPEG="@comment "
|
|||
LIB_DEPENDS+= libogg.so:audio/libogg \
|
||||
libtheora.so:multimedia/libtheora
|
||||
PLIST_SUB+= THEORA=""
|
||||
CMAKE_ARGS+= -DVTK_USE_OGGTHEORA_ENCODER:BOOL=ON
|
||||
.else
|
||||
PLIST_SUB+= THEORA="@comment "
|
||||
CMAKE_ARGS+= -DVTK_USE_OGGTHEORA_ENCODER:BOOL=OFF
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MGL2PS}
|
||||
LIB_DEPENDS+= libgl2ps.so:print/gl2ps
|
||||
CMAKE_ARGS+= -DVTK_USE_GL2PS:BOOL=ON
|
||||
PLIST_SUB+= GL2PS=""
|
||||
.else
|
||||
PLIST_SUB+= GL2PS="@comment "
|
||||
|
|
@ -110,30 +109,25 @@ PLIST_SUB+= GL2PS="@comment "
|
|||
|
||||
.if ${PORT_OPTIONS:MOSMESA}
|
||||
LIB_DEPENDS+= libOSMesa.so:graphics/libosmesa
|
||||
CMAKE_ARGS+= -DVTK_OPENGL_HAS_OSMESA:BOOL=ON \
|
||||
-DOSMESA_INCLUDE_DIR:PATH=${LOCALBASE}/include/Mesa \
|
||||
CMAKE_ARGS+= -DOSMESA_INCLUDE_DIR:PATH=${LOCALBASE}/include/Mesa \
|
||||
-DOSMESA_LIBRARY:FILEPATH=${LOCALBASE}/lib/libOSMesa.so \
|
||||
-DOPENGL_gl_LIBRARY:FILEPATH=${LOCALBASE}/lib/libOSMesa.so \
|
||||
-DVTK_USE_X:BOOL=OFF
|
||||
-DOPENGL_gl_LIBRARY:FILEPATH=${LOCALBASE}/lib/libOSMesa.so
|
||||
PLIST_SUB+= X11="@comment "
|
||||
.else
|
||||
USE_GL= yes
|
||||
CMAKE_ARGS+= -DVTK_USE_X:BOOL=ON
|
||||
PLIST_SUB+= X11=""
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MQT4}
|
||||
USE_QT4= corelib designer gui opengl qmake_build uic_build \
|
||||
moc_build rcc_build
|
||||
CMAKE_ARGS+= -DVTK_USE_GUISUPPORT:BOOL=ON \
|
||||
-DVTK_USE_QVTK:BOOL=ON \
|
||||
CMAKE_ARGS+= -DVTK_USE_QVTK:BOOL=ON \
|
||||
-DVTK_USE_QT:BOOL=ON \
|
||||
-DDESIRED_QT_VERSION:STRING=4 \
|
||||
-DQT_QMAKE_EXECUTABLE:FILEPATH=${QMAKE} \
|
||||
-DVTK_INSTALL_QT_DIR:FILEPATH=/lib/qt4/plugins/designer
|
||||
PLIST_SUB+= QT=""
|
||||
.else
|
||||
CMAKE_ARGS+= -DVTK_USE_GUISUPPORT:BOOL=OFF
|
||||
PLIST_SUB+= QT="@comment "
|
||||
.endif
|
||||
|
||||
|
|
@ -157,10 +151,8 @@ PLIST_SUB+= PYTHON="@comment "
|
|||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MTCLTK}
|
||||
CMAKE_ARGS+= -DVTK_WRAP_TCL:BOOL=ON
|
||||
PLIST_SUB+= TCLTK=""
|
||||
.else
|
||||
CMAKE_ARGS+= -DVTK_WRAP_TCL:BOOL=OFF
|
||||
PLIST_SUB+= TCLTK="@comment "
|
||||
.endif
|
||||
|
||||
|
|
@ -206,17 +198,9 @@ PLIST_SUB+= WRAPPING=""
|
|||
PLIST_SUB+= WRAPPING="@comment "
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MDBGLEAKS}
|
||||
CMAKE_ARGS+= -DVTK_DEBUG_LEAKS:BOOL=ON
|
||||
.else
|
||||
CMAKE_ARGS+= -DVTK_DEBUG_LEAKS:BOOL=OFF
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MLEGACY}
|
||||
CMAKE_ARGS+= -DVTK_LEGACY_REMOVE:BOOL=OFF
|
||||
PLIST_SUB+= LEGACY=""
|
||||
.else
|
||||
CMAKE_ARGS+= -DVTK_LEGACY_REMOVE:BOOL=ON
|
||||
PLIST_SUB+= LEGACY="@comment "
|
||||
.endif
|
||||
|
||||
|
|
|
|||
|
|
@ -375,6 +375,7 @@
|
|||
SUBDIR += py-osd
|
||||
SUBDIR += py-pexpect
|
||||
SUBDIR += py-powerline-status
|
||||
SUBDIR += py-pyprind
|
||||
SUBDIR += py-progressbar
|
||||
SUBDIR += py-progressbar231
|
||||
SUBDIR += py-qt4-demo
|
||||
|
|
|
|||
33
misc/py-pyprind/Makefile
Normal file
33
misc/py-pyprind/Makefile
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= pyprind
|
||||
PORTVERSION= 2.9.8
|
||||
DISTVERSIONPREFIX= v
|
||||
CATEGORIES= misc
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
DISTNAME= PyPrind-${PORTVERSION}
|
||||
|
||||
MAINTAINER= neel@neelc.org
|
||||
COMMENT= Python Progress Bar and Percent Indicator Utility
|
||||
|
||||
LICENSE= BSD3CLAUSE
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose \
|
||||
${PYTHON_PKGNAMEPREFIX}psutil>=0.5.1:sysutils/py-psutil
|
||||
|
||||
USES= python
|
||||
USE_PYTHON= autoplist distutils
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
OPTIONS_DEFINE= PSUTIL
|
||||
|
||||
PSUTIL_DESC= Support monitoring CPU and memory usage
|
||||
PSUTIL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}psutil>=0.5.1:sysutils/py-psutil
|
||||
|
||||
test: build
|
||||
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
|
||||
|
||||
.include <bsd.port.mk>
|
||||
3
misc/py-pyprind/distinfo
Normal file
3
misc/py-pyprind/distinfo
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1465130692
|
||||
SHA256 (PyPrind-2.9.8.tar.gz) = f07dd20388a0d21838112deeb70b1705a9ebfeb8859c5741433126e4efb439b2
|
||||
SIZE (PyPrind-2.9.8.tar.gz) = 10154
|
||||
10
misc/py-pyprind/files/patch-setup.py
Normal file
10
misc/py-pyprind/files/patch-setup.py
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
--- setup.py.orig 2016-04-14 15:46:12 UTC
|
||||
+++ setup.py
|
||||
@@ -39,6 +39,7 @@ setup(name='PyPrind',
|
||||
'Programming Language :: Python :: 2.7',
|
||||
'Programming Language :: Python :: 3',
|
||||
'Environment :: Console'],
|
||||
+ test_suite = "nose.collector",
|
||||
long_description="""
|
||||
|
||||
The PyPrind (Python Progress Indicator) module provides a progress
|
||||
7
misc/py-pyprind/pkg-descr
Normal file
7
misc/py-pyprind/pkg-descr
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
The PyPrind (Python Progress Indicator) module provides a progress bar
|
||||
and a percentage indicator object that let you track the progress of a
|
||||
loop structure or other iterative computation. Typical applications
|
||||
include the processing of large data sets to provide an intuitive
|
||||
estimate at runtime about the progress of the computation.
|
||||
|
||||
WWW: https://www.github.com/rasbt/pyprind
|
||||
|
|
@ -3,6 +3,7 @@
|
|||
|
||||
PORTNAME= libmediaart
|
||||
PORTVERSION= 1.9.0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= multimedia devel
|
||||
MASTER_SITES= GNOME
|
||||
|
||||
|
|
|
|||
|
|
@ -12,6 +12,7 @@ share/gtk-doc/html/libmediaart/annotation-glossary.html
|
|||
share/gtk-doc/html/libmediaart/ch02.html
|
||||
share/gtk-doc/html/libmediaart/home.png
|
||||
share/gtk-doc/html/libmediaart/index.html
|
||||
share/gtk-doc/html/libmediaart/index.sgml
|
||||
share/gtk-doc/html/libmediaart/left-insensitive.png
|
||||
share/gtk-doc/html/libmediaart/left.png
|
||||
share/gtk-doc/html/libmediaart/libmediaart-Cache.html
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
|
|||
BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat
|
||||
LIB_DEPENDS= libdrm.so:graphics/libdrm
|
||||
|
||||
USES= alias autoreconf gmake libtool localbase pkgconfig tar:bzip2
|
||||
USES= autoreconf gmake libtool localbase pkgconfig tar:bzip2
|
||||
USE_XORG= glproto pciaccess xext xfixes
|
||||
USE_GL= gl
|
||||
GNU_CONFIGURE= yes
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
--- test/v4l_h264/encode/capture.cpp.orig 2015-07-01 07:54:24 UTC
|
||||
--- test/v4l_h264/encode/capture.cpp.orig 2016-06-21 01:29:25 UTC
|
||||
+++ test/v4l_h264/encode/capture.cpp
|
||||
@@ -30,6 +30,7 @@
|
||||
*/
|
||||
|
|
@ -12,7 +12,7 @@
|
|||
#include <fcntl.h> /* low-level i/o */
|
||||
#include <errno.h>
|
||||
#include <unistd.h>
|
||||
+#ifdef __FreeBSD__
|
||||
+#if defined __FreeBSD__ || defined __DragonFly__
|
||||
+#include <stdlib.h>
|
||||
+#else
|
||||
#include <malloc.h>
|
||||
|
|
@ -24,7 +24,7 @@
|
|||
}
|
||||
for (n_buffers = 0; n_buffers < 4; ++n_buffers) {
|
||||
buffers[n_buffers].length = buffer_size;
|
||||
+#ifdef __FreeBSD__
|
||||
+#if defined __FreeBSD__ || defined __DragonFly__
|
||||
+ if(posix_memalign(&buffers[n_buffers].start, page_size, buffer_size))
|
||||
+ {
|
||||
+#else
|
||||
|
|
|
|||
|
|
@ -10,60 +10,70 @@
|
|||
#include <unistd.h>
|
||||
#include <time.h>
|
||||
#include <errno.h>
|
||||
@@ -294,7 +297,11 @@ static void add_trace_config_info(
|
||||
@@ -294,7 +297,13 @@ static void add_trace_config_info(
|
||||
{
|
||||
struct trace_config_info *pconfig_info;
|
||||
int idx = 0;
|
||||
+#ifdef __FreeBSD__
|
||||
+ pid_t thd_id = pthread_getthreadid_np();
|
||||
+#elif defined __DragonFly__
|
||||
+ pid_t thd_id = syscall(SYS_lwp_gettid);
|
||||
+#else
|
||||
pid_t thd_id = syscall(__NR_gettid);
|
||||
+#endif
|
||||
|
||||
LOCK_RESOURCE(pva_trace);
|
||||
|
||||
@@ -318,7 +325,11 @@ static void delete_trace_config_info(
|
||||
@@ -318,7 +327,13 @@ static void delete_trace_config_info(
|
||||
{
|
||||
struct trace_config_info *pconfig_info;
|
||||
int idx = 0;
|
||||
+#ifdef __FreeBSD__
|
||||
+ pid_t thd_id = pthread_getthreadid_np();
|
||||
+#elif defined __DragonFly__
|
||||
+ pid_t thd_id = syscall(SYS_lwp_gettid);
|
||||
+#else
|
||||
pid_t thd_id = syscall(__NR_gettid);
|
||||
+#endif
|
||||
|
||||
LOCK_RESOURCE(pva_trace);
|
||||
|
||||
@@ -663,7 +674,11 @@ static struct trace_log_file *start_trac
|
||||
@@ -663,7 +678,13 @@ static struct trace_log_file *start_trac
|
||||
{
|
||||
struct trace_log_files_manager *plog_files_mgr = NULL;
|
||||
struct trace_log_file *plog_file = NULL;
|
||||
+#ifdef __FreeBSD__
|
||||
+ pid_t thd_id = pthread_getthreadid_np();
|
||||
+#elif defined __DragonFly__
|
||||
+ pid_t thd_id = syscall(SYS_lwp_gettid);
|
||||
+#else
|
||||
pid_t thd_id = syscall(__NR_gettid);
|
||||
+#endif
|
||||
int i = 0;
|
||||
|
||||
LOCK_RESOURCE(pva_trace);
|
||||
@@ -702,7 +717,11 @@ static void refresh_log_file(
|
||||
@@ -702,7 +723,13 @@ static void refresh_log_file(
|
||||
struct trace_context *ptra_ctx)
|
||||
{
|
||||
struct trace_log_file *plog_file = NULL;
|
||||
+#ifdef __FreeBSD__
|
||||
+ pid_t thd_id = pthread_getthreadid_np();
|
||||
+#elif defined __DragonFly__
|
||||
+ pid_t thd_id = syscall(SYS_lwp_gettid);
|
||||
+#else
|
||||
pid_t thd_id = syscall(__NR_gettid);
|
||||
+#endif
|
||||
int i = 0;
|
||||
|
||||
plog_file = ptra_ctx->plog_file;
|
||||
@@ -1226,7 +1245,11 @@ static void internal_TraceUpdateContext
|
||||
@@ -1226,7 +1253,13 @@ static void internal_TraceUpdateContext
|
||||
{
|
||||
struct trace_context *trace_ctx = NULL;
|
||||
int i = 0, delete = 1;
|
||||
+#ifdef __FreeBSD__
|
||||
+ pid_t thd_id = pthread_getthreadid_np();
|
||||
+#elif defined __DragonFly__
|
||||
+ pid_t thd_id = syscall(SYS_lwp_gettid);
|
||||
+#else
|
||||
pid_t thd_id = syscall(__NR_gettid);
|
||||
+#endif
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue