diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-05-18 05:21:18 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-05-18 05:21:18 +0800 |
commit | 6073cc4899c07853814e13d668fd93ed4ef82390 (patch) | |
tree | cf48858cd495aaa306f14318ae842f034f8acf2a /sysutils/nautilus-cd-burner | |
parent | 20cf2626378d39da902f9fef04cae510d46c447a (diff) | |
download | marcuscom-ports-6073cc4899c07853814e13d668fd93ed4ef82390.tar marcuscom-ports-6073cc4899c07853814e13d668fd93ed4ef82390.tar.gz marcuscom-ports-6073cc4899c07853814e13d668fd93ed4ef82390.tar.bz2 marcuscom-ports-6073cc4899c07853814e13d668fd93ed4ef82390.tar.lz marcuscom-ports-6073cc4899c07853814e13d668fd93ed4ef82390.tar.xz marcuscom-ports-6073cc4899c07853814e13d668fd93ed4ef82390.tar.zst marcuscom-ports-6073cc4899c07853814e13d668fd93ed4ef82390.zip |
Update to 2.11.1.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@3979 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'sysutils/nautilus-cd-burner')
-rw-r--r-- | sysutils/nautilus-cd-burner/Makefile | 52 | ||||
-rw-r--r-- | sysutils/nautilus-cd-burner/distinfo | 2 | ||||
-rw-r--r-- | sysutils/nautilus-cd-burner/files/patch-configure | 27 | ||||
-rw-r--r-- | sysutils/nautilus-cd-burner/files/patch-make-iso.c | 11 | ||||
-rw-r--r-- | sysutils/nautilus-cd-burner/files/patch-mapping-protocol.c | 11 | ||||
-rw-r--r-- | sysutils/nautilus-cd-burner/files/patch-nautilus-burn-recorder.c | 29 | ||||
-rw-r--r-- | sysutils/nautilus-cd-burner/files/patch-nautilus-cd-burner.c | 33 | ||||
-rw-r--r-- | sysutils/nautilus-cd-burner/pkg-descr | 2 | ||||
-rw-r--r-- | sysutils/nautilus-cd-burner/pkg-message | 21 | ||||
-rw-r--r-- | sysutils/nautilus-cd-burner/pkg-plist | 87 |
10 files changed, 275 insertions, 0 deletions
diff --git a/sysutils/nautilus-cd-burner/Makefile b/sysutils/nautilus-cd-burner/Makefile new file mode 100644 index 000000000..01a497794 --- /dev/null +++ b/sysutils/nautilus-cd-burner/Makefile @@ -0,0 +1,52 @@ +# New ports collection makefile for: nautilus-cd-burner +# Date created: 13 April 2003 +# Whom: Joe Marcus Clarke <marcus@FreeBSD.org> +# +# $FreeBSD: ports/sysutils/nautilus-cd-burner/Makefile,v 1.22 2005/04/11 21:48:45 adamw Exp $ +# + +PORTNAME= nautilus-cd-burner +PORTVERSION= 2.11.1 +CATEGORIES= sysutils gnome +MASTER_SITES= ${MASTER_SITE_GNOME} +MASTER_SITE_SUBDIR= sources/${PORTNAME}/2.11 +DIST_SUBDIR= gnome2 + +MAINTAINER= gnome@FreeBSD.org +COMMENT= CD burner view for Nautilus + +RUN_DEPENDS= cdrecord:${PORTSDIR}/sysutils/cdrtools-cjk + +USE_BZIP2= yes +USE_X_PREFIX= yes +USE_REINPLACE= yes +USE_GMAKE= yes +GNOME_DESKTOP_VERSION=2 +USE_GNOME= gnomeprefix gnomehack intlhack nautilus2 +USE_LIBTOOL_VER=15 +INSTALLS_SHLIB= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" + +GCONF_SCHEMAS= ncb.schemas + +.include <bsd.port.pre.mk> + +.if exists(${LOCALBASE}/bin/growisofs) +WITH_DVD= yes +.endif + +.if defined(WITH_DVD) +RUN_DEPENDS+= growisofs:${PORTSDIR}/sysutils/dvd+rw-tools +.endif + +pre-everything:: + @${ECHO_MSG} "" + @${ECHO_MSG} "${PORTNAME} has the following configurable option(s):" + @${ECHO_MSG} " WITH_DVD Enable DVD burning support" + @${ECHO_MSG} "" + +post-install: + @${CAT} ${PKGMESSAGE} + +.include <bsd.port.post.mk> diff --git a/sysutils/nautilus-cd-burner/distinfo b/sysutils/nautilus-cd-burner/distinfo new file mode 100644 index 000000000..d1528d22d --- /dev/null +++ b/sysutils/nautilus-cd-burner/distinfo @@ -0,0 +1,2 @@ +MD5 (gnome2/nautilus-cd-burner-2.11.1.tar.bz2) = 4fbd3090d3d8b3f2fdbee5257f243244 +SIZE (gnome2/nautilus-cd-burner-2.11.1.tar.bz2) = 559864 diff --git a/sysutils/nautilus-cd-burner/files/patch-configure b/sysutils/nautilus-cd-burner/files/patch-configure new file mode 100644 index 000000000..e8dbb4a5b --- /dev/null +++ b/sysutils/nautilus-cd-burner/files/patch-configure @@ -0,0 +1,27 @@ +--- configure.orig Thu Jul 22 10:27:35 2004 ++++ configure Thu Jul 22 10:29:32 2004 +@@ -21015,6 +21015,8 @@ + if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else ++ ac_check_lib_save_LIBS=$LIBS ++ LIBS="-lintl $LIBS" + cat >conftest.$ac_ext <<_ACEOF + /* confdefs.h. */ + _ACEOF +@@ -21097,6 +21099,7 @@ + fi + rm -f conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext ++ LIBS=$ac_check_lib_save_LIBS + fi + echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 + echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +@@ -21104,6 +21107,7 @@ + cat >>confdefs.h <<_ACEOF + #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 + _ACEOF ++LIBS="-lintl $LIBS" + + fi + done diff --git a/sysutils/nautilus-cd-burner/files/patch-make-iso.c b/sysutils/nautilus-cd-burner/files/patch-make-iso.c new file mode 100644 index 000000000..803ea299e --- /dev/null +++ b/sysutils/nautilus-cd-burner/files/patch-make-iso.c @@ -0,0 +1,11 @@ +--- make-iso.c.orig Tue May 17 17:16:17 2005 ++++ make-iso.c Tue May 17 17:16:31 2005 +@@ -740,7 +740,7 @@ get_average_rate (GList **rates, + if (g_list_length (*rates) > max_num) { + *rates = g_list_delete_link (*rates, *rates); + } +- int_rate = (gint32)round (scale * rate); ++ int_rate = (gint32)rint (scale * rate); + + *rates = g_list_append (*rates, GINT_TO_POINTER (int_rate)); + diff --git a/sysutils/nautilus-cd-burner/files/patch-mapping-protocol.c b/sysutils/nautilus-cd-burner/files/patch-mapping-protocol.c new file mode 100644 index 000000000..aab64aa8a --- /dev/null +++ b/sysutils/nautilus-cd-burner/files/patch-mapping-protocol.c @@ -0,0 +1,11 @@ +--- mapping-protocol.c.orig Tue May 17 17:14:35 2005 ++++ mapping-protocol.c Tue May 17 17:15:24 2005 +@@ -24,6 +24,8 @@ + * William Jon McCann <mccann@jhu.edu> + */ + ++#include <sys/types.h> ++#include <sys/time.h> + #include <unistd.h> + #include <string.h> + #include <fcntl.h> diff --git a/sysutils/nautilus-cd-burner/files/patch-nautilus-burn-recorder.c b/sysutils/nautilus-cd-burner/files/patch-nautilus-burn-recorder.c new file mode 100644 index 000000000..3b9ad8b4e --- /dev/null +++ b/sysutils/nautilus-cd-burner/files/patch-nautilus-burn-recorder.c @@ -0,0 +1,29 @@ +--- nautilus-burn-recorder.c.orig Tue May 17 17:12:38 2005 ++++ nautilus-burn-recorder.c Tue May 17 17:13:21 2005 +@@ -69,7 +69,7 @@ struct _NautilusBurnProcess { + GString *line_stderr; + NautilusBurnProcessFuncs *funcs; + +- int stdin; ++ int nbp_stdin; + + time_t start_time; + gint64 start_num; +@@ -308,7 +308,7 @@ insert_cd_retry (NautilusBurnProcess *pr + nautilus_burn_process_cancel (process, FALSE); + } else if (is_reload) { + if (send_return) { +- write (process->stdin, "\n", 1); ++ write (process->nbp_stdin, "\n", 1); + } else { + kill (process->pid, SIGUSR1); + } +@@ -1244,7 +1244,7 @@ nautilus_burn_recorder_run_process (Naut + recorder, + &stdout_tag, + &stderr_tag, +- &process->stdin, ++ &process->nbp_stdin, + &local_error); + + if (! res) { diff --git a/sysutils/nautilus-cd-burner/files/patch-nautilus-cd-burner.c b/sysutils/nautilus-cd-burner/files/patch-nautilus-cd-burner.c new file mode 100644 index 000000000..9d286fda0 --- /dev/null +++ b/sysutils/nautilus-cd-burner/files/patch-nautilus-cd-burner.c @@ -0,0 +1,33 @@ +--- nautilus-cd-burner.c.orig Wed May 11 18:56:59 2005 ++++ nautilus-cd-burner.c Tue May 17 17:11:49 2005 +@@ -25,6 +25,8 @@ + * William Jon McCann <mccann@jhu.edu> + */ + ++#include <sys/types.h> ++#include <sys/stat.h> + #include <time.h> + #include <stdio.h> + #include <stdlib.h> +@@ -1103,10 +1105,20 @@ burn_cd (const NautilusBurnDrive *drive, + } + + if (res == NAUTILUS_BURN_RECORDER_RESULT_RETRY) { ++ gchar *path1; ++ ++ path1 = g_strdup_printf ("%s/.ncb", g_get_home_dir()); ++ ++ if (!g_file_test (path1, G_FILE_TEST_EXISTS)) { ++ mkdir (path1, 0700); ++ } ++ + g_free (toc_filename); + g_free (filename); + +- filename = g_build_filename (g_get_tmp_dir (), "image.iso.XXXXXX", NULL); ++ filename = g_build_filename (path1, "image.iso.XXXXXX", NULL); ++ g_free (path1); ++ + fd = g_mkstemp (filename); + close (fd); + diff --git a/sysutils/nautilus-cd-burner/pkg-descr b/sysutils/nautilus-cd-burner/pkg-descr new file mode 100644 index 000000000..0bdde4f1a --- /dev/null +++ b/sysutils/nautilus-cd-burner/pkg-descr @@ -0,0 +1,2 @@ +Nautilus-cd-burner allows CDs to be created and burned directly from +within Nautilus (using the burn:/// URI). diff --git a/sysutils/nautilus-cd-burner/pkg-message b/sysutils/nautilus-cd-burner/pkg-message new file mode 100644 index 000000000..3a47ff4fd --- /dev/null +++ b/sysutils/nautilus-cd-burner/pkg-message @@ -0,0 +1,21 @@ +====================================================================== +In order to use nautilus-cd-burner, you must make sure your CD devices +have the correct permissions. You must also make sure you have: + +device atapicam + +Configured in your kernel if you are using an ATAPI CD/DVD writer. +To figure out which CD/DVD drive you will be using, run the following +command as root: + +camcontrol devlist + +Your output will look similar to the following: + +<CREATIVE CD5233E-N 0.20> at scbus1 target 0 lun 0 (cd0,pass0) + +The devices in parenthesis at the end are important. You must make sure +the /dev entries for those devices are writable by the users that will +be using nautilus-cd-burner. In addition to those devices, /dev/xpt* +must also be writable to your nautilus-cd-burner users. +====================================================================== diff --git a/sysutils/nautilus-cd-burner/pkg-plist b/sysutils/nautilus-cd-burner/pkg-plist new file mode 100644 index 000000000..183d93050 --- /dev/null +++ b/sysutils/nautilus-cd-burner/pkg-plist @@ -0,0 +1,87 @@ +bin/nautilus-cd-burner +etc/gnome-vfs-2.0/modules/mapping-modules.conf +include/libnautilus-burn/nautilus-burn-drive-selection.h +include/libnautilus-burn/nautilus-burn-drive.h +include/libnautilus-burn/nautilus-burn-recorder.h +lib/gnome-vfs-2.0/modules/libmapping.so +lib/libnautilus-burn.a +lib/libnautilus-burn.so +lib/libnautilus-burn.so.2 +lib/nautilus/extensions-1.0/libnautilus-burn-extension.so +libdata/pkgconfig/libnautilus-burn.pc +libexec/mapping-daemon +share/gnome/nautilus-cd-burner/cdburn.glade +share/gnome/nautilus-cd-burner/cdspin1.png +share/gnome/nautilus-cd-burner/cdspin2.png +share/gnome/nautilus-cd-burner/cdspin3.png +share/gnome/nautilus-cd-burner/cdspin4.png +share/gnome/nautilus-cd-burner/cdspin5.png +share/gnome/nautilus-cd-burner/cdspin6.png +share/gnome/nautilus-cd-burner/cdspin7.png +share/gnome/nautilus-cd-burner/cdspin8.png +share/locale/am/LC_MESSAGES/nautilus-cd-burner.mo +share/locale/ar/LC_MESSAGES/nautilus-cd-burner.mo +share/locale/az/LC_MESSAGES/nautilus-cd-burner.mo +share/locale/be/LC_MESSAGES/nautilus-cd-burner.mo +share/locale/bg/LC_MESSAGES/nautilus-cd-burner.mo +share/locale/bn/LC_MESSAGES/nautilus-cd-burner.mo +share/locale/bs/LC_MESSAGES/nautilus-cd-burner.mo +share/locale/ca/LC_MESSAGES/nautilus-cd-burner.mo +share/locale/cs/LC_MESSAGES/nautilus-cd-burner.mo +share/locale/cy/LC_MESSAGES/nautilus-cd-burner.mo +share/locale/da/LC_MESSAGES/nautilus-cd-burner.mo +share/locale/de/LC_MESSAGES/nautilus-cd-burner.mo +share/locale/el/LC_MESSAGES/nautilus-cd-burner.mo +share/locale/en_CA/LC_MESSAGES/nautilus-cd-burner.mo +share/locale/en_GB/LC_MESSAGES/nautilus-cd-burner.mo +share/locale/es/LC_MESSAGES/nautilus-cd-burner.mo +share/locale/et/LC_MESSAGES/nautilus-cd-burner.mo +share/locale/eu/LC_MESSAGES/nautilus-cd-burner.mo +share/locale/fa/LC_MESSAGES/nautilus-cd-burner.mo +share/locale/fi/LC_MESSAGES/nautilus-cd-burner.mo +share/locale/fr/LC_MESSAGES/nautilus-cd-burner.mo +share/locale/ga/LC_MESSAGES/nautilus-cd-burner.mo +share/locale/gu/LC_MESSAGES/nautilus-cd-burner.mo +share/locale/he/LC_MESSAGES/nautilus-cd-burner.mo +share/locale/hi/LC_MESSAGES/nautilus-cd-burner.mo +share/locale/hr/LC_MESSAGES/nautilus-cd-burner.mo +share/locale/hu/LC_MESSAGES/nautilus-cd-burner.mo +share/locale/id/LC_MESSAGES/nautilus-cd-burner.mo +share/locale/is/LC_MESSAGES/nautilus-cd-burner.mo +share/locale/it/LC_MESSAGES/nautilus-cd-burner.mo +share/locale/ja/LC_MESSAGES/nautilus-cd-burner.mo +share/locale/ko/LC_MESSAGES/nautilus-cd-burner.mo +share/locale/lt/LC_MESSAGES/nautilus-cd-burner.mo +share/locale/lv/LC_MESSAGES/nautilus-cd-burner.mo +share/locale/mk/LC_MESSAGES/nautilus-cd-burner.mo +share/locale/mn/LC_MESSAGES/nautilus-cd-burner.mo +share/locale/ms/LC_MESSAGES/nautilus-cd-burner.mo +share/locale/nb/LC_MESSAGES/nautilus-cd-burner.mo +share/locale/ne/LC_MESSAGES/nautilus-cd-burner.mo +share/locale/nl/LC_MESSAGES/nautilus-cd-burner.mo +share/locale/nn/LC_MESSAGES/nautilus-cd-burner.mo +share/locale/no/LC_MESSAGES/nautilus-cd-burner.mo +share/locale/or/LC_MESSAGES/nautilus-cd-burner.mo +share/locale/pa/LC_MESSAGES/nautilus-cd-burner.mo +share/locale/pl/LC_MESSAGES/nautilus-cd-burner.mo +share/locale/pt/LC_MESSAGES/nautilus-cd-burner.mo +share/locale/pt_BR/LC_MESSAGES/nautilus-cd-burner.mo +share/locale/ro/LC_MESSAGES/nautilus-cd-burner.mo +share/locale/ru/LC_MESSAGES/nautilus-cd-burner.mo +share/locale/rw/LC_MESSAGES/nautilus-cd-burner.mo +share/locale/sk/LC_MESSAGES/nautilus-cd-burner.mo +share/locale/sl/LC_MESSAGES/nautilus-cd-burner.mo +share/locale/sq/LC_MESSAGES/nautilus-cd-burner.mo +share/locale/sr/LC_MESSAGES/nautilus-cd-burner.mo +share/locale/sr@Latn/LC_MESSAGES/nautilus-cd-burner.mo +share/locale/sv/LC_MESSAGES/nautilus-cd-burner.mo +share/locale/ta/LC_MESSAGES/nautilus-cd-burner.mo +share/locale/th/LC_MESSAGES/nautilus-cd-burner.mo +share/locale/tr/LC_MESSAGES/nautilus-cd-burner.mo +share/locale/uk/LC_MESSAGES/nautilus-cd-burner.mo +share/locale/vi/LC_MESSAGES/nautilus-cd-burner.mo +share/locale/xh/LC_MESSAGES/nautilus-cd-burner.mo +share/locale/zh_CN/LC_MESSAGES/nautilus-cd-burner.mo +share/locale/zh_TW/LC_MESSAGES/nautilus-cd-burner.mo +@dirrm share/gnome/nautilus-cd-burner +@dirrm include/libnautilus-burn |