Import discwrapper-1.2.2
DiscWrapper is a cover designer for homemade discs. It supports standard CD-DVD, slim CD-DVD cases and disc designing.
This commit is contained in:
parent
911bcc2ef9
commit
87a344ec9e
30
graphics/discwrapper/Makefile
Normal file
30
graphics/discwrapper/Makefile
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
# $OpenBSD: Makefile,v 1.1.1.1 2009/08/07 14:14:59 ajacoutot Exp $
|
||||||
|
|
||||||
|
COMMENT= disc cover designer
|
||||||
|
|
||||||
|
DISTNAME= discwrapper-1.2.2
|
||||||
|
CATEGORIES= graphics
|
||||||
|
|
||||||
|
HOMEPAGE= http://discwrapper.sourceforge.net/
|
||||||
|
|
||||||
|
# GPLv3
|
||||||
|
PERMIT_PACKAGE_CDROM= Yes
|
||||||
|
PERMIT_PACKAGE_FTP= Yes
|
||||||
|
PERMIT_DISTFILES_CDROM= Yes
|
||||||
|
PERMIT_DISTFILES_FTP= Yes
|
||||||
|
|
||||||
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=discwrapper/}
|
||||||
|
|
||||||
|
WANTLIB += c m pthread stdc++
|
||||||
|
|
||||||
|
RUN_DEPENDS= :desktop-file-utils-*:devel/desktop-file-utils \
|
||||||
|
:shared-mime-info->=0.21:misc/shared-mime-info
|
||||||
|
|
||||||
|
LIB_DEPENDS= wx_base.>=1,wx_base_net,wx_base_odbc,wx_base_xml,wx_gtk2_adv,wx_gtk2_aui,wx_gtk2_core,wx_gtk2_dbgrid,wx_gtk2_html,wx_gtk2_qa,wx_gtk2_richtext,wx_gtk2_xrc::x11/wxWidgets
|
||||||
|
|
||||||
|
CONFIGURE_STYLE=gnu
|
||||||
|
|
||||||
|
pre-configure:
|
||||||
|
${SUBST_CMD} ${WRKSRC}/src/DiscWrapperApp.cpp
|
||||||
|
|
||||||
|
.include <bsd.port.mk>
|
5
graphics/discwrapper/distinfo
Normal file
5
graphics/discwrapper/distinfo
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
MD5 (discwrapper-1.2.2.tar.gz) = YAP+9Zbc2m5ncb/d3aZG/Q==
|
||||||
|
RMD160 (discwrapper-1.2.2.tar.gz) = G3BCT/1KthEC+imF5ogMhU6c+Ko=
|
||||||
|
SHA1 (discwrapper-1.2.2.tar.gz) = HeFmWqWgheCWmtVXh2t8Dirp7u8=
|
||||||
|
SHA256 (discwrapper-1.2.2.tar.gz) = YSl1d6w81niTFn+8qK7Wdk+F+KsgdgB4sNouo5cKkeY=
|
||||||
|
SIZE (discwrapper-1.2.2.tar.gz) = 669244
|
15
graphics/discwrapper/patches/patch-configure
Normal file
15
graphics/discwrapper/patches/patch-configure
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
$OpenBSD: patch-configure,v 1.1.1.1 2009/08/07 14:14:59 ajacoutot Exp $
|
||||||
|
|
||||||
|
Our wxWidgets version is a bit older than the requested one.
|
||||||
|
|
||||||
|
--- configure.orig Sun Jun 21 14:25:23 2009
|
||||||
|
+++ configure Fri Aug 7 14:30:32 2009
|
||||||
|
@@ -3173,7 +3173,7 @@ else
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
-reqwx=2.8.8
|
||||||
|
+reqwx=2.8.7
|
||||||
|
|
||||||
|
if test x${WX_CONFIG_NAME+set} != xset ; then
|
||||||
|
WX_CONFIG_NAME=wx-config
|
61
graphics/discwrapper/patches/patch-src_DiscWrapperApp_cpp
Normal file
61
graphics/discwrapper/patches/patch-src_DiscWrapperApp_cpp
Normal file
@ -0,0 +1,61 @@
|
|||||||
|
$OpenBSD: patch-src_DiscWrapperApp_cpp,v 1.1.1.1 2009/08/07 14:14:59 ajacoutot Exp $
|
||||||
|
|
||||||
|
XXX locales does not play nice on OpenBSD.
|
||||||
|
Do not hardcode paths.
|
||||||
|
|
||||||
|
--- src/DiscWrapperApp.cpp.orig Sun Jun 7 23:31:54 2009
|
||||||
|
+++ src/DiscWrapperApp.cpp Fri Aug 7 16:08:20 2009
|
||||||
|
@@ -45,27 +45,6 @@ bool DiscWrapperApp::OnInit()
|
||||||
|
wxFile file;
|
||||||
|
wxString path, tipsdir;
|
||||||
|
int LANG = wxLANGUAGE_DEFAULT;
|
||||||
|
- switch(wxLocale::GetSystemLanguage()){
|
||||||
|
- case wxLANGUAGE_GERMAN:
|
||||||
|
- case wxLANGUAGE_GERMAN_AUSTRIAN:
|
||||||
|
- case wxLANGUAGE_GERMAN_BELGIUM:
|
||||||
|
- case wxLANGUAGE_GERMAN_LIECHTENSTEIN:
|
||||||
|
- case wxLANGUAGE_GERMAN_LUXEMBOURG:
|
||||||
|
- case wxLANGUAGE_GERMAN_SWISS:
|
||||||
|
- LANG = wxLANGUAGE_GERMAN;
|
||||||
|
- break;
|
||||||
|
- case wxLANGUAGE_ENGLISH:
|
||||||
|
- case wxLANGUAGE_HUNGARIAN:
|
||||||
|
- case wxLANGUAGE_DANISH:
|
||||||
|
- case wxLANGUAGE_SPANISH:
|
||||||
|
- case wxLANGUAGE_SWEDISH:
|
||||||
|
- case wxLANGUAGE_POLISH:
|
||||||
|
- LANG = wxLANGUAGE_GERMAN;
|
||||||
|
- break;
|
||||||
|
- default:
|
||||||
|
- LANG = wxLANGUAGE_ENGLISH;
|
||||||
|
- break;
|
||||||
|
- }
|
||||||
|
|
||||||
|
|
||||||
|
CFs.LocalDir();
|
||||||
|
@@ -89,11 +68,11 @@ bool DiscWrapperApp::OnInit()
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
- m_locale = new wxLocale( LANG );
|
||||||
|
+ m_locale = new wxLocale( wxLANGUAGE_DEFAULT );
|
||||||
|
|
||||||
|
#if defined(__UNIX__)
|
||||||
|
- if ( wxFile::Exists(_T("/usr/local/share/discwrapper/printermodels")) == true )
|
||||||
|
- path = _T("/usr/local/share/discwrapper/po");
|
||||||
|
+ if ( wxFile::Exists(_T("${LOCALBASE}/share/discwrapper/printermodels")) == true )
|
||||||
|
+ path = _T("${LOCALBASE}/share/discwrapper/po");
|
||||||
|
else
|
||||||
|
path = _T("/usr/share/discwrapper/po");
|
||||||
|
#elif defined(__WXMSW__)
|
||||||
|
@@ -164,8 +143,8 @@ bool DiscWrapperApp::OnInit()
|
||||||
|
}
|
||||||
|
|
||||||
|
#if defined(__UNIX__)
|
||||||
|
- if ( wxFile::Exists(_T("/usr/local/share/discwrapper/printermodels")) == true )
|
||||||
|
- path = _T("/usr/local/share/discwrapper");
|
||||||
|
+ if ( wxFile::Exists(_T("${LOCALBASE}/share/discwrapper/printermodels")) == true )
|
||||||
|
+ path = _T("${LOCALBASE}/share/discwrapper");
|
||||||
|
else
|
||||||
|
path = _T("/usr/share/discwrapper");
|
||||||
|
#elif defined(__WXMSW__)
|
2
graphics/discwrapper/pkg/DESCR
Normal file
2
graphics/discwrapper/pkg/DESCR
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
DiscWrapper is a cover designer for homemade discs. It supports standard
|
||||||
|
CD-DVD, slim CD-DVD cases and disc designing.
|
94
graphics/discwrapper/pkg/PLIST
Normal file
94
graphics/discwrapper/pkg/PLIST
Normal file
@ -0,0 +1,94 @@
|
|||||||
|
@comment $OpenBSD: PLIST,v 1.1.1.1 2009/08/07 14:14:59 ajacoutot Exp $
|
||||||
|
@bin bin/discwrapper
|
||||||
|
share/applications/discwrapper.desktop
|
||||||
|
share/discwrapper/
|
||||||
|
share/discwrapper/License.txt
|
||||||
|
share/discwrapper/icons/
|
||||||
|
share/discwrapper/icons/CD-Slim.png
|
||||||
|
share/discwrapper/icons/CD-Standard.png
|
||||||
|
share/discwrapper/icons/DVD-Slim.png
|
||||||
|
share/discwrapper/icons/DVD-Standard.png
|
||||||
|
share/discwrapper/icons/DW-icon.png
|
||||||
|
share/discwrapper/icons/button/
|
||||||
|
share/discwrapper/icons/button/acenter.png
|
||||||
|
share/discwrapper/icons/button/aleft.png
|
||||||
|
share/discwrapper/icons/button/aright.png
|
||||||
|
share/discwrapper/icons/button/colour.png
|
||||||
|
share/discwrapper/icons/button/fit.png
|
||||||
|
share/discwrapper/icons/button/font.png
|
||||||
|
share/discwrapper/icons/button/pdown.png
|
||||||
|
share/discwrapper/icons/button/pup.png
|
||||||
|
share/discwrapper/icons/cursor/
|
||||||
|
share/discwrapper/icons/cursor/ES.png
|
||||||
|
share/discwrapper/icons/cursor/NE.png
|
||||||
|
share/discwrapper/icons/cursor/NESW.png
|
||||||
|
share/discwrapper/icons/cursor/NSWE.png
|
||||||
|
share/discwrapper/icons/cursor/NWSE.png
|
||||||
|
share/discwrapper/icons/cursor/SW.png
|
||||||
|
share/discwrapper/icons/cursor/WE.png
|
||||||
|
share/discwrapper/icons/cursor/WN.png
|
||||||
|
share/discwrapper/icons/menu/
|
||||||
|
share/discwrapper/icons/menu/export.png
|
||||||
|
share/discwrapper/icons/menu/gtk-about.png
|
||||||
|
share/discwrapper/icons/menu/view-refresh_s.png
|
||||||
|
share/discwrapper/icons/menu/window-close.png
|
||||||
|
share/discwrapper/icons/menu/zoom-fit-best_b.png
|
||||||
|
share/discwrapper/icons/menu/zoom-fit-best_s.png
|
||||||
|
share/discwrapper/icons/menu/zoom-in_b.png
|
||||||
|
share/discwrapper/icons/menu/zoom-in_s.png
|
||||||
|
share/discwrapper/icons/menu/zoom-out_b.png
|
||||||
|
share/discwrapper/icons/menu/zoom-out_s.png
|
||||||
|
share/discwrapper/imagestore/
|
||||||
|
share/discwrapper/imagestore/a_Data_yellow.png
|
||||||
|
share/discwrapper/imagestore/b_Photos-yellow.png
|
||||||
|
share/discwrapper/imagestore/c_Music_notes.png
|
||||||
|
share/discwrapper/patterns/
|
||||||
|
share/discwrapper/patterns/ntfou.jpg
|
||||||
|
share/discwrapper/patterns/wtres.jpg
|
||||||
|
share/discwrapper/po/
|
||||||
|
share/discwrapper/po/da/
|
||||||
|
share/discwrapper/po/da/discwrapper.mo
|
||||||
|
share/discwrapper/po/da/discwrapper.po
|
||||||
|
share/discwrapper/po/da/tips.txt
|
||||||
|
share/discwrapper/po/de/
|
||||||
|
share/discwrapper/po/de/discwrapper.mo
|
||||||
|
share/discwrapper/po/de/discwrapper.po
|
||||||
|
share/discwrapper/po/de/tips.txt
|
||||||
|
share/discwrapper/po/en/
|
||||||
|
share/discwrapper/po/en/tips.txt
|
||||||
|
share/discwrapper/po/es/
|
||||||
|
share/discwrapper/po/es/discwrapper.mo
|
||||||
|
share/discwrapper/po/es/discwrapper.po
|
||||||
|
share/discwrapper/po/es/tips.txt
|
||||||
|
share/discwrapper/po/hu/
|
||||||
|
share/discwrapper/po/hu/discwrapper.mo
|
||||||
|
share/discwrapper/po/hu/discwrapper.po
|
||||||
|
share/discwrapper/po/hu/tips.txt
|
||||||
|
share/discwrapper/po/pl/
|
||||||
|
share/discwrapper/po/pl/discwrapper.mo
|
||||||
|
share/discwrapper/po/pl/discwrapper.po
|
||||||
|
share/discwrapper/po/pl/tips.txt
|
||||||
|
share/discwrapper/po/sv/
|
||||||
|
share/discwrapper/po/sv/discwrapper.mo
|
||||||
|
share/discwrapper/po/sv/discwrapper.po
|
||||||
|
share/discwrapper/po/sv/tips.txt
|
||||||
|
share/discwrapper/printermodels
|
||||||
|
share/discwrapper/templates/
|
||||||
|
share/discwrapper/templates/no-background/
|
||||||
|
share/discwrapper/templates/no-background.dwtp
|
||||||
|
share/discwrapper/templates/no-background/no-background.dwt
|
||||||
|
share/discwrapper/templates/no-background/thumbnail.jpg
|
||||||
|
share/discwrapper/templates/simple-design/
|
||||||
|
share/discwrapper/templates/simple-design.dwtp
|
||||||
|
share/discwrapper/templates/simple-design/cdmain.jpg
|
||||||
|
share/discwrapper/templates/simple-design/dvdsl.jpg
|
||||||
|
share/discwrapper/templates/simple-design/dvdst.jpg
|
||||||
|
share/discwrapper/templates/simple-design/simple-design.dwt
|
||||||
|
share/discwrapper/templates/simple-design/thumbnail.jpg
|
||||||
|
share/mime/packages/discwrapper.xml
|
||||||
|
share/pixmaps/
|
||||||
|
share/pixmaps/discwrapper.png
|
||||||
|
@exec %D/bin/update-mime-database %D/share/mime
|
||||||
|
@unexec %D/bin/update-mime-database %D/share/mime
|
||||||
|
@exec %D/bin/update-desktop-database
|
||||||
|
@unexec %D/bin/update-desktop-database
|
Loading…
Reference in New Issue
Block a user