-
Notifications
You must be signed in to change notification settings - Fork 326
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Linux gfxtrace file association with GAPID.
- Loading branch information
1 parent
52fec8b
commit ec4d253
Showing
3 changed files
with
10 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info"> | ||
<mime-type type="application/x-gfxtrace"> | ||
<comment>Graphics API Trace</comment> | ||
<glob pattern="*.gfxtrace"/> | ||
</mime-type> | ||
</mime-info> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,12 +38,13 @@ VERSION=$(awk -F= 'BEGIN {major=0; minor=0; micro=0} | |
END {print major"."minor"."micro}' ../pkg/build.properties) | ||
|
||
# Combine package contents. | ||
mkdir -p gapid/DEBIAN gapid/opt/gapid gapid/usr/share/applications gapid/usr/share/menu | ||
mkdir -p gapid/DEBIAN gapid/opt/gapid gapid/usr/share/applications gapid/usr/share/menu gapid/usr/share/mime/packages | ||
cp -r ../pkg/* gapid/opt/gapid | ||
cp -r ../current/java/gapic-linux.jar gapid/opt/gapid/lib/gapic.jar | ||
cp "$SRC/../../gapic/res/icons/[email protected]" gapid/opt/gapid/icon.png | ||
cp "$SRC/gapid.desktop" gapid/usr/share/applications/google-gapid.desktop | ||
cp "$SRC/gapid.menu" gapid/usr/share/menu/google-gapid.menu | ||
cp "$SRC/gapid-mime.xml" gapid/usr/share/mime/packages/gapid.xml | ||
|
||
# Create the dpkg config file. | ||
cat > gapid/DEBIAN/control <<EOF | ||
|