居然有这么多Pupyies

关于PET包管理和制作

yuekcc posted @ 2013年1月11日 04:06 in 小狗Linux , 1318 阅读

PET是Puppy的自有软件包,大概是BK先生自行开发的吧。PET的管理工具就是Puppy Package Manager(PPM)。每个Puppy都会带有这个管理器。

PET其实就是一个tar.gz文件。用 pet2tgz 可以将PET软件成对应的tar.gz文件,使用 tgz2pet 可以反向转换。一个tar.gz文件包含有一些PET包规范文件就可以转换成一个PET包。这些文件分别是 pet.specs、pinstall.sh、puninstall.sh。

例如在ROX中打开abc-1.pet,会调用PPM处理PET包。

PPM首先会解开PET包;然后在/root/.package/user-installed-packages文件中加入pet.specs的信息;然后就会复制PET包的文件夹到根目录下的指定位置;复制puninstall.sh到/root/.package/abc-1.remove,并且chmod +x abc-1.remove,还会自动生成abc-1.files文凭;然后PPM执行pinstall.sh文件。

删除PET包,PPM会先执行abc-1.remove文件,然后删除abc-1.files文件中记录的文件名?,PPM再处理自己的数据库。

下面我自己做了一个ttf字体包。

 

mkdir ttf-anonymouspro-1.002
mkdir ttf-anonymouspro-1.002/usr
mkdir ttf-anonymouspro-1.002/usr/share
mkdir ttf-anonymouspro-1.002/usr/share/fonts
mkdir ttf-anonymouspro-1.002/usr/share/fonts/anonymousepro
cp AnonymousPro/*.ttf ttf-anonymouspro-1.002/usr/share/fonts/anonymousepro
cd ttf-anonymouspro-1.002
touch pet.specs
touch pinstall.sh
touch puninstall.sh
chmod +x pinstall.sh puninstall.sh
petspec > pet.specs  # petspec是生成pet.specs信息的GUI工具,手工编辑.specs文件有点麻烦。
vi pinstall.sh
vi puninstall.sh
cd ..
tar -czvf ttf-anonymouspro-1.002.tar.gz ttf-anonymouspro-1.002/
tgz2pet ttf-anonymouspro-1.002.tar.gz

# finish.

 

Avatar_small
seo service london 说:
2024年1月15日 19:34

This is a great feature for sharing this informative message. I am impressed by the knowledge you have on this blog. It helps me in many ways. Thanks for posting this again

Avatar_small
먹튀폴리스주소 说:
2024年1月28日 19:09

Wow, wonderful weblog layout! How lengthy have you ever been blogging for The total glance of your web site is magnificent, let alone the content!..For hottest information you have to pay a visit the web and on internet I found this web site as a most excellent web page for most recent updates.

Avatar_small
어퍼컷 이벤트 혜택 说:
2024年1月28日 19:18

Keep Writing Such type Of Wonderful blogs it was a wonderful chance to visit this kind of site and I am happy to know. thank you so much for giving us a chance to have this opportunity.. Extremely intriguing exchange happy that I ran over such useful post. Keep doing awesome. Happy to be a piece of your net group

Avatar_small
토토사이트추천 说:
2024年1月28日 19:25

Howdy! I could have sworn I’ve been to this blog before but after reading through some of the post I realized it’s new to me. Nonetheless, I’m definitely happy I found it and I’ll be bookmarking and checking back frequently!

Avatar_small
안전토토사이트추천 说:
2024年1月28日 19:37

Southern Mexico is not just a place; it's an experience. It's the sting of chili peppers chasing away the ocean breeze, the laughter of children splashing in cenotes, the whispered prayers carried on the incense smoke curling from ancient altars. It's the warmth of a local smile, the sweet melody of a marimba serenade, and the lingering taste of mole as rich and layered as the land itself. So, come, explore, and let the magic of southern Mexico work its spell on you. You'll leave with memories etched in your soul, a longing for the rhythm of its drums, and the promise to return, again and again, to this tierra encantada, this enchanted land.

Avatar_small
토토어택도메인 说:
2024年1月28日 19:46

That is the excellent mindset, nonetheless is just not help to make every sence whatsoever preaching about that mather. Virtually any method many thanks in addition to i had endeavor to promote your own article in to delicius nevertheless it is apparently a dilemma using your information sites can you please recheck the idea. thanks once more

Avatar_small
검증나라 说:
2024年1月28日 19:48

Southern Mexico is not just a place; it's an experience. It's the sting of chili peppers chasing away the ocean breeze, the laughter of children splashing in cenotes, the whispered prayers carried on the incense smoke curling from ancient altars. It's the warmth of a local smile, the sweet melody of a marimba serenade, and the lingering taste of mole as rich and layered as the land itself. So, come, explore, and let the magic of southern Mexico work its spell on you. You'll leave with memories etched in your soul, a longing for the rhythm of its drums, and the promise to return, again and again, to this tierra encantada, this enchanted land.

Avatar_small
먹튀사이트 说:
2024年1月28日 19:57

Just admiring your work and wondering how you managed this blog so well. It’s so remarkable that I can't afford to not go through this valuable information whenever I surf the internet

Avatar_small
토토패밀리 说:
2024年1月28日 20:04

youre so cool! I dont thinmember you simply made the excellent factor. You clearly know what youre talking about, and i can truly get behind that. Thanks for being so prematurely and so honest.

Avatar_small
안전놀이터 说:
2024年1月28日 20:11

I like to recommend exclusively fine plus efficient information and facts, hence notice it:

Avatar_small
메이저놀이터 说:
2024年1月28日 20:22

Hi! This is my first visit to your blog! We are a team of volunteers and new initiatives in the same niche. Blog gave us useful information to work. You have done an amazing job

Avatar_small
꽁머니 说:
2024年1月28日 20:24

Wow, wonderful weblog layout! How lengthy have you ever been blogging for The total glance of your web site is magnificent, let alone the content!..For hottest information you have to pay a visit the web and on internet I found this web site as a most excellent web page for most recent updates.

Avatar_small
먹튀검증커뮤니티 说:
2024年1月28日 20:42

Keep Writing Such type Of Wonderful blogs it was a wonderful chance to visit this kind of site and I am happy to know. thank you so much for giving us a chance to have this opportunity.. Extremely intriguing exchange happy that I ran over such useful post. Keep doing awesome. Happy to be a piece of your net group

Avatar_small
코인파워볼 분석 说:
2024年1月28日 20:48

Howdy! I could have sworn I’ve been to this blog before but after reading through some of the post I realized it’s new to me. Nonetheless, I’m definitely happy I found it and I’ll be bookmarking and checking back frequently!

Avatar_small
메이저사이트 순위 说:
2024年1月28日 20:59

Southern Mexico is not just a place; it's an experience. It's the sting of chili peppers chasing away the ocean breeze, the laughter of children splashing in cenotes, the whispered prayers carried on the incense smoke curling from ancient altars. It's the warmth of a local smile, the sweet melody of a marimba serenade, and the lingering taste of mole as rich and layered as the land itself. So, come, explore, and let the magic of southern Mexico work its spell on you. You'll leave with memories etched in your soul, a longing for the rhythm of its drums, and the promise to return, again and again, to this tierra encantada, this enchanted land.

Avatar_small
사설토토 说:
2024年1月28日 21:10

That is the excellent mindset, nonetheless is just not help to make every sence whatsoever preaching about that mather. Virtually any method many thanks in addition to i had endeavor to promote your own article in to delicius nevertheless it is apparently a dilemma using your information sites can you please recheck the idea. thanks once more

Avatar_small
먹튀검증업체 说:
2024年1月28日 21:12

Southern Mexico is not just a place; it's an experience. It's the sting of chili peppers chasing away the ocean breeze, the laughter of children splashing in cenotes, the whispered prayers carried on the incense smoke curling from ancient altars. It's the warmth of a local smile, the sweet melody of a marimba serenade, and the lingering taste of mole as rich and layered as the land itself. So, come, explore, and let the magic of southern Mexico work its spell on you. You'll leave with memories etched in your soul, a longing for the rhythm of its drums, and the promise to return, again and again, to this tierra encantada, this enchanted land.

Avatar_small
먹튀테일 说:
2024年1月28日 21:20

Just admiring your work and wondering how you managed this blog so well. It’s so remarkable that I can't afford to not go through this valuable information whenever I surf the internet

Avatar_small
카지노사이트 说:
2024年1月28日 21:27

youre so cool! I dont thinmember you simply made the excellent factor. You clearly know what youre talking about, and i can truly get behind that. Thanks for being so prematurely and so honest.

Avatar_small
검증의달인 说:
2024年1月28日 21:35

I like to recommend exclusively fine plus efficient information and facts, hence notice it:

Avatar_small
메이저놀이터가입 및 이용방법 说:
2024年1月28日 21:43

Hi! This is my first visit to your blog! We are a team of volunteers and new initiatives in the same niche. Blog gave us useful information to work. You have done an amazing job

Avatar_small
먹튀검증커뮤니티 说:
2024年1月28日 21:46

I like to recommend exclusively fine plus efficient information and facts, hence notice it:

Avatar_small
먹튀사이트조회 说:
2024年1月28日 21:51

CarEasy is the ultimate car detailing company PAN India. CarEasy is the simplest and most reliable car care platform to keep your car clean. It's an end-to-end company- operated car care service which ensures the wash experience for your car is a memorable one with utmost quality and our goal has always been to provide a superior and convenient customer experience.car wash in Bangalore,doorstep car wash in Bangalore,exterior car wash,best car detailing in bangalore

Avatar_small
토토사이트 说:
2024年1月28日 21:56

They can be tips related to numerous composition categories, including college applications and complex assignments like Kaplan assignment help

Avatar_small
메이저놀이터추천 说:
2024年1月28日 22:03

In the same way a typical cleaning service will never be as significantly use for your requirements when you've got a mould growth difficulty, mold companies usually are not the sort of cleaning professional you should call on when you really need more common cleaning help for instance bathroom servicing or carpet cleaning service. While both forms of firms offer professional washing services, you nonetheless need to get the one that delivers the specific form of service that you want.

Avatar_small
먹튀검증업체 순위 说:
2024年1月28日 22:09

For the most accurate and up-to-date information, I recommend checking the latest online sources or contacting the relevant entity directly.

Avatar_small
토토사이트추천 说:
2024年1月28日 22:33

I like to recommend exclusively fine plus efficient information and facts, hence notice it:

Avatar_small
토토사이트 说:
2024年1月28日 22:44

This is a correct blog for anybody who really wants to be made aware of this topic. You understand so much its practically challenging to argue along (not too I actually would want…HaHa). You certainly put the latest spin with a topic thats been discussed for decades. Great stuff, just wonderful!

Avatar_small
스포츠토토사이트 说:
2024年1月28日 22:51

CarEasy is the ultimate car detailing company PAN India. CarEasy is the simplest and most reliable car care platform to keep your car clean. It's an end-to-end company- operated car care service which ensures the wash experience for your car is a memorable one with utmost quality and our goal has always been to provide a superior and convenient customer experience.car wash in Bangalore,doorstep car wash in Bangalore,exterior car wash,best car detailing in bangalore

Avatar_small
토토사이트추천 说:
2024年1月28日 23:02

These you will then see the most important thing, the application provides you a website a powerful important internet page:

Avatar_small
안전놀이터순위 说:
2024年1月28日 23:13

technologies is creating a new integrated supply chain for the production and delivery of multimedia and information content Most of the employment related to e-commerce around the content industries and communication infrastructure such as the Internet.

Avatar_small
카지노 说:
2024年1月28日 23:15

These you will then see the most important thing, the application provides you a website a powerful important internet page:

Avatar_small
온카판주소 说:
2024年1月28日 23:22

I would like to thank you for the efforts you have made in writing this article. I am hoping the same best work from you in the future as well. Thanks..

Avatar_small
토토사이트추천 说:
2024年1月28日 23:28

I should assert barely that its astounding! The blog is informational also always fabricate amazing entitys.

Avatar_small
baccarat friends 说:
2024年1月28日 23:39

Wow, wonderful weblog layout! How lengthy have you ever been blogging for The total glance of your web site is magnificent, let alone the content!..For hottest information you have to pay a visit the web and on internet I found this web site as a most excellent web page for most recent updates.

Avatar_small
네임드사다리 说:
2024年1月28日 23:49

It's which means that amazing together with inspiring. We really enjoy any designs together with whoever should get it all during the post shall be grinning.

Avatar_small
seo service UK 说:
2024年2月22日 01:43

Heya i am for the primary time here. I found this board and I in finding It truly useful & it helped me out a lot. I’m hoping to offer something again and help others such as you aided me.


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter