Skip to content

Commit

Permalink
Cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
epage committed Jun 8, 2010
1 parent 6e32158 commit 58f7c3f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions src/REPLACEME_gtk.py
Expand Up @@ -25,10 +25,10 @@
PROFILE_STARTUP = False


class REPLACEMElProgram(hildonize.get_app_class()):
class REPLACEMEProgram(hildonize.get_app_class()):

def __init__(self):
super(REPLACEMElProgram, self).__init__()
super(REPLACEMEProgram, self).__init__()

if not hildonize.IS_HILDON_SUPPORTED:
_moduleLogger.info("No hildonization support")
Expand Down
20 changes: 10 additions & 10 deletions support/builddeb.py
Expand Up @@ -15,22 +15,22 @@
__description__ = """REPLACEME
REPLACEME
.
Homepage:
Homepage: REPLACEME
"""
__author__ = "Ed Page"
__email__ = "eopage@byu.net"
__version__ = constants.__version__
__build__ = constants.__build__
__changelog__ = """
REPLACEME
"""
""".strip()


__postinstall__ = """#!/bin/sh -e
gtk-update-icon-cache -f /usr/share/icons/hicolor
rm -f ~/.REPLACEME/REPLACEME.log
"""
rm -f ~/.%(name)s/%(name)s.log
""" % {"name": constants.__app_name__}

__preremove__ = """#!/bin/sh -e
"""
Expand Down Expand Up @@ -101,19 +101,19 @@ def build_package(distribution):
"diablo": "REPLACEME",
"fremantle": "REPLACEME", # Fremantle natively uses 48x48
}[distribution]
p["/opt/REPLACEME/bin"] = [ "REPLACEME" ]
p["/opt/%s/bin" % constants.__appname__] = [ "%s.py" % constants.__appname__ ]
for relPath, files in unflatten_files(find_files("src", ".")).iteritems():
fullPath = "/opt/REPLACEME/lib"
fullPath = "/opt/%s/lib" % constants.__appname__
if relPath:
fullPath += os.sep+relPath
p[fullPath] = list(
"|".join((oldName, newName))
for (oldName, newName) in files
)
p["/usr/share/applications/hildon"] = ["REPLACEME.desktop"]
p["/usr/share/icons/hicolor/26x26/hildon"] = ["REPLACEME"]
p["/usr/share/icons/hicolor/64x64/hildon"] = ["REPLACEME"]
p["/usr/share/icons/hicolor/scalable/hildon"] = ["REPLACEME"]
p["/usr/share/applications/hildon"] = ["%s.desktop" % constants.__appname__]
p["/usr/share/icons/hicolor/26x26/hildon"] = ["%s.png" % constants.__appname__]
p["/usr/share/icons/hicolor/64x64/hildon"] = ["%s.png" % constants.__appname__]
p["/usr/share/icons/hicolor/scalable/hildon"] = ["%s.png" % constants.__appname__]

if distribution == "debian":
print p
Expand Down

0 comments on commit 58f7c3f

Please sign in to comment.