mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
- remove a missed shlib version from LIB_DEPENDS
- add a patch to make the content pane of the vlaunch window scrollable the patch has been sent upstream on 24 Dec., but there is still no feedback Approved by: flo (maintainer)
This commit is contained in:
parent
21210f7aef
commit
6b670e968d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=311053
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= vavoom
|
||||
PORTVERSION= 1.33
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= games
|
||||
MASTER_SITES= SF/${PORTNAME}/Vavoom-source/${PORTVERSION}
|
||||
|
||||
@ -36,7 +36,7 @@ CFLAGS:= ${CFLAGS:N-fno-strict-aliasing}
|
||||
CXXFLAGS:= ${CFLAGS:N-fno-strict-aliasing}
|
||||
|
||||
.if ${PORT_OPTIONS:MALLEGRO}
|
||||
LIB_DEPENDS+= alleg.42:${PORTSDIR}/devel/allegro
|
||||
LIB_DEPENDS+= alleg:${PORTSDIR}/devel/allegro
|
||||
CMAKE_ARGS+= -DWITH_ALLEGRO=Y
|
||||
.else
|
||||
CMAKE_ARGS+= -DWITH_ALLEGRO=N
|
||||
|
78
games/vavoom/files/patch-utils__vlaunch__vlaunch.cpp
Normal file
78
games/vavoom/files/patch-utils__vlaunch__vlaunch.cpp
Normal file
@ -0,0 +1,78 @@
|
||||
--- utils/vlaunch/vlaunch.cpp.orig 2011-01-01 12:51:56.000000000 +0100
|
||||
+++ utils/vlaunch/vlaunch.cpp 2012-12-24 00:17:28.000000000 +0100
|
||||
@@ -145,7 +145,7 @@
|
||||
wxNotebook* nbook = new wxNotebook(panel, -1, wxPoint(0, 105), wxSize(447, 270));
|
||||
mainsizer->Add(nbook);
|
||||
|
||||
- wxPanel* page = new wxPanel(nbook);
|
||||
+ wxScrolledWindow* page = new wxScrolledWindow(nbook);
|
||||
nbook->AddPage(page, wxT("Main"));
|
||||
wxFlexGridSizer* gsizer = new wxFlexGridSizer(2);
|
||||
|
||||
@@ -185,12 +185,17 @@
|
||||
gsizer->Add(EditMisc, 0, wxALL, 4);
|
||||
page->SetSizer(gsizer);
|
||||
gsizer->Layout();
|
||||
+ gsizer->FitInside(page);
|
||||
+ page->SetScrollRate(10, 10);
|
||||
|
||||
// Video options
|
||||
- page = new wxPanel(nbook);
|
||||
+ page = new wxScrolledWindow(nbook);
|
||||
nbook->AddPage(page, wxT("Video"));
|
||||
wxFlexGridSizer* vsizer = new wxFlexGridSizer(2);
|
||||
|
||||
+ vsizer->Add(new wxStaticText(page, -1, wxT(" ")), 0, wxALL, 4);
|
||||
+ vsizer->Add(new wxStaticText(page, -1, wxT(" ")), 0, wxALL, 4);
|
||||
+
|
||||
vsizer->Add(new wxStaticText(page, -1, wxT("Renderer:")), 0, wxALL, 4);
|
||||
wxString RendChoices[2];
|
||||
RendChoices[0] = wxT("OpenGL");
|
||||
@@ -237,9 +242,11 @@
|
||||
vsizer->Add(Particles, 0, wxALL, 4);
|
||||
page->SetSizer(vsizer);
|
||||
vsizer->Layout();
|
||||
+ vsizer->FitInside(page);
|
||||
+ page->SetScrollRate(10, 10);
|
||||
|
||||
// Sound options
|
||||
- page = new wxPanel(nbook);
|
||||
+ page = new wxScrolledWindow(nbook);
|
||||
nbook->AddPage(page, wxT("Sound"));
|
||||
wxFlexGridSizer* ssizer = new wxFlexGridSizer(2);
|
||||
|
||||
@@ -272,9 +279,11 @@
|
||||
ssizer->Add(PatchFiles, 0, wxALL, 4);
|
||||
page->SetSizer(ssizer);
|
||||
ssizer->Layout();
|
||||
+ ssizer->FitInside(page);
|
||||
+ page->SetScrollRate(10, 10);
|
||||
|
||||
// Input options
|
||||
- page = new wxPanel(nbook);
|
||||
+ page = new wxScrolledWindow(nbook);
|
||||
nbook->AddPage(page, wxT("Input"));
|
||||
wxFlexGridSizer* isizer = new wxFlexGridSizer(2);
|
||||
|
||||
@@ -297,9 +306,11 @@
|
||||
isizer->Add(MouseY, 0, wxALL, 4);
|
||||
page->SetSizer(isizer);
|
||||
isizer->Layout();
|
||||
+ isizer->FitInside(page);
|
||||
+ page->SetScrollRate(10, 10);
|
||||
|
||||
// Network options
|
||||
- page = new wxPanel(nbook);
|
||||
+ page = new wxScrolledWindow(nbook);
|
||||
nbook->AddPage(page, wxT("Network"));
|
||||
gsizer = new wxFlexGridSizer(2);
|
||||
gsizer->AddSpacer(1);
|
||||
@@ -331,6 +342,8 @@
|
||||
gsizer->Add(EditMasterIPAddress, 0, wxALL, 4);
|
||||
page->SetSizer(gsizer);
|
||||
gsizer->Layout();
|
||||
+ gsizer->FitInside(page);
|
||||
+ page->SetScrollRate(10, 10);
|
||||
|
||||
wxBoxSizer* bsizer = new wxBoxSizer(wxHORIZONTAL);
|
||||
bsizer->Add(new wxButton(panel, VLaunch_Run, wxT("Run")), 0, wxALL, 4);
|
Loading…
Reference in New Issue
Block a user