crated AppCenter file and changed app icon

This commit is contained in:
Artem Anufrij 2017-08-01 18:45:04 +02:00
parent 5d5ed48e14
commit 187e943584
9 changed files with 197 additions and 55 deletions

View file

@ -0,0 +1,31 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2017 Artem Anufrij <artem.anufrij@live.de> -->
<component type="desktop">
<id>com.github.artemanufrij.webpin.desktop</id>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-3.0+</project_license>
<name>Webpin</name>
<summary>A simple app to pin websites on the desktop</summary>
<description>
<p>Pin your any favourite website on Applications Menu or Plank like a regular desktop app</p>
</description>
<categories>
<category>Utility</category>
<category>Internet</category>
</categories>
<custom>
<value key="x-appcenter-color-primary">#399cd2</value>
<value key="x-appcenter-color-primary-text">rgb(255,255,255)</value>
<value key="x-appcenter-suggested-price">1</value>
</custom>
<developer_name>Artem Anufrij</developer_name>
<url type="homepage">https://github.com/artemanufrij/webpin</url>
<url type="bugtracker">https://github.com/artemanufrij/webpin/issues</url>
<url type="help">https://github.com/artemanufrij/webpin/issues</url>
<update_contact>artem.anufrij@live.de</update_contact>
<screenshots>
<screenshot type="default">
<image>https://raw.githubusercontent.com/artemanufrij/webpin/master/Screenshot.png</image>
</screenshot>
</screenshots>
</component>

View file

@ -14,8 +14,8 @@
width="128" width="128"
height="128" height="128"
id="svg3049" id="svg3049"
inkscape:version="0.48.4 r9939" inkscape:version="0.91 r13725"
sodipodi:docname="webby.svg"> sodipodi:docname="artemanufrij.webpin.svg">
<sodipodi:namedview <sodipodi:namedview
pagecolor="#ffffff" pagecolor="#ffffff"
bordercolor="#666666" bordercolor="#666666"
@ -25,13 +25,13 @@
guidetolerance="10" guidetolerance="10"
inkscape:pageopacity="0" inkscape:pageopacity="0"
inkscape:pageshadow="2" inkscape:pageshadow="2"
inkscape:window-width="1366" inkscape:window-width="3440"
inkscape:window-height="713" inkscape:window-height="1377"
id="namedview51" id="namedview51"
showgrid="false" showgrid="false"
inkscape:zoom="2.8284271" inkscape:zoom="1"
inkscape:cx="73.655329" inkscape:cx="-235.478"
inkscape:cy="86.427124" inkscape:cy="186.91681"
inkscape:window-x="0" inkscape:window-x="0"
inkscape:window-y="30" inkscape:window-y="30"
inkscape:window-maximized="1" inkscape:window-maximized="1"
@ -46,15 +46,51 @@
</sodipodi:namedview> </sodipodi:namedview>
<defs <defs
id="defs3051"> id="defs3051">
<linearGradient
inkscape:collect="always"
id="linearGradient4284">
<stop
style="stop-color:#72ac32;stop-opacity:1"
offset="0"
id="stop4286" />
<stop
style="stop-color:#8ad13d;stop-opacity:1"
offset="1"
id="stop4288" />
</linearGradient>
<linearGradient
inkscape:collect="always"
id="linearGradient4276">
<stop
style="stop-color:#235e80;stop-opacity:1"
offset="0"
id="stop4278" />
<stop
style="stop-color:#3fade9;stop-opacity:1"
offset="1"
id="stop4280" />
</linearGradient>
<linearGradient
inkscape:collect="always"
id="linearGradient4268">
<stop
style="stop-color:#399cd2;stop-opacity:1"
offset="0"
id="stop4270" />
<stop
style="stop-color:#45bdff;stop-opacity:1"
offset="1"
id="stop4272" />
</linearGradient>
<linearGradient <linearGradient
id="linearGradient4040"> id="linearGradient4040">
<stop <stop
offset="0" offset="0"
style="stop-color:#ff7a35;stop-opacity:1" style="stop-color:#8ad13d;stop-opacity:1"
id="stop4042" /> id="stop4042" />
<stop <stop
offset="1" offset="1"
style="stop-color:#f0431a;stop-opacity:1" style="stop-color:#70b02a;stop-opacity:1"
id="stop4044" /> id="stop4044" />
</linearGradient> </linearGradient>
<linearGradient <linearGradient
@ -313,17 +349,6 @@
y1="4.999989" y1="4.999989"
x2="23.99999" x2="23.99999"
y2="43" /> y2="43" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient4040"
id="radialGradient3968"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0,25.083279,-30.794253,0,372.81656,-208.08999)"
cx="6.7304144"
cy="9.9571075"
fx="6.2001843"
fy="9.9571075"
r="12.671875" />
<radialGradient <radialGradient
inkscape:collect="always" inkscape:collect="always"
xlink:href="#linearGradient3811" xlink:href="#linearGradient3811"
@ -635,6 +660,33 @@
style="stop-color:#dbe0e1;stop-opacity:1" style="stop-color:#dbe0e1;stop-opacity:1"
offset="1" /> offset="1" />
</linearGradient> </linearGradient>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient4268"
id="linearGradient4274"
x1="72.888351"
y1="117.57017"
x2="73.129204"
y2="29.712151"
gradientUnits="userSpaceOnUse" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient4276"
id="linearGradient4282"
x1="56.312489"
y1="119.12681"
x2="56.312489"
y2="14.876808"
gradientUnits="userSpaceOnUse" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient4284"
id="linearGradient4290"
x1="64.132576"
y1="118.62061"
x2="64.132576"
y2="15.369224"
gradientUnits="userSpaceOnUse" />
</defs> </defs>
<metadata <metadata
id="metadata3054"> id="metadata3054">
@ -686,7 +738,7 @@
</g> </g>
</g> </g>
<rect <rect
style="color:#000000;fill:url(#radialGradient3968);fill-opacity:1.0;fill-rule:nonzero;stroke:none;stroke-width:0.99999994000000003;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" style="color:#000000;fill:url(#linearGradient4290);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;stroke-miterlimit:4;stroke-dasharray:none"
id="rect5505-21-3" id="rect5505-21-3"
y="15.501808" y="15.501808"
x="12.499989" x="12.499989"
@ -711,14 +763,14 @@
x="12.499989" x="12.499989"
y="15.501808" y="15.501808"
id="rect4046" id="rect4046"
style="color:#000000;fill:#0000f0;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.99999994000000003;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;opacity:0.40000000000000002" /> style="color:#000000;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.99999994;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;opacity:0" />
<path <path
style="color:#000000;fill:#ffffff;fill-opacity:0.27311829;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" style="color:#000000;fill:url(#linearGradient4274);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
id="rect4519" id="rect4519"
inkscape:connector-curvature="0" inkscape:connector-curvature="0"
d="m 71.40068,31.000738 c -9.03158,0 -16.85327,5.255219 -20.730283,12.882677 -2.512849,-1.622352 -5.487481,-2.576487 -8.685195,-2.576487 -8.963115,0 -16.229212,7.382582 -16.229212,16.489769 0,1.44791 0.22545,2.848711 0.570544,4.186761 -6.47349,4.436287 -10.713834,11.983466 -10.713834,20.547748 0,13.703007 10.857345,24.734764 24.343832,24.734764 l 46.659055,0 c 13.486503,0 24.343833,-11.031757 24.343833,-24.734764 0,-10.942388 -6.95249,-20.167863 -16.609645,-23.446375 0.262049,-1.422142 0.380371,-2.880522 0.380371,-4.379949 0,-13.091533 -10.444925,-23.704144 -23.329466,-23.704144 z" /> d="m 71.40068,31.000738 c -9.03158,0 -16.85327,5.255219 -20.730283,12.882677 -2.512849,-1.622352 -5.487481,-2.576487 -8.685195,-2.576487 -8.963115,0 -16.229212,7.382582 -16.229212,16.489769 0,1.44791 0.22545,2.848711 0.570544,4.186761 -6.47349,4.436287 -10.713834,11.983466 -10.713834,20.547748 0,13.703007 10.857345,24.734764 24.343832,24.734764 l 46.659055,0 c 13.486503,0 24.343833,-11.031757 24.343833,-24.734764 0,-10.942388 -6.95249,-20.167863 -16.609645,-23.446375 0.262049,-1.422142 0.380371,-2.880522 0.380371,-4.379949 0,-13.091533 -10.444925,-23.704144 -23.329466,-23.704144 z" />
<rect <rect
style="opacity:0.40000000000000002;color:#000000;fill:none;stroke:#ba3d12;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" style="opacity:1;color:#000000;fill:none;stroke:url(#linearGradient4282);stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
id="rect5505-21-3-1" id="rect5505-21-3-1"
y="15.501808" y="15.501808"
x="12.499989" x="12.499989"
@ -726,34 +778,30 @@
rx="6.0545406" rx="6.0545406"
height="103" height="103"
width="103" /> width="103" />
<g
id="g3990"
transform="matrix(0.9961947,0.08715574,-0.08715574,0.9961947,6.1992275,-5.2617219)">
<text <text
transform="scale(1.194324,0.83729373)" xml:space="preserve"
sodipodi:linespacing="125%" style="font-style:normal;font-weight:normal;font-size:120.53004456px;line-height:125%;font-family:Sans;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:0.50196081;stroke:none;"
x="27.702116"
y="112.14488"
id="text3843" id="text3843"
y="119.05046"
x="22.915268"
style="font-size:120.53004456px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#692d56;fill-opacity:1;stroke:none;font-family:Sans"
xml:space="preserve"><tspan
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;fill:#692d56;fill-opacity:1;font-family:Ubuntu Mono;-inkscape-font-specification:Ubuntu Mono Bold"
y="119.05046"
x="22.915268"
id="tspan3845"
sodipodi:role="line">W</tspan></text>
<text
transform="scale(1.1857255,0.84336551)"
sodipodi:linespacing="125%" sodipodi:linespacing="125%"
transform="matrix(1.1897792,0.10409219,-0.07297495,0.83410759,0,0)"><tspan
sodipodi:role="line"
id="tspan3845"
x="27.702116"
y="112.14488"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-family:'Ubuntu Mono';-inkscape-font-specification:'Ubuntu Mono Bold';fill:#000000;fill-opacity:0.50196081;">W</tspan></text>
<text
xml:space="preserve"
style="font-style:normal;font-weight:normal;font-size:115.83119202px;line-height:125%;font-family:Sans;letter-spacing:0px;word-spacing:0px;fill:#ffffff;fill-opacity:1;stroke:none"
x="28.522949"
y="108.76734"
id="text3843-8" id="text3843-8"
y="115.6232" sodipodi:linespacing="125%"
x="23.701387" transform="matrix(1.1812135,0.10334278,-0.07350415,0.84015624,0,0)"><tspan
style="font-size:115.83119202px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#ffffff;fill-opacity:1;stroke:none;font-family:Sans" sodipodi:role="line"
xml:space="preserve"><tspan
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;fill:#ffffff;fill-opacity:1;font-family:Ubuntu Mono;-inkscape-font-specification:Ubuntu Mono Bold"
y="115.6232"
x="23.701387"
id="tspan3845-3" id="tspan3845-3"
sodipodi:role="line">W</tspan></text> x="28.522949"
</g> y="108.76734"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-family:'Ubuntu Mono';-inkscape-font-specification:'Ubuntu Mono Bold';fill:#ffffff;fill-opacity:1">W</tspan></text>
</svg> </svg>

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 26 KiB

5
debian/changelog vendored Normal file
View file

@ -0,0 +1,5 @@
com.github.artemanufrij.webpin (0.1.3) xenial; urgency=low
* Initial Release.
-- Artem Anufrij <artem.anufrij@live.de> Mon, 31 Jul 2017 04:53:39 +0100

1
debian/compat vendored Normal file
View file

@ -0,0 +1 @@
9

17
debian/control vendored Normal file
View file

@ -0,0 +1,17 @@
Source: com.github.artemanufrij.webpin
Section: x11
Priority: optional
Maintainer: Artem Anufrij <artem.anufrij@live.de>
Build-Depends: cmake (>= 2.8),
cmake-elementary,
debhelper (>= 9),
libgranite-dev,
valac (>= 0.26),
libwebkit2gtk-4.0
Standards-Version: 3.9.3
Package: com.github.artemanufrij.webpin
Architecture: any
Depends: ${misc:Depends}, ${shlibs:Depends}
Description: Simple webpin app
A simple app to pin websites on the desktop, written especially for elementary OS

25
debian/copyright vendored Normal file
View file

@ -0,0 +1,25 @@
Format: http://dep.debian.net/deps/dep5
Upstream-Name: com.github.artemanufrij.imageburner
Source: https://github.com/artemanufrij/imageburnder
Files: *
Copyright: Artem Anufrij
License: GPL-3.0+
License: GPL-3.0+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
.
This package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
.
On Debian systems, the complete text of the GNU General
Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".

14
debian/rules vendored Executable file
View file

@ -0,0 +1,14 @@
#!/usr/bin/make -f
# -*- makefile -*-
# Sample debian/rules that uses debhelper.
# This file was originally written by Joey Hess and Craig Small.
# As a special exception, when this file is copied by dh-make into a
# dh-make output file, you may use that output file without restriction.
# This special exception was added by Craig Small in version 0.37 of dh-make.
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
%:
dh $@

1
debian/source/format vendored Normal file
View file

@ -0,0 +1 @@
3.0 (native)

View file

@ -47,7 +47,7 @@ namespace Webpin {
private GLib.Regex protocol_regex; private GLib.Regex protocol_regex;
private Gee.HashMap<string, GLib.AppInfo> apps; private Gee.HashMap<string, GLib.AppInfo> apps;
private string default_app_icon = "application-default-icon"; private string default_app_icon = "artemanufrij.webpin";
private bool app_name_valid = false; private bool app_name_valid = false;
private bool app_url_valid = false; private bool app_url_valid = false;