Code Monkey home page Code Monkey logo

shop's Introduction

Pop!_Shop

Translation status

A fast and simple software center based on elementary AppCenter.

Pop!_Shop Screenshot

Building, Testing, and Installation

You'll need the following dependencies:

  • gettext
  • libappstream-dev (>= 0.10)
  • libflatpak-dev
  • libgee-0.8-dev
  • libgranite-dev (>=5.2.5)
  • libgtk-3-dev
  • libhandy-1-dev (>=1.3.0)
  • libjson-glib-dev
  • libpackagekit-glib2-dev
  • libpolkit-gobject-1-dev
  • libsoup2.4-dev
  • libxml2-dev
  • libxml2-utils
  • repoman
  • meson
  • valac (>= 0.26)

Run meson build to configure the build environment. Change to the build directory and run ninja to build

meson build --prefix=/usr
cd build
ninja

To install, use ninja install, then execute with io.elementary.appcenter

ninja install
io.elementary.appcenter --gapplication-replace

Debugging

See debug messages: As specified in the GLib documentation

G_MESSAGES_DEBUG=all io.elementary.appcenter

Show restart required messaging:

sudo touch /var/run/reboot-required

Hide restart required messaging:

sudo rm /var/run/reboot-required

Fake updates with the -f flag followed by PackageKit package name, not appstream id:

io.elementary.appcenter -f inkscape

Load and preview a local AppStream XML metadata file, your local metadata will show up in the featured banner and will also be searchable. Metadata loaded this way will have a (local) suffix in it's name.

io.elementary.appcenter --load-local /path/to/file.appdata.xml

shop's People

Contributors

bagjunggyu avatar cassidyjames avatar codygarver avatar colindemian avatar comradekingu avatar danirabbit avatar dartdeadia avatar davidmhewitt avatar ddieter avatar donadigo avatar elementarybot avatar fabiozaramella avatar fitojb avatar fufu2022 avatar hugok79 avatar ihorhordiichuk avatar jeremypw avatar josprachi avatar lenemter avatar marcin-serwin avatar mtamas85 avatar nathanbnm avatar png2378 avatar queeup avatar ryonakano avatar shtonchjo avatar tomiohl avatar weblate avatar welaq avatar yarons avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

shop's Issues

Pop Shop display font hard to read

Reporter info

 * Pop!_OS 18.04 Testing Build 12
 * pop-shop 0.2.8pop2~1521826576~18.04~c54035a

Issue/Bug Description

I opened Pop Shop, switched to the Installed tab and clicked Calendar.

The description and What's New fields are difficult to read. Specifically, the font size is somewhat small and it's not a good font choice for reading paragraphs. It's a font that I would expect to be used in headers where there isn't as much of a readability concern.

Pop!_Shop should provide Run option when searching for a program already installed

From @brs17 on October 18, 2017 16:57

If this is a bug, please use the template below. If this is a feature request, question, or a general discussion topic - please post on our subreddit https://reddit.com/r/pop_os - as that is the proper forum for those types of posts.

 * Distribution - (run ```cat /etc/os-release```)
 * Related Application and/or Package Version - apt policy $PACKAGE NAME

Pop!_OS 17.10

Issue/Bug Description
Under the "Home" tab, when searching for a program that is already installed on the system, there should be an "Open" button to open the program.

Currently:
screenshot from 2017-10-18 10-30-28

Desired:
screenshot from 2017-10-18 10-56-20

Copied from original issue: pop-os/iso#173

Uninstall from Shell

There's a DBus service to uninstall apps, which is used by the elementary OS app launcher to support an Uninstall flow. We should see if we can use this in Pop!_OS with GNOME Shell to add an Uninstall entry to the right-click menu.

Include Elementary OS repo

I know perfectly well Elementary OS apps aren't really designed for Pop! OS, but it would be nice to have those apps. They probably won't look too bad either.

Installed Apps not being showed

I have downloaded some apps (Opera, Skype, Visual Studio Code), etc from their official website and installed using Eddy.
The problem is that these apps are not being showed in the Shop/Updates Tab, so i'm unable to uninstall them.
Is strange, because updates for some of these apps are being listed, but the applications are not being showed. so i cannot click in the application to uninstall it

Installed Apps Tab

Create a new Tab for installed apps would be great where we can uninstall the ones those we don't need any more.

Use gnome-session-quit for reboot prompt

Instead of a built-in dialog, we should use gnome-session-quit --reboot to trigger the reboot prompt. This has the advantage of using the Shell dialog plus having the countdown.

Ideally we could upstream this to either detect when to use it and fallback to a built-in dialog, or elementary OS would provide gnome-session-quit, but I don't know if that'll happen.

Pop!_Shop hangs when selecting on new programs and then installing.

When installing numerous(>1) applications in the Pop!_Shop, selecting a program(viewing the description page), going back to a display of multiple programs(selecting the back button) and selecting to install the program that had just been selected, Pop!_Shop crashes.

Pop Shop freezes when viewing page for AppStream addons

Reporter info

 * Pop!_OS 18.04 Testing Build 12
 * pop-shop 0.2.8pop2~1521826576~18.04~c54035a

Issue/Bug Description

Open Pop Shop and switch to the Installed tab.

Click one of the Addons listed like Gstreamer Multimedia Codecs or Terminal Plugin for Files

Pop Shop then takes 100% CPU and becomes unresponsive.

scrolbar doesn't display correctly

Pop!_OS 17.10 Beta (build 27)

Switch to the Updates tab.

Use the scrollbar to scroll down. The scrollbar stays at the top even though the content scrolls.

Clean up banner implemetation

Right now replacing the banner is pretty dirty, as there are still calls to the presumed-to-exist previous banner. We should clean this up. For example, there's a FATAL error in Terminal when running:

[FATAL 11:34:55.352885] app_center_widgets_banner_go_to_first: assertion 'self != NULL' failed

Curate apps for each category

This will be a joint effort with our community. We have the categories but we want to include the community in the decisions of what applications should go within each category.

Unable to group applications on Gnome Dash

Version: Pop! OS 17.10 (just downloaded and installed yesterday)

Generic Gnome Software allows listing installed applications that can be selected and then grouped. By default System Utilities and LibreOffice are grouped.

Pop!_Shop doesn't include an option for listing and selecting installed software to do the same.

If it does include this, it is not obvious so maybe a button needs to be included along the top like it is in the Gnome Software package.

Set window title

Pop!_Shop currently has the RDNN io.elementary.appcenter as its title that shows up in Shell (right-click its icon in the dock). This should probably be set to "Pop!_Shop". Upstream might be interested, too?

Firefox and Thunderbird can't be installed with Pop!_Shop

From @Xeboc on October 17, 2017 17:12

NAME="Pop!_OS"
VERSION="17.10 (Artful Aardvark)"
Package: pop-shop
Version: 0.2.6-8

Issue/Bug Description

Thunderbird and Firefox are common programs and aren't currently found in Pop!_Shop

Steps to reproduce (if you know)

Search for these programs.

Expected behaviour

Be able to install these common internet programs.

Copied from original issue: pop-os/iso#168

Unusual icon next to search bar

Pop!_OS 17.10 Beta (build 27)

Sometimes, there is an unusual looking icon to the left of the search box in the headerbar of Pop!_Shop.

I'm guessing it's a "something is happening in the background" indicator but it's difficult to understand that's what it means. The icon isn't clickable and it doesn't have a tooltip.

Search button doesn't work in Installed view

Pop!_OS 17.10 Beta (build 27)

In the Updates panel or when looking at a spec, the Search button can't be selected.

Suggestion: maybe it would be better if the search button would disappear if it's unusable in a particular mode.

Add support for back button

Some Mice/Keyboards offer a back button (e.g. for going back in the browser and file managers, etc.). This should be supported in Pop_Shop too, since we have a generic back button action. Should be as simple as looking for that signal and tying it to the back button.

Style update badge

Now that we have this update badge

screenshot

we should style it to be more Pop-y. Probably flat and brand red?

Meta does not load

Popos 17 fresh system

Issue/Bug Description

Meta data descriptions and reviews do not load. I've waited 10m no luck. Install/uninstall works.

screenshot from 2018-01-24 09-55-40

Mishandling of broken repos spawns packagekitd consuming resources and battery

Investigated and reported by garrisiari in Pop!_Chat

garrisiari
8:59 PM
Think I finally fixed the packagekitd going nuts problem. I think there was a broken PPA, and as a result, the elementary app store kept trying to reload the PPA, like, several times per second, ongoing, in the background without end. That's why it was taking up so much CPU and draining so much battery. So, it appears, the elementary app store needs to recognize when something is broken and behave differently. I'll need to test it again, but unselecting the PPA from the additional software app and rebooting seems to have fixed the problem. Packagekitd isn't running anymore and battery consumption is normal....

carl
9:04 PM
That's a great lead @garrisiari

garrisiari
9:07 PM
If true, this validates my original sleuthing months ago when I suggested the Elementary App store might be to blame, where I read complaints years back of people having similar problems in Elementary Loki that was a "known bug."

carl
9:09 PM
Indeed. Posting the offending ppa in a bug will help us investigate as well.

garrisiari
9:15 PM
So, here's how I was tipped off. I run Ubuntu Budgie on a desktop. Loading the Gnome software store there gave me an error message it couldn't do updates due to a broken PPA and asked me if I wanted to inactivate it. Thinking of Pop OS, I searched for broken PPA's and packagekitd and found a thread where people stopped the packagekitd PPA problem by turning off automatic updates. I went to my laptop and ran it until the packagekitd root process went nuts, then loaded the Pop Shop, and that promptly locked up trying to update, confirming my suspicion. The PPA, oddly enough, is the one I was using to load/run Nemo. It installs well enough, but I guess can't be acccessed? "http://ppa.launchpad.net/webup8team/nemo/ubuntu artful"

Rename to Pop!_Shop

Per everyone. Rebrand at least the user-facing name (.desktop and any window titles) to Pop!_Shop.

Bad Repository error message doesn't offer a button to open software sources to correc the problem

From @MarkoPetteri on December 20, 2017 15:34

Reporter info

Newbie user with a newbie problem. If this is the wrong place to post problems like this, please redirect me. I already posted to reddit about this too.

Pop!_OS 17.10 64-bit | GNOME 3.26.2 | AMD Ryzen 5 1400 Quad-Core Processor × 8 | 7,8 GB RAM | 25 GB SSD + 120 GB SSD | GeForce GT 630/PCIe/SSE2 | Focusrite Scarlett 2i2

  • Related Application

Pop!_Shop

Issue/Bug Description

When I open Pop!_Shop! this message starts popping up and stacking up. If I use another workspace it pops up there. I can't use Pop!_Shop if I don't close them all. I can't close Pop!_Shop through the tab next to Activities. Also I cannot find one of the pop up messages and so cannot close them all.

I could get around this by rebooting or killing it through the terminal but I think this is not a behaviour we're looking for. Hence the post.

Here's the contents of the message:
" io.elementary.appcenter

Failed to Fetch Updates

E: The repository 'http://ppa.launchpad.net/gregory-hainaut/pcsx2.official.ppa/ubuntu artful Release' does not have a Release file. W: Updating from such a repository can't be done securely, and is therefore disabled by default. W: See apt-secure(8) manpage for repository creation and user configuration details "

Steps to reproduce

Launch Pop!_Shop.

Copied from original issue: pop-os/iso#197

Headerbar is bigger than intended

As reported by @brs17 at #55 (comment)

…the headerbar is much wider than it was previously. Are we ok with this? It seems super large.

This is likely caused by the addition of the updates badge in the headerbar, and should be fixable in CSS.

During my first update using the utility, Debconf on pop-os appeared and froze.

From @RockChalkBogota on October 1, 2017 23:48

If this is a bug, please use the template below. If this is a feature request, question, or a general discussion topic - please post on our subreddit https://reddit.com/r/pop_os - as that is the proper forum for those types of posts.

Reporter info

 * Distribution - (run ```lsb_release -a```)
 * Related Application and/or Package Version - apt policy $PACKAGE NAME

No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu Artful Aardvark (development branch)
Release: 17.10
Codename: artful

Issue/Bug Description
Hello, I just installed this OS. I ran an update using the Pop Shop utility. During the update, Debconf on pop-os appeared asking for the country of origin for my keyboard. I thought this was strange since I set it up at the beginning of the install. Anyway, I clicked forward, since it was the only option I had, and it froze that window. I had to force quit the window.

Steps to reproduce (if you know)
Using the Pop Shop to update? Currently using a Das Keyboard if that makes a difference.

Expected behaviour
Not to prompt for keyboard zoning.

Other Notes
Cool stuff! Great seeing this come out of Denver. Shout out from Kansas City!

Copied from original issue: pop-os/iso#112

Search does not work when on "updates" tab

While this may make sense to not allows the "updates" tab to searchable, the search field still remains but is unusable. My first reaction is to click into the search field to being typing, but clicking on the search field does nothing.

Ideally the search field would work and start a new search for the store. I would argue against removing the field when only on the updates tab as this would feel like an inconsistency in the UI.

Note: This appears to be related, but it seems that when I open shop I am frequently sent to the updates tab (pretty sure same issue as #14).

Pop! Shop Updater stalls at "Waiting for package manager lock."

From @Appalbarry on October 11, 2017 3:0

  • Distribution - (run cat /etc/os-release)

barryrueger@pop-os:~$ cat /etc/os-release
NAME="Pop!_OS"
VERSION="17.10 (Artful Aardvark)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Pop!_OS 17.10 (Artful Aardvark)"
VERSION_ID="17.10"
HOME_URL="https://system76.com/pop"
SUPPORT_URL="http://support.system76.com/"
BUG_REPORT_URL="https://github.com/system76/pop-distro/issues"
PRIVACY_POLICY_URL="https://system76.com/privacy"
VERSION_CODENAME=artful
UBUNTU_CODENAME=artful

Issue/Bug Description
Trying to update software from Pop!Shop app does not work.

Steps to reproduce (if you know)

  1. Open Pop!Shop app
  2. Choose "Updates" tab
  3. App displays two available updates:
  • Operating System Updates - 38 components with updates:
  • Startup Applications 3.26.1
  1. Click either an "Update" button or the "Update All" button
  2. Update initiates, but stalls at "Waiting for package manager lock."
  3. App returns to state it was in before clicking "Update"

This is on a fresh USB install of a freshly downloaded ISO yesterday.

Expected behaviour
Updates install themselves.

Other Notes

Copied from original issue: pop-os/iso#136

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.