aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2013-03-02 13:46:45 +0800
committermiwi <miwi@FreeBSD.org>2013-03-02 13:46:45 +0800
commitb04c57da8fb87c4f0906a199c261e0ed485f3fad (patch)
treee3664b9f815c77e6b2de5de40d35973c399c3aad /sysutils
parent7997e959c5479aa622d8cafbe798097adf65f551 (diff)
downloadfreebsd-ports-gnome-b04c57da8fb87c4f0906a199c261e0ed485f3fad.tar.gz
freebsd-ports-gnome-b04c57da8fb87c4f0906a199c261e0ed485f3fad.tar.zst
freebsd-ports-gnome-b04c57da8fb87c4f0906a199c261e0ed485f3fad.zip
- Update to 1.3.9
PR: 176528 Submitted by: ports fury
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/isomaster/Makefile69
-rw-r--r--sysutils/isomaster/distinfo4
-rw-r--r--sysutils/isomaster/files/patch-bk-bkCache.c11
-rw-r--r--sysutils/isomaster/files/patch-bk__bk.h20
-rw-r--r--sysutils/isomaster/files/patch-bk__bkCache.c27
-rw-r--r--sysutils/isomaster/files/patch-bk__bkMisc.c30
-rw-r--r--sysutils/isomaster/pkg-descr12
-rw-r--r--sysutils/isomaster/pkg-plist94
8 files changed, 165 insertions, 102 deletions
diff --git a/sysutils/isomaster/Makefile b/sysutils/isomaster/Makefile
index 256c338ff154..9ec5eab139ff 100644
--- a/sysutils/isomaster/Makefile
+++ b/sysutils/isomaster/Makefile
@@ -1,61 +1,54 @@
-# New ports collection makefile for: isomaster
-# Date created: 2006-12-11
-# Whom: Babak Farrokhi <farrokhi@FreeBSD.org>
-#
+# Created by: Babak Farrokhi <farrokhi@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= isomaster
-PORTVERSION= 1.3.7
-PORTREVISION= 4
+PORTVERSION= 1.3.9
CATEGORIES= sysutils
MASTER_SITES= http://littlesvr.ca/isomaster/releases/
MAINTAINER= ports@FreeBSD.org
COMMENT= GTK2 (bootable) CD ISO Image editor
+LICENSE= GPLv2
+
+LIB_DEPENDS= iniparser:${PORTSDIR}/devel/iniparser
+RUN_DEPENDS= xdg-open:${PORTSDIR}/devel/xdg-utils
+
USE_BZIP2= yes
-USE_GNOME= gtk20 pkgconfig intlhack gnomehier desktopfileutils
+USE_GNOME= desktopfileutils intlhack gnomehier gtk20
+USE_GETTEXT= yes
USE_GMAKE= yes
+MAKE_ENV= DEFAULT_VIEWER="xdg-open" USE_SYSTEM_INIPARSER=1
+MAKE_JOBS_SAFE= yes
-MAKE_ENV= DESKTOPPATH=${DESKTOPDIR}
-MAKE_ARGS= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
-CFLAGS+= -std=c99 \
- `pkg-config --cflags gtk+-2.0` \
- -DICONPATH=\\\"${DATADIR}/icons\\\"
-LDFLAGS+= -lcompat
+CPPFLAGS+= -I${LOCALBASE}/include -Diniparser_setstr=iniparser_set
+LDFLAGS+= -L${LOCALBASE}/lib
-.if !defined(WITHOUT_NLS)
-USE_GETTEXT= yes
-CFLAGS+= -DLOCALEDIR=\\\"${PREFIX}/share/locale\\\" -DENABLE_NLS
-PLIST_SUB+= NLS=""
-.else
-PLIST_SUB+= NLS="@comment "
-.endif
-PLIST_SUB+= DESKTOPDIR="${DESKTOPDIR:S,^${PREFIX}/,,}"
+PLIST_SUB= DESKTOPDIR="${DESKTOPDIR:S,^${PREFIX}/,,}"
-MAN1= isomaster.1
+MAN1= isomaster.1
post-patch:
- ${FIND} ${WRKSRC} -name Makefile | ${XARGS} \
- ${REINPLACE_CMD} -e 's|CC *=|CC ?=|g'
+ @${FIND} ${WRKSRC} -name "Makefile" | ${XARGS} ${REINPLACE_CMD} -e \
+ 's|@$$(CC)|$$(CC)|'
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/isomaster ${PREFIX}/bin
- ${MKDIR} ${DATADIR}/icons
-.for i in isomaster.png go-back-kearone.png folder-new-kearone.png add2-kearone.png extract2-kearone.png delete-kearone.png
- ${INSTALL_DATA} ${WRKSRC}/icons/${i} ${DATADIR}/icons
+ (cd ${WRKSRC} && ${INSTALL_PROGRAM} isomaster ${PREFIX}/bin)
+ (cd ${WRKSRC} && ${INSTALL_MAN} isomaster.1 ${MANPREFIX}/man/man1)
+ @${MKDIR} ${DATADIR}/icons
+.for i in add2-kearone.png delete-kearone.png extract2-kearone.png \
+ folder-new-kearone.png go-back-kearone.png isomaster.png
+ (cd ${WRKSRC}/icons && ${INSTALL_DATA} ${i} ${DATADIR}/icons)
.endfor
-.if !defined(WITHOUT_NLS)
-.for i in ar be@latin bg ca cs da de el es et fi fo fr he hr hu id it lv nb nl nn pl pt pt_BR ro ru sk sl sq sr sr@Latn sr@latin sv tr uk zh_CN zh_TW
- test -d ${PREFIX}/share/locale/${i} || ${MKDIR} ${PREFIX}/share/locale/${i}
- test -d ${PREFIX}/share/locale/${i}/LC_MESSAGES || ${MKDIR} ${PREFIX}/share/locale/${i}/LC_MESSAGES
- ${INSTALL_DATA} ${WRKSRC}/po/${i}.mo ${PREFIX}/share/locale/${i}/LC_MESSAGES/isomaster.mo
+.for i in ar be@latin bg ca cs da de el es et fi fo fr he hr hu id it ja \
+ lt lv nb nl nn pl pt pt_BR ro ru sk sl sq sr sr@Latn sr@latin sv \
+ tr uk ur_PK zh_CN zh_TW
+ @${MKDIR} ${PREFIX}/share/locale/${i}/LC_MESSAGES
+ (cd ${WRKSRC}/po && ${INSTALL_DATA} ${i}.mo \
+ ${PREFIX}/share/locale/${i}/LC_MESSAGES/isomaster.mo)
.endfor
-.endif
- ${INSTALL_MAN} ${WRKSRC}/isomaster.1 ${MAN1PREFIX}/man/man1
- ${MKDIR} ${DESKTOPDIR}
- ${INSTALL_DATA} ${WRKSRC}/isomaster.desktop ${DESKTOPDIR}
+ @${MKDIR} ${DESKTOPDIR}
+ (cd ${WRKSRC} && ${INSTALL_DATA} isomaster.desktop ${DESKTOPDIR})
post-install:
@-update-desktop-database
diff --git a/sysutils/isomaster/distinfo b/sysutils/isomaster/distinfo
index cbb29d043876..e473ee266ae9 100644
--- a/sysutils/isomaster/distinfo
+++ b/sysutils/isomaster/distinfo
@@ -1,2 +1,2 @@
-SHA256 (isomaster-1.3.7.tar.bz2) = 258b1ce0a9da35dc172c7d44866056c6873bd2992984af1e84deb25f4a7b47f7
-SIZE (isomaster-1.3.7.tar.bz2) = 211673
+SHA256 (isomaster-1.3.9.tar.bz2) = 2bf798a19af43113391144c4a3f2f3b33366f640c5695d356c151e83c49dc853
+SIZE (isomaster-1.3.9.tar.bz2) = 223514
diff --git a/sysutils/isomaster/files/patch-bk-bkCache.c b/sysutils/isomaster/files/patch-bk-bkCache.c
deleted file mode 100644
index ddce335778ef..000000000000
--- a/sysutils/isomaster/files/patch-bk-bkCache.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- bk/bkCache.c.orig Thu Jan 24 22:54:28 2008
-+++ bk/bkCache.c Thu Jan 24 22:54:47 2008
-@@ -21,8 +21,6 @@
-
- #include <string.h>
- #include <stdio.h>
--#include <sys/timeb.h>
--#include <sys/types.h>
- #include <sys/stat.h>
-
- #include "bkInternal.h"
diff --git a/sysutils/isomaster/files/patch-bk__bk.h b/sysutils/isomaster/files/patch-bk__bk.h
new file mode 100644
index 000000000000..3b2a9cc12c9a
--- /dev/null
+++ b/sysutils/isomaster/files/patch-bk__bk.h
@@ -0,0 +1,20 @@
+--- bk/bk.h.orig
++++ bk/bk.h
+@@ -30,7 +30,7 @@
+ #include <stdlib.h>
+ #include <sys/types.h>
+ #include <limits.h>
+-#include <sys/timeb.h>
++#include <sys/time.h>
+ #include <stdio.h>
+
+ #include "bkError.h"
+@@ -186,7 +186,7 @@
+ int imageForWriting;
+ void(*progressFunction)(struct VolInfo*);
+ void(*writeProgressFunction)(struct VolInfo*, double);
+- struct timeb lastTimeCalledProgress;
++ struct timeval lastTimeCalledProgress;
+ bk_off_t estimatedIsoSize;
+ BkHardLink* fileLocations; /* list of where to find regular files */
+ char readWriteBuffer[READ_WRITE_BUFFER_SIZE];
diff --git a/sysutils/isomaster/files/patch-bk__bkCache.c b/sysutils/isomaster/files/patch-bk__bkCache.c
new file mode 100644
index 000000000000..27ebf3d37644
--- /dev/null
+++ b/sysutils/isomaster/files/patch-bk__bkCache.c
@@ -0,0 +1,27 @@
+--- bk/bkCache.c.orig
++++ bk/bkCache.c
+@@ -21,7 +21,7 @@
+
+ #include <string.h>
+ #include <stdio.h>
+-#include <sys/timeb.h>
++#include <sys/time.h>
+ #include <sys/types.h>
+ #include <sys/stat.h>
+
+@@ -57,11 +57,11 @@
+
+ if(volInfo->writeProgressFunction != NULL)
+ {
+- struct timeb timeNow;
+- ftime(&timeNow);
++ struct timeval timeNow;
++ gettimeofday(&timeNow, NULL);
+
+- if(timeNow.time - volInfo->lastTimeCalledProgress.time >= 1 ||
+- timeNow.millitm - volInfo->lastTimeCalledProgress.millitm >= 100)
++ if(timeNow.tv_sec - volInfo->lastTimeCalledProgress.tv_sec >= 1 ||
++ timeNow.tv_usec/1000 - volInfo->lastTimeCalledProgress.tv_usec/1000 >= 100)
+ {
+ BkStatStruct statStruct;
+ double percentComplete;
diff --git a/sysutils/isomaster/files/patch-bk__bkMisc.c b/sysutils/isomaster/files/patch-bk__bkMisc.c
new file mode 100644
index 000000000000..9df17272df23
--- /dev/null
+++ b/sysutils/isomaster/files/patch-bk__bkMisc.c
@@ -0,0 +1,30 @@
+--- bk/bkMisc.c.orig
++++ bk/bkMisc.c
+@@ -12,22 +12,22 @@
+ *
+ ******************************************************************************/
+
+-#include <time.h>
++#include <sys/time.h>
+
+ #include "bkInternal.h"
+ #include "bkMisc.h"
+
+ void maybeUpdateProgress(VolInfo* volInfo)
+ {
+- struct timeb timeNow;
++ struct timeval timeNow;
+
+ if(volInfo->progressFunction == NULL)
+ return;
+
+- ftime(&timeNow);
++ gettimeofday(&timeNow, NULL);
+
+- if(timeNow.time - volInfo->lastTimeCalledProgress.time >= 1 ||
+- timeNow.millitm - volInfo->lastTimeCalledProgress.millitm >= 100)
++ if(timeNow.tv_sec - volInfo->lastTimeCalledProgress.tv_sec >= 1 ||
++ timeNow.tv_usec/1000 - volInfo->lastTimeCalledProgress.tv_usec/1000 >= 100)
+ {
+ volInfo->progressFunction(volInfo);
+
diff --git a/sysutils/isomaster/pkg-descr b/sysutils/isomaster/pkg-descr
index 81a916bdb72e..392a49d6dbc8 100644
--- a/sysutils/isomaster/pkg-descr
+++ b/sysutils/isomaster/pkg-descr
@@ -1,8 +1,8 @@
-ISO Master is an open-source, graphical CD image editor
-that runs on Linux; and bkisofs, the underlying library
-used for reading, modifying and writing ISO images.
+ISO Master is an open-source, graphical CD image editor; and bkisofs,
+the underlying library used for reading, modifying and writing ISO
+images.
-Basically you can use this program to extract files from
-an ISO, add files to an ISO and create bootable ISOs.
+Basically you can use this program to extract files from an ISO, add
+files to an ISO and create bootable ISOs.
-WWW: http://littlesvr.ca/isomaster/
+WWW: http://littlesvr.ca/isomaster/
diff --git a/sysutils/isomaster/pkg-plist b/sysutils/isomaster/pkg-plist
index 2f204886e35a..03c61b632baa 100644
--- a/sysutils/isomaster/pkg-plist
+++ b/sysutils/isomaster/pkg-plist
@@ -6,53 +6,57 @@ bin/isomaster
%%DATADIR%%/icons/folder-new-kearone.png
%%DATADIR%%/icons/go-back-kearone.png
%%DATADIR%%/icons/isomaster.png
-%%NLS%%share/locale/ar/LC_MESSAGES/isomaster.mo
-%%NLS%%share/locale/be@latin/LC_MESSAGES/isomaster.mo
-%%NLS%%share/locale/bg/LC_MESSAGES/isomaster.mo
-%%NLS%%share/locale/ca/LC_MESSAGES/isomaster.mo
-%%NLS%%share/locale/cs/LC_MESSAGES/isomaster.mo
-%%NLS%%share/locale/da/LC_MESSAGES/isomaster.mo
-%%NLS%%share/locale/de/LC_MESSAGES/isomaster.mo
-%%NLS%%share/locale/el/LC_MESSAGES/isomaster.mo
-%%NLS%%share/locale/es/LC_MESSAGES/isomaster.mo
-%%NLS%%share/locale/et/LC_MESSAGES/isomaster.mo
-%%NLS%%share/locale/fi/LC_MESSAGES/isomaster.mo
-%%NLS%%share/locale/fo/LC_MESSAGES/isomaster.mo
-%%NLS%%share/locale/fr/LC_MESSAGES/isomaster.mo
-%%NLS%%share/locale/he/LC_MESSAGES/isomaster.mo
-%%NLS%%share/locale/hr/LC_MESSAGES/isomaster.mo
-%%NLS%%share/locale/hu/LC_MESSAGES/isomaster.mo
-%%NLS%%share/locale/id/LC_MESSAGES/isomaster.mo
-%%NLS%%share/locale/it/LC_MESSAGES/isomaster.mo
-%%NLS%%share/locale/lv/LC_MESSAGES/isomaster.mo
-%%NLS%%share/locale/nb/LC_MESSAGES/isomaster.mo
-%%NLS%%share/locale/nl/LC_MESSAGES/isomaster.mo
-%%NLS%%share/locale/nn/LC_MESSAGES/isomaster.mo
-%%NLS%%share/locale/pl/LC_MESSAGES/isomaster.mo
-%%NLS%%share/locale/pt/LC_MESSAGES/isomaster.mo
-%%NLS%%share/locale/pt_BR/LC_MESSAGES/isomaster.mo
-%%NLS%%share/locale/ro/LC_MESSAGES/isomaster.mo
-%%NLS%%share/locale/ru/LC_MESSAGES/isomaster.mo
-%%NLS%%share/locale/sk/LC_MESSAGES/isomaster.mo
-%%NLS%%share/locale/sl/LC_MESSAGES/isomaster.mo
-%%NLS%%share/locale/sq/LC_MESSAGES/isomaster.mo
-%%NLS%%share/locale/sr/LC_MESSAGES/isomaster.mo
-%%NLS%%share/locale/sr@Latn/LC_MESSAGES/isomaster.mo
-%%NLS%%share/locale/sr@latin/LC_MESSAGES/isomaster.mo
-%%NLS%%share/locale/sv/LC_MESSAGES/isomaster.mo
-%%NLS%%share/locale/tr/LC_MESSAGES/isomaster.mo
-%%NLS%%share/locale/uk/LC_MESSAGES/isomaster.mo
-%%NLS%%share/locale/zh_CN/LC_MESSAGES/isomaster.mo
-%%NLS%%share/locale/zh_TW/LC_MESSAGES/isomaster.mo
+share/locale/ar/LC_MESSAGES/isomaster.mo
+share/locale/be@latin/LC_MESSAGES/isomaster.mo
+share/locale/bg/LC_MESSAGES/isomaster.mo
+share/locale/ca/LC_MESSAGES/isomaster.mo
+share/locale/cs/LC_MESSAGES/isomaster.mo
+share/locale/da/LC_MESSAGES/isomaster.mo
+share/locale/de/LC_MESSAGES/isomaster.mo
+share/locale/el/LC_MESSAGES/isomaster.mo
+share/locale/es/LC_MESSAGES/isomaster.mo
+share/locale/et/LC_MESSAGES/isomaster.mo
+share/locale/fi/LC_MESSAGES/isomaster.mo
+share/locale/fo/LC_MESSAGES/isomaster.mo
+share/locale/fr/LC_MESSAGES/isomaster.mo
+share/locale/he/LC_MESSAGES/isomaster.mo
+share/locale/hr/LC_MESSAGES/isomaster.mo
+share/locale/hu/LC_MESSAGES/isomaster.mo
+share/locale/id/LC_MESSAGES/isomaster.mo
+share/locale/it/LC_MESSAGES/isomaster.mo
+share/locale/ja/LC_MESSAGES/isomaster.mo
+share/locale/lt/LC_MESSAGES/isomaster.mo
+share/locale/lv/LC_MESSAGES/isomaster.mo
+share/locale/nb/LC_MESSAGES/isomaster.mo
+share/locale/nl/LC_MESSAGES/isomaster.mo
+share/locale/nn/LC_MESSAGES/isomaster.mo
+share/locale/pl/LC_MESSAGES/isomaster.mo
+share/locale/pt/LC_MESSAGES/isomaster.mo
+share/locale/pt_BR/LC_MESSAGES/isomaster.mo
+share/locale/ro/LC_MESSAGES/isomaster.mo
+share/locale/ru/LC_MESSAGES/isomaster.mo
+share/locale/sk/LC_MESSAGES/isomaster.mo
+share/locale/sl/LC_MESSAGES/isomaster.mo
+share/locale/sq/LC_MESSAGES/isomaster.mo
+share/locale/sr/LC_MESSAGES/isomaster.mo
+share/locale/sr@Latn/LC_MESSAGES/isomaster.mo
+share/locale/sr@latin/LC_MESSAGES/isomaster.mo
+share/locale/sv/LC_MESSAGES/isomaster.mo
+share/locale/tr/LC_MESSAGES/isomaster.mo
+share/locale/uk/LC_MESSAGES/isomaster.mo
+share/locale/ur_PK/LC_MESSAGES/isomaster.mo
+share/locale/zh_CN/LC_MESSAGES/isomaster.mo
+share/locale/zh_TW/LC_MESSAGES/isomaster.mo
+@dirrmtry share/locale/ur_PK/LC_MESSAGES
+@dirrmtry share/locale/ur_PK
+@dirrmtry share/locale/sr@latin/LC_MESSAGES
+@dirrmtry share/locale/sr@latin
+@dirrmtry share/locale/fo/LC_MESSAGES
+@dirrmtry share/locale/fo
+@dirrmtry share/locale/be@latin/LC_MESSAGES
+@dirrmtry share/locale/be@latin
@dirrm %%DATADIR%%/icons
@dirrm %%DATADIR%%
@dirrmtry %%DESKTOPDIR%%
-@dirrmtry %%NLS%%share/locale/be@latin/LC_MESSAGES
-@dirrmtry %%NLS%%share/locale/be@latin
-@dirrmtry %%NLS%%share/locale/fo/LC_MESSAGES
-@dirrmtry %%NLS%%share/locale/fo
-@dirrmtry %%NLS%%share/locale/sr@latin/LC_MESSAGES
-@dirrmtry %%NLS%%share/locale/sr@latin
-@dirrmtry share/applications
@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true