diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-03-14 09:21:27 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-03-14 09:21:27 +0800 |
commit | 6ea8cdadd34fade98a807bf84429806612c65079 (patch) | |
tree | b7f18e7e629139c395bf0080243a2218963d0301 /sysutils/nautilus-cd-burner | |
parent | 857bb773fe0bad1b58fa9c68ece3c326f60613e6 (diff) | |
download | marcuscom-ports-6ea8cdadd34fade98a807bf84429806612c65079.tar marcuscom-ports-6ea8cdadd34fade98a807bf84429806612c65079.tar.gz marcuscom-ports-6ea8cdadd34fade98a807bf84429806612c65079.tar.bz2 marcuscom-ports-6ea8cdadd34fade98a807bf84429806612c65079.tar.lz marcuscom-ports-6ea8cdadd34fade98a807bf84429806612c65079.tar.xz marcuscom-ports-6ea8cdadd34fade98a807bf84429806612c65079.tar.zst marcuscom-ports-6ea8cdadd34fade98a807bf84429806612c65079.zip |
Remove these ports now that they have been merged into the ports tree.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@3934 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-nautilus-burn-drive.c | 276 | ||||
-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 | 84 |
8 files changed, 0 insertions, 497 deletions
diff --git a/sysutils/nautilus-cd-burner/Makefile b/sysutils/nautilus-cd-burner/Makefile deleted file mode 100644 index 88badb538..000000000 --- a/sysutils/nautilus-cd-burner/Makefile +++ /dev/null @@ -1,52 +0,0 @@ -# New ports collection makefile for: nautilus-cd-burner -# Date created: 13 April 2003 -# Whom: Joe Marcus Clarke <marcus@FreeBSD.org> -# -# $FreeBSD$ -# - -PORTNAME= nautilus-cd-burner -PORTVERSION= 2.10.0 -CATEGORIES= sysutils gnome -MASTER_SITES= ${MASTER_SITE_GNOME} -MASTER_SITE_SUBDIR= sources/${PORTNAME}/2.10 -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 deleted file mode 100644 index 960dd8c03..000000000 --- a/sysutils/nautilus-cd-burner/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -MD5 (gnome2/nautilus-cd-burner-2.10.0.tar.bz2) = eba87e8b043cbd0a94d3371aa869bcf1 -SIZE (gnome2/nautilus-cd-burner-2.10.0.tar.bz2) = 623320 diff --git a/sysutils/nautilus-cd-burner/files/patch-configure b/sysutils/nautilus-cd-burner/files/patch-configure deleted file mode 100644 index e8dbb4a5b..000000000 --- a/sysutils/nautilus-cd-burner/files/patch-configure +++ /dev/null @@ -1,27 +0,0 @@ ---- 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-nautilus-burn-drive.c b/sysutils/nautilus-cd-burner/files/patch-nautilus-burn-drive.c deleted file mode 100644 index c2299e572..000000000 --- a/sysutils/nautilus-cd-burner/files/patch-nautilus-burn-drive.c +++ /dev/null @@ -1,276 +0,0 @@ ---- nautilus-burn-drive.c.orig Tue Feb 22 19:34:17 2005 -+++ nautilus-burn-drive.c Tue Mar 1 00:46:50 2005 -@@ -62,6 +62,13 @@ - - #define CD_ROM_SPEED 176 - -+#if !defined(__linux) -+static int get_device_max_read_speed (char *device); -+#endif -+#if defined(__linux__) || defined(__FreeBSD__) -+static int get_device_max_write_speed (char *device); -+#endif -+ - static struct { - const char *name; - gboolean can_write_cdr; -@@ -149,7 +156,7 @@ - int *max_wr_speed, - NautilusBurnDriveType *type) - { -- char *stdout_data, *rd_speed, *wr_speed, *drive_cap; -+ char *stdout_data, *drive_cap; - - *max_rd_speed = -1; - *max_wr_speed = -1; -@@ -278,6 +285,9 @@ - { - int fd; - int mmc_profile; -+#ifdef __FreeBSD__ -+ struct cam_device *cam; -+#endif - - g_return_val_if_fail (device != NULL, NAUTILUS_BURN_MEDIA_TYPE_ERROR); - -@@ -286,6 +296,15 @@ - if (has_data) *has_data = FALSE; - if (has_audio) *has_audio = FALSE; - -+#ifdef __FreeBSD__ -+ cam = cam_open_device (device, O_RDWR); -+ if (cam == NULL) { -+ return NAUTILUS_BURN_MEDIA_TYPE_ERROR; -+ } -+ -+ fd = cam->fd; -+#else -+ - if ((fd = open (device, O_RDWR | O_EXCL | O_NONBLOCK)) < 0 - && (fd = open (device, O_RDONLY | O_EXCL | O_NONBLOCK)) < 0) { - if (errno == EBUSY) { -@@ -293,6 +312,7 @@ - } - return NAUTILUS_BURN_MEDIA_TYPE_ERROR; - } -+#endif - - mmc_profile = get_mmc_profile (fd); - -@@ -303,12 +323,20 @@ - opened = nautilus_burn_drive_door_open (mmc_profile, fd); - - if (opened != FALSE) { -+#ifdef __FreeBSD__ -+ cam_close_device (cam); -+#else - close (fd); -+#endif - return NAUTILUS_BURN_MEDIA_TYPE_ERROR; - } else { - int blank, rewrite, empty; - if (get_disc_status (fd, &empty, &rewrite, &blank) == 0) { -+#ifdef __FreeBSD__ -+ cam_close_device (cam); -+#else - close (fd); -+#endif - - if (is_rewritable) - *is_rewritable = rewrite; -@@ -325,12 +353,20 @@ - else - return NAUTILUS_BURN_MEDIA_TYPE_UNKNOWN; - } -+#ifdef __FreeBSD__ -+ cam_close_device (cam); -+#else - close (fd); -+#endif - return NAUTILUS_BURN_MEDIA_TYPE_UNKNOWN; - } - } - -+#ifdef __FreeBSD__ -+ cam_close_device (cam); -+#else - close (fd); -+#endif - - if (is_blank) - *is_blank = mmc_profile & 0x10000; -@@ -569,11 +605,21 @@ - int secs; - int mmc_profile; - gint64 size; -+#ifdef __FreeBSD__ -+ struct cam_device *cam; -+#endif - - g_return_val_if_fail (device != NULL, NAUTILUS_BURN_MEDIA_SIZE_UNKNOWN); - - secs = 0; -+#ifdef __FreeBSD__ -+ cam = cam_open_device (device, O_RDWR); -+ if (cam == NULL) { -+ return NAUTILUS_BURN_MEDIA_SIZE_UNKNOWN; -+ } - -+ fd = cam->fd; -+#else - if ((fd = open (device, O_RDWR | O_EXCL | O_NONBLOCK)) < 0 - && (fd = open (device, O_RDONLY | O_EXCL | O_NONBLOCK)) < 0) { - if (errno == EBUSY) { -@@ -581,6 +627,7 @@ - } - return NAUTILUS_BURN_MEDIA_SIZE_UNKNOWN; - } -+#endif - - mmc_profile = get_mmc_profile (fd); - -@@ -603,7 +650,11 @@ - size = NAUTILUS_BURN_MEDIA_SIZE_NA; - } - -+#ifdef __FreeBSD__ -+ cam_close_device (cam); -+#else - close (fd); -+#endif - - return size; - } -@@ -896,9 +947,81 @@ - #endif /* USE_HAL */ - - #if defined(__linux__) || defined(__FreeBSD__) -+static int -+get_device_max_write_speed (char *device) -+{ -+ int fd; -+ int max_speed; -+ int read_speed, write_speed; -+#ifdef __FreeBSD__ -+ struct cam_device *cam; -+#endif -+ -+ max_speed = -1; -+#ifdef __FreeBSD__ -+ cam = cam_open_device (device, O_RDWR); -+ if (cam == NULL) { -+ return -1; -+ } -+ -+ fd = cam->fd; -+#else -+ -+ fd = open (device, O_RDWR|O_EXCL|O_NONBLOCK); -+ if (fd < 0) { -+ return -1; -+ } -+#endif -+ -+ get_read_write_speed (fd, &read_speed, &write_speed); -+#ifdef __FreeBSD__ -+ cam_close_device (cam); -+#else -+ close (fd); -+#endif -+ max_speed = (int)floor (write_speed) / CD_ROM_SPEED; -+ -+ return max_speed; -+} - -+#if !defined(__linux) -+static int -+get_device_max_read_speed (char *device) -+{ -+ int fd; -+ int max_speed; -+ int read_speed, write_speed; -+#ifdef __FreeBSD__ -+ struct cam_device *cam; -+#endif - -+ max_speed = -1; -+#ifdef __FreeBSD__ -+ cam = cam_open_device (device, O_RDWR); -+ if (cam == NULL) { -+ return -1; -+ } -+ -+ fd = cam->fd; -+#else -+ -+ fd = open (device, O_RDWR|O_EXCL|O_NONBLOCK); -+ if (fd < 0) { -+ return -1; -+ } -+#endif - -+ get_read_write_speed (fd, &read_speed, &write_speed); -+#ifdef __FreeBSD__ -+ cam_close_device (cam); -+#else -+ close (fd); -+#endif -+ max_speed = (int)floor (read_speed) / CD_ROM_SPEED; -+ -+ return max_speed; -+} -+#endif - #endif /* __linux__ || __FreeBSD__ */ - - #if defined (__linux__) -@@ -1111,50 +1234,6 @@ - } - } - return NULL; --} -- --#if !defined(__linux) --static int --get_device_max_read_speed (char *device) --{ -- int fd; -- int max_speed; -- int read_speed, write_speed; -- -- max_speed = -1; -- -- if ((fd = open (device, O_RDWR | O_EXCL | O_NONBLOCK)) < 0 -- && (fd = open (device, O_RDONLY | O_EXCL | O_NONBLOCK)) < 0) { -- return -1; -- } -- -- get_read_write_speed (fd, &read_speed, &write_speed); -- close (fd); -- max_speed = (int)floor (read_speed) / CD_ROM_SPEED; -- -- return max_speed; --} --#endif -- --static int --get_device_max_write_speed (char *device) --{ -- int fd; -- int max_speed; -- int read_speed, write_speed; -- -- max_speed = -1; -- -- if ((fd = open (device, O_RDWR | O_EXCL | O_NONBLOCK)) < 0 -- && (fd = open (device, O_RDONLY | O_EXCL | O_NONBLOCK)) < 0) { -- return -1; -- } -- -- get_read_write_speed (fd, &read_speed, &write_speed); -- close (fd); -- max_speed = (int)floor (write_speed) / CD_ROM_SPEED; -- -- return max_speed; - } - - static char * diff --git a/sysutils/nautilus-cd-burner/files/patch-nautilus-cd-burner.c b/sysutils/nautilus-cd-burner/files/patch-nautilus-cd-burner.c deleted file mode 100644 index c545be7d5..000000000 --- a/sysutils/nautilus-cd-burner/files/patch-nautilus-cd-burner.c +++ /dev/null @@ -1,33 +0,0 @@ ---- nautilus-cd-burner.c.orig Mon Feb 28 19:40:05 2005 -+++ nautilus-cd-burner.c Mon Feb 28 20:05:56 2005 -@@ -23,6 +23,8 @@ - * Bastien Nocera <hadess@hadess.net> - */ - -+#include <sys/types.h> -+#include <sys/stat.h> - #include <gtk/gtk.h> - #include <gtk/gtkfilesel.h> - #include <gtk/gtkseparatormenuitem.h> -@@ -843,8 +845,19 @@ - } - - if (res == NAUTILUS_BURN_RECORDER_RESULT_RETRY) { -- g_free (filename); -- filename = g_build_filename (g_get_tmp_dir (), "image.iso.XXXXXX", NULL); -+ gchar *path1; -+ -+ path1 = g_strdup_printf ("%s/.ncb", g_get_home_dir()); -+ -+ if (!g_file_test (path1, G_FILE_TEST_EXISTS)) { -+ mkdir (path1, 0700); -+ } -+ -+ if (filename != NULL) { -+ g_free (filename); -+ } -+ 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 deleted file mode 100644 index 0bdde4f1a..000000000 --- a/sysutils/nautilus-cd-burner/pkg-descr +++ /dev/null @@ -1,2 +0,0 @@ -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 deleted file mode 100644 index 11913a6c1..000000000 --- a/sysutils/nautilus-cd-burner/pkg-message +++ /dev/null @@ -1,21 +0,0 @@ -====================================================================== -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 parantheses 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 deleted file mode 100644 index 3c9bbef70..000000000 --- a/sysutils/nautilus-cd-burner/pkg-plist +++ /dev/null @@ -1,84 +0,0 @@ -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.1 -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/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/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/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 |