Debian Codegraph @

packaging/snapcraft/patches/freac-1.1.6-pre-snap.patch

raw
1 --- a/src/gui/main_joblist.cpp 2021-11-21 00:32:49.932028800 +0100
2 +++ b/src/gui/main_joblist.cpp 2021-11-21 00:48:21.714986000 +0100
3 @@ -139,7 +139,7 @@
4
5 if (boca.GetNumberOfComponentsOfType(COMPONENT_TYPE_OUTPUT) > 0)
6 {
7 - pos.x = 242;
8 + pos.x = 220;
9 pos.y = 0;
10
11 player = new PlaybackWidget(freacGUI::Get()->GetPlayer(), joblist);
12 --- a/src/gui/playback.cpp 2021-05-25 17:45:53.358170200 +0200
13 +++ b/src/gui/playback.cpp 2021-11-21 00:47:15.628381000 +0100
14 @@ -32,7 +32,7 @@
15 Point pos;
16 Size size;
17
18 - pos.x = -1 + (i18n->IsActiveLanguageRightToLeft() ? 215 : 0);
19 + pos.x = -1 + (i18n->IsActiveLanguageRightToLeft() ? 193 : 0);
20 pos.y = -1;
21 size.cx = 25;
22 size.cy = 25;
23 @@ -53,7 +53,7 @@
24 button_stop->onAction.Connect(&PlaybackWidget::StopPlayback, this);
25 button_stop->SetFlags(BF_NOFRAME);
26
27 - pos.x += 127 - (i18n->IsActiveLanguageRightToLeft() ? 254 : 0);
28 + pos.x += 127 - (i18n->IsActiveLanguageRightToLeft() ? 232 : 0);
29
30 button_prev = new Button(ImageLoader::Load(String(config->resourcesPath).Append("icons/player/player-previous.png")), pos, size);
31 button_prev->onAction.Connect(&PlaybackWidget::PlayPreviousItem, this);
32 @@ -70,6 +70,7 @@
33 button_open = new Button(ImageLoader::Load(String(config->resourcesPath).Append("icons/player/player-eject.png")), pos, size);
34 button_open->onAction.Connect(&PlaybackWidget::OpenCDTray, this);
35 button_open->SetFlags(BF_NOFRAME);
36 + button_open->Hide();
37
38 pos.x = 69;
39 pos.y += 4;
40 @@ -99,7 +100,7 @@
41
42 BoCA::Settings::Get()->onChangeLanguageSettings.Connect(&PlaybackWidget::OnChangeLanguageSettings, this);
43
44 - SetSize(Size(243, 21));
45 + SetSize(Size(221, 21));
46 }
47
48 freac::PlaybackWidget::~PlaybackWidget()
49 @@ -145,7 +146,7 @@
50
51 Point pos;
52
53 - pos.x = -1 + (i18n->IsActiveLanguageRightToLeft() ? 215 : 0);
54 + pos.x = -1 + (i18n->IsActiveLanguageRightToLeft() ? 193 : 0);
55 pos.y = -1;
56
57 button_play->SetPosition(pos);
58 @@ -158,7 +159,7 @@
59
60 button_stop->SetPosition(pos);
61
62 - pos.x += 127 - (i18n->IsActiveLanguageRightToLeft() ? 254 : 0);
63 + pos.x += 127 - (i18n->IsActiveLanguageRightToLeft() ? 232 : 0);
64
65 button_prev->SetPosition(pos);
66
67 @@ -175,7 +176,7 @@
68 button_stop->Show();
69 button_prev->Show();
70 button_next->Show();
71 - button_open->Show();
72 +// button_open->Show();
73
74 slider_play->SetValue(1000 - slider_play->GetValue());
75 }
76 --- a/src/jobs/engine/convert.cpp 2021-11-21 00:32:49.933028500 +0100
77 +++ b/src/jobs/engine/convert.cpp 2021-11-21 00:38:27.006564300 +0100
78 @@ -279,7 +279,7 @@
79 Bool removeProcessedTracks = configuration->GetIntValue(Config::CategorySettingsID, Config::SettingsRemoveTracksID, Config::SettingsRemoveTracksDefault);
80 Bool addEncodedTracks = configuration->GetIntValue(Config::CategorySettingsID, Config::SettingsAddEncodedTracksID, Config::SettingsAddEncodedTracksDefault);
81
82 - Bool ripperEjectDisc = configuration->GetIntValue(Config::CategoryRipperID, Config::RipperEjectAfterRippingID, Config::RipperEjectAfterRippingDefault);
83 + Bool ripperEjectDisc = False;
84
85 Bool createPlaylist = configuration->GetIntValue(Config::CategoryPlaylistID, Config::PlaylistCreatePlaylistID, Config::PlaylistCreatePlaylistDefault);
86 Bool createCueSheet = configuration->GetIntValue(Config::CategoryPlaylistID, Config::PlaylistCreateCueSheetID, Config::PlaylistCreateCueSheetDefault);
87 --- a/src/startconsole.cpp 2021-06-27 13:08:06.542302900 +0200
88 +++ b/src/startconsole.cpp 2021-11-21 00:39:26.542658600 +0100
89 @@ -293,7 +293,7 @@
90
91 Console::SetTitle(String(freac::appName).Append(" ").Append(freac::version));
92
93 - if ((files.Length() == 0 && !ScanForProgramOption("--eject")) || helpenc != NIL)
94 + if (files.Length() == 0 || helpenc != NIL)
95 {
96 ShowHelp(helpenc);
97
98 @@ -493,20 +493,6 @@
99 DeleteObject(joblist);
100 }
101
102 - /* Eject disc if requested.
103 - */
104 - if (ScanForProgramOption("--eject") && !stopped)
105 - {
106 - DeviceInfoComponent *info = boca.CreateDeviceInfoComponent();
107 -
108 - if (info != NIL)
109 - {
110 - info->OpenNthDeviceTray(cdDrive.ToInt() < numDrives ? cdDrive.ToInt() : 0);
111 -
112 - boca.DeleteComponent(info);
113 - }
114 - }
115 -
116 /* Wait for jobs to finish.
117 */
118 const Array<Job *> &jobs = Job::GetRunningJobs();
119 @@ -1033,8 +1019,7 @@
120 Console::OutputString(" --drive=<n|id> | -cd <n|id>\tSpecify active CD drive (0..n or device path)\n");
121 Console::OutputString(" --track=<n> | -t <n>\tSpecify input track(s) to rip (e.g. 1-5,7,9 or 'all')\n");
122 Console::OutputString(" --timeout=<s>\t\t\tTimeout for CD track ripping (disabled by default)\n");
123 - Console::OutputString(" --cddb\t\t\tEnable CDDB database lookup\n");
124 - Console::OutputString(" --eject\t\t\tEject disc after ripping\n\n");
125 + Console::OutputString(" --cddb\t\t\tEnable CDDB database lookup\n\n");
126 }
127
128 boca.DeleteComponent(info);