From 68bbbf5b3bf453a8df293dab77060dc0c35612f3 Mon Sep 17 00:00:00 2001 From: kili Date: Sat, 30 Jun 2007 21:52:02 +0000 Subject: [PATCH] ISO Master is an open-source, easy to use, GUI CD image editor. Basically you can use this program to extract files from an ISO, add files to an ISO, and create bootable ISOs. It can open both ISO and NRG files but can only save as ISO. From Giovanni Bechis (And this time in the correct directory) --- x11/isomaster/Makefile | 31 ++++++++ x11/isomaster/distinfo | 5 ++ x11/isomaster/patches/patch-Makefile | 60 ++++++++++++++ x11/isomaster/patches/patch-icons_Makefile | 19 +++++ x11/isomaster/patches/patch-po_Makefile | 18 +++++ x11/isomaster/pkg/DESCR | 4 + x11/isomaster/pkg/PLIST | 91 ++++++++++++++++++++++ 7 files changed, 228 insertions(+) create mode 100644 x11/isomaster/Makefile create mode 100644 x11/isomaster/distinfo create mode 100644 x11/isomaster/patches/patch-Makefile create mode 100644 x11/isomaster/patches/patch-icons_Makefile create mode 100644 x11/isomaster/patches/patch-po_Makefile create mode 100644 x11/isomaster/pkg/DESCR create mode 100644 x11/isomaster/pkg/PLIST diff --git a/x11/isomaster/Makefile b/x11/isomaster/Makefile new file mode 100644 index 00000000000..5eccc3c0e69 --- /dev/null +++ b/x11/isomaster/Makefile @@ -0,0 +1,31 @@ +COMMENT= "gui cd image editor" + +DISTNAME= isomaster-1.0 +PKGNAME= ${DISTNAME} +CATEGORIES= x11 +HOMEPAGE= http://littlesvr.ca/isomaster/ + +MAINTAINER= Giovanni Bechis + +# GPL +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +EXTRACT_SUFX= .tar.bz2 + +MASTER_SITES= ${HOMEPAGE}/releases/ + +LIB_DEPENDS= gdk_pixbuf-2.0,gdk-x11-2.0,gtk-x11-2.0::x11/gtk+2 + +WANTLIB= c iconv intl m X11 Xau Xcursor Xdmcp Xext Xfixes \ + Xi Xinerama Xrandr Xrender expat fontconfig freetype \ + atk-1.0 glib-2.0 gmodule-2.0 gobject-2.0 glitz png \ + pango-1.0 pangoft2-1.0 pangocairo-1.0 cairo z + +USE_X11= Yes +USE_GMAKE= Yes +NO_REGRESS= Yes + +.include diff --git a/x11/isomaster/distinfo b/x11/isomaster/distinfo new file mode 100644 index 00000000000..a2c4aaaf05f --- /dev/null +++ b/x11/isomaster/distinfo @@ -0,0 +1,5 @@ +MD5 (isomaster-1.0.tar.bz2) = a7t4GhtzSZ08DG2WFSHNnQ== +RMD160 (isomaster-1.0.tar.bz2) = ZpnvRSEpQyT4aC7bh3PnD1dZg5I= +SHA1 (isomaster-1.0.tar.bz2) = rvpI0jXqu6YKclthmLriNH3Af4s= +SHA256 (isomaster-1.0.tar.bz2) = cDPW/FxGdMYsPuqqXrT5gJ561oQYFIAjI/I9pdLiUeE= +SIZE (isomaster-1.0.tar.bz2) = 149982 diff --git a/x11/isomaster/patches/patch-Makefile b/x11/isomaster/patches/patch-Makefile new file mode 100644 index 00000000000..306daf22562 --- /dev/null +++ b/x11/isomaster/patches/patch-Makefile @@ -0,0 +1,60 @@ +$OpenBSD: patch-Makefile,v 1.1.1.1 2007/06/30 21:52:02 kili Exp $ +--- Makefile.orig Mon May 28 02:50:20 2007 ++++ Makefile Fri Jun 22 22:25:37 2007 +@@ -1,5 +1,5 @@ + # Other paths are relative to this. +-PREFIX ?= /usr/local ++PREFIX ?= ${PREFIX} + + # Where to install the executable. + BINPATH ?= $(PREFIX)/bin +@@ -14,7 +14,7 @@ export ICONPATH ?= $(PREFIX)/share/isomaster/icons + export LOCALEDIR ?= $(PREFIX)/share/locale + + # Where to install the man page. +-MYMANPATH ?= $(PREFIX)/share/man/man1 ++MYMANPATH ?= $(PREFIX)/man/man1 + + # Where to install the .desktop file + DESKTOPPATH ?= $(PREFIX)/share/applications +@@ -50,7 +50,7 @@ OBJECTS = isomaster.o window.o browser.o fsbrowser.o i + all: isomaster translations isomaster.desktop + + isomaster: $(OBJECTS) lib iniparser +- $(CC) $(OBJECTS) bk/bk.a iniparser-2.15/libiniparser.a $(CFLAGS) $(CPPFLAGS) `pkg-config --libs gtk+-2.0`-o isomaster ++ $(CC) $(OBJECTS) bk/bk.a iniparser-2.15/libiniparser.a $(CFLAGS) $(CPPFLAGS) `pkg-config --libs gtk+-2.0` -o isomaster + + # static pattern rule + $(OBJECTS): %.o: %.c bk/bk.h Makefile +@@ -82,22 +82,22 @@ endif + # for info about DESTDIR see http://www.gnu.org/prep/standards/html_node/DESTDIR.html + + install: all +- $(INSTALL) -d $(DESTDIR)$(BINPATH) +- $(INSTALL) isomaster $(DESTDIR)$(BINPATH) ++ $(INSTALL) -d $(BINPATH) ++ $(INSTALL) isomaster $(BINPATH) + cd icons && $(MAKE) install + ifndef WITHOUT_NLS + cd po && $(MAKE) install + endif +- $(INSTALL) -d $(DESTDIR)$(MYMANPATH) +- $(INSTALL) -m 644 isomaster.1 $(DESTDIR)$(MYMANPATH) +- $(INSTALL) -d $(DESTDIR)$(DESKTOPPATH) +- $(INSTALL) -m 644 isomaster.desktop $(DESTDIR)$(DESKTOPPATH) ++ $(INSTALL) -d $(MYMANPATH) ++ $(INSTALL) -m 644 isomaster.1 $(MYMANPATH) ++ $(INSTALL) -d $(DESKTOPPATH) ++ $(INSTALL) -m 644 isomaster.desktop $(DESKTOPPATH) + + uninstall: +- $(RM) $(DESTDIR)$(BINPATH)/isomaster ++ $(RM) $(BINPATH)/isomaster + cd icons && $(MAKE) uninstall + ifndef WITHOUT_NLS + cd po && $(MAKE) uninstall + endif +- $(RM) $(DESTDIR)$(MYMANPATH)/isomaster.1 +- $(RM) $(DESTDIR)$(DESKTOPPATH)/isomaster.desktop ++ $(RM) $(MYMANPATH)/isomaster.1 ++ $(RM) $(DESKTOPPATH)/isomaster.desktop diff --git a/x11/isomaster/patches/patch-icons_Makefile b/x11/isomaster/patches/patch-icons_Makefile new file mode 100644 index 00000000000..88c120c4c74 --- /dev/null +++ b/x11/isomaster/patches/patch-icons_Makefile @@ -0,0 +1,19 @@ +$OpenBSD: patch-icons_Makefile,v 1.1.1.1 2007/06/30 21:52:02 kili Exp $ +--- icons/Makefile.orig Thu Jan 18 20:45:09 2007 ++++ icons/Makefile Fri Jun 22 22:04:31 2007 +@@ -3,12 +3,12 @@ + ICONS = isomaster.png go-back-kearone.png folder-new-kearone.png add2-kearone.png extract2-kearone.png delete-kearone.png + + install: +- $(INSTALL) -d $(DESTDIR)$(ICONPATH) ++ $(INSTALL) -d $(ICONPATH) + for NAME in $(ICONS); do \ +- $(INSTALL) -v -m 644 $$NAME $(DESTDIR)$(ICONPATH); \ ++ $(INSTALL) -m 644 $$NAME $(ICONPATH); \ + done + + uninstall: + for NAME in $(ICONS); do \ +- $(RM) -v $(DESTDIR)$(ICONPATH)/$$NAME; \ ++ $(RM) -v $(ICONPATH)/$$NAME; \ + done diff --git a/x11/isomaster/patches/patch-po_Makefile b/x11/isomaster/patches/patch-po_Makefile new file mode 100644 index 00000000000..7f6c67fdf2c --- /dev/null +++ b/x11/isomaster/patches/patch-po_Makefile @@ -0,0 +1,18 @@ +$OpenBSD: patch-po_Makefile,v 1.1.1.1 2007/06/30 21:52:02 kili Exp $ +--- po/Makefile.orig Sat Jun 9 22:36:06 2007 ++++ po/Makefile Fri Jun 22 22:04:09 2007 +@@ -15,11 +15,11 @@ clean: + + install: all + for NAME in $(MOFILES); do \ +- $(INSTALL) -v -d $(DESTDIR)$(LOCALEDIR)/`basename $$NAME .mo`/LC_MESSAGES; \ +- $(INSTALL) -v -m 644 $$NAME $(DESTDIR)$(LOCALEDIR)/`basename $$NAME .mo`/LC_MESSAGES/isomaster.mo; \ ++ $(INSTALL) -d $(LOCALEDIR)/`basename $$NAME .mo`/LC_MESSAGES; \ ++ $(INSTALL) -m 644 $$NAME $(LOCALEDIR)/`basename $$NAME .mo`/LC_MESSAGES/isomaster.mo; \ + done + + uninstall: + for NAME in $(MOFILES); do \ +- $(RM) -v $(DESTDIR)$(LOCALEDIR)/`basename $$NAME .mo`/LC_MESSAGES/isomaster.mo; \ ++ $(RM) -v $(LOCALEDIR)/`basename $$NAME .mo`/LC_MESSAGES/isomaster.mo; \ + done diff --git a/x11/isomaster/pkg/DESCR b/x11/isomaster/pkg/DESCR new file mode 100644 index 00000000000..3dd939c01b5 --- /dev/null +++ b/x11/isomaster/pkg/DESCR @@ -0,0 +1,4 @@ +ISO Master is an open-source, easy to use, GUI CD image editor. +Basically you can use this program to extract files from an ISO, +add files to an ISO, and create bootable ISOs. +It can open both ISO and NRG files but can only save as ISO. diff --git a/x11/isomaster/pkg/PLIST b/x11/isomaster/pkg/PLIST new file mode 100644 index 00000000000..d1fbf31bc28 --- /dev/null +++ b/x11/isomaster/pkg/PLIST @@ -0,0 +1,91 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2007/06/30 21:52:02 kili Exp $ +bin/isomaster +@man man/man1/isomaster.1 +share/applications/ +share/applications/isomaster.desktop +share/isomaster/ +share/isomaster/icons/ +share/isomaster/icons/add2-kearone.png +share/isomaster/icons/delete-kearone.png +share/isomaster/icons/extract2-kearone.png +share/isomaster/icons/folder-new-kearone.png +share/isomaster/icons/go-back-kearone.png +share/isomaster/icons/isomaster.png +share/locale/ +share/locale/bg/ +share/locale/bg/LC_MESSAGES/ +share/locale/bg/LC_MESSAGES/isomaster.mo +share/locale/ca/ +share/locale/ca/LC_MESSAGES/ +share/locale/ca/LC_MESSAGES/isomaster.mo +share/locale/cs/ +share/locale/cs/LC_MESSAGES/ +share/locale/cs/LC_MESSAGES/isomaster.mo +share/locale/de/ +share/locale/de/LC_MESSAGES/ +share/locale/de/LC_MESSAGES/isomaster.mo +share/locale/el/ +share/locale/el/LC_MESSAGES/ +share/locale/el/LC_MESSAGES/isomaster.mo +share/locale/es/ +share/locale/es/LC_MESSAGES/ +share/locale/es/LC_MESSAGES/isomaster.mo +share/locale/fi/ +share/locale/fi/LC_MESSAGES/ +share/locale/fi/LC_MESSAGES/isomaster.mo +share/locale/fr/ +share/locale/fr/LC_MESSAGES/ +share/locale/fr/LC_MESSAGES/isomaster.mo +share/locale/hr/ +share/locale/hr/LC_MESSAGES/ +share/locale/hr/LC_MESSAGES/isomaster.mo +share/locale/it/ +share/locale/it/LC_MESSAGES/ +share/locale/it/LC_MESSAGES/isomaster.mo +share/locale/nb/ +share/locale/nb/LC_MESSAGES/ +share/locale/nb/LC_MESSAGES/isomaster.mo +share/locale/nl/ +share/locale/nl/LC_MESSAGES/ +share/locale/nl/LC_MESSAGES/isomaster.mo +share/locale/nn/ +share/locale/nn/LC_MESSAGES/ +share/locale/nn/LC_MESSAGES/isomaster.mo +share/locale/pl/ +share/locale/pl/LC_MESSAGES/ +share/locale/pl/LC_MESSAGES/isomaster.mo +share/locale/pt/ +share/locale/pt/LC_MESSAGES/ +share/locale/pt/LC_MESSAGES/isomaster.mo +share/locale/ro/ +share/locale/ro/LC_MESSAGES/ +share/locale/ro/LC_MESSAGES/isomaster.mo +share/locale/ru/ +share/locale/ru/LC_MESSAGES/ +share/locale/ru/LC_MESSAGES/isomaster.mo +share/locale/sk/ +share/locale/sk/LC_MESSAGES/ +share/locale/sk/LC_MESSAGES/isomaster.mo +share/locale/sq/ +share/locale/sq/LC_MESSAGES/ +share/locale/sq/LC_MESSAGES/isomaster.mo +share/locale/sr@Latn/ +share/locale/sr@Latn/LC_MESSAGES/ +share/locale/sr@Latn/LC_MESSAGES/isomaster.mo +share/locale/sr@latin/ +share/locale/sr@latin/LC_MESSAGES/ +share/locale/sr@latin/LC_MESSAGES/isomaster.mo +share/locale/sv/ +share/locale/sv/LC_MESSAGES/ +share/locale/sv/LC_MESSAGES/isomaster.mo +share/locale/uk/ +share/locale/uk/LC_MESSAGES/ +share/locale/uk/LC_MESSAGES/isomaster.mo +share/locale/zh_CN/ +share/locale/zh_CN/LC_MESSAGES/ +share/locale/zh_CN/LC_MESSAGES/isomaster.mo +share/locale/zh_TW/ +share/locale/zh_TW/LC_MESSAGES/ +share/locale/zh_TW/LC_MESSAGES/isomaster.mo +@exec %D/bin/update-desktop-database +@unexec %D/bin/update-desktop-database