mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
burnitnow: remove old recipe and patchset.
This commit is contained in:
@@ -1,53 +0,0 @@
|
||||
SUMMARY="An application to burn audio and data CDs"
|
||||
DESCRIPTION="BurnItNow is a GUI frontend for cdrecord and mkisofs. \
|
||||
It supports creating audio and data CDs, as well as burning ISO images, \
|
||||
making 1:1 copies and blanking CD-RWs (the blanking depends very much \
|
||||
on the used hardware and its configuration)."
|
||||
HOMEPAGE="https://github.com/HaikuArchives/BurnItNow"
|
||||
COPYRIGHT="2010-2016 BurnItNow Team"
|
||||
LICENSE="MIT"
|
||||
REVISION="4"
|
||||
SOURCE_URI="https://github.com/HaikuArchives/BurnItNow/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="e1a03cbc0d7fa26a589c4e88cc827318ccf2468da394262fd2fb95120efcfefd"
|
||||
SOURCE_DIR="BurnItNow-$portVersion"
|
||||
PATCHES="$portVersionedName.patchset"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
|
||||
PROVIDES="
|
||||
burnitnow$secondaryArchSuffix = $portVersion
|
||||
app:BurnItNow = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
cmd:cdrecord
|
||||
cmd:mkisofs
|
||||
cmd:readcd
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
makefile_engine
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cd Source
|
||||
make $jobArgs OBJ_DIR=objects
|
||||
make bindcatalogs OBJ_DIR=objects
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $appsDir $docDir
|
||||
|
||||
cp Source/objects/BurnItNow $appsDir
|
||||
cp -r Docs/* $docDir/
|
||||
|
||||
addAppDeskbarSymlink $appsDir/BurnItNow
|
||||
}
|
||||
@@ -1,175 +0,0 @@
|
||||
From 1a267c7e9168a06138082b1c0e283d23b22b0be1 Mon Sep 17 00:00:00 2001
|
||||
From: Philippe Houdoin <philippe.houdoin@gmail.com>
|
||||
Date: Wed, 25 Oct 2017 15:43:10 +0000
|
||||
Subject: Fix static call to be_control_look
|
||||
|
||||
|
||||
diff --git a/Source/BurnWindow.cpp b/Source/BurnWindow.cpp
|
||||
index 78d9eab..f262695 100644
|
||||
--- a/Source/BurnWindow.cpp
|
||||
+++ b/Source/BurnWindow.cpp
|
||||
@@ -45,7 +45,6 @@ const uint32 kDeviceChangeMessage[MAX_DEVICES]
|
||||
= { 'DVC0', 'DVC1', 'DVC2', 'DVC3', 'DVC4' };
|
||||
|
||||
static const BString kWebsiteUrl = "https://github.com/HaikuArchives/BurnItNow";
|
||||
-static const float kControlPadding = be_control_look->DefaultItemSpacing();
|
||||
|
||||
// Misc variables
|
||||
sdevice devices[MAX_DEVICES];
|
||||
@@ -223,6 +222,8 @@ BurnWindow::_CreateMenuBar()
|
||||
BView*
|
||||
BurnWindow::_CreateToolBar()
|
||||
{
|
||||
+ const float kControlPadding = be_control_look->DefaultItemSpacing();
|
||||
+
|
||||
BGroupView* groupView = new BGroupView(B_HORIZONTAL, kControlPadding);
|
||||
|
||||
fSessionMenu = new BMenu("SessionMenu");
|
||||
diff --git a/Source/CompilationAudioView.cpp b/Source/CompilationAudioView.cpp
|
||||
index 9c67b94..907b78e 100644
|
||||
--- a/Source/CompilationAudioView.cpp
|
||||
+++ b/Source/CompilationAudioView.cpp
|
||||
@@ -22,18 +22,18 @@
|
||||
#undef B_TRANSLATION_CONTEXT
|
||||
#define B_TRANSLATION_CONTEXT "Audio view"
|
||||
|
||||
-static const float kControlPadding = be_control_look->DefaultItemSpacing();
|
||||
-
|
||||
// Message constants
|
||||
const int32 kBurnerMessage = 'Brnr';
|
||||
const int32 kBurnDiscMessage = 'BURN';
|
||||
|
||||
CompilationAudioView::CompilationAudioView(BurnWindow& parent)
|
||||
:
|
||||
- BView(B_TRANSLATE("Audio"), B_WILL_DRAW, new BGroupLayout(B_VERTICAL,
|
||||
- kControlPadding)),
|
||||
+ BView(B_TRANSLATE("Audio"), B_WILL_DRAW, new BGroupLayout(B_VERTICAL)),
|
||||
fBurnerThread(NULL)
|
||||
{
|
||||
+ const float kControlPadding = be_control_look->DefaultItemSpacing();
|
||||
+ SetLayout(new BGroupLayout(B_VERTICAL, kControlPadding));
|
||||
+
|
||||
windowParent = &parent;
|
||||
|
||||
SetViewColor(ui_color(B_PANEL_BACKGROUND_COLOR));
|
||||
diff --git a/Source/CompilationCDRWView.cpp b/Source/CompilationCDRWView.cpp
|
||||
index 92c7e2a..14c35d6 100644
|
||||
--- a/Source/CompilationCDRWView.cpp
|
||||
+++ b/Source/CompilationCDRWView.cpp
|
||||
@@ -18,19 +18,19 @@
|
||||
#undef B_TRANSLATION_CONTEXT
|
||||
#define B_TRANSLATION_CONTEXT "Blank view"
|
||||
|
||||
-static const float kControlPadding = be_control_look->DefaultItemSpacing();
|
||||
-
|
||||
// Message constants
|
||||
const int32 kBlankMessage = 'Blnk';
|
||||
const int32 kBlankerMessage = 'Blkr';
|
||||
|
||||
CompilationCDRWView::CompilationCDRWView(BurnWindow& parent)
|
||||
:
|
||||
- BView(B_TRANSLATE("Blank CD-RW"), B_WILL_DRAW,
|
||||
- new BGroupLayout(B_VERTICAL, kControlPadding)),
|
||||
+ BView(B_TRANSLATE("Blank CD-RW"), B_WILL_DRAW),
|
||||
fOpenPanel(NULL),
|
||||
fBlankerThread(NULL)
|
||||
{
|
||||
+ const float kControlPadding = be_control_look->DefaultItemSpacing();
|
||||
+ SetLayout(new BGroupLayout(B_VERTICAL, kControlPadding));
|
||||
+
|
||||
windowParent = &parent;
|
||||
|
||||
SetViewColor(ui_color(B_PANEL_BACKGROUND_COLOR));
|
||||
diff --git a/Source/CompilationCloneView.cpp b/Source/CompilationCloneView.cpp
|
||||
index 41d8a51..b947745 100644
|
||||
--- a/Source/CompilationCloneView.cpp
|
||||
+++ b/Source/CompilationCloneView.cpp
|
||||
@@ -18,8 +18,6 @@
|
||||
#undef B_TRANSLATION_CONTEXT
|
||||
#define B_TRANSLATION_CONTEXT "Clone view"
|
||||
|
||||
-static const float kControlPadding = be_control_look->DefaultItemSpacing();
|
||||
-
|
||||
// Message constants
|
||||
const int32 kCreateImageMessage = 'Crat';
|
||||
const int32 kBurnImageMessage = 'Wrte';
|
||||
@@ -34,11 +32,13 @@ int selectedSrcDevice;
|
||||
|
||||
CompilationCloneView::CompilationCloneView(BurnWindow& parent)
|
||||
:
|
||||
- BView(B_TRANSLATE("Clone"), B_WILL_DRAW,
|
||||
- new BGroupLayout(B_VERTICAL, kControlPadding)),
|
||||
+ BView(B_TRANSLATE("Clone"), B_WILL_DRAW),
|
||||
fOpenPanel(NULL),
|
||||
fClonerThread(NULL)
|
||||
{
|
||||
+ const float kControlPadding = be_control_look->DefaultItemSpacing();
|
||||
+ SetLayout(new BGroupLayout(B_VERTICAL, kControlPadding));
|
||||
+
|
||||
windowParent = &parent;
|
||||
|
||||
SetViewColor(ui_color(B_PANEL_BACKGROUND_COLOR));
|
||||
diff --git a/Source/CompilationDataView.cpp b/Source/CompilationDataView.cpp
|
||||
index e781c0a..c55aaaa 100644
|
||||
--- a/Source/CompilationDataView.cpp
|
||||
+++ b/Source/CompilationDataView.cpp
|
||||
@@ -20,8 +20,6 @@
|
||||
|
||||
#include <compat/sys/stat.h>
|
||||
|
||||
-static const float kControlPadding = be_control_look->DefaultItemSpacing();
|
||||
-
|
||||
// Message constants
|
||||
const int32 kChooseDirectoryMessage = 'Cusd';
|
||||
const int32 kBurnerMessage = 'Brnr';
|
||||
@@ -32,13 +30,15 @@ const int32 kNoPathMessage = 'Noph'; // defined in PathView
|
||||
|
||||
CompilationDataView::CompilationDataView(BurnWindow& parent)
|
||||
:
|
||||
- BView(B_TRANSLATE("Data"), B_WILL_DRAW,
|
||||
- new BGroupLayout(B_VERTICAL, kControlPadding)),
|
||||
+ BView(B_TRANSLATE("Data"), B_WILL_DRAW),
|
||||
fOpenPanel(NULL),
|
||||
fBurnerThread(NULL),
|
||||
fDirPath(new BPath()),
|
||||
fImagePath(new BPath())
|
||||
{
|
||||
+ const float kControlPadding = be_control_look->DefaultItemSpacing();
|
||||
+ SetLayout(new BGroupLayout(B_VERTICAL, kControlPadding));
|
||||
+
|
||||
windowParent = &parent;
|
||||
step = 0;
|
||||
|
||||
diff --git a/Source/CompilationImageView.cpp b/Source/CompilationImageView.cpp
|
||||
index 409d872..dbed907 100644
|
||||
--- a/Source/CompilationImageView.cpp
|
||||
+++ b/Source/CompilationImageView.cpp
|
||||
@@ -22,8 +22,6 @@
|
||||
#undef B_TRANSLATION_CONTEXT
|
||||
#define B_TRANSLATION_CONTEXT "Image view"
|
||||
|
||||
-static const float kControlPadding = be_control_look->DefaultItemSpacing();
|
||||
-
|
||||
// Message constants
|
||||
const int32 kBurnImageMessage = 'Burn';
|
||||
const int32 kChooseImageMessage = 'Chus';
|
||||
@@ -33,12 +31,14 @@ const int32 kNoPathMessage = 'Noph'; // defined in PathView
|
||||
|
||||
CompilationImageView::CompilationImageView(BurnWindow& parent)
|
||||
:
|
||||
- BView(B_TRANSLATE("Image file"), B_WILL_DRAW,
|
||||
- new BGroupLayout(B_VERTICAL, kControlPadding)),
|
||||
+ BView(B_TRANSLATE("Image file"), B_WILL_DRAW),
|
||||
fOpenPanel(NULL),
|
||||
fImagePath(new BPath()),
|
||||
fImageParserThread(NULL)
|
||||
{
|
||||
+ const float kControlPadding = be_control_look->DefaultItemSpacing();
|
||||
+ SetLayout(new BGroupLayout(B_VERTICAL, kControlPadding));
|
||||
+
|
||||
windowParent = &parent;
|
||||
step = 0;
|
||||
|
||||
--
|
||||
2.14.2
|
||||
|
||||
Reference in New Issue
Block a user