Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
ff7aeef9
Commit
ff7aeef9
authored
Apr 23, 2013
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
contrib: use latest sparkle version from git instead of the dated release
parent
fcf5b3da
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
15 deletions
+26
-15
contrib/src/sparkle/rules.mak
contrib/src/sparkle/rules.mak
+15
-15
contrib/src/sparkle/sparkle-fix-formatstring.patch
contrib/src/sparkle/sparkle-fix-formatstring.patch
+11
-0
No files found.
contrib/src/sparkle/rules.mak
View file @
ff7aeef9
# sparkle
SPARKLE_VERSION
:=
1.5b6
SPARKLE_URL
:=
http://sparkle.andymatuschak.org/files/Sparkle%20
$(SPARKLE_VERSION)
.zip
#SPARKLE_VERSION := 1.5b6
#SPARKLE_URL := http://sparkle.andymatuschak.org/files/Sparkle%20$(SPARKLE_VERSION).zip
SPARKLE_GITURL
:=
git://github.com/andymatuschak/Sparkle.git
ifdef
HAVE_MACOSX
PKGS
+=
sparkle
endif
$(TARBALLS)/sparkle-
$(SPARKLE_VERSION).zip
:
$(
call
download
,
$(SPARKLE_URL)
)
$(TARBALLS)/sparkle-
git.tar.xz
:
$(
call
download
_git,
$(SPARKLE_GITURL)
,,HEAD
)
.sum-sparkle
:
sparkle-$(SPARKLE_VERSION).zip
sparkle
:
sparkle-$(SPARKLE_VERSION).zip .sum-sparkle
$(RM)
-R
$@
&&
mkdir
-p
$@
&&
cd
$@
&&
unzip ../
$<
cd
$@
/Extras/Source
\
Code/Configurations
&&
\
sed
-i
.orig
-e
s/
"GCC_TREAT_WARNINGS_AS_ERRORS = YES"
/
"GCC_TREAT_WARNINGS_AS_ERRORS = NO"
/g
\
-e
s/
"ARCHS = .*"
/
"ARCHS =
$(ARCH)
"
/ ConfigCommonRelease.xcconfig
&&
\
sed
-i
.orig
-e
s/MacOSX10.5.sdk/MacOSX
$(OSX_VERSION)
.sdk/g ConfigCommon.xcconfig
.sum-sparkle
:
sparkle-git.tar.xz
$(
warning
$@
not implemented
)
touch
$@
sparkle
:
sparkle-git.tar.xz .sum-sparkle
$(UNPACK)
$(APPLY)
$(SRC)
/sparkle/sparkle-fix-formatstring.patch
$(MOVE)
.sparkle
:
sparkle
cd
$<
/Extras/Source
\
Code
&&
$(MAKE)
&&
xcodebuild
$(XCODE_FLAGS)
cd
$<
/Extras/Source
\
Code
&&
install_name_tool
-id
@executable_path/../Frameworks/Sparkle.framework/Versions/A/Sparkle build/Release/Sparkle.framework/Sparkle
cd
$<
&&
cp
-R
Extras/Source
\
Code/
build/Release/Sparkle.framework
"
$(PREFIX)
"
cd
$<
&&
xcodebuild
$(XCODE_FLAGS)
cd
$<
&&
install_name_tool
-id
@executable_path/../Frameworks/Sparkle.framework/Versions/A/Sparkle build/Release/Sparkle.framework/Sparkle
cd
$<
&&
cp
-R
build/Release/Sparkle.framework
"
$(PREFIX)
"
touch
$@
contrib/src/sparkle/sparkle-fix-formatstring.patch
0 → 100644
View file @
ff7aeef9
--- sparkle/SUUIBasedUpdateDriver.m 2013-04-23 00:12:42.000000000 +0200
+++ sparkle-fixed/SUUIBasedUpdateDriver.m 2013-04-23 00:17:00.000000000 +0200
@@ -201,7 +201,7 @@
- (void)abortUpdateWithError:(NSError *)error
{
- NSAlert *alert = [NSAlert alertWithMessageText:SULocalizedString(@"Update Error!", nil) defaultButton:SULocalizedString(@"Cancel Update", nil) alternateButton:nil otherButton:nil informativeTextWithFormat:[error localizedDescription]];
+ NSAlert *alert = [NSAlert alertWithMessageText:SULocalizedString(@"Update Error!", nil) defaultButton:SULocalizedString(@"Cancel Update", nil) alternateButton:nil otherButton:nil informativeTextWithFormat:@"%@",[error localizedDescription]];
[self showModalAlert:alert];
[super abortUpdateWithError:error];
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment