Author Topic: Help Packaging my Theme  (Read 1017 times)

0 Members and 1 Guest are viewing this topic.

Offline Cholo

  • Global Moderator
  • *
  • Posts: 1737
  • Karma: 681
  • Gender: Male
    • The Tarheel Forum
Help Packaging my Theme
« on: February 19, 2010, 10:36:30 PM »
I'm not sure what I'm doing wrong and I'll spend some more time with it tomorrow, but if someone can help me figure out what I'm doing wrong, I'd appreciate the help. 


My theme is all done and the edited files are included, along with my theme_info.xml.  I suspect I've got something configured in that file incorrectly, but I'm not sure.  Attached is the current package I have.   


Could also be bc I'm using Mac OS X.  I remember packaging up a theme a couple years back using OS X and the mac compressor for some reason caused problems.  I don't remember why or how I solved the problem though.   

« Last Edit: February 21, 2010, 06:47:10 PM by Cholo »

Offline confusimo

  • New Member
  • *
  • Posts: 18
  • Karma: 33
  • SMF Version: 1.1.5
Re: Help Packaging my Theme
« Reply #1 on: February 19, 2010, 10:56:33 PM »
Yes that is the problem.  Mac doesn't pack files correctly.  It doesn't for me either.  I haven't found any programs on mac that pack properly either.  If you find one let me know.

Offline Cholo

  • Global Moderator
  • *
  • Posts: 1737
  • Karma: 681
  • Gender: Male
    • The Tarheel Forum
Re: Help Packaging my Theme
« Reply #2 on: February 21, 2010, 02:44:36 AM »
ugh..  I wonder what I did to deal with this back then, can't remember.   Maybe I'll ask over at sm.org.   

Offline Cholo

  • Global Moderator
  • *
  • Posts: 1737
  • Karma: 681
  • Gender: Male
    • The Tarheel Forum
Re: Help Packaging my Theme
« Reply #3 on: February 21, 2010, 06:46:55 PM »
Well I just sent the files over to my laptop (running windows) and packaged it up there.  Seems to me like this is something SMF should really look at.  I'm very surprised there was barely a thread about this issue over at sm.org. 

Guess I'll have to make sure to get parallels set up. 

Offline ccbtimewiz

  • Dreamer
  • Guru
  • *
  • Posts: 1304
  • Karma: 2100
  • Gender: Male
  • $info->close();
    • Dream Portal
  • SMF Version: SMF 2.0 RC4
Re: Help Packaging my Theme
« Reply #4 on: February 21, 2010, 11:00:06 PM »
This is not an SMF issue, it is an issue with how Macs handle with compression.

Online bigguy

  • Site Owner
  • Administrator
  • *
  • Posts: 13217
  • Karma: 269
  • Gender: Male
  • Get'r Done
    • P.C. Tweakr
  • SMF Version: 2.0 Gold
Re: Help Packaging my Theme
« Reply #5 on: February 21, 2010, 11:10:51 PM »
Obviously this is a Mac issue and should be taken up with them. I can't see SMF being able to fix this.

Offline Cholo

  • Global Moderator
  • *
  • Posts: 1737
  • Karma: 681
  • Gender: Male
    • The Tarheel Forum
Re: Help Packaging my Theme
« Reply #6 on: February 23, 2010, 01:02:34 AM »
But does every other forum script/cms/blog, etc. have this same problem, or is it just the way smf handles it? 

Offline butchas

  • Elite Member
  • *
  • Posts: 631
  • Karma: 398
  • Illustrious key typer
    • East Coast Rolling Thunder car club
  • SMF Version: 2.0 RC5
Re: Help Packaging my Theme
« Reply #7 on: February 23, 2010, 11:28:01 PM »
No, it has something to do with what WinZip does.  I saw over at SMF that there was a program that can zip them for the Mac without errors.  But you have to buy it.

I am cheap, so I put my files in a flash drive and zip them on the wintel.
 :dnc
My mod, My site

Offline Neša

  • Administrator
  • *
  • Posts: 1730
  • Karma: 1704
  • Gender: Male
  • SMF Version: 1.1.14
Re: Help Packaging my Theme
« Reply #8 on: February 24, 2010, 05:54:04 AM »
can't SMF handle gzip?
why not tar it then compress it with gzip? OS X uses BSD as its core so tar and gunzip should be ported.
:
tar -cvzf filename.tar.gz file1 or directory1
« Last Edit: February 24, 2010, 06:04:26 AM by Neša »

Offline Cholo

  • Global Moderator
  • *
  • Posts: 1737
  • Karma: 681
  • Gender: Male
    • The Tarheel Forum
Re: Help Packaging my Theme
« Reply #9 on: February 25, 2010, 11:17:53 PM »
By default, Snow Leopard archives files into a .zip file.  A quick search tells me that in order to create .tar archives, you have to do it from the terminal. 

Is that what that code you posted refers to Nesa? 

Offline Neša

  • Administrator
  • *
  • Posts: 1730
  • Karma: 1704
  • Gender: Male
  • SMF Version: 1.1.14
Re: Help Packaging my Theme
« Reply #10 on: February 26, 2010, 06:59:19 AM »
Yep thats the command line, tar with the switches cvzf you could remove v if you like. It only shows you what its doing.

Offline Cholo

  • Global Moderator
  • *
  • Posts: 1737
  • Karma: 681
  • Gender: Male
    • The Tarheel Forum
Re: Help Packaging my Theme
« Reply #11 on: February 26, 2010, 11:47:51 PM »
So do you know how you would actually go about packaging up some files into a tar.gz format on a mac?   Sorry man, but I don't know much about commanding from the terminal.

Offline Neša

  • Administrator
  • *
  • Posts: 1730
  • Karma: 1704
  • Gender: Male
  • SMF Version: 1.1.14
Re: Help Packaging my Theme
« Reply #12 on: March 01, 2010, 08:13:21 PM »
The command should be the same in OS X
to do more then one file just add a space so file1 file2 file3 ect