summaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2006-09-30 13:36:42 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2006-09-30 13:36:42 +0800
commitb6697196b80a41f0f917f7d768dfc8c1c6d3c24d (patch)
tree0321fb6e59118a10ca37ac543d998755e95ceb20 /sysutils
parentb6a90243144c57d886799845488c9d7e2b6c0dbd (diff)
downloadmarcuscom-ports-b6697196b80a41f0f917f7d768dfc8c1c6d3c24d.tar
marcuscom-ports-b6697196b80a41f0f917f7d768dfc8c1c6d3c24d.tar.gz
marcuscom-ports-b6697196b80a41f0f917f7d768dfc8c1c6d3c24d.tar.bz2
marcuscom-ports-b6697196b80a41f0f917f7d768dfc8c1c6d3c24d.tar.lz
marcuscom-ports-b6697196b80a41f0f917f7d768dfc8c1c6d3c24d.tar.xz
marcuscom-ports-b6697196b80a41f0f917f7d768dfc8c1c6d3c24d.tar.zst
marcuscom-ports-b6697196b80a41f0f917f7d768dfc8c1c6d3c24d.zip
Fix the plist for locale stuff.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7405 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/gnomebaker/Makefile56
-rw-r--r--sysutils/gnomebaker/distinfo3
-rw-r--r--sysutils/gnomebaker/files/patch-src-burn.c10
-rw-r--r--sysutils/gnomebaker/files/patch-src-devices.c98
-rw-r--r--sysutils/gnomebaker/files/patch-src-exec.c12
-rw-r--r--sysutils/gnomebaker/pkg-descr22
-rw-r--r--sysutils/gnomebaker/pkg-plist165
7 files changed, 366 insertions, 0 deletions
diff --git a/sysutils/gnomebaker/Makefile b/sysutils/gnomebaker/Makefile
new file mode 100644
index 000000000..a9cd9023c
--- /dev/null
+++ b/sysutils/gnomebaker/Makefile
@@ -0,0 +1,56 @@
+# New ports collection makefile for: gnomebaker
+# Date created: 2005-02-20
+# Whom: Dominique Goncalves <dominique.goncalves@gmail.com>
+#
+# $FreeBSD$
+
+PORTNAME= gnomebaker
+PORTVERSION= 0.5.1
+PORTREVISION= 1
+CATEGORIES= sysutils gnome
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= gnomebaker
+DIST_SUBDIR= gnome2
+
+MAINTAINER= dominique.goncalves@gmail.com
+COMMENT= A CD/DVD recording GUI for Gnome
+
+OPTIONS= DVD "Enable DVD support" off \
+ CJK "Use cdrtools-cjk instead of cdrtools" off
+
+USE_XLIB= yes
+USE_BZIP2= yes
+USE_GNOME= gnomeprefix gnomehack libgnomeui desktopfileutils
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+INSTALLS_OMF= yes
+USE_GCC= 3.4+
+USE_GETTEXT= yes
+USE_GSTREAMER80= vorbis mad flac
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+
+.include <bsd.port.pre.mk>
+
+RUN_DEPENDS+= cdrdao:${PORTSDIR}/sysutils/cdrdao
+
+.if defined(WITH_CJK)
+RUN_DEPENDS+= cdrecord:${PORTSDIR}/sysutils/cdrtools-cjk
+.else
+RUN_DEPENDS+= cdrecord:${PORTSDIR}/sysutils/cdrtools
+.endif
+
+.if defined(WITH_DVD)
+RUN_DEPENDS+= growisofs:${PORTSDIR}/sysutils/dvd+rw-tools
+.endif
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|docdir = $(datadir)/gnome/help/$(docname)/$(lang)|docdir = $(datadir)/help/$(docname)/$(lang)|' \
+ ${WRKSRC}/help/C/Makefile.in
+ @${REINPLACE_CMD} -e 's|Icon=@prefix@/share/gnomebaker/gnomebaker-48.png|Icon=@prefix@/share/gnome/gnomebaker/gnomebaker-48.png|' \
+ ${WRKSRC}/gnomebaker.desktop.in
+
+post-install:
+ @-update-desktop-database
+
+.include <bsd.port.post.mk>
diff --git a/sysutils/gnomebaker/distinfo b/sysutils/gnomebaker/distinfo
new file mode 100644
index 000000000..a017bf744
--- /dev/null
+++ b/sysutils/gnomebaker/distinfo
@@ -0,0 +1,3 @@
+MD5 (gnome2/gnomebaker-0.5.1.tar.bz2) = 45aef11c945904edc9fcf73e40eb2785
+SHA256 (gnome2/gnomebaker-0.5.1.tar.bz2) = 71a902cf66859a9eaeccedda2f400b978e5ef06911fce43da2ebb4a718e84d0c
+SIZE (gnome2/gnomebaker-0.5.1.tar.bz2) = 941026
diff --git a/sysutils/gnomebaker/files/patch-src-burn.c b/sysutils/gnomebaker/files/patch-src-burn.c
new file mode 100644
index 000000000..bdced90cd
--- /dev/null
+++ b/sysutils/gnomebaker/files/patch-src-burn.c
@@ -0,0 +1,10 @@
+--- src/burn.c.orig Thu Feb 9 21:31:51 2006
++++ src/burn.c Thu Feb 9 21:32:11 2006
+@@ -378,6 +378,7 @@
+ burn_run_process();
+ startdlg_delete(dlg);
+ }*/
++ void burn_test();
+ burn_test();
+ }
+
diff --git a/sysutils/gnomebaker/files/patch-src-devices.c b/sysutils/gnomebaker/files/patch-src-devices.c
new file mode 100644
index 000000000..f20367c19
--- /dev/null
+++ b/sysutils/gnomebaker/files/patch-src-devices.c
@@ -0,0 +1,98 @@
+--- src/devices.c.orig Fri Mar 24 20:07:57 2006
++++ src/devices.c Fri Mar 24 20:11:24 2006
+@@ -373,9 +373,9 @@
+ gchar* buffer = NULL;
+ exec_run_cmd(command, &buffer);
+ if(buffer == NULL)
+- g_critical("devices_probe_bus - Failed to scan the scsi bus");
++ g_warning("devices_probe_bus - Failed to scan the scsi bus");
+ else if(!devices_parse_cdrecord_output(buffer, bus))
+- g_critical("devices_probe_bus - failed to parse cdrecord output");
++ g_warning("devices_probe_bus - failed to parse cdrecord output");
+ else
+ ok = TRUE;
+ g_free(buffer);
+@@ -404,7 +404,7 @@
+ }
+ else
+ {
+- g_critical("Failed to open %s", file);
++ g_warning("Failed to open %s", file);
+ }
+ g_free(file);
+ }
+@@ -423,11 +423,11 @@
+ gchar **device_strs = NULL, **devices = NULL;
+ if((devices = gbcommon_get_file_as_list("/proc/scsi/sg/devices")) == NULL)
+ {
+- g_critical("Failed to open /proc/scsi/sg/devices");
++ g_warning("Failed to open /proc/scsi/sg/devices");
+ }
+ else if((device_strs = gbcommon_get_file_as_list("/proc/scsi/sg/device_strs")) == NULL)
+ {
+- g_critical("Failed to open /proc/scsi/sg/device_strs");
++ g_warning("Failed to open /proc/scsi/sg/device_strs");
+ }
+ else
+ {
+@@ -443,7 +443,7 @@
+ if(sscanf(*device, "%d\t%*d\t%d\t%d\t%d",
+ &scsihost, &scsiid, &scsilun, &scsitype) != 4)
+ {
+- g_critical("Error reading scsi information from /proc/scsi/sg/devices");
++ g_warning("Error reading scsi information from /proc/scsi/sg/devices");
+ }
+ /* 5 is the magic number according to lib-nautilus-burn */
+ else if(scsitype == 5)
+@@ -560,7 +560,7 @@
+ gchar **info = NULL;
+ if((info = gbcommon_get_file_as_list("/proc/sys/dev/cdrom/info")) == NULL)
+ {
+- g_critical("Failed to open /proc/sys/dev/cdrom/info");
++ g_warning("Failed to open /proc/sys/dev/cdrom/info");
+ }
+ else
+ {
+@@ -686,7 +686,7 @@
+ g_free(device);
+ if(cdrom < 0)
+ {
+- g_critical("Error opening device %s",device);
++ g_warning("Error opening device %s",device);
+ }
+ else
+ {
+@@ -695,10 +695,10 @@
+ if(ioctl(cdrom, CDIOCEJECT, 0) < 0)
+ ret = TRUE;
+ else
+- g_critical("devices_eject_disk - ioctl failed");
++ g_warning("devices_eject_disk - ioctl failed");
+ #else
+ if(ioctl(cdrom, CDROMEJECT, 0) < 0)
+- g_critical("devices_eject_disk - ioctl failed");
++ g_warning("devices_eject_disk - ioctl failed");
+ else
+ ret = TRUE;
+ #endif
+@@ -723,9 +723,9 @@
+
+ GString* buffer = exec_run_cmd(command);
+ if(buffer == NULL)
+- g_critical("devices_get_max_speed_for_drive - Failed to scan the scsi bus");
++ g_warning("devices_get_max_speed_for_drive - Failed to scan the scsi bus");
+ else if(!devices_parse_cdrecord_output(buffer->str, bus))
+- g_critical("devices_get_max_speed_for_drive - failed to parse cdrecord output");
++ g_warning("devices_get_max_speed_for_drive - failed to parse cdrecord output");
+ else
+ ok = TRUE;
+
+@@ -749,7 +749,7 @@
+ close(fd);
+ if (ret == -1)
+ {
+- g_critical("devices_is_disk_inserted - ioctl failed");
++ g_warning("devices_is_disk_inserted - ioctl failed");
+ }
+ else
+ {
diff --git a/sysutils/gnomebaker/files/patch-src-exec.c b/sysutils/gnomebaker/files/patch-src-exec.c
new file mode 100644
index 000000000..5f2073e50
--- /dev/null
+++ b/sysutils/gnomebaker/files/patch-src-exec.c
@@ -0,0 +1,12 @@
+--- src/exec.c.orig Thu Feb 9 21:22:24 2006
++++ src/exec.c Thu Feb 9 21:22:50 2006
+@@ -23,6 +23,9 @@
+ #include <sys/wait.h>
+ #include "gbcommon.h"
+
++#if defined (__FreeBSD__)
++#include <signal.h>
++#endif
+
+ static gint child_child_pipe[2];
+
diff --git a/sysutils/gnomebaker/pkg-descr b/sysutils/gnomebaker/pkg-descr
new file mode 100644
index 000000000..f1b402c70
--- /dev/null
+++ b/sysutils/gnomebaker/pkg-descr
@@ -0,0 +1,22 @@
+Gnomebaker is a gnome cd/dvd burn program. It can:
+
+ * Create data cds
+ * Blank rewritable disks
+ * Copy data cds
+ * Copy audio cds
+ * Burn existing cd iso images
+ * Drag and drop to create data cds (including DnD to and from nautilus)
+ * Create audio cds from existing wavs, mp3, flac and oggs
+ * Integrate with gconf for storage of application settings
+ * Burn DVDs.
+ * Supports multisession burning
+ * Blank/Format DVDs
+ * Burn Cue/Bin files
+ * Burn data cds on the fly
+
+In the future it will also do the following and hopefully much more:
+
+ * Create video cds from existing video and stills
+ * Create mixed mode cds
+
+WWW: http://gnomebaker.sourceforge.net/v2/
diff --git a/sysutils/gnomebaker/pkg-plist b/sysutils/gnomebaker/pkg-plist
new file mode 100644
index 000000000..337b6b9bd
--- /dev/null
+++ b/sysutils/gnomebaker/pkg-plist
@@ -0,0 +1,165 @@
+bin/gnomebaker
+share/gnome/applications/gnomebaker.desktop
+share/gnome/gnomebaker/BurnFailed.wav
+share/gnome/gnomebaker/BurnOk.wav
+share/gnome/gnomebaker/baker-add-dir.png
+share/gnome/gnomebaker/baker-add-files.png
+share/gnome/gnomebaker/baker-audio-copy.png
+share/gnome/gnomebaker/baker-blank-cdrw.png
+share/gnome/gnomebaker/baker-blank-dvdrw.png
+share/gnome/gnomebaker/baker-burn-cd.png
+share/gnome/gnomebaker/baker-cd-iso.png
+share/gnome/gnomebaker/baker-cd.png
+share/gnome/gnomebaker/baker-cue-image.png
+share/gnome/gnomebaker/baker-data-copy.png
+share/gnome/gnomebaker/baker-dvd-iso.png
+share/gnome/gnomebaker/baker-import-session.png
+share/gnome/gnomebaker/baker-remove-files.png
+share/gnome/gnomebaker/gnomebaker-48.png
+share/gnome/gnomebaker/gnomebaker.glade
+share/gnome/gnomebaker/splash_2.png
+share/gnome/gnomebaker/state00.png
+share/gnome/gnomebaker/state01.png
+share/gnome/gnomebaker/state02.png
+share/gnome/gnomebaker/state03.png
+share/gnome/gnomebaker/state04.png
+share/gnome/gnomebaker/state05.png
+share/gnome/gnomebaker/state06.png
+share/gnome/gnomebaker/state07.png
+share/gnome/gnomebaker/state08.png
+share/gnome/gnomebaker/state09.png
+share/gnome/gnomebaker/state10.png
+share/gnome/gnomebaker/state11.png
+share/gnome/gnomebaker/state12.png
+share/gnome/gnomebaker/state13.png
+share/gnome/help/gnomebaker/C/figures/gnomebaker-blank-cdrw.png
+share/gnome/help/gnomebaker/C/figures/gnomebaker-burn-iso.png
+share/gnome/help/gnomebaker/C/figures/gnomebaker-copy-audio-cd.png
+share/gnome/help/gnomebaker/C/figures/gnomebaker-copy-data-cd.png
+share/gnome/help/gnomebaker/C/figures/gnomebaker-create-audio-cd.png
+share/gnome/help/gnomebaker/C/figures/gnomebaker-create-data-cd.png
+share/gnome/help/gnomebaker/C/figures/gnomebaker_prefs-filebrowser.png
+share/gnome/help/gnomebaker/C/figures/gnomebaker_prefs-tmp.png
+share/gnome/help/gnomebaker/C/figures/gnomebaker_window.png
+share/gnome/help/gnomebaker/C/gnomebaker.xml
+share/gnome/help/gnomebaker/C/legal.xml
+share/gnome/omf/gnomebaker/gnomebaker-C.omf
+share/locale/af/LC_MESSAGES/gnomebaker.mo
+share/locale/az/LC_MESSAGES/gnomebaker.mo
+share/locale/bg/LC_MESSAGES/gnomebaker.mo
+share/locale/bo/LC_MESSAGES/gnomebaker.mo
+share/locale/ca/LC_MESSAGES/gnomebaker.mo
+share/locale/cs/LC_MESSAGES/gnomebaker.mo
+share/locale/da/LC_MESSAGES/gnomebaker.mo
+share/locale/de/LC_MESSAGES/gnomebaker.mo
+share/locale/de_AT/LC_MESSAGES/gnomebaker.mo
+share/locale/de_CH/LC_MESSAGES/gnomebaker.mo
+share/locale/de_DE/LC_MESSAGES/gnomebaker.mo
+share/locale/el/LC_MESSAGES/gnomebaker.mo
+share/locale/en/LC_MESSAGES/gnomebaker.mo
+share/locale/en_AU/LC_MESSAGES/gnomebaker.mo
+share/locale/en_CA/LC_MESSAGES/gnomebaker.mo
+share/locale/en_US/LC_MESSAGES/gnomebaker.mo
+share/locale/eo/LC_MESSAGES/gnomebaker.mo
+share/locale/es/LC_MESSAGES/gnomebaker.mo
+share/locale/es_AR/LC_MESSAGES/gnomebaker.mo
+share/locale/es_CO/LC_MESSAGES/gnomebaker.mo
+share/locale/es_CR/LC_MESSAGES/gnomebaker.mo
+share/locale/es_ES/LC_MESSAGES/gnomebaker.mo
+share/locale/es_MX/LC_MESSAGES/gnomebaker.mo
+share/locale/et/LC_MESSAGES/gnomebaker.mo
+share/locale/eu/LC_MESSAGES/gnomebaker.mo
+share/locale/eu_ES/LC_MESSAGES/gnomebaker.mo
+share/locale/fa/LC_MESSAGES/gnomebaker.mo
+share/locale/fi/LC_MESSAGES/gnomebaker.mo
+share/locale/fr/LC_MESSAGES/gnomebaker.mo
+share/locale/fr_CH/LC_MESSAGES/gnomebaker.mo
+share/locale/fr_FR/LC_MESSAGES/gnomebaker.mo
+share/locale/gl/LC_MESSAGES/gnomebaker.mo
+share/locale/he/LC_MESSAGES/gnomebaker.mo
+share/locale/hr/LC_MESSAGES/gnomebaker.mo
+share/locale/hu/LC_MESSAGES/gnomebaker.mo
+share/locale/is/LC_MESSAGES/gnomebaker.mo
+share/locale/it/LC_MESSAGES/gnomebaker.mo
+share/locale/it_IT/LC_MESSAGES/gnomebaker.mo
+share/locale/ja/LC_MESSAGES/gnomebaker.mo
+share/locale/ka/LC_MESSAGES/gnomebaker.mo
+share/locale/ko/LC_MESSAGES/gnomebaker.mo
+share/locale/lt/LC_MESSAGES/gnomebaker.mo
+share/locale/lv/LC_MESSAGES/gnomebaker.mo
+share/locale/mk/LC_MESSAGES/gnomebaker.mo
+share/locale/ml/LC_MESSAGES/gnomebaker.mo
+share/locale/ms/LC_MESSAGES/gnomebaker.mo
+share/locale/nb/LC_MESSAGES/gnomebaker.mo
+share/locale/nl/LC_MESSAGES/gnomebaker.mo
+share/locale/nl_BE/LC_MESSAGES/gnomebaker.mo
+share/locale/nl_NL/LC_MESSAGES/gnomebaker.mo
+share/locale/no/LC_MESSAGES/gnomebaker.mo
+share/locale/pa/LC_MESSAGES/gnomebaker.mo
+share/locale/pl/LC_MESSAGES/gnomebaker.mo
+share/locale/pt/LC_MESSAGES/gnomebaker.mo
+share/locale/pt_BR/LC_MESSAGES/gnomebaker.mo
+share/locale/pt_PT/LC_MESSAGES/gnomebaker.mo
+share/locale/ro/LC_MESSAGES/gnomebaker.mo
+share/locale/ru/LC_MESSAGES/gnomebaker.mo
+share/locale/sk/LC_MESSAGES/gnomebaker.mo
+share/locale/sl/LC_MESSAGES/gnomebaker.mo
+share/locale/sr/LC_MESSAGES/gnomebaker.mo
+share/locale/st/LC_MESSAGES/gnomebaker.mo
+share/locale/sv/LC_MESSAGES/gnomebaker.mo
+share/locale/sv_SE/LC_MESSAGES/gnomebaker.mo
+share/locale/te/LC_MESSAGES/gnomebaker.mo
+share/locale/tl/LC_MESSAGES/gnomebaker.mo
+share/locale/tr/LC_MESSAGES/gnomebaker.mo
+share/locale/uk/LC_MESSAGES/gnomebaker.mo
+share/locale/urd/LC_MESSAGES/gnomebaker.mo
+share/locale/yi/LC_MESSAGES/gnomebaker.mo
+share/locale/zh/LC_MESSAGES/gnomebaker.mo
+share/locale/zh_CN/LC_MESSAGES/gnomebaker.mo
+share/locale/zh_HK/LC_MESSAGES/gnomebaker.mo
+share/locale/zh_TW/LC_MESSAGES/gnomebaker.mo
+@dirrmtry share/locale/bo/LC_MESSAGES
+@dirrmtry share/locale/bo
+@dirrmtry share/locale/de_AT/LC_MESSAGES
+@dirrmtry share/locale/de_AT
+@dirrmtry share/locale/de_CH/LC_MESSAGES
+@dirrmtry share/locale/de_CH
+@dirrmtry share/locale/de_DE/LC_MESSAGES
+@dirrmtry share/locale/de_DE
+@dirrmtry share/locale/en_AU/LC_MESSAGES
+@dirrmtry share/locale/en_AU
+@dirrmtry share/locale/es_AR/LC_MESSAGES
+@dirrmtry share/locale/es_AR
+@dirrmtry share/locale/es_CO/LC_MESSAGES
+@dirrmtry share/locale/es_CO
+@dirrmtry share/locale/es_CR/LC_MESSAGES
+@dirrmtry share/locale/es_CR
+@dirrmtry share/locale/eu_ES/LC_MESSAGES
+@dirrmtry share/locale/eu_ES
+@dirrmtry share/locale/fr_CH/LC_MESSAGES
+@dirrmtry share/locale/fr_CH
+@dirrmtry share/locale/fr_FR/LC_MESSAGES
+@dirrmtry share/locale/fr_FR
+@dirrmtry share/locale/it_IT/LC_MESSAGES
+@dirrmtry share/locale/it_IT
+@dirrmtry share/locale/st/LC_MESSAGES
+@dirrmtry share/locale/st
+@dirrmtry share/locale/nl_BE/LC_MESSAGES
+@dirrmtry share/locale/nl_BE
+@dirrmtry share/locale/tl/LC_MESSAGES
+@dirrmtry share/locale/tl
+@dirrmtry share/locale/urd/LC_MESSAGES
+@dirrmtry share/locale/urd
+@dirrmtry share/locale/en_US/LC_MESSAGES
+@dirrmtry share/locale/en_US
+@dirrmtry share/locale/nl_NL/LC_MESSAGES
+@dirrmtry share/locale/nl_NL
+@dirrmtry share/locale/sv_SE/LC_MESSAGES
+@dirrmtry share/locale/sv_SE
+@dirrm share/gnome/omf/gnomebaker
+@dirrm share/gnome/help/gnomebaker/C/figures
+@dirrm share/gnome/help/gnomebaker/C
+@dirrm share/gnome/help/gnomebaker
+@dirrm share/gnome/gnomebaker
+@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
+@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true