mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-06 06:30:19 +00:00
deskutils/sysctlview: Update to 1.1
While here, improve formatting PR: 238040 Submitted by: Alfonso S. Siciliano <alfix86@gmail.com> (maintainer)
This commit is contained in:
parent
33de128843
commit
ea258fcfe0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=502291
@ -1,8 +1,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= sysctlview
|
||||
PORTVERSION= 1.0
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 1.1
|
||||
CATEGORIES= deskutils
|
||||
|
||||
MAINTAINER= alfix86@gmail.com
|
||||
@ -13,28 +12,29 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
LIB_DEPENDS= libsysctlmibinfo.so:devel/libsysctlmibinfo
|
||||
|
||||
USES= compiler:c++11-lang pkgconfig gettext-runtime gnome
|
||||
USE_GNOME= gtkmm30 atkmm glibmm pangomm glibmm gtk30 pango atk \
|
||||
cairo glib20 cairomm libsigc++20 gdkpixbuf2 glib20
|
||||
USES= compiler:c++11-lang gettext-runtime gnome pkgconfig
|
||||
USE_GNOME= atk atkmm cairo cairomm gdkpixbuf2 glib20 glib20 glibmm glibmm \
|
||||
gtk30 gtkmm30 libsigc++20 pango pangomm
|
||||
|
||||
USE_GITLAB= yes
|
||||
GL_ACCOUNT= alfix
|
||||
GL_COMMIT= c6ea138ffbea46adb79fa857d032d2559e71a61f
|
||||
GL_COMMIT= 3309fd66f4f7c32056bedc1e7b40f2d489b86fe8
|
||||
|
||||
INSTALLS_ICONS= yes
|
||||
|
||||
DESKTOP_ENTRIES="Sysctlview" "Show kernel state" "sysctlview" \
|
||||
"sysctlview" "System;" false
|
||||
DESKTOP_ENTRIES= "Sysctlview" \
|
||||
"Show kernel state" \
|
||||
"sysctlview" \
|
||||
"sysctlview" \
|
||||
"System;" \
|
||||
false
|
||||
|
||||
OPTIONS_DEFINE= NLS
|
||||
OPTIONS_SUB= yes
|
||||
OPTIONS_DEFINE= NLS
|
||||
OPTIONS_SUB= yes
|
||||
|
||||
NLS_USES= gettext
|
||||
NLS_CONFIGURE_ENABLE= nls
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} '/CXX =/d; s/^CXXFLAGS =/CXXFLAGS +=/; s/^LDFLAGS =/LDFLAGS +=/' ${WRKSRC}/Makefile
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/sysctlview ${STAGEDIR}${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/sysctlview.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1553826456
|
||||
SHA256 (alfix-sysctlview-c6ea138ffbea46adb79fa857d032d2559e71a61f_GL0.tar.gz) = 9eae3c1ffaa4fc79d07991b042b4898f96e607786c1d81a7474d407f80f4ede4
|
||||
SIZE (alfix-sysctlview-c6ea138ffbea46adb79fa857d032d2559e71a61f_GL0.tar.gz) = 272256
|
||||
TIMESTAMP = 1558494917
|
||||
SHA256 (alfix-sysctlview-3309fd66f4f7c32056bedc1e7b40f2d489b86fe8_GL0.tar.gz) = 6ed1c6355f768de99bc850ea9b45670351259a1a351975b62ca4d83d1860e2ec
|
||||
SIZE (alfix-sysctlview-3309fd66f4f7c32056bedc1e7b40f2d489b86fe8_GL0.tar.gz) = 350082
|
||||
|
@ -1,27 +0,0 @@
|
||||
--- mytreeview.cc.orig 2019-03-29 02:24:01 UTC
|
||||
+++ mytreeview.cc
|
||||
@@ -29,23 +29,7 @@
|
||||
|
||||
#include "mytreeview.h"
|
||||
|
||||
-static const char *ctl_typename[CTLTYPE+1] = {
|
||||
- [CTLTYPE_INT] = "integer",
|
||||
- [CTLTYPE_UINT] = "unsigned integer",
|
||||
- [CTLTYPE_LONG] = "long integer",
|
||||
- [CTLTYPE_ULONG] = "unsigned long",
|
||||
- [CTLTYPE_U8] = "uint8_t",
|
||||
- [CTLTYPE_U16] = "uint16_t",
|
||||
- [CTLTYPE_U32] = "uint32_t",
|
||||
- [CTLTYPE_U64] = "uint64_t",
|
||||
- [CTLTYPE_S8] = "int8_t",
|
||||
- [CTLTYPE_S16] = "int16_t",
|
||||
- [CTLTYPE_S32] = "int32_t",
|
||||
- [CTLTYPE_S64] = "int64_t",
|
||||
- [CTLTYPE_NODE] = "node",
|
||||
- [CTLTYPE_STRING] = "string",
|
||||
- [CTLTYPE_OPAQUE] = "opaque",
|
||||
-};
|
||||
+static const char *ctl_typename[CTLTYPE+1] = { "ZEROUNUSED", "node", "integer", "string", "int64_t", "opaque", "unsigned integer", "long integer", "unsigned long", "uint64_t", "uint8_t", "uint16_t", "int8_t","int16_t", "int32_t", "uint32_t" };
|
||||
|
||||
/* Public Methods */
|
||||
|
Loading…
Reference in New Issue
Block a user