diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2003-11-14 11:48:40 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2003-11-14 11:48:40 +0800 |
commit | 5051194bb4ed6564c697a7ea42bbea0b3ee63bbe (patch) | |
tree | 8eb9e54c64cee65f710a8383ea54bf1274e4db65 /sysutils | |
parent | ccdd95fb14c2ff1115c35f8d444e65a3dd27c896 (diff) | |
download | marcuscom-ports-5051194bb4ed6564c697a7ea42bbea0b3ee63bbe.tar marcuscom-ports-5051194bb4ed6564c697a7ea42bbea0b3ee63bbe.tar.gz marcuscom-ports-5051194bb4ed6564c697a7ea42bbea0b3ee63bbe.tar.bz2 marcuscom-ports-5051194bb4ed6564c697a7ea42bbea0b3ee63bbe.tar.lz marcuscom-ports-5051194bb4ed6564c697a7ea42bbea0b3ee63bbe.tar.xz marcuscom-ports-5051194bb4ed6564c697a7ea42bbea0b3ee63bbe.tar.zst marcuscom-ports-5051194bb4ed6564c697a7ea42bbea0b3ee63bbe.zip |
Update to 0.6.0.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@1324 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/nautilus-cd-burner/Makefile | 44 | ||||
-rw-r--r-- | sysutils/nautilus-cd-burner/distinfo | 1 | ||||
-rw-r--r-- | sysutils/nautilus-cd-burner/files/patch-cd-drive.c | 46 | ||||
-rw-r--r-- | sysutils/nautilus-cd-burner/files/patch-configure | 10 | ||||
-rw-r--r-- | sysutils/nautilus-cd-burner/files/patch-make-iso.c | 18 | ||||
-rw-r--r-- | sysutils/nautilus-cd-burner/pkg-descr | 6 | ||||
-rw-r--r-- | sysutils/nautilus-cd-burner/pkg-message | 21 | ||||
-rw-r--r-- | sysutils/nautilus-cd-burner/pkg-plist | 63 |
8 files changed, 209 insertions, 0 deletions
diff --git a/sysutils/nautilus-cd-burner/Makefile b/sysutils/nautilus-cd-burner/Makefile new file mode 100644 index 000000000..8fdcc249c --- /dev/null +++ b/sysutils/nautilus-cd-burner/Makefile @@ -0,0 +1,44 @@ +# 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.4 2003/10/02 19:22:43 marcus Exp $ +# + +PORTNAME= nautilus-cd-burner +PORTVERSION= 0.6.0 +CATEGORIES= sysutils gnome +MASTER_SITES= ${MASTER_SITE_GNOME} +MASTER_SITE_SUBDIR= sources/${PORTNAME}/0.6 +DIST_SUBDIR= gnome2 + +MAINTAINER= gnome@FreeBSD.org +COMMENT= CD burner view for Nautilus + +RUN_DEPENDS= mkisofs:${PORTSDIR}/sysutils/mkisofs \ + cdrecord:${PORTSDIR}/sysutils/cdrtools + +USE_BZIP2= yes +USE_X_PREFIX= yes +USE_REINPLACE= yes +USE_GMAKE= yes +GNOME_DESKTOP_VERSION=2 +USE_GNOME= gnomeprefix gnomehack nautilus2 +USE_LIBTOOL= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" + +.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 + +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..b4788cc13 --- /dev/null +++ b/sysutils/nautilus-cd-burner/distinfo @@ -0,0 +1 @@ +MD5 (gnome2/nautilus-cd-burner-0.6.0.tar.bz2) = 293703619bf27798ee193eb5db8c0a59 diff --git a/sysutils/nautilus-cd-burner/files/patch-cd-drive.c b/sysutils/nautilus-cd-burner/files/patch-cd-drive.c new file mode 100644 index 000000000..3d6e63b6f --- /dev/null +++ b/sysutils/nautilus-cd-burner/files/patch-cd-drive.c @@ -0,0 +1,46 @@ +--- cd-drive.c.orig Mon Sep 8 15:24:07 2003 ++++ cd-drive.c Thu Oct 2 13:09:02 2003 +@@ -702,6 +702,7 @@ + int speed = 16; /* XXX Hardcode the write speed for now. */ + int max_speed = CDR_MAX_SPEED; + int i = 0; ++ int cnode = 1; /* Use the CD device's 'c' node. */ + + while (1) { + CDDriveType type; +@@ -714,7 +715,12 @@ + + if (!g_file_test (cam_path, G_FILE_TEST_EXISTS)) { + g_free (cam_path); +- break; ++ cam_path = g_strdup_printf ("/dev/%s%d", dev_type, i); ++ cnode = 0; ++ if (!g_file_test (cam_path, G_FILE_TEST_EXISTS)) { ++ g_free (cam_path); ++ break; ++ } + } + + if ((cam_dev = cam_open_spec_device (dev_type, i, O_RDWR, NULL)) == NULL) { +@@ -725,7 +731,11 @@ + + /* XXX Other controllers might need to be added. */ + if ((strncmp (cam_dev->sim_name, "ata", 3)) == 0) { +- dev = g_strdup_printf ("/dev/a%s%dc", dev_type, i); ++ if (cnode) { ++ dev = g_strdup_printf ("/dev/a%s%dc", dev_type, i); ++ } else { ++ dev = g_strdup_printf ("/dev/a%s%d", dev_type, i); ++ } + } else { + dev = g_strdup (cam_path); + } +@@ -742,7 +752,7 @@ + type |= CDDRIVE_TYPE_CD_DRIVE; + if (ioctl (fd, CDRIOCWRITESPEED, &max_speed) >= 0) { + /* XXX is it CD-R or CD-RW ? */ +- type |= CDDRIVE_TYPE_CD_RECORDER; ++ type |= CDDRIVE_TYPE_CDRW_RECORDER; + } + + close (fd); diff --git a/sysutils/nautilus-cd-burner/files/patch-configure b/sysutils/nautilus-cd-burner/files/patch-configure new file mode 100644 index 000000000..ff42da02d --- /dev/null +++ b/sysutils/nautilus-cd-burner/files/patch-configure @@ -0,0 +1,10 @@ +--- configure.orig Wed Dec 11 15:37:55 2002 ++++ configure Wed Dec 11 15:38:17 2002 +@@ -7313,6 +7313,7 @@ + + # This can be used to rebuild libtool when needed + LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" ++$ac_aux_dir/ltconfig $LIBTOOL_DEPS + + # Always use our own libtool. + LIBTOOL='$(SHELL) $(top_builddir)/libtool' 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..958fe4cd0 --- /dev/null +++ b/sysutils/nautilus-cd-burner/files/patch-make-iso.c @@ -0,0 +1,18 @@ +--- make-iso.c.orig Mon Sep 8 21:24:07 2003 ++++ make-iso.c Thu Oct 2 21:06:43 2003 +@@ -545,6 +545,7 @@ + argv[i++] = "mkisofs"; + argv[i++] = "-r"; + argv[i++] = "-J"; ++ argv[i++] = "-joliet-long"; + argv[i++] = "-graft-points"; + argv[i++] = "-path-list"; + argv[i++] = filelist; +@@ -598,6 +599,7 @@ + argv[i++] = "mkisofs"; + argv[i++] = "-r"; + argv[i++] = "-J"; ++ argv[i++] = "-joliet-long"; + argv[i++] = "-graft-points"; + argv[i++] = "-path-list"; + argv[i++] = filelist; diff --git a/sysutils/nautilus-cd-burner/pkg-descr b/sysutils/nautilus-cd-burner/pkg-descr new file mode 100644 index 000000000..c3520e981 --- /dev/null +++ b/sysutils/nautilus-cd-burner/pkg-descr @@ -0,0 +1,6 @@ +nautilus-cd-burner is an extension to Nautilus that makes it easy to +write files to a CD burner. + +The user uses Nautilus or another gnome-vfs aware app to copy the +files he wants to write to burn:///, and then nautilus-cd-burner is +launched in some way to write the files to the CD. diff --git a/sysutils/nautilus-cd-burner/pkg-message b/sysutils/nautilus-cd-burner/pkg-message new file mode 100644 index 000000000..11913a6c1 --- /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 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 new file mode 100644 index 000000000..d4e5254f8 --- /dev/null +++ b/sysutils/nautilus-cd-burner/pkg-plist @@ -0,0 +1,63 @@ +bin/nautilus-cd-burner +etc/gconf/gconf.xml.defaults/apps/nautilus-cd-burner/%gconf.xml +etc/gconf/gconf.xml.defaults/schemas/apps/nautilus-cd-burner/%gconf.xml +etc/gconf/schemas/ncb.schemas +etc/gnome-vfs-2.0/modules/mapping-modules.conf +lib/gnome-vfs-2.0/modules/libmapping.so +libdata/bonobo/servers/Nautilus_CD_Burner_Context_Menu.server +libexec/mapping-daemon +libexec/nautilus-cd-burner-context-menu +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/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/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/es/LC_MESSAGES/nautilus-cd-burner.mo +share/locale/et/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/he/LC_MESSAGES/nautilus-cd-burner.mo +share/locale/hu/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/ms/LC_MESSAGES/nautilus-cd-burner.mo +share/locale/nl/LC_MESSAGES/nautilus-cd-burner.mo +share/locale/no/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/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 etc/gconf/gconf.xml.defaults/schemas/apps/nautilus-cd-burner +@dirrm etc/gconf/gconf.xml.defaults/apps/nautilus-cd-burner |