- Update to version 0.8.7

- Add new mastersite
- Add missing library deps
- Port needs USE_PKGONFIG=build
- Remove patches accepted upstream
This commit is contained in:
Pawel Pekala 2012-08-16 14:32:58 +00:00
parent 65fef74d6c
commit 4aa45bade9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=302637
5 changed files with 26 additions and 61 deletions

View file

@ -5,24 +5,39 @@
# $FreeBSD$
#
PORTNAME= gsmartcontrol
PORTVERSION= 0.8.6
PORTREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_BERLIOS}
MASTER_SITE_SUBDIR= ${PORTNAME}
PORTNAME= gsmartcontrol
PORTVERSION= 0.8.7
CATEGORIES= sysutils
MASTER_SITES= http://artificialtime.com/${PORTNAME}/
MAINTAINER= pawel@FreeBSD.org
COMMENT= Graphical user interface for smartmontools
LIB_DEPENDS= gtkmm-2.4:${PORTSDIR}/x11-toolkits/gtkmm24 \
pcre:${PORTSDIR}/devel/pcre
LIB_DEPENDS= atkmm-1.6:${PORTSDIR}/accessibility/atkmm \
glibmm-2.4:${PORTSDIR}/devel/glibmm \
pthread-stubs:${PORTSDIR}/devel/libpthread-stubs \
sigc-2.0:${PORTSDIR}/devel/libsigc++20 \
pcre:${PORTSDIR}/devel/pcre \
cairo:${PORTSDIR}/graphics/cairo \
cairomm-1.0:${PORTSDIR}/graphics/cairomm \
png15:${PORTSDIR}/graphics/png \
freetype:${PORTSDIR}/print/freetype2 \
expat:${PORTSDIR}/textproc/expat2 \
fontconfig:${PORTSDIR}/x11-fonts/fontconfig \
gtkmm-2.4:${PORTSDIR}/x11-toolkits/gtkmm24 \
pangomm-1.4:${PORTSDIR}/x11-toolkits/pangomm \
xcb:${PORTSDIR}/x11/libxcb
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash \
smartctl:${PORTSDIR}/sysutils/smartmontools
USE_AUTOTOOLS= libtool
USE_BZIP2= yes
USE_GNOME= pkgconfig
USE_GETTEXT= yes
USE_ICONV= yes
USE_PKGCONFIG= build
USE_GNOME= gtk20
USE_XORG= pixman x11 xau xcomposite xcursor xdamage xdmcp xext xfixes \
xi xinerama xrandr xrender
INSTALLS_ICONS= yes
MAN1= gsmartcontrol.1

View file

@ -1,2 +1,2 @@
SHA256 (gsmartcontrol-0.8.6.tar.bz2) = b0806c0a6b2c3d33755e78b67bd8a2ce895b07aee2a5a75767132694e0f41eda
SIZE (gsmartcontrol-0.8.6.tar.bz2) = 673712
SHA256 (gsmartcontrol-0.8.7.tar.bz2) = 708fa803243abb852ed52050fc82cd3592a798c02743342441996e77f19ffec6
SIZE (gsmartcontrol-0.8.7.tar.bz2) = 684394

View file

@ -1,17 +0,0 @@
--- data/gsmartcontrol-root.in.orig 2011-04-30 20:39:54.000000000 +0200
+++ data/gsmartcontrol-root.in 2011-10-03 23:31:02.000000000 +0200
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
############################################################################
# Copyright:
# (C) 2008 - 2010 Alexander Shaduri <ashaduri 'at' gmail.com>
@@ -88,7 +88,7 @@
# the user's env after all).
# Note that beesu won't show a GUI login box if /usr/sbin is before /usr/bin,
# so add it first as well.
-EXTRA_PATHS="/usr/bin:/usr/sbin:/usr/local/sbin";
+EXTRA_PATHS="/usr/bin:/usr/sbin:@prefix@/sbin";
export PATH="$EXTRA_PATHS:$PATH"

View file

@ -1,20 +0,0 @@
--- src/gsc_text_window.h.orig 2011-08-15 16:20:00.000000000 +0200
+++ src/gsc_text_window.h 2011-08-15 16:21:05.000000000 +0200
@@ -126,7 +126,7 @@
// by default, delete_event calls hide().
bool on_delete_event_before(GdkEventAny* e)
{
- destroy(this); // deletes this object and nullifies instance
+ this->destroy(this); // deletes this object and nullifies instance
return true; // event handled, don't call default virtual handler
}
@@ -184,7 +184,7 @@
void on_close_window_button_clicked()
{
- destroy(this);
+ this->destroy(this);
}

View file

@ -1,13 +0,0 @@
$FreeBSD$
--- src/applib/storage_detector_other.cpp.orig
+++ src/applib/storage_detector_other.cpp
@@ -75,6 +75,7 @@
whitelist.push_back("/^ad[0-9]+$/"); // adN without suffix - fbsd ide
whitelist.push_back("/^da[0-9]+$/"); // daN without suffix - fbsd scsi, usb
+ whitelist.push_back("/^ada[0-9]+$/"); // adaN without suffix - fbsd ata cam
// whitelist.push_back("/ ^sa[0-9]+$/"); // saN without suffix - fbsd scsi tape
// whitelist.push_back("/^ast[0-9]+$/"); // astN without suffix - fbsd ide tape
whitelist.push_back("/^aacd[0-9]+$/"); // fbsd adaptec raid