mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
Add gtktalog, a GUI program to make disk catalogs.
PR: 36984 Submitted by: Juan Salaverria <rael@vectorstar.net>
This commit is contained in:
parent
6d25bcb88d
commit
6d3cc600b0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=57958
@ -103,6 +103,7 @@
|
||||
SUBDIR += gretl
|
||||
SUBDIR += grun
|
||||
SUBDIR += gtkfind
|
||||
SUBDIR += gtktalog
|
||||
SUBDIR += gtl
|
||||
SUBDIR += gwhich
|
||||
SUBDIR += hb
|
||||
|
40
misc/gtktalog/Makefile
Normal file
40
misc/gtktalog/Makefile
Normal file
@ -0,0 +1,40 @@
|
||||
# New ports collection makefile for: gtktalog
|
||||
# Date created: 20 Mar 2002
|
||||
# Whom: Juan Salaverria <rael@vectorstar.net>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= gtktalog
|
||||
PORTVERSION= 0.99.19
|
||||
CATEGORIES= misc
|
||||
MASTER_SITES= http://freesoftware.fsf.org/download/gtktalog/gtktalog/sources/
|
||||
|
||||
MAINTAINER= rael@vectorstar.net
|
||||
|
||||
USE_GNOMELIBS= yes
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
MAN1= gtktalog.1
|
||||
|
||||
DOCS= AUTHORS BUGS COPYING ChangeLog NEWS README TODO
|
||||
|
||||
post-patch:
|
||||
${PERL} -pi -e "s@^(Applicationsdir = ).*@\1${PREFIX}/share/gnome/apps/Applications@" ${WRKSRC}/Makefile.in
|
||||
${PERL} -pi -e "s@^(localedir = ).*@\1${PREFIX}/share/locale@" \
|
||||
${WRKSRC}/po/Makefile.in.in
|
||||
${PERL} -pi -e "s@^(gtktalog_helpdir = ).*@\1${PREFIX}/share/gnome/help/gtktalog/C@" ${WRKSRC}/Docs/C/Makefile.in
|
||||
${PERL} -pi -e "s@^(gtktalog_helpdir = ).*@\1${PREFIX}/share/gnome/help/gtktalog/fr@" ${WRKSRC}/Docs/fr/Makefile.in
|
||||
${PERL} -pi -e "s@^(MountPoint ).*@\1/cdrom@" \
|
||||
${WRKSRC}/src/gtktalog/gtktalog.cf.in.in
|
||||
|
||||
post-install:
|
||||
${RMDIR} ${PREFIX}/share/gnome/help/gtktalog/*/images 2>/dev/null || ${TRUE}
|
||||
.if !defined(NOPORTDOCS)
|
||||
${INSTALL} -d -o root -g wheel -m 0755 ${DOCSDIR}
|
||||
.for f in ${DOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
1
misc/gtktalog/distinfo
Normal file
1
misc/gtktalog/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (gtktalog-0.99.19.tar.gz) = a5b15bef5fcf4ce466fd7211a269a3cf
|
56
misc/gtktalog/files/patch-addisk.c
Normal file
56
misc/gtktalog/files/patch-addisk.c
Normal file
@ -0,0 +1,56 @@
|
||||
--- src/gtktalog/addisk.c.ori Tue Apr 9 00:12:25 2002
|
||||
+++ src/gtktalog/addisk.c Tue Apr 9 00:15:54 2002
|
||||
@@ -240,7 +240,7 @@
|
||||
gboolean
|
||||
mount_disk (CONFIG * my_config)
|
||||
{
|
||||
-#if defined(OS_LINUX) || defined(OS_NETBSD) || defined(OS_OPENBSD)
|
||||
+#if defined(OS_LINUX) || defined(OS_NETBSD) || defined(OS_OPENBSD) || defined(OS_FREEBSD)
|
||||
int pid, status;
|
||||
char *args[3];
|
||||
int nargs;
|
||||
@@ -290,20 +290,6 @@
|
||||
|
||||
set_message_to_display (g_string_new (_("Mount failed! Disk in use?")));
|
||||
return (FALSE);
|
||||
-#elif defined(OS_FREEBSD)
|
||||
- int status;
|
||||
- struct iso_args args;
|
||||
-
|
||||
- args.export.ex_flags = MNT_EXRDONLY;
|
||||
- args.fspec = "/dev/cd0a"; // Will be changed
|
||||
- args.export.ex_root = -2;
|
||||
- status =
|
||||
- mount (MOUNT_CD9660, my_config->mount_point->str, MNT_RDONLY, &args);
|
||||
- /* error saved in errno variable, do something with it */
|
||||
- if (status == 0)
|
||||
- return (TRUE);
|
||||
- else
|
||||
- return (FALSE);
|
||||
#elif defined(OS_PPC_DARWIN)
|
||||
/*
|
||||
* with MacOS X, CD are mounted automatically so,
|
||||
@@ -319,7 +305,7 @@
|
||||
gboolean
|
||||
umount_disk (CONFIG * my_config)
|
||||
{
|
||||
-#if defined(OS_LINUX) || defined(OS_NETBSD) || defined(OS_OPENBSD)
|
||||
+#if defined(OS_LINUX) || defined(OS_NETBSD) || defined(OS_OPENBSD) || defined(OS_FREEBSD)
|
||||
int pid, status;
|
||||
int nargs;
|
||||
char *args[3];
|
||||
@@ -361,14 +347,6 @@
|
||||
return (FALSE);
|
||||
}
|
||||
return (TRUE);
|
||||
-#elif defined(OS_FREEBSD)
|
||||
- int status;
|
||||
-
|
||||
- status = unmount (my_config->mount_point->str, NULL);
|
||||
- if (status == 0)
|
||||
- return (TRUE);
|
||||
- else
|
||||
- return (FALSE);
|
||||
#elif defined(OS_PPC_DARWIN)
|
||||
set_message_to_display (g_string_new (_("Umount failed! Disk in use?")));
|
||||
return (FALSE);
|
1
misc/gtktalog/pkg-comment
Normal file
1
misc/gtktalog/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
GTKtalog is a tool to make disk catalogs
|
6
misc/gtktalog/pkg-descr
Normal file
6
misc/gtktalog/pkg-descr
Normal file
@ -0,0 +1,6 @@
|
||||
GTKtalog is a tool to make disk catalogs: you can use it to create
|
||||
a really small database with images of files and directories of your CDs.
|
||||
|
||||
WWW: http://www.freesoftware.fsf.org/gtktalog/
|
||||
|
||||
ymettier@libertysurf.fr
|
181
misc/gtktalog/pkg-plist
Normal file
181
misc/gtktalog/pkg-plist
Normal file
@ -0,0 +1,181 @@
|
||||
bin/gtktalog
|
||||
lib/gtktalog/aviinfo
|
||||
lib/gtktalog/htmltitle
|
||||
lib/gtktalog/modinfo
|
||||
lib/gtktalog/mp3info
|
||||
share/gnome/apps/Applications/gtktalog.desktop
|
||||
share/gnome/gtktalog/gtktalog.cf
|
||||
share/gnome/gtktalog/icons/c.xpm
|
||||
share/gnome/gtktalog/icons/cat.xpm
|
||||
share/gnome/gtktalog/icons/cpp.xpm
|
||||
share/gnome/gtktalog/icons/deb.xpm
|
||||
share/gnome/gtktalog/icons/default_dir.xpm
|
||||
share/gnome/gtktalog/icons/default_disk.xpm
|
||||
share/gnome/gtktalog/icons/default_file.xpm
|
||||
share/gnome/gtktalog/icons/default_opened_dir.xpm
|
||||
share/gnome/gtktalog/icons/default_opened_disk.xpm
|
||||
share/gnome/gtktalog/icons/default_opened_vfs.xpm
|
||||
share/gnome/gtktalog/icons/default_unreadable.xpm
|
||||
share/gnome/gtktalog/icons/default_vfs.xpm
|
||||
share/gnome/gtktalog/icons/doc.xpm
|
||||
share/gnome/gtktalog/icons/file.xpm
|
||||
share/gnome/gtktalog/icons/gz.xpm
|
||||
share/gnome/gtktalog/icons/h.xpm
|
||||
share/gnome/gtktalog/icons/html.xpm
|
||||
share/gnome/gtktalog/icons/image.xpm
|
||||
share/gnome/gtktalog/icons/java.xpm
|
||||
share/gnome/gtktalog/icons/logo.xpm
|
||||
share/gnome/gtktalog/icons/movie.xpm
|
||||
share/gnome/gtktalog/icons/mp3.xpm
|
||||
share/gnome/gtktalog/icons/pdf.xpm
|
||||
share/gnome/gtktalog/icons/rpm.xpm
|
||||
share/gnome/gtktalog/icons/so.xpm
|
||||
share/gnome/gtktalog/icons/son.xpm
|
||||
share/gnome/gtktalog/icons/txt.xpm
|
||||
share/gnome/gtktalog/xpm/add.xpm
|
||||
share/gnome/gtktalog/xpm/exit.xpm
|
||||
share/gnome/gtktalog/xpm/find.xpm
|
||||
share/gnome/gtktalog/xpm/help.xpm
|
||||
share/gnome/gtktalog/xpm/new.xpm
|
||||
share/gnome/gtktalog/xpm/off.xpm
|
||||
share/gnome/gtktalog/xpm/on.xpm
|
||||
share/gnome/gtktalog/xpm/open.xpm
|
||||
share/gnome/gtktalog/xpm/report.xpm
|
||||
share/gnome/gtktalog/xpm/save.xpm
|
||||
share/gnome/gtktalog/xpm/setup__Disk_setup.xpm
|
||||
share/gnome/gtktalog/xpm/setup__General_options.xpm
|
||||
share/gnome/gtktalog/xpm/setup__Information_plugins.xpm
|
||||
share/gnome/gtktalog/xpm/setup__LoadSave_options.xpm
|
||||
share/gnome/gtktalog/xpm/setup__MIME_type_icons.xpm
|
||||
share/gnome/gtktalog/xpm/setup__MIME_types_to_skip_during_a_scan.xpm
|
||||
share/gnome/gtktalog/xpm/setup__Scan_mime_types.xpm
|
||||
share/gnome/gtktalog/xpm/setup__Scan_options.xpm
|
||||
share/gnome/gtktalog/xpm/setup__Virtual_File_Systems.xpm
|
||||
share/gnome/help/gtktalog/C/caution.gif
|
||||
share/gnome/help/gtktalog/C/ch-catdesc.html
|
||||
share/gnome/help/gtktalog/C/ch-err.html
|
||||
share/gnome/help/gtktalog/C/ch-find.html
|
||||
share/gnome/help/gtktalog/C/ch-intro.html
|
||||
share/gnome/help/gtktalog/C/ch-manage.html
|
||||
share/gnome/help/gtktalog/C/ch-merge.html
|
||||
share/gnome/help/gtktalog/C/ch-mime.html
|
||||
share/gnome/help/gtktalog/C/ch-prefs.html
|
||||
share/gnome/help/gtktalog/C/ch-quick.html
|
||||
share/gnome/help/gtktalog/C/ch-reports.html
|
||||
share/gnome/help/gtktalog/C/ch-scanning.html
|
||||
share/gnome/help/gtktalog/C/ch-smartconf.html
|
||||
share/gnome/help/gtktalog/C/ch-stats.html
|
||||
share/gnome/help/gtktalog/C/ch-ui.html
|
||||
share/gnome/help/gtktalog/C/ch-vfs.html
|
||||
share/gnome/help/gtktalog/C/gtktalog.html
|
||||
share/gnome/help/gtktalog/C/home.gif
|
||||
share/gnome/help/gtktalog/C/important.gif
|
||||
share/gnome/help/gtktalog/C/index.html
|
||||
share/gnome/help/gtktalog/C/ln23.html
|
||||
share/gnome/help/gtktalog/C/man.html
|
||||
share/gnome/help/gtktalog/C/mimeicons.html
|
||||
share/gnome/help/gtktalog/C/next.gif
|
||||
share/gnome/help/gtktalog/C/note.gif
|
||||
share/gnome/help/gtktalog/C/prev.gif
|
||||
share/gnome/help/gtktalog/C/se-catdesc-assign.html
|
||||
share/gnome/help/gtktalog/C/se-find-adv.html
|
||||
share/gnome/help/gtktalog/C/se-manage-copy.html
|
||||
share/gnome/help/gtktalog/C/se-manage-restore.html
|
||||
share/gnome/help/gtktalog/C/se-manage-where.html
|
||||
share/gnome/help/gtktalog/C/se-prefs-gen.html
|
||||
share/gnome/help/gtktalog/C/se-prefs-infplugin.html
|
||||
share/gnome/help/gtktalog/C/se-prefs-mimetypes.html
|
||||
share/gnome/help/gtktalog/C/se-prefs-vfs.html
|
||||
share/gnome/help/gtktalog/C/se-quick-find.html
|
||||
share/gnome/help/gtktalog/C/se-ui-cmd.html
|
||||
share/gnome/help/gtktalog/C/se-ui-menus.html
|
||||
share/gnome/help/gtktalog/C/se-ui-popup.html
|
||||
share/gnome/help/gtktalog/C/tip.gif
|
||||
share/gnome/help/gtktalog/C/toc-blank.gif
|
||||
share/gnome/help/gtktalog/C/toc-minus.gif
|
||||
share/gnome/help/gtktalog/C/toc-plus.gif
|
||||
share/gnome/help/gtktalog/C/topic.dat
|
||||
share/gnome/help/gtktalog/C/up.gif
|
||||
share/gnome/help/gtktalog/C/warning.gif
|
||||
share/gnome/help/gtktalog/C/x228.html
|
||||
share/gnome/help/gtktalog/C/x612.html
|
||||
share/gnome/help/gtktalog/fr/caution.gif
|
||||
share/gnome/help/gtktalog/fr/ch-catdesc.html
|
||||
share/gnome/help/gtktalog/fr/ch-err.html
|
||||
share/gnome/help/gtktalog/fr/ch-find.html
|
||||
share/gnome/help/gtktalog/fr/ch-intro.html
|
||||
share/gnome/help/gtktalog/fr/ch-manage.html
|
||||
share/gnome/help/gtktalog/fr/ch-merge.html
|
||||
share/gnome/help/gtktalog/fr/ch-mime.html
|
||||
share/gnome/help/gtktalog/fr/ch-prefs.html
|
||||
share/gnome/help/gtktalog/fr/ch-quick.html
|
||||
share/gnome/help/gtktalog/fr/ch-reports.html
|
||||
share/gnome/help/gtktalog/fr/ch-scanning.html
|
||||
share/gnome/help/gtktalog/fr/ch-smartconf.html
|
||||
share/gnome/help/gtktalog/fr/ch-stats.html
|
||||
share/gnome/help/gtktalog/fr/ch-ui.html
|
||||
share/gnome/help/gtktalog/fr/ch-vfs.html
|
||||
share/gnome/help/gtktalog/fr/gtktalog.html
|
||||
share/gnome/help/gtktalog/fr/home.gif
|
||||
share/gnome/help/gtktalog/fr/important.gif
|
||||
share/gnome/help/gtktalog/fr/index.html
|
||||
share/gnome/help/gtktalog/fr/ln28.html
|
||||
share/gnome/help/gtktalog/fr/man.html
|
||||
share/gnome/help/gtktalog/fr/mimeicons.html
|
||||
share/gnome/help/gtktalog/fr/next.gif
|
||||
share/gnome/help/gtktalog/fr/note.gif
|
||||
share/gnome/help/gtktalog/fr/prev.gif
|
||||
share/gnome/help/gtktalog/fr/se-catdesc-assign.html
|
||||
share/gnome/help/gtktalog/fr/se-find-adv.html
|
||||
share/gnome/help/gtktalog/fr/se-manage-copy.html
|
||||
share/gnome/help/gtktalog/fr/se-manage-restore.html
|
||||
share/gnome/help/gtktalog/fr/se-manage-where.html
|
||||
share/gnome/help/gtktalog/fr/se-prefs-gen.html
|
||||
share/gnome/help/gtktalog/fr/se-prefs-infplugin.html
|
||||
share/gnome/help/gtktalog/fr/se-prefs-mimetypes.html
|
||||
share/gnome/help/gtktalog/fr/se-prefs-vfs.html
|
||||
share/gnome/help/gtktalog/fr/se-quick-find.html
|
||||
share/gnome/help/gtktalog/fr/se-ui-cmd.html
|
||||
share/gnome/help/gtktalog/fr/se-ui-menus.html
|
||||
share/gnome/help/gtktalog/fr/se-ui-popup.html
|
||||
share/gnome/help/gtktalog/fr/tip.gif
|
||||
share/gnome/help/gtktalog/fr/toc-blank.gif
|
||||
share/gnome/help/gtktalog/fr/toc-minus.gif
|
||||
share/gnome/help/gtktalog/fr/toc-plus.gif
|
||||
share/gnome/help/gtktalog/fr/topic.dat
|
||||
share/gnome/help/gtktalog/fr/up.gif
|
||||
share/gnome/help/gtktalog/fr/warning.gif
|
||||
share/gnome/help/gtktalog/fr/x223.html
|
||||
share/gnome/help/gtktalog/fr/x607.html
|
||||
share/gnome/pixmaps/gtktalog.png
|
||||
share/locale/ca/LC_MESSAGES/gtktalog.mo
|
||||
share/locale/cs/LC_MESSAGES/gtktalog.mo
|
||||
share/locale/de/LC_MESSAGES/gtktalog.mo
|
||||
share/locale/es/LC_MESSAGES/gtktalog.mo
|
||||
share/locale/fr/LC_MESSAGES/gtktalog.mo
|
||||
share/locale/hu/LC_MESSAGES/gtktalog.mo
|
||||
share/locale/it/LC_MESSAGES/gtktalog.mo
|
||||
share/locale/ja/LC_MESSAGES/gtktalog.mo
|
||||
share/locale/nl/LC_MESSAGES/gtktalog.mo
|
||||
share/locale/pl/LC_MESSAGES/gtktalog.mo
|
||||
share/locale/ru/LC_MESSAGES/gtktalog.mo
|
||||
share/locale/sk/LC_MESSAGES/gtktalog.mo
|
||||
share/locale/sv/LC_MESSAGES/gtktalog.mo
|
||||
%%PORTDOCS%%share/doc/gtktalog/AUTHORS
|
||||
%%PORTDOCS%%share/doc/gtktalog/BUGS
|
||||
%%PORTDOCS%%share/doc/gtktalog/COPYING
|
||||
%%PORTDOCS%%share/doc/gtktalog/ChangeLog
|
||||
%%PORTDOCS%%share/doc/gtktalog/NEWS
|
||||
%%PORTDOCS%%share/doc/gtktalog/README
|
||||
%%PORTDOCS%%share/doc/gtktalog/TODO
|
||||
%%PORTDOCS%%@dirrm share/doc/gtktalog
|
||||
@dirrm lib/gtktalog
|
||||
@dirrm share/gnome/gtktalog/icons
|
||||
@dirrm share/gnome/gtktalog/xpm
|
||||
@dirrm share/gnome/gtktalog
|
||||
@dirrm share/gnome/help/gtktalog/C
|
||||
@dirrm share/gnome/help/gtktalog/fr
|
||||
@dirrm share/gnome/help/gtktalog
|
||||
@unexec rmdir %D/share/locale/*/LC_MESSAGES 2>/dev/null || true
|
||||
@unexec rmdir %D/share/locale/* 2>/dev/null || true
|
||||
@unexec rmdir share/locale 2>/dev/null || true
|
Loading…
Reference in New Issue
Block a user