mirror of
https://github.com/Murmele/Gittyup.git
synced 2024-09-17 13:37:18 +03:00
Rename 'GitAhead' occurrences to 'Gittyup'
This commit is contained in:
parent
a0c384be2f
commit
969b55fbe1
@ -28,7 +28,7 @@ strong {
|
||||
</head>
|
||||
<body>
|
||||
|
||||
# GitAhead Plugin API
|
||||
# Gittyup Plugin API
|
||||
|
||||
---
|
||||
|
||||
@ -39,9 +39,9 @@ Plugins are Lua scripts that detect one or more error kind. The name
|
||||
of the script defines the name of the plugin category in the settings
|
||||
interface. Plugins should be saved to one of the following locations:
|
||||
|
||||
* (Windows) - %APPDATA%\GitAhead\plugins
|
||||
* (Linux) - ~/.config/GitAhead/plugins
|
||||
* (macOS) - ~/Library/Application Support/GitAhead/plugins
|
||||
* (Windows) - %APPDATA%\Gittyup\plugins
|
||||
* (Linux) - ~/.config/Gittyup/plugins
|
||||
* (macOS) - ~/Library/Application Support/Gittyup/plugins
|
||||
|
||||
---
|
||||
|
||||
|
@ -116,24 +116,24 @@ echo "Unpacking finished successfully"
|
||||
echo "Installing icon files..."
|
||||
local_install_path="$HOME/.local/share"
|
||||
icon_install_path="${local_install_path}/icons/hicolor"
|
||||
icon_source_path="${toplevel}/Resources/GitAhead.iconset"
|
||||
mkdir -p "${icon_install_path}/16x16/apps" && cp -f "${icon_source_path}/icon_16x16.png" "${icon_install_path}/16x16/apps/gitahead.png"
|
||||
mkdir -p "${icon_install_path}/32x32/apps" && cp -f "${icon_source_path}/icon_32x32.png" "${icon_install_path}/32x32/apps/gitahead.png"
|
||||
mkdir -p "${icon_install_path}/64x64/apps" && cp -f "${icon_source_path}/icon_64x64.png" "${icon_install_path}/64x64/apps/gitahead.png"
|
||||
mkdir -p "${icon_install_path}/128x128/apps" && cp -f "${icon_source_path}/icon_128x128.png" "${icon_install_path}/128x128/apps/gitahead.png"
|
||||
mkdir -p "${icon_install_path}/256x256/apps" && cp -f "${icon_source_path}/icon_256x256.png" "${icon_install_path}/256x256/apps/gitahead.png"
|
||||
mkdir -p "${icon_install_path}/512x512/apps" && cp -f "${icon_source_path}/icon_512x512.png" "${icon_install_path}/512x512/apps/gitahead.png"
|
||||
icon_source_path="${toplevel}/Resources/Gittyup.iconset"
|
||||
mkdir -p "${icon_install_path}/16x16/apps" && cp -f "${icon_source_path}/icon_16x16.png" "${icon_install_path}/16x16/apps/gittyup.png"
|
||||
mkdir -p "${icon_install_path}/32x32/apps" && cp -f "${icon_source_path}/icon_32x32.png" "${icon_install_path}/32x32/apps/gittyup.png"
|
||||
mkdir -p "${icon_install_path}/64x64/apps" && cp -f "${icon_source_path}/icon_64x64.png" "${icon_install_path}/64x64/apps/gittyup.png"
|
||||
mkdir -p "${icon_install_path}/128x128/apps" && cp -f "${icon_source_path}/icon_128x128.png" "${icon_install_path}/128x128/apps/gittyup.png"
|
||||
mkdir -p "${icon_install_path}/256x256/apps" && cp -f "${icon_source_path}/icon_256x256.png" "${icon_install_path}/256x256/apps/gittyup.png"
|
||||
mkdir -p "${icon_install_path}/512x512/apps" && cp -f "${icon_source_path}/icon_512x512.png" "${icon_install_path}/512x512/apps/gittyup.png"
|
||||
|
||||
echo "Writing desktop file..."
|
||||
desktop_install_path="${local_install_path}/applications"
|
||||
mkdir -p "${desktop_install_path}" && cat <<EOF > "${desktop_install_path}/gitahead.desktop"
|
||||
mkdir -p "${desktop_install_path}" && cat <<EOF > "${desktop_install_path}/gittyup.desktop"
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Encoding=UTF-8
|
||||
Name=GitAhead
|
||||
Icon=gitahead
|
||||
Name=Gittyup
|
||||
Icon=gittyup
|
||||
Terminal=false
|
||||
Exec=$SHELL -c ${toplevel}/GitAhead
|
||||
Exec=$SHELL -c ${toplevel}/Gittyup
|
||||
Categories=Development;RevisionControl;
|
||||
EOF
|
||||
|
||||
|
@ -4,57 +4,57 @@
|
||||
# Contributor: Whovian9369 <Whovian9369@gmail.com>
|
||||
# Contributor: Angelo Theodorou <encelo@gmail.com>
|
||||
|
||||
pkgname=gitahead
|
||||
pkgname=gittyup
|
||||
pkgrel=3
|
||||
pkgver=2.6.3
|
||||
pkgver=1.0.0
|
||||
branch="master"
|
||||
pkgdesc='Understand your Git history!'
|
||||
url='https://www.gitahead.com/'
|
||||
url='TODO replace: https://www.gitahead.com/'
|
||||
arch=('x86_64')
|
||||
license=('MIT')
|
||||
depends=('desktop-file-utils' 'qt5-base' 'git')
|
||||
makedepends=('cmake' 'ninja' 'git' 'qt5-tools' 'qt5-translations')
|
||||
source=(
|
||||
"git+https://github.com/Murmele/gitahead#branch=${branch}"
|
||||
"git+https://github.com/Murmele/Gittyup#branch=${branch}"
|
||||
)
|
||||
sha256sums=(
|
||||
'SKIP'
|
||||
)
|
||||
|
||||
prepare() {
|
||||
cd "$srcdir/gitahead"
|
||||
cd "$srcdir/gittyup"
|
||||
|
||||
git submodule update --init --recursive
|
||||
}
|
||||
|
||||
build() {
|
||||
if [ ! -d "$srcdir/gitahead-build" ]; then
|
||||
mkdir "$srcdir/gitahead-build"
|
||||
if [ ! -d "$srcdir/gittyup-build" ]; then
|
||||
mkdir "$srcdir/gittyup-build"
|
||||
fi
|
||||
cd "$srcdir/gitahead-build"
|
||||
cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=/usr/lib ../gitahead
|
||||
cd "$srcdir/gittyup-build"
|
||||
cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=/usr/lib ../gittyup
|
||||
ninja
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/gitahead-build"
|
||||
cd "$srcdir/gittyup-build"
|
||||
|
||||
ninja package
|
||||
|
||||
mkdir -p "${pkgdir}/usr/"{share,bin}
|
||||
|
||||
cp -r "${srcdir}/gitahead-build/_CPack_Packages/Linux/STGZ/GitAhead-${pkgver}" "${pkgdir}/usr/share/gitahead"
|
||||
cp -r "${srcdir}/gittyup-build/_CPack_Packages/Linux/STGZ/Gittyup-${pkgver}" "${pkgdir}/usr/share/gittyup"
|
||||
|
||||
rm -rf "${pkgdir}/usr/share/gitahead/"*.so.*
|
||||
ln -s "/usr/share/gitahead/GitAhead" "${pkgdir}/usr/bin/gitahead"
|
||||
rm -rf "${pkgdir}/usr/share/gittyup/"*.so.*
|
||||
ln -s "/usr/share/gittyup/Gittyup" "${pkgdir}/usr/bin/gittyup"
|
||||
|
||||
install -D -m644 "${pkgdir}/usr/share/gitahead/Resources/GitAhead.iconset/icon_16x16.png" "${pkgdir}/usr/share/icons/hicolor/16x16/apps/gitahead.png"
|
||||
install -D -m644 "${pkgdir}/usr/share/gitahead/Resources/GitAhead.iconset/icon_32x32.png" "${pkgdir}/usr/share/icons/hicolor/32x32/apps/gitahead.png"
|
||||
install -D -m644 "${pkgdir}/usr/share/gitahead/Resources/GitAhead.iconset/icon_64x64.png" "${pkgdir}/usr/share/icons/hicolor/64x64/apps/gitahead.png"
|
||||
install -D -m644 "${pkgdir}/usr/share/gitahead/Resources/GitAhead.iconset/icon_128x128.png" "${pkgdir}/usr/share/icons/hicolor/128x128/apps/gitahead.png"
|
||||
install -D -m644 "${pkgdir}/usr/share/gitahead/Resources/GitAhead.iconset/icon_256x256.png" "${pkgdir}/usr/share/icons/hicolor/256x256/apps/gitahead.png"
|
||||
install -D -m644 "${pkgdir}/usr/share/gitahead/Resources/GitAhead.iconset/icon_512x512.png" "${pkgdir}/usr/share/icons/hicolor/512x512/apps/gitahead.png"
|
||||
install -D -m644 "${pkgdir}/usr/share/gittyup/Resources/Gittyup.iconset/icon_16x16.png" "${pkgdir}/usr/share/icons/hicolor/16x16/apps/gittyup.png"
|
||||
install -D -m644 "${pkgdir}/usr/share/gittyup/Resources/Gittyup.iconset/icon_32x32.png" "${pkgdir}/usr/share/icons/hicolor/32x32/apps/gittyup.png"
|
||||
install -D -m644 "${pkgdir}/usr/share/gittyup/Resources/Gittyup.iconset/icon_64x64.png" "${pkgdir}/usr/share/icons/hicolor/64x64/apps/gittyup.png"
|
||||
install -D -m644 "${pkgdir}/usr/share/gittyup/Resources/Gittyup.iconset/icon_128x128.png" "${pkgdir}/usr/share/icons/hicolor/128x128/apps/gittyup.png"
|
||||
install -D -m644 "${pkgdir}/usr/share/gittyup/Resources/Gittyup.iconset/icon_256x256.png" "${pkgdir}/usr/share/icons/hicolor/256x256/apps/gittyup.png"
|
||||
install -D -m644 "${pkgdir}/usr/share/gittyup/Resources/Gittyup.iconset/icon_512x512.png" "${pkgdir}/usr/share/icons/hicolor/512x512/apps/gittyup.png"
|
||||
|
||||
install -D -m644 ${srcdir}/gitahead/LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||
install -D -m644 "${srcdir}/gitahead/rsrc/linux/io.github.gitahead.gitahead.desktop" "${pkgdir}/usr/share/applications/gitahead.desktop"
|
||||
install -D -m644 ${srcdir}/gittyup/LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||
install -D -m644 "${srcdir}/gittyup/rsrc/linux/io.github.gittyup.gittyup.desktop" "${pkgdir}/usr/share/applications/gittyup.desktop"
|
||||
}
|
||||
|
@ -49,10 +49,10 @@
|
||||
<key>NSMenuItem</key>
|
||||
<dict>
|
||||
<key>default</key>
|
||||
<string>Open in GitAhead</string>
|
||||
<string>Open in Gittyup</string>
|
||||
</dict>
|
||||
<key>NSMessage</key>
|
||||
<string>openInGitAhead</string>
|
||||
<string>openInGittyup</string>
|
||||
<key>NSRequiredContext</key>
|
||||
<dict>
|
||||
<key>NSTextContent</key>
|
||||
|
@ -38,7 +38,7 @@
|
||||
</screenshot>
|
||||
</screenshots>
|
||||
|
||||
<url type="homepage">https://github.com/Murmele/gitahead</url>
|
||||
<url type="homepage">https://github.com/Murmele/Gittyup</url>
|
||||
|
||||
<provides>
|
||||
<binary>Gittyup</binary>
|
||||
|
@ -13,7 +13,7 @@
|
||||
#import <AppKit/AppKit.h>
|
||||
|
||||
@interface Launcher : NSObject
|
||||
- (void)openInGitAhead:(NSPasteboard *)pboard
|
||||
- (void)openInGittyup:(NSPasteboard *)pboard
|
||||
userData:(NSString *)userData
|
||||
error:(NSString **)error;
|
||||
@end
|
||||
|
@ -80,7 +80,7 @@ NSImage *image(const QString &path, int badge = -1)
|
||||
|
||||
@end
|
||||
|
||||
static const NSTouchBarItemIdentifier kRemote = @"com.gitahead.Remote";
|
||||
static const NSTouchBarItemIdentifier kRemote = @"com.gittyup.Remote";
|
||||
|
||||
@implementation TouchBarProvider {
|
||||
MainWindow *_window;
|
||||
|
@ -21,7 +21,7 @@ public:
|
||||
: QObject(parent), mRepo(repo)
|
||||
{
|
||||
// Create dispatch queue.
|
||||
mQueue = dispatch_queue_create("com.gitahead.RepositoryWatcher", nullptr);
|
||||
mQueue = dispatch_queue_create("com.gittyup.RepositoryWatcher", nullptr);
|
||||
|
||||
// Create stream to watch the workdir.
|
||||
FSEventStreamContext context = { 0, this, nullptr, nullptr, nullptr };
|
||||
|
Loading…
Reference in New Issue
Block a user