From 4950ff8a7258fc4cc621934a38af83d89a81c3b5 Mon Sep 17 00:00:00 2001 From: woodsb02 Date: Tue, 6 Sep 2016 23:18:47 +0000 Subject: math/galculator: Update to 2.1.4 - Follow upstream move from SF to GitHub, and new website hosting - Add USES=autoreconf libtool as GH tarball only comes with configure.ac - Add OPTIONS to select GTK3 or GTK2 (GTK3 by default as per upstream) - Add USE_GNOME=cairo und GTK2_LIB_DEPENDS undeclared dependencies Changes this release: https://github.com/galculator/galculator/blob/v2.1.4/ChangeLog Reviewed by: adamw (mentor) Approved by: naddy (maintainer), mat (mentor) Differential Revision: https://reviews.freebsd.org/D7789 --- math/galculator/Makefile | 26 +++++++++++++++++++++----- math/galculator/distinfo | 5 +++-- math/galculator/pkg-descr | 9 +++++---- math/galculator/pkg-plist | 12 ++++++++++-- 4 files changed, 39 insertions(+), 13 deletions(-) (limited to 'math/galculator') diff --git a/math/galculator/Makefile b/math/galculator/Makefile index 22aeab4e6553..b4115fcf87b6 100644 --- a/math/galculator/Makefile +++ b/math/galculator/Makefile @@ -1,18 +1,34 @@ # $FreeBSD$ PORTNAME= galculator -PORTVERSION= 2.1.3 +PORTVERSION= 2.1.4 +DISTVERSIONPREFIX=v CATEGORIES= math -MASTER_SITES= SF MAINTAINER= naddy@FreeBSD.org COMMENT= GTK-based scientific calculator -USES= gettext gmake pkgconfig tar:bzip2 -USE_GNOME= gtk20 intltool +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING + +USE_GITHUB= yes + +USES= autoreconf gettext gmake libtool pkgconfig tar:bzip2 +USE_GNOME= cairo intltool GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib -CONFIGURE_ARGS= --disable-gtk3 +INSTALLS_ICONS= yes + +OPTIONS_SINGLE= GTK +OPTIONS_SINGLE_GTK= GTK2 GTK3 +OPTIONS_DEFAULT= GTK3 + +GTK2_USE= gnome=gtk20 +GTK2_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ + libfreetype.so:print/freetype2 + +GTK3_CONFIGURE_ENABLE= gtk3 +GTK3_USE= gnome=gtk30 .include diff --git a/math/galculator/distinfo b/math/galculator/distinfo index 2e00b0db7d6a..475020aa738d 100644 --- a/math/galculator/distinfo +++ b/math/galculator/distinfo @@ -1,2 +1,3 @@ -SHA256 (galculator-2.1.3.tar.bz2) = 91ac62d6d74da910cb79c68f7bf3f4505ac0efe51091150c4ea54fe1c1306235 -SIZE (galculator-2.1.3.tar.bz2) = 466288 +TIMESTAMP = 1473074230 +SHA256 (galculator-galculator-v2.1.4_GH0.tar.gz) = dcbdb48ddf8a3f68b9aa5902f880f174fd269de2b7410988148d05871012e142 +SIZE (galculator-galculator-v2.1.4_GH0.tar.gz) = 571666 diff --git a/math/galculator/pkg-descr b/math/galculator/pkg-descr index 67b4672b40fa..4603d7a7f96e 100644 --- a/math/galculator/pkg-descr +++ b/math/galculator/pkg-descr @@ -1,5 +1,6 @@ -galculator is a GTK2-based scientific calculator with ordinary -notation/reverse polish notation, different number bases (DEC, HEX, -OCT, BIN) and different units of angular measure (DEG, RAD, GRAD). +galculator is a GTK2/GTK3 based calculator with ordinary notation/reverse polish +notation (RPN), a formula entry mode, different number bases (DEC, HEX, OCT, +BIN) and different units of angular measure (DEG, RAD, GRAD). It supports +quad-precision floating point and 112-bit binary arithmetic. -WWW: http://galculator.sourceforge.net/ +WWW: http://galculator.mnim.org/ diff --git a/math/galculator/pkg-plist b/math/galculator/pkg-plist index 31d0bc6f6279..1cfb548b7626 100644 --- a/math/galculator/pkg-plist +++ b/math/galculator/pkg-plist @@ -1,5 +1,6 @@ bin/galculator man/man1/galculator.1.gz +share/appdata/galculator.appdata.xml share/applications/galculator.desktop %%DATADIR%%/ui/about.ui %%DATADIR%%/ui/basic_buttons_gtk2.ui @@ -21,15 +22,21 @@ share/applications/galculator.desktop %%DATADIR%%/ui/scientific_buttons_gtk3.ui share/icons/hicolor/48x48/apps/galculator.png share/icons/hicolor/scalable/apps/galculator.svg -share/locale/da_DK/LC_MESSAGES/galculator.mo +share/locale/cs/LC_MESSAGES/galculator.mo share/locale/de/LC_MESSAGES/galculator.mo +share/locale/el/LC_MESSAGES/galculator.mo +share/locale/en_AU/LC_MESSAGES/galculator.mo share/locale/es/LC_MESSAGES/galculator.mo share/locale/es_MX/LC_MESSAGES/galculator.mo share/locale/fr/LC_MESSAGES/galculator.mo +share/locale/gl/LC_MESSAGES/galculator.mo share/locale/hu/LC_MESSAGES/galculator.mo +share/locale/id/LC_MESSAGES/galculator.mo +share/locale/it/LC_MESSAGES/galculator.mo share/locale/ja/LC_MESSAGES/galculator.mo -share/locale/kk_KZ/LC_MESSAGES/galculator.mo +share/locale/kk/LC_MESSAGES/galculator.mo share/locale/lt/LC_MESSAGES/galculator.mo +share/locale/mr/LC_MESSAGES/galculator.mo share/locale/pl/LC_MESSAGES/galculator.mo share/locale/pt/LC_MESSAGES/galculator.mo share/locale/pt_BR/LC_MESSAGES/galculator.mo @@ -38,6 +45,7 @@ share/locale/ru/LC_MESSAGES/galculator.mo share/locale/sk/LC_MESSAGES/galculator.mo share/locale/sv/LC_MESSAGES/galculator.mo share/locale/tr/LC_MESSAGES/galculator.mo +share/locale/uk/LC_MESSAGES/galculator.mo share/locale/zh_CN/LC_MESSAGES/galculator.mo share/locale/zh_TW/LC_MESSAGES/galculator.mo share/pixmaps/galculator.xpm -- cgit