Opened 13 years ago

Closed 13 years ago

Last modified 3 years ago

#12355 closed submission (fixed)

New: NicePlayer-0.95

Reported by: jay macosforge@… Owned by: ryandesign (Ryan Schmidt)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: jay+macports@…, ryandesign (Ryan Schmidt)
Port: NicePlayer

Description

Multi-engine Fullscreen Video Player

Attachments (2)

portfile (1.4 KB) - added by jay+macports@… 13 years ago.
PortFile
portfile.2 (2.9 KB) - added by jay macosforge@… 13 years ago.
Portfile2

Download all attachments as: .zip

Change History (11)

Changed 13 years ago by jay+macports@…

Attachment: portfile added

PortFile

comment:1 Changed 13 years ago by nox@…

Priority: ExpectedNormal
Type: contributionenhancement
Version: 1.5.0

comment:2 Changed 13 years ago by ryandesign (Ryan Schmidt)

Cc: jay+macports@… ryandesign@… added
Owner: changed from macports-dev@… to ryandesign@…

Does not build:

$ sudo port install
Password:
--->  Fetching NicePlayer
--->  Attempting to fetch NicePlayer_source_0.95.tbz2 from http://downloads.sourceforge.net/niceplayer
--->  Verifying checksum(s) for NicePlayer
--->  Extracting NicePlayer
--->  Configuring NicePlayer
--->  Building NicePlayer with target -configuration Release
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_aqua_NicePlayer/work/NicePlayer_source_0.95/niceplayer" && /usr/bin/xcodebuild -configuration Release build -project NicePlayer.xcodeproj SYMROOT=/opt/local/var/macports/build/_Users_rschmidt_macports_dports_aqua_NicePlayer/work/build " returned error 1
Command output:     setenv TARGET_TEMP_DIR /opt/local/var/macports/build/_Users_rschmidt_macports_dports_aqua_NicePlayer/work/build/NicePlayer.build/Release/NicePlayer.build
    setenv TEMP_DIR /opt/local/var/macports/build/_Users_rschmidt_macports_dports_aqua_NicePlayer/work/build/NicePlayer.build/Release/NicePlayer.build
    setenv TEMP_FILES_DIR /opt/local/var/macports/build/_Users_rschmidt_macports_dports_aqua_NicePlayer/work/build/NicePlayer.build/Release/NicePlayer.build
    setenv TEMP_FILE_DIR /opt/local/var/macports/build/_Users_rschmidt_macports_dports_aqua_NicePlayer/work/build/NicePlayer.build/Release/NicePlayer.build
    setenv TEMP_ROOT /opt/local/var/macports/build/_Users_rschmidt_macports_dports_aqua_NicePlayer/work/build
    setenv UID 0
    setenv UNLOCALIZED_RESOURCES_FOLDER_PATH NicePlayer.app/Contents/Resources
    setenv UNSTRIPPED_PRODUCT NO
    setenv USER root
    setenv USER_APPS_DIR /Users/rschmidt/Applications
    setenv USER_LIBRARY_DIR /Users/rschmidt/Library
    setenv USE_DYNAMIC_NO_PIC YES
    setenv VALID_ARCHS "m68k i386 sparc hppa ppc ppc7400 ppc970 ppc64 x86_64"
    setenv VERBOSE_PBXCP NO
    setenv VERSIONPLIST_PATH NicePlayer.app/Contents/version.plist
    setenv VERSION_INFO_BUILDER root
    setenv VERSION_INFO_STRING "\"@(#)PROGRAM:NicePlayer  PROJECT:NicePlayer-  DEVELOPER:root  BUILT:\" __DATE__  \" \" __TIME__ \"\""
    setenv WARNING_CFLAGS "-Wmost -Wno-four-char-constants -Wno-unknown-pragmas -Wno-protocol"
    setenv WRAPPER_EXTENSION app
    setenv WRAPPER_NAME NicePlayer.app
    setenv WRAPPER_SUFFIX .app
    setenv XCODE_APP_SUPPORT_DIR "/Library/Application Support/Apple/Developer Tools"
    setenv XCODE_VERSION_ACTUAL 0241
    setenv XCODE_VERSION_MAJOR 0200
    setenv YACC /usr/bin/yacc
    setenv ZERO_LINK NO
    /bin/sh -c /opt/local/var/macports/build/_Users_rschmidt_macports_dports_aqua_NicePlayer/work/build/NicePlayer.build/Release/NicePlayer.build/Script-25295068076F804700D4B325.sh
/opt/local/var/macports/build/_Users_rschmidt_macports_dports_aqua_NicePlayer/work/NicePlayer_source_0.95/niceplayer/Versioning/version.sh: line 1: /usr/local/subversion/bin/svn: No such file or directory
usage: Versioning/set_version in.plist out.plist key value
** BUILD FAILED **

Error: Status 1 encountered during processing.

If NicePlayer requires Subversion, a dependency on the subversion port should be declared and that path to /usr/local/subversion should be replaced by ${prefix} using a reinplace. However, I hope it is possible to remove the dependence on Subversion, as it does not really make sense that it should be required for this.

Changed 13 years ago by jay macosforge@…

Attachment: portfile.2 added

Portfile2

comment:3 Changed 13 years ago by jay macosforge@…

Portfile2 - Fixes Subversion dependancy & works around uninstall bug thanx Simon Ruderich

comment:4 Changed 13 years ago by ryandesign (Ryan Schmidt)

From portfile.2:

# Remove subversion version extraction while build.
# Needs to be updated with every release of the port or
# the automatic updater will not work!

Does this mean that NicePlayer includes its own auto-update feature? Software installed via MacPorts must not be allowed to auto-update itself, otherwise MacPorts will likely get rather confused.

comment:5 Changed 13 years ago by jay macosforge@…

It has update notifications (A popup saying there is a new version) based on build number, but doesn't actually do any updating. Although, In the future releases we'll be adding sparkle auto update support, but i'll keep in mind that i should have a build configured without it for mac ports.

comment:6 Changed 13 years ago by ryandesign (Ryan Schmidt)

Resolution: fixed
Status: newclosed

Understood. Portfile.2 committed in r28284, with these changes:

  • Changed "platform darwin" to "platform macosx" since it seems to use many Mac features
  • Changed "extract.cmd bzip2" to "use_bzip2 yes"

Then I upped the revision and declared that the software always builds universal in r28285.

Thanks again for the contribution!

comment:7 Changed 11 years ago by jmroot (Joshua Root)

Type: enhancementsubmission

comment:8 Changed 11 years ago by (none)

Milestone: Port Submissions

Milestone Port Submissions deleted

comment:9 Changed 3 years ago by mf2k (Frank Schima)

Port: NicePlayer added
Note: See TracTickets for help on using tickets.