summaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2003-09-20 12:17:22 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2003-09-20 12:17:22 +0800
commite3e8628062725f68ef6e4358b0c5cc750e83f3f7 (patch)
tree2810b6a3d3f4e9323485ef43c1acf0ee667c6113 /sysutils
parent2dd69647f082befcde0f49cec9aa58a1c179042e (diff)
downloadmarcuscom-ports-e3e8628062725f68ef6e4358b0c5cc750e83f3f7.tar
marcuscom-ports-e3e8628062725f68ef6e4358b0c5cc750e83f3f7.tar.gz
marcuscom-ports-e3e8628062725f68ef6e4358b0c5cc750e83f3f7.tar.bz2
marcuscom-ports-e3e8628062725f68ef6e4358b0c5cc750e83f3f7.tar.lz
marcuscom-ports-e3e8628062725f68ef6e4358b0c5cc750e83f3f7.tar.xz
marcuscom-ports-e3e8628062725f68ef6e4358b0c5cc750e83f3f7.tar.zst
marcuscom-ports-e3e8628062725f68ef6e4358b0c5cc750e83f3f7.zip
Fix n-c-b on -CURRENT where 'c' node entries for CD devices don't exist.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@1229 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/nautilus-cd-burner/Makefile35
-rw-r--r--sysutils/nautilus-cd-burner/distinfo1
-rw-r--r--sysutils/nautilus-cd-burner/files/patch-cd-drive.c37
-rw-r--r--sysutils/nautilus-cd-burner/files/patch-configure10
-rw-r--r--sysutils/nautilus-cd-burner/pkg-descr6
-rw-r--r--sysutils/nautilus-cd-burner/pkg-message21
-rw-r--r--sysutils/nautilus-cd-burner/pkg-plist59
7 files changed, 169 insertions, 0 deletions
diff --git a/sysutils/nautilus-cd-burner/Makefile b/sysutils/nautilus-cd-burner/Makefile
new file mode 100644
index 000000000..cc756a58a
--- /dev/null
+++ b/sysutils/nautilus-cd-burner/Makefile
@@ -0,0 +1,35 @@
+# 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.1 2003/09/18 07:03:06 marcus Exp $
+#
+
+PORTNAME= nautilus-cd-burner
+PORTVERSION= 0.5.3
+PORTREVISION= 1
+CATEGORIES= sysutils gnome
+MASTER_SITES= ${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR= sources/${PORTNAME}/0.5
+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"
+
+post-install:
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/sysutils/nautilus-cd-burner/distinfo b/sysutils/nautilus-cd-burner/distinfo
new file mode 100644
index 000000000..9bb594864
--- /dev/null
+++ b/sysutils/nautilus-cd-burner/distinfo
@@ -0,0 +1 @@
+MD5 (gnome2/nautilus-cd-burner-0.5.3.tar.bz2) = ba461f080a3ca63936c0c7cab46dd8d8
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..138791648
--- /dev/null
+++ b/sysutils/nautilus-cd-burner/files/patch-cd-drive.c
@@ -0,0 +1,37 @@
+--- cd-drive.c.orig Sat Sep 20 00:07:14 2003
++++ cd-drive.c Sat Sep 20 00:14:56 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);
+ }
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/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..0e601abc7
--- /dev/null
+++ b/sysutils/nautilus-cd-burner/pkg-plist
@@ -0,0 +1,59 @@
+bin/nautilus-cd-burner
+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/bn/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/hi/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/lv/LC_MESSAGES/nautilus-cd-burner.mo
+share/locale/mk/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/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