Skip to content
Permalink
Browse files

gucharmap: update to version 11.0.2

* now supports unicode 11.0
* gobject_introspection/vala now seems to work for darwin > 9

Closes: https://trac.macports.org/ticket/41360
  • Loading branch information
dbevans committed Oct 2, 2018
1 parent 6d40a39 commit 6b8417424d9b7ad4a0f0a590b5ab85938df5843c
Showing with 10 additions and 16 deletions.
  1. +9 −15 gnome/gucharmap/Portfile
  2. +1 −1 gnome/gucharmap/files/patch-configure.ac.diff
@@ -4,7 +4,7 @@ PortSystem 1.0
PortGroup gobject_introspection 1.0

name gucharmap
version 10.0.4
version 11.0.2
set branch [join [lrange [split ${version} .] 0 1] .]
description gucharmap is a featureful unicode character map.
long_description ${description}
@@ -17,9 +17,9 @@ master_sites gnome:sources/${name}/${branch}/

use_xz yes

checksums rmd160 383f4921af658a068292bdd899d1cb6b4d1a9a2b \
sha256 bb266899266b2f2dcdbaf9f45cafd74c6f4e540132d3f0b068d37343291df001 \
size 1729220
checksums rmd160 fe8435a3c1246b2f87b4d1f8512c4dc194dc9e55 \
sha256 17e76eacd7c9e72fda21afc2da19d8c3f892814e36ae6f6f561a67bcf9bc9819 \
size 1744868

depends_build port:pkgconfig \
port:intltool \
@@ -36,7 +36,8 @@ depends_build port:pkgconfig \
port:wget

depends_lib port:desktop-file-utils \
port:gtk3
port:gtk3 \
port:vala

depends_run port:adwaita-icon-theme \
port:yelp
@@ -51,28 +52,21 @@ post-patch {
xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath}
}

gobject_introspection yes

configure.env-append \
SHA512SUM=${prefix}/bin/gsha512sum

configure.cmd ./autogen.sh

configure.args --with-gtk=3.0 \
--with-unicode-data=download \
--enable-vala=yes \
--disable-Bsymbolic \
--disable-schemas-compile \
--disable-maintainer-mode \
--disable-silent-rules

platform darwin {
if {${os.major} > 9} {
configure.args-append --enable-vala=no
} else {
gobject_introspection yes
depends_lib-append port:vala
configure.args-append --enable-vala=yes
}
}

post-activate {
system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas"
@@ -1,6 +1,6 @@
--- configure.ac.orig 2016-09-22 16:09:36.000000000 -0700
+++ configure.ac 2016-09-22 16:10:42.000000000 -0700
@@ -259,18 +259,7 @@
@@ -266,18 +266,7 @@
# ***********

CC_CHECK_CFLAGS_APPEND([ \

0 comments on commit 6b84174

Please sign in to comment.
You can’t perform that action at this time.